[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#352152: kernel-package: latest unstable version breaks 2.4.27 image builds

Package: kernel-package
Version: 10.034
Severity: important

The current version of make-kpkg calls the kernel's prepare target,
but this does not exist in 2.4.27. Apart from anything else,
this renders all of the 2.4.27 images in etch/sid unbuildable.
I'm not entirely sure what the correct fix is, as changing make-kpkg
to use prepare (for 2.6) seems to have been a reasonably complex change.

Here is a log of a failed build, on the off chance it helps.
I've seen it for i386 and powerpc, and I believe that Norbert Tretkowski
has seen it on Alpha.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-hls-2006020200
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP (charmap=EUC-JP) (ignored: LC_ALL set to ja_JP.eucJP)

Versions of packages kernel-package depends on:
ii  dpkg                      1.13.13        package maintenance system for Deb
ii  dpkg-dev                  1.13.13        package building tools for Debian
ii  file                      4.15-2         Determines file type using "magic"
ii  gcc [c-compiler]          4:4.0.2-2      The GNU C compiler
ii  gcc-3.2 [c-compiler]      1:3.2.3-9      The GNU C compiler
ii  gcc-3.3 [c-compiler]      1:3.3.6-12     The GNU C compiler
ii  gcc-4.0 [c-compiler]      4.0.2-8        The GNU C compiler
ii  gettext                   0.14.5-2       GNU Internationalization utilities
ii  make                      3.80+3.81.b4-1 The GNU version of the "make" util
ii  perl                      5.8.8-1        Larry Wall's Practical Extraction 
ii  po-debconf                0.9.2          manage translated Debconf template

Versions of packages kernel-package recommends:
ii  bzip2                         1.0.3-2    high-quality block-sorting file co
ii  libc6-dev [libc-dev]          2.3.5-13   GNU C Library: Development Librari

-- no debconf information


 fakeroot debian/rules binary
dh_clean -k
dh_clean: Compatibility levels before 4 are deprecated.
dh_installdirs: Compatibility levels before 4 are deprecated.
cd kernel-source-2.4.27; \
		HEADER_CLEAN_HOOK=/home/horms/tmp/debian-kernel-test/kernel-image-2.4.27-i386-trunk/kernel-image-2.4.27-i386-2.4.27/header-install.out \
		make-kpkg --stem kernel --append_to_version -3 kernel-headers
exec make -f /usr/share/kernel-package/ruleset/minimal.mk debian APPEND_TO_VERSION=-3  KPKG_STEM=kernel 
make[1]: Entering directory `/home/horms/tmp/debian-kernel-test/kernel-image-2.4.27-i386-trunk/kernel-image-2.4.27-i386-2.4.27/kernel-source-2.4.27'
====== making target minimal_debian [new prereqs: ]======
test -d debian || mkdir debian
test ! -e stamp-building || rm -f stamp-building
test -f debian/control || sed         -e 's/=V/2.4.27-3/g'        \
                -e 's/=D/2.4.27-3-10.00.Custom/g'         -e 's/=A/i386/g'  \
	        -e 's/=SA//g'   -e 's/=L/ /g' \
                -e 's/=I//g'                                    \
                -e 's/=CV/2.4/g'                       \
                -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g'                        \
                -e 's/=ST/kernel/g'      -e 's/=B/i386/g'    \
		         /usr/share/kernel-package/Control > debian/control
test -f debian/changelog ||  sed -e 's/=V/2.4.27-3/g'             \
	    -e 's/=D/2.4.27-3-10.00.Custom/g'        -e 's/=A/i386/g'       \
            -e 's/=ST/kernel/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     ; do                                      \
            cp -f  /usr/share/kernel-package/$file ./debian/;                               \
for dir  in Config docs examples ruleset scripts pkg po;  do                                      \
          cp -af /usr/share/kernel-package/$dir  ./debian/;                                 \
test -d ./debian/stamps || mkdir debian/stamps 
make[1]: Leaving directory `/home/horms/tmp/debian-kernel-test/kernel-image-2.4.27-i386-trunk/kernel-image-2.4.27-i386-2.4.27/kernel-source-2.4.27'
exec debian/rules  DEBIAN_REVISION=2.4.27-12.hls.2006020900  APPEND_TO_VERSION=-3  KPKG_STEM=kernel  kernel-headers 
make[1]: Entering directory `/home/horms/tmp/debian-kernel-test/kernel-image-2.4.27-i386-trunk/kernel-image-2.4.27-i386-2.4.27/kernel-source-2.4.27'

====== 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 stamp-debian  ||                                           \
          ( test -f debian/official && test -f debian/control) ||          \
	   sed -e 's/=V/2.4.27-3/g'         -e 's/=D/2.4.27-12.hls.2006020900/g'        \
	       -e 's/=A/i386/g'   -e 's/=SA//g'  \
                -e 's/=L/lilo (>= 19.1) | grub, /g' -e 's/=I//g'     \
                -e 's/=CV/2.4/g'                      \
                -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g'                       \
                -e 's/=ST/kernel/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.4.27-3/g' -e 's/=D/2.4.27-12.hls.2006020900/g'                   \
	    -e 's/=A/i386/g' -e 's/=M/Unknown Kernel Package Maintainer <unknown@unconfigured.in.etc.kernel-pkg.conf>/g' \
            -e 's/=ST/kernel/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     ; do                                      \
               cp -f  /usr/share/kernel-package/$file ./debian/;                               \
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/;                                 \
echo done >  stamp-debian
echo done >  debian/stamp-conf
====== making target CONFIG-common [new prereqs: stamp-conf]======
====== making target stamp-arch-conf [new prereqs: CONFIG-common]======

====== making target CONFIG-arch [new prereqs: stamp-arch-conf]======
====== making conf.vars because of .config ======

====== making target CONFIG-arch [new prereqs: .config conf.vars]======
====== making target CONFIG/kernel-headers-2.4.27-3 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-build-2.4.27-3 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-headers-2.4.27-3-386 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-image-2.4.27-3-386 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-pcmcia-modules-2.4.27-3-386 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-headers-2.4.27-3-586tsc [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-image-2.4.27-3-586tsc [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-pcmcia-modules-2.4.27-3-586tsc [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-headers-2.4.27-3-686 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-image-2.4.27-3-686 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-pcmcia-modules-2.4.27-3-686 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-headers-2.4.27-3-686-smp [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-image-2.4.27-3-686-smp [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-pcmcia-modules-2.4.27-3-686-smp [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-headers-2.4.27-3-k6 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-image-2.4.27-3-k6 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-pcmcia-modules-2.4.27-3-k6 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-headers-2.4.27-3-k7 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-image-2.4.27-3-k7 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-pcmcia-modules-2.4.27-3-k7 [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-headers-2.4.27-3-k7-smp [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-image-2.4.27-3-k7-smp [new prereqs: CONFIG-arch]======

====== making target CONFIG/kernel-pcmcia-modules-2.4.27-3-k7-smp [new prereqs: CONFIG-arch]======

====== making target stamp-configure-arch [new prereqs: kernel-headers-2.4.27-3 kernel-build-2.4.27-3 kernel-headers-2.4.27-3-386 kernel-image-2.4.27-3-386 kernel-pcmcia-modules-2.4.27-3-386 kernel-headers-2.4.27-3-586tsc kernel-image-2.4.27-3-586tsc kernel-pcmcia-modules-2.4.27-3-586tsc kernel-headers-2.4.27-3-686 kernel-image-2.4.27-3-686 kernel-pcmcia-modules-2.4.27-3-686 kernel-headers-2.4.27-3-686-smp kernel-image-2.4.27-3-686-smp kernel-pcmcia-modules-2.4.27-3-686-smp kernel-headers-2.4.27-3-k6 kernel-image-2.4.27-3-k6 kernel-pcmcia-modules-2.4.27-3-k6 kernel-headers-2.4.27-3-k7 kernel-image-2.4.27-3-k7 kernel-pcmcia-modules-2.4.27-3-k7 kernel-headers-2.4.27-3-k7-smp kernel-image-2.4.27-3-k7-smp kernel-pcmcia-modules-2.4.27-3-k7-smp]======
====== making target configure-arch [new prereqs: stamp-configure-arch]======
====== making target stamp-configure-indep [new prereqs: ]======
====== making target configure-indep [new prereqs: stamp-configure-indep]======
====== making target stamp-configure [new prereqs: configure-arch configure-indep]======
====== making target debian/stamp-prepare [new prereqs: .config Makefile]======
/usr/bin/make EXTRAVERSION=-3   \
                                 ARCH=i386 prepare
make[2]: Entering directory `/home/horms/tmp/debian-kernel-test/kernel-image-2.4.27-i386-trunk/kernel-image-2.4.27-i386-2.4.27/kernel-source-2.4.27'
make[2]: *** No rule to make target `prepare'.  Stop.
make[2]: Leaving directory `/home/horms/tmp/debian-kernel-test/kernel-image-2.4.27-i386-trunk/kernel-image-2.4.27-i386-2.4.27/kernel-source-2.4.27'
make[1]: *** [debian/stamp-prepare] Error 2
make[1]: Leaving directory `/home/horms/tmp/debian-kernel-test/kernel-image-2.4.27-i386-trunk/kernel-image-2.4.27-i386-2.4.27/kernel-source-2.4.27'
make: *** [binary-arch] Error 2

Reply to: