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. 

Best regards
Frederik Schueler

-- 
ENOSIG
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.arch
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='2.6.14+2.6.15-rc7-0experimental.1' VERSION='2.6.15' 
SOURCE_UPSTREAM='2.6.14+2.6.15-rc7' ABINAME='rc7' KPKG_ABINAME='' ARCH='amd64' 
UPSTREAM_VERSION='2.6.15-rc7' REVISIONS='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 
REPORTING-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='2.6.14+2.6.15-rc7-0experimental.1' 
override_revisions='0experimental.1' 
home='/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15-rc7/debian/patches-debian' 
sh '/usr/src/debian-kernel/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/scripts/package/Makefile.dist'
mv 'debian/build/source/scripts/package/builddeb' 
'debian/build/source/scripts/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='x86_64' 
KPKG_ABINAME='' UPSTREAM_VERSION='2.6.15-rc7' ABINAME='rc7' VERSION='2.6.15' 
SOURCE_UPSTREAM='2.6.14+2.6.15-rc7' SUBARCH='none' 
SOURCE_VERSION='2.6.14+2.6.15-rc7-0experimental.1' ARCH='amd64' 
REVISIONS='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" | 
patch -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 
FLAVOUR -u VERSION DEBIAN_ABINAME='rc7' DEBIAN_FLAVOUR='' 
DEBIAN_VERSION='2.6.15' MAKEFLAGS='' 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=amd64   KPKG_STEM=linux 
make[3]: Entering directory 
`/usr/src/debian-kernel/linux-2.6-2.6.14+2.6.15-rc7/debian/build/build-amd64-none'
====== 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.6.15-rc7/g'        \
                -e 's/=D/2.6.15-rc7-10.00.Custom/g'         -e 's/=A/amd64/g'  \
                -e 's/=SA//g'   -e 's/=L/ /g' \
                -e 's/=I//g'                                    \
                -e 's/=CV/2.6/g'                       \
                -e 's/=M/Debian Kernel Team <debian-kernel@lists.debian.org>/g' 
                       \
                -e 's/=ST/linux/g'      -e 's/=B/amd64/g'    \
                         /usr/share/kernel-package/Control > debian/control
test -f debian/changelog ||  sed -e 's/=V/2.6.15-rc7/g'             \
            -e 's/=D/2.6.15-rc7-10.00.Custom/g'        -e 's/=A/amd64/g'       \
            -e 's/=ST/linux/g'     -e 's/=B/amd64/g'         \
            -e 's/=M/Debian Kernel Team <debian-kernel@lists.debian.org>/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=2.6.14+2.6.15-rc7-0experimental.1  
KPKG_ARCH=amd64  CONFIG_TARGET=defconfig  KPKG_STEM=linux  configure 
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 could 
not determine which arch or subarch this machine belongs to. Please specify 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

Attachment: signature.asc
Description: Digital signature

Reply via email to