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
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 "+nBD6E3Turpgld Qp" Disposition: inline
Content-Type: multipart/mixed; boundary=
Content-
--+nBD6E3TurpgldQp Disposition: inline Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
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 Disposition: attachment; filename= "10.024. log" Transfer- Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Content-
Content-
dpkg-buildpackage: source package is linux-2.6 2.6.15- rc7-0experiment al.1 lib/python/ *.pyc debian/*.kpatches= debian- kernel/ linux-2. 6-2.6.14+ 2.6.15= VERSION= 3D'2.6. 14+2.6. = 0experimental. 1' VERSION=3D'2.6.15' SOURCE_ UPSTREAM= 3D'2.6. 14+2.6. 15= VERSION= 3D'= 3D'0experimenta l.1' debian- kernel/ linux-2. 6-2.6.14+ 2.6.15= build/source' build/source' build/source' build/source' ; override_ version= 3D'2.6. 14+2.6. 15-rc7- 0experiment= revisions= 3D'0experimenta l.1' home=3D' /usr/src/ debian- kernel= 2.6-2.6. 14+2.6. 15-rc7/ debian/ patches- debian' sh '/usr/src/ debian- ker= 2.6-2.6. 14+2.6. 15-rc7/ debian/ bin/apply' noaccel. patch OK (+) affinity- upfix.patch OK (+) ide-pnp. patch OK (+) mkvmlinuz- support. patch OK (+) serial. patch OK (+) hme-lockup. patch OK (+) atyfb-xl- gr.patch OK (+) arch-default- powerpc. patch OK (+) scsi-megaraid_ splitup. patch OK (+) 2.6.15- rc7-0experiment al.1 fully applied. build/source/ scripts/ package/ Makefile' 'debian/ build/source/ scri= Makefile. dist' build/source/ scripts/ package/ builddeb' 'debian/ build/source/ scri= builddeb. dist' build/source/ scripts/ package/ Makefile' build/source/ scripts/ package/ Makefile' stamps/ source' debian- kernel/ linux-2. 6-2.6.14+ 2.6.15- = HEADER_ DIRS=3D' x86_= VERSION= 3D'2.6. 15-rc7' ABINAME=3D'rc7' VERSI= UPSTREAM= 3D'2.6. 14+2.6. 15-rc7' SUBARCH=3D'none' SOURCE= 3D'2.6. 14+2.6. 15-rc7- 0experimental. 1' ARCH=3D'amd64' REVISIONS=3D'= debian- kernel/ linux-2. 6-2.6.14+ 2.6.15= build/source- amd64-none' build/source' 'debian/ build/source- amd64-none' build/source- amd64-none/ debian' build/source- amd64-none/ debian' build/source- amd64-none/ debian' build/source- amd64-none/ debian/ control' build/source- amd64-none/ debian/ official' build/source- amd64-none' ; \ debian- kernel/ linux-2. 6-2.6.14+ 2.6.15- rc7/$patch" | patc= stamps/ source- amd64-none' build/build- amd64-none' build/source- amd64-none' 'debian/ build/build- amd64-none' build/build- amd64-none' ; env -u ABINAME -u ARCH -u SUBARCH -u FL= ABINAME= 3D'rc7' DEBIAN_FLAVOUR=3D'' DEBIAN_VERSION= kernel- package/ ruleset/ minimal. mk debian KPKG_ARCH= 3Dlinux= 20 debian- kernel/ linux-2. 6-2.6.14+ 2.6.15= build/build- amd64-none' 2.6.15- rc7/g' \ 2.6.15- rc7-10. 00.Custom/ g' -e 's/=3DA/am=
/usr/ share/kernel- package/ Control > debian/control 2.6.15- rc7/g' \ 2.6.15- rc7-10. 00.Custom/ g' -e 's/=3DA/amd64/g' =
/ usr/share/ kernel- package/ changelog > debian/changelog kernel- package/ rules debian/rules
\ kernel- package/ $file ./debian/; =
\ kernel- package/ $dir ./debian/; = debian- kernel/ linux-2. 6-2.6.14+ 2.6.15- = build/build- amd64-none' REVISION= 3D2.6.14+ 2.6.15- rc7-0experiment al.1 KPK= TARGET= 3Ddefconfig KPKG_STEM=3Dlinux configure=20 debian- kernel/ linux-2. 6-2.6.14+ 2.6.15= build/build- amd64-none' ruleset/ misc/checks. mk:36: *** Error. I do not know where the kernel= debian- kernel/ linux-2. 6-2.6.14+ 2.6.15- = build/build- amd64-none' stamps/ setup-amd64- none] Error 2 debian- kernel/ linux-2. 6-2.6.14+ 2.6.15- = amd64-none- real] Error 2 debian- kernel/ linux-2. 6-2.6.14+ 2.6.15- = stamps/ setup-stamp] Error 2
dpkg-buildpackage: source version is 2.6.14+
dpkg-buildpackage: host architecture amd64
debian/rules clean
dh_testdir
rm -rf debian/build debian/stamps debian/
=2Earch
dh_clean
debian/rules build
dh_testdir
/usr/bin/make -f debian/rules.gen setup-amd64
make[1]: Entering directory `/usr/src/
-rc7'
/usr/bin/make -f debian/rules.real setup-arch SOURCE_
15-rc7-
-rc7' ABINAME=3D'rc7' KPKG_ABINAME=3D'' ARCH=3D'amd64' UPSTREAM_
2.6.15-rc7' REVISIONS=
make[2]: Entering directory `/usr/src/
-rc7'
rm -rf 'debian/
mkdir -p 'debian/
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/
cd 'debian/
al.1' override_
/linux-
nel/linux-
W: No version.Debian file, assuming pristine Linux 2.6.14+2.6.15-rc7
fbdev-radeon-
fs-asfs-2.patch OK (+)
ia64-irq-
modular-
powerpc-
powerpc-
sparc64-
version.patch OK (+)
m68k-bvme.patch OK (+)
m68k-mvme147.patch OK (+)
m68k-mvme16x.patch OK (+)
m68k-spinlock.patch OK (+)
sparc64-
powerpc-
drivers-
--> 2.6.14+
#make-kpkg does this when building kernel-source.
mv 'debian/
pts/package/
mv 'debian/
pts/package/
echo "# Dummy Makefile" > 'debian/
echo "all:" >> 'debian/
touch 'debian/
make[2]: Leaving directory `/usr/src/
rc7'
/usr/bin/make -f debian/rules.real setup-subarch KERNEL_
64' KPKG_ABINAME=3D'' UPSTREAM_
ON=3D'2.6.15' SOURCE_
_VERSION=
0experimental.1'
make[2]: Entering directory `/usr/src/
-rc7'
rm -rf 'debian/
cp -al 'debian/
mkdir -p 'debian/
cp debian/changelog 'debian/
cp debian/copyright 'debian/
cp debian/control 'debian/
touch 'debian/
if [ -n '' ]; then \
cd 'debian/
for patch in ; do \
cat "/usr/src/
h -p1; \
done; \
fi
touch 'debian/
rm -rf 'debian/
cp -al 'debian/
cd 'debian/
AVOUR -u VERSION DEBIAN_
=3D'2.6.15' MAKEFLAGS=3D'' make-kpkg --append-to-version '' --arch 'amd64' =
--stem linux --config defconfig configure
exec make -f /usr/share/
=3Damd64 KPKG_STEM=
make[3]: Entering directory `/usr/src/
-rc7/debian/
=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/
-e 's/=3DD/
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' \
test -f debian/changelog || sed -e 's/=3DV/
-e 's/=3DD/
\
-e 's/=3DST/linux/g' -e 's/=3DB/amd64/g' \
-e 's/=3DM/Debian Kernel Team <email address hidden>/g' =
\
install -p -m 755 /usr/share/
for file in ChangeLog Control Control.bin86 config templates.in ; do =
cp -f /usr/share/
\
done
for dir in Config docs examples ruleset scripts pkg po; do =
cp -af /usr/share/
\
done
make[3]: Leaving directory `/usr/src/
rc7/debian/
exec debian/rules DEBIAN_
G_ARCH=3Damd64 CONFIG_
make[3]: Entering directory `/usr/src/
-rc7/debian/
debian/
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/
rc7/debian/
make[2]: *** [debian/
make[2]: Leaving directory `/usr/src/
rc7'
make[1]: *** [setup-
make[1]: Leaving directory `/usr/src/
rc7'
make: *** [debian/
--+nBD6E3Turpgl dQp--
--eqp4TxRxnD4KrmFZ pgp-signature; name="signature .asc" Description: Digital signature Disposition: inline
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
So0GVSSARAoFtAJ 0Ud9fL48IutvU8w SjgJvSraqul1gCg nZTz Az3UnovU=
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFDrpSG6n7
9LIntVLPUfW8pLT
=ivO1
-----END PGP SIGNATURE-----
--eqp4TxRxnD4Kr mFZ--