Bug#382103: Bad integration with make-kpkg.
Package: linux-patch-debian-2.6.16
Version: 2.6.16-17
/usr/src/kernel-patches/all/2.6.16/apply/debian script doesn't check
KPKG_SUBARCH variable. When i compile xen3 kernel image i must manually
apply script with "-a i386 -s xen" flags instead of "make-kpkg --arch
i386 --subarch xen ..."
make-kpkg output:
% tar xjf linux-2.6.16.tar.bz2 -C /usr/src
% cd /usr/src/linux-2.6.16
% make-kpkg --arch i386 --subarch xen --added-patches debian --config
menuconfig --initrd --append_to_version -1-xen --revision 1
kernel_image exec make -f /usr/share/kernel-package/ruleset/minimal.mk
debian DEBIAN_REVISION=1 APPEND_TO_VERSION=-1-xen KPKG_ARCH=i386
KPKG_SUBARCH=xen KPKG_SELECTED_PATCHES="debian" INITRD=YES
Makefile:476: .config: No such file or directory Makefile:476: .config:
No such file or directory Makefile:476: .config: No such file or
directory Makefile:476: .config: No such file or directory
Makefile:476: .config: No such file or directory ====== making target
minimal_debian [new prereqs: ]====== This is kernel package version .
test -d debian || mkdir debian test ! -e stamp-building || rm -f
stamp-building test -f debian/control || sed -e
's/=V/2.6.16-1-xen/g' \ -e 's/=D/1/g' -e 's/=A/i386/g' \
-e 's/=SA//g' -e 's/=L/ /g' \
-e 's/=I//g' \
-e 's/=CV/2.6/g' \
-e 's/=M/Unknown Kernel Package Maintainer
<unknown@unconfigured.in.etc.kernel-pkg.conf>/g'
\ -e 's/=ST/linux/g' -e 's/=B/i386/g'
\ /usr/share/kernel-package/Control > debian/control test -f
debian/changelog || sed -e 's/=V/2.6.16-1-xen/g' \ -e
's/=D/1/g' -e 's/=A/i386/g' \ -e 's/=ST/linux/g' -e
's/=B/i386/g' \ -e 's/=M/Unknown Kernel Package Maintainer
<unknown@unconfigured.in.etc.kernel-pkg.conf>/g'
\ /usr/share/kernel-package/changelog > debian/changelog install -p -m
755 /usr/share/kernel-package/rules debian/rules for file in ChangeLog
Control Control.bin86 config templates.in rules;
do \ cp
-f /usr/share/kernel-package/$file ./debian/;
\ done for dir in Config docs examples ruleset scripts pkg po;
do \ cp
-af /usr/share/kernel-package/$dir ./debian/;
\ done test -d ./debian/stamps || mkdir debian/stamps exec
debian/rules DEBIAN_REVISION=1 APPEND_TO_VERSION=-1-xen
KPKG_ARCH=i386 CONFIG_TARGET=menuconfig KPKG_SUBARCH=xen
KPKG_SELECTED_PATCHES="debian" INITRD=YES kernel_image
Makefile:476: .config: No such file or directory Makefile:476: .config:
No such file or directory Makefile:476: .config: No such file or
directory Makefile:476: .config: No such file or directory
Makefile:476: .config: No such file or directory ====== making
target .config [new prereqs: Makefile]======
test -f .config || test ! -f .config.save || \
cp -pf .config.save .config
test -f .config || test ! -f ./debian/config || \
cp -pf ./debian/config .config
test -f .config || test ! -f ./debian/config || \
cp -pf ./debian/config .config
====== making target CONFIG-common [new prereqs: testdir]======
====== making target debian/stamp-conf [new prereqs: ]======
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb || \
mv -f scripts/package/builddeb scripts/package/builddeb.dist
test ! -e scripts/package/Makefile || \
(mv -f scripts/package/Makefile
scripts/package/Makefile.dist && \ (echo "# Dummy file "; echo "help:")
> scripts/package/Makefile) test -d debian || mkdir ./debian
test ! -e stamp-building || rm -f stamp-building
test ! -f ./debian || test -f stamp-debian || test -f debian/official
|| \ (rm -rf ./debian && mkdir ./debian)
test ! -f applied_patches || rm -f applied_patches
for patch in /usr/src/kernel-patches/all/2.6.16/apply/debian ;
do \ if test -x $patch; then \
if $patch; then \
echo "Patch $patch processed fine"; \
echo "$patch" >> applied_patches; \
else \
echo "Patch $patch failed."; \
echo "Hit return to Continue"; \
read ans; \
fi; \
fi; \
done
Warning: No version.Debian file, assuming pristine Linux 2.6.16
Warning: Can't find series file for 2
Warning: Can't find series file for 3
Warning: Can't find series file for 5
Warning: Can't find series file for 11
Warning: Can't find series file for 16
(+) OK buslogic-pci-id-table.patch
(+) OK fbdev-radeon-noaccel.patch
(+) OK fs-asfs-2.patch
(+) OK modular-ide-pnp.patch
(+) OK version.patch
(+) OK ia64-irq-affinity-upfix.patch
(+) OK powerpc-mkvmlinuz-support.patch
(+) OK powerpc-build-links.patch
(+) OK powerpc-prep-utah-ide-interrupt.patch
(+) OK powerpc-mv643xx-hotplug-support.patch
(+) OK sparc64-hme-lockup.patch
(+) OK sparc64-atyfb-xl-gr.patch
(+) OK mips-makefile.patch
(+) OK mips-arch-makefile.patch
(+) OK mips-gettimeofday.patch
(+) OK mips-ide-scan.patch
(+) OK mips-sb1-probe-ide.patch
(+) OK mips-sb1-eth-1480.patch
(+) OK mips-sb1-eth-napi.patch
(+) OK mips-sb1-duart.patch
(+) OK video-vino-64-bit-fix-kernel.diff
(+) OK s390-drivers-ccw-uevent-modalias.patch
(+) OK s390-drivers-ccw-uevent-cleanup.patch
(+) OK scripts-newmake.patch
--> 1 fully applied.
(+) OK 2.6.16.1
(+) OK mips-sb1-duart-tts.patch
--> 4 fully applied.
(+) OK 2.6.16.2
--> 6 fully applied.
(+) OK 2.6.16.3
(+) OK 2.6.16.4
(+) OK powerpc-mkvmlinuz-support-2.patch
(+) OK 2.6.16.5
--> 7 fully applied.
(+) OK include-linux-seccomp-abifix.patch
(+) OK 2.6.16.6
(+) OK 2.6.16.7
--> 8 fully applied.
(+) OK 2.6.16.8
(+) OK 2.6.16.9
--> 9 fully applied.
(+) OK alpha-build-fix.patch
(+) OK 2.6.16.10
(+) OK 2.6.16.11
--> 10 fully applied.
(-) OK alpha-build-fix.patch
(+) OK 2.6.16.12
(+) OK 2.6.16.13
--> 12 fully applied.
(+) OK 2.6.16.14
(-) OK include-linux-seccomp-abifix.patch
(+) OK 2.6.16.15
--> 13 fully applied.
(+) OK 2.6.16.16
(+) OK cs4281-probe-timeout.patch
(+) OK alpha-prctl.patch
(+) OK 2.6.16.17
--> 14 fully applied.
(+) OK 2.6.16.18
(+) OK mips-maxine-compile.patch
(+) OK arm-rpc-initrd.patch
(+) OK 2.6.16.19
(+) OK 2.6.16.20
(+) OK kernelvariables.patch
(+) OK doc-build-parallel.patch
(+) OK dcache-memory-corruption.patch
(+) OK sparc32-iotlb.patch
(+) OK 2.6.16.21
--> 15 fully applied.
(-) OK dcache-memory-corruption.patch
(+) OK 2.6.16.22
(+) OK 2.6.16.23
(+) OK 2.6.16.24
(+) OK mips-ip22-rtcfix.patch
(+) OK mips-ip22-serial-fix.patch
(+) OK 2.6.16.25
(+) OK fs-proc-relax-fix.patch
--> 17 fully applied.
Patch /usr/src/kernel-patches/all/2.6.16/apply/debian processed fine
echo done > stamp-patch
test -f stamp-debian || \
( test -f debian/official && test -f debian/control)
|| \ sed -e 's/=V/2.6.16-1-xen/g' -e 's/=D/1/g'
\ -e 's/=A/i386/g' -e 's/=SA//g' \
-e 's/=L/lilo (>= 19.1) | grub, /g' -e 's/=I/yaird (>=
0.0.11-8) | initramfs-tools (>= 0.53) | linux-initramfs-tool, /g' \
-e 's/=CV/2.6/g' \ -e 's/=M/Unknown Kernel Package
Maintainer
<unknown@unconfigured.in.etc.kernel-pkg.conf>/g'
\ -e 's/=ST/linux/g' -e 's/=B/i386/g'
\ /usr/share/kernel-package/Control> debian/control test -f
stamp-debian || test -f debian/official || \ sed -e
's/=V/2.6.16-1-xen/g' -e 's/=D/1/g' \ -e
's/=A/i386/g' -e 's/=M/Unknown Kernel Package Maintainer
<unknown@unconfigured.in.etc.kernel-pkg.conf>/g' \ -e
's/=ST/linux/g' -e 's/=B/i386/g'
\ /usr/share/kernel-package/changelog > debian/changelog test -f
debian/rules || install -p -m 755 /usr/share/kernel-package/rules
debian/rules test -f stamp-debian || test -f debian/official
|| \ for file in ChangeLog Control Control.bin86
config templates.in rules; do \ cp
-f /usr/share/kernel-package/$file ./debian/;
\ done test -f stamp-debian || test -f debian/official
|| \ for dir in Config docs examples ruleset
scripts pkg po; do \ cp
-af /usr/share/kernel-package/$dir ./debian/;
\ done echo done > stamp-debian echo done > debian/stamp-conf ======
making target CONFIG-common [new prereqs: stamp-conf]====== This is
kernel package version 10.049. ====== making target stamp-arch-conf
[new prereqs: CONFIG-common]======
====== making target CONFIG-arch [new prereqs: stamp-arch-conf]======
====== making target conf.vars [new prereqs: Makefile .config]======
====== making target CONFIG-arch [new prereqs: .config conf.vars]======
This is kernel package version 10.049.
====== making target CONFIG/linux-headers-2.6.16-1-xen [new prereqs:
CONFIG-arch]======
====== making target CONFIG/linux-image-2.6.16-1-xen [new prereqs:
CONFIG-arch]======
====== making target CONFIG/linux-uml-2.6.16-1-xen [new prereqs:
CONFIG-arch]======
====== making target CONFIG/linux-xen0-2.6.16-1-xen [new prereqs:
CONFIG-arch]======
====== making target CONFIG/linux-xenu-2.6.16-1-xen [new prereqs:
CONFIG-arch]======
====== making target stamp-configure-arch [new prereqs:
linux-headers-2.6.16-1-xen linux-image-2.6.16-1-xen
linux-uml-2.6.16-1-xen linux-xen0-2.6.16-1-xen
linux-xenu-2.6.16-1-xen]====== ====== making target configure-arch [new
prereqs: stamp-configure-arch]====== ====== making target
stamp-indep-conf [new prereqs: CONFIG-common]======
====== making target CONFIG-indep [new prereqs: stamp-indep-conf]======
====== making target debian/stamp-kernel-conf [new prereqs: .config
Makefile]====== /usr/bin/make EXTRAVERSION=-1-xen ARCH=i386 \
menuconfig
make[1]: Entering directory `/usr/src/linux-2.6.16'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/mconf
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/lxdialog.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/msgbox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTLD scripts/kconfig/lxdialog/lxdialog
scripts/kconfig/mconf arch/i386/Kconfig
#
# using defaults found in .config
#
.config:15:warning: trying to assign nonexistent symbol KERNELD
.config:22:warning: trying to assign nonexistent symbol MAX_16M
.config:24:warning: trying to assign nonexistent symbol PCI_OPTIMIZE
.config:28:warning: trying to assign nonexistent symbol BINFMT_JAVA
.config:29:warning: trying to assign nonexistent symbol KERNEL_ELF
.config:40:warning: trying to assign nonexistent symbol
BLK_DEV_IDE_PCMCIA .config:44:warning: trying to assign nonexistent
symbol BLK_DEV_TRITON .config:56:warning: trying to assign nonexistent
symbol FIREWALL .config:57:warning: trying to assign nonexistent symbol
NET_ALIAS .config:59:warning: trying to assign nonexistent symbol
IP_FORWARD .config:61:warning: trying to assign nonexistent symbol
IP_ACCT .config:63:warning: trying to assign nonexistent symbol
INET_PCTCP .config:64:warning: trying to assign nonexistent symbol
INET_RARP .config:65:warning: trying to assign nonexistent symbol
NO_PATH_MTU_DISCOVERY .config:66:warning: trying to assign nonexistent
symbol IP_NOSR .config:67:warning: trying to assign nonexistent symbol
SKB_LARGE .config:73:warning: trying to assign nonexistent symbol
NETLINK .config:74:warning: trying to assign nonexistent symbol
RTNETLINK .config:97:warning: trying to assign nonexistent symbol
SCSI_AM53C974 .config:101:warning: trying to assign nonexistent symbol
SCSI_EATA_DMA .config:106:warning: trying to assign nonexistent symbol
SCSI_G_NCR5380_PORT .config:108:warning: trying to assign nonexistent
symbol SCSI_NCR53C7xx .config:109:warning: trying to assign nonexistent
symbol SCSI_NCR53C7xx_sync .config:111:warning: trying to assign
nonexistent symbol SCSI_NCR53C7xx_DISCONNECT .config:112:warning:
trying to assign nonexistent symbol SCSI_NCR53C8XX .config:113:warning:
trying to assign nonexistent symbol
SCSI_NCR53C8XX_TAGGED_QUEUE .config:114:warning: trying to assign
nonexistent symbol SCSI_NCR53C8XX_IOMAPPED .config:116:warning: trying
to assign nonexistent symbol
SCSI_NCR53C8XX_FORCE_ASYNCHRONOUS .config:117:warning: trying to assign
nonexistent symbol SCSI_NCR53C8XX_FORCE_SYNC_NEGO .config:118:warning:
trying to assign nonexistent symbol
SCSI_NCR53C8XX_DISABLE_MPARITY_CHECK .config:119:warning: trying to
assign nonexistent symbol
SCSI_NCR53C8XX_DISABLE_PARITY_CHECK .config:123:warning: trying to
assign nonexistent symbol SCSI_QLOGIC_ISP .config:146:warning: trying
to assign nonexistent symbol BAYCOM .config:149:warning: trying to
assign nonexistent symbol WIC .config:160:warning: trying to assign
nonexistent symbol LANCE32 .config:172:warning: trying to assign
nonexistent symbol FMV18X .config:181:warning: trying to assign
nonexistent symbol SK_G16 .config:182:warning: trying to assign
nonexistent symbol NET_EISA .config:186:warning: trying to assign
nonexistent symbol DEC_ELCP .config:196:warning: trying to assign
nonexistent symbol ARCNET_ETH .config:209:warning: trying to assign
nonexistent symbol ISDN_DRV_TELES .config:218:warning: trying to assign
nonexistent symbol MCD .config:223:warning: trying to assign
nonexistent symbol CDI_INIT .config:232:warning: trying to assign
nonexistent symbol LOCK_MANDATORY .config:234:warning: trying to assign
nonexistent symbol EXT_FS .config:236:warning: trying to assign
nonexistent symbol XIA_FS .config:240:warning: trying to assign
nonexistent symbol UMSDOS_FS .config:244:warning: trying to assign
nonexistent symbol SMB_LONG .config:253:warning: trying to assign
nonexistent symbol SMD_DISKLABEL .config:258:warning: trying to assign
nonexistent symbol SERIAL .config:259:warning: trying to assign
nonexistent symbol DIGI .config:264:warning: trying to assign
nonexistent symbol MOUSE .config:265:warning: trying to assign
nonexistent symbol ATIXL_BUSMOUSE .config:266:warning: trying to assign
nonexistent symbol BUSMOUSE .config:267:warning: trying to assign
nonexistent symbol MS_BUSMOUSE .config:268:warning: trying to assign
nonexistent symbol PSMOUSE .config:269:warning: trying to assign
nonexistent symbol 82C710_MOUSE .config:270:warning: trying to assign
nonexistent symbol UMISC .config:271:warning: trying to assign
nonexistent symbol QIC02_TAPE .config:281:warning: trying to assign
nonexistent symbol PAS .config:282:warning: trying to assign
nonexistent symbol SB .config:283:warning: trying to assign nonexistent
symbol ADLIB .config:284:warning: trying to assign nonexistent symbol
GUS .config:285:warning: trying to assign nonexistent symbol
MPU401 .config:286:warning: trying to assign nonexistent symbol
UART6850 .config:287:warning: trying to assign nonexistent symbol
PSS .config:288:warning: trying to assign nonexistent symbol
GUS16 .config:289:warning: trying to assign nonexistent symbol
GUSMAX .config:290:warning: trying to assign nonexistent symbol
MSS .config:291:warning: trying to assign nonexistent symbol
SSCAPE .config:292:warning: trying to assign nonexistent symbol
TRIX .config:293:warning: trying to assign nonexistent symbol
MAD16 .config:294:warning: trying to assign nonexistent symbol
CS4232 .config:295:warning: trying to assign nonexistent symbol
MAUI .config:296:warning: trying to assign nonexistent symbol
AUDIO .config:297:warning: trying to assign nonexistent symbol
MIDI .config:298:warning: trying to assign nonexistent symbol
YM3812 .config:299:warning: unexpected data .config:300:warning:
unexpected data .config:301:warning: unexpected
data .config:302:warning: unexpected data .config:303:warning:
unexpected data .config:304:warning: unexpected
data .config:305:warning: unexpected data .config:306:warning: trying
to assign nonexistent symbol LOWLEVEL_SOUND .config:311:warning: trying
to assign nonexistent symbol PROFILE
interrupted
make[2]: *** [menuconfig] Ошибка 1
make[1]: *** [menuconfig] Interrupt
make: *** [debian/stamp-kernel-conf] Interrup
Reply to: