Comment 2 for bug 27595

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sun, 25 Dec 2005 13:45:58 +0100
From: Frederik Schueler <email address hidden>
To: <email address hidden>
Subject: kernel-package: latest unstable version breaks linux-2.6 build on amd64

--eqp4TxRxnD4KrmFZ
Content-Type: multipart/mixed; boundary="+nBD6E3TurpgldQp"
Content-Disposition: inline

--+nBD6E3TurpgldQp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: kernel-package
Version: 10.024
Severity: grave

Hello,

The changes introduced in kernel-package between 10.020 and 10.023 break
the amd64 build in the linux-2.6 package, see attached build log.

This might be a problem with amd64/x86-64, having dpkg and the kernel
sources call the arch differently (If this is the case, sparc hppa and
powerpc might be afffected too).

If I just need to change something in the build defines ( setting kpkg-arch
to either amd64 or x86_64, like Svenl suggested on IRC, did not help) or
in the package build system itself, please give me some a hand to fix
it.=20

Best regards
Frederik Schueler

--=20
ENOSIG

--+nBD6E3TurpgldQp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="10.024.log"
Content-Transfer-Encoding: quoted-printable

dpkg-buildpackage: source package is linux-2.6
dpkg-buildpackage: source version is 2.6.14+2.6.15-rc7-0experimental.1
dpkg-buildpackage: host architecture amd64
 debian/rules clean
dh_testdir
rm -rf debian/build debian/stamps debian/lib/python/*.pyc debian/*.kpatches=
=2Earch
dh_clean
 debian/rules build
dh_testdir
/usr/bin/make -f debian/rules.gen setup-amd64
make[1]: Entering directory `/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15=
-rc7'
/usr/bin/make -f debian/rules.real setup-arch SOURCE_VERSION=3D'2.6.14+2.6.=
15-rc7-0experimental.1' VERSION=3D'2.6.15' SOURCE_UPSTREAM=3D'2.6.14+2.6.15=
-rc7' ABINAME=3D'rc7' KPKG_ABINAME=3D'' ARCH=3D'amd64' UPSTREAM_VERSION=3D'=
2.6.15-rc7' REVISIONS=3D'0experimental.1'
make[2]: Entering directory `/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15=
-rc7'
rm -rf 'debian/build/source'
mkdir -p 'debian/build/source'
cp -al COPYING CREDITS Documentation Kbuild MAINTAINERS Makefile README REP=
ORTING-BUGS arch block crypto drivers fs include init ipc kernel lib mm net=
 scripts security sound usr 'debian/build/source'
cd 'debian/build/source'; override_version=3D'2.6.14+2.6.15-rc7-0experiment=
al.1' override_revisions=3D'0experimental.1' home=3D'/usr/src/debian-kernel=
/linux-2.6-2.6.14+2.6.15-rc7/debian/patches-debian' sh '/usr/src/debian-ker=
nel/linux-2.6-2.6.14+2.6.15-rc7/debian/bin/apply'
W: No version.Debian file, assuming pristine Linux 2.6.14+2.6.15-rc7
fbdev-radeon-noaccel.patch OK (+)
fs-asfs-2.patch OK (+)
ia64-irq-affinity-upfix.patch OK (+)
modular-ide-pnp.patch OK (+)
powerpc-mkvmlinuz-support.patch OK (+)
powerpc-serial.patch OK (+)
sparc64-hme-lockup.patch OK (+)
version.patch OK (+)
m68k-bvme.patch OK (+)
m68k-mvme147.patch OK (+)
m68k-mvme16x.patch OK (+)
m68k-spinlock.patch OK (+)
sparc64-atyfb-xl-gr.patch OK (+)
powerpc-arch-default-powerpc.patch OK (+)
drivers-scsi-megaraid_splitup.patch OK (+)
--> 2.6.14+2.6.15-rc7-0experimental.1 fully applied.
#make-kpkg does this when building kernel-source.
mv 'debian/build/source/scripts/package/Makefile' 'debian/build/source/scri=
pts/package/Makefile.dist'
mv 'debian/build/source/scripts/package/builddeb' 'debian/build/source/scri=
pts/package/builddeb.dist'
echo "# Dummy Makefile" > 'debian/build/source/scripts/package/Makefile'
echo "all:" >> 'debian/build/source/scripts/package/Makefile'
touch 'debian/stamps/source'
make[2]: Leaving directory `/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15-=
rc7'
/usr/bin/make -f debian/rules.real setup-subarch KERNEL_HEADER_DIRS=3D'x86_=
64' KPKG_ABINAME=3D'' UPSTREAM_VERSION=3D'2.6.15-rc7' ABINAME=3D'rc7' VERSI=
ON=3D'2.6.15' SOURCE_UPSTREAM=3D'2.6.14+2.6.15-rc7' SUBARCH=3D'none' SOURCE=
_VERSION=3D'2.6.14+2.6.15-rc7-0experimental.1' ARCH=3D'amd64' REVISIONS=3D'=
0experimental.1'
make[2]: Entering directory `/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15=
-rc7'
rm -rf 'debian/build/source-amd64-none'
cp -al 'debian/build/source' 'debian/build/source-amd64-none'
mkdir -p 'debian/build/source-amd64-none/debian'
cp debian/changelog 'debian/build/source-amd64-none/debian'
cp debian/copyright 'debian/build/source-amd64-none/debian'
cp debian/control 'debian/build/source-amd64-none/debian/control'
touch 'debian/build/source-amd64-none/debian/official'
if [ -n '' ]; then \
   cd 'debian/build/source-amd64-none'; \
   for patch in ; do \
     cat "/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15-rc7/$patch" | patc=
h -p1; \
   done; \
 fi
touch 'debian/stamps/source-amd64-none'
rm -rf 'debian/build/build-amd64-none'
cp -al 'debian/build/source-amd64-none' 'debian/build/build-amd64-none'
cd 'debian/build/build-amd64-none'; env -u ABINAME -u ARCH -u SUBARCH -u FL=
AVOUR -u VERSION DEBIAN_ABINAME=3D'rc7' DEBIAN_FLAVOUR=3D'' DEBIAN_VERSION=
=3D'2.6.15' MAKEFLAGS=3D'' make-kpkg --append-to-version '' --arch 'amd64' =
--stem linux --config defconfig configure
exec make -f /usr/share/kernel-package/ruleset/minimal.mk debian KPKG_ARCH=
=3Damd64 KPKG_STEM=3Dlinux=20
make[3]: Entering directory `/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15=
-rc7/debian/build/build-amd64-none'
=3D=3D=3D=3D=3D=3D making target minimal_debian [new prereqs: ]=3D=3D=3D=3D=
=3D=3D
test -d debian || mkdir debian
test ! -e stamp-building || rm -f stamp-building
test -f debian/control || sed -e 's/=3DV/2.6.15-rc7/g' \
                -e 's/=3DD/2.6.15-rc7-10.00.Custom/g' -e 's/=3DA/am=
d64/g' \
         -e 's/=3DSA//g' -e 's/=3DL/ /g' \
                -e 's/=3DI//g' \
                -e 's/=3DCV/2.6/g' \
                -e 's/=3DM/Debian Kernel Team <<email address hidden>=
rg>/g' \
                -e 's/=3DST/linux/g' -e 's/=3DB/amd64/g' \
           /usr/share/kernel-package/Control > debian/control
test -f debian/changelog || sed -e 's/=3DV/2.6.15-rc7/g' \
     -e 's/=3DD/2.6.15-rc7-10.00.Custom/g' -e 's/=3DA/amd64/g' =
 \
            -e 's/=3DST/linux/g' -e 's/=3DB/amd64/g' \
     -e 's/=3DM/Debian Kernel Team <email address hidden>/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/; =
                 \
        done
for dir in Config docs examples ruleset scripts pkg po; do =
                       \
          cp -af /usr/share/kernel-package/$dir ./debian/; =
                 \
        done
make[3]: Leaving directory `/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15-=
rc7/debian/build/build-amd64-none'
exec debian/rules DEBIAN_REVISION=3D2.6.14+2.6.15-rc7-0experimental.1 KPK=
G_ARCH=3Damd64 CONFIG_TARGET=3Ddefconfig KPKG_STEM=3Dlinux configure=20
make[3]: Entering directory `/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15=
-rc7/debian/build/build-amd64-none'
debian/ruleset/misc/checks.mk:36: *** Error. I do not know where the kernel=
 image goes to [kimagedest undefined] The usual case for this is that I cou=
ld not determine which arch or subarch this machine belongs to. Please spec=
ify a subarch, and try again.. Stop.
make[3]: Leaving directory `/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15-=
rc7/debian/build/build-amd64-none'
make[2]: *** [debian/stamps/setup-amd64-none] Error 2
make[2]: Leaving directory `/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15-=
rc7'
make[1]: *** [setup-amd64-none-real] Error 2
make[1]: Leaving directory `/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15-=
rc7'
make: *** [debian/stamps/setup-stamp] Error 2

--+nBD6E3TurpgldQp--

--eqp4TxRxnD4KrmFZ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDrpSG6n7So0GVSSARAoFtAJ0Ud9fL48IutvU8wSjgJvSraqul1gCgnZTz
9LIntVLPUfW8pLTAz3UnovU=
=ivO1
-----END PGP SIGNATURE-----

--eqp4TxRxnD4KrmFZ--