Package: kernel-package
Version: 12.013
Severity: normal

Hi, I may have set flags wrong, but I am trying to *quickly* build a
kernel for an old PII-266 using a nearby amd64 machine.

I had copied the .config from the PII-266 machine to the 
/usr/src/linux-2.6-2.6.30~rc5 directory and run:

CONCURRENCY_LEVEL=3;export CONCURRENCY_LEVEL; \
make-kpkg --arch i386 --cross-compile - --arch-in-name --config menuconfig \
 --initrd linux-image 

I ended up with a .deb ending in amd64.deb that refused to install on the
PII-266 due to the .deb being for amd64 rather than i386  architecture.
                  
The output from the final stages of the build process was:

  DEPMOD  2.6.30-rc5
make[2]: Leaving directory `/usr/src/linux-2.6-2.6.30~rc5'
mv System.precious System.map
test ! -f Documentation/lguest/lguest ||                             \
            install -p    -o root -g root  -m  644 Documentation/lguest/lguest 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/lib/modules/2.6.30-rc5/lguest
test ! -f 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/lib/modules/2.6.30-rc5/lguest
 ||             \
            chmod 755 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/lib/modules/2.6.30-rc5/lguest
test ! -e 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/lib/modules/2.6.30-rc5/source
 ||                    \
           mv 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/lib/modules/2.6.30-rc5/source
 ./debian/source-link
test ! -e 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/lib/modules/2.6.30-rc5/build
 ||                     \
           mv 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/lib/modules/2.6.30-rc5/build
 ./debian/build-link
test ! -e ./debian/source-link ||                                              \
           mv ./debian/source-link 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/lib/modules/2.6.30-rc5/source
test ! -e  ./debian/build-link ||                                              \
           mv  ./debian/build-link 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/lib/modules/2.6.30-rc5/build
/sbin/depmod -q -FSystem.map -b 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5 2.6.30-rc5;
test ! -f System.map ||  cp System.map                         \
                        
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5//boot/System.map-2.6.30-rc5;
test ! -f System.map ||  chmod 644                             \
                        
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5//boot/System.map-2.6.30-rc5;
cp arch/x86/boot/bzImage 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5//boot/vmlinuz-2.6.30-rc5
chmod 644 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5//boot/vmlinuz-2.6.30-rc5;
if test -d /usr/src/linux-2.6-2.6.30~rc5/debian/image.d ; then                  
 \
             TMPTOP=/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5 
version=2.6.30-rc5 
IMAGE_TOP=/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5        \
                   run-parts --verbose 
/usr/src/linux-2.6-2.6.30~rc5/debian/image.d ;     \
         fi
if [ -x debian/post-install ]; then                               \
                
TMPTOP=/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5 STEM=linux 
version=2.6.30-rc5        \
                
IMAGE_TOP=/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5 
debian/post-install;                \
        fi
test ! -f Kerntypes ||  cp Kerntypes                                   \
                        
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5//boot/Kerntypes-2.6.30-rc5
test ! -f Kerntypes ||  chmod 644                                      \
                        
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5//boot/Kerntypes-2.6.30-rc5
====== making target debian/stamp/binary/pre-linux-image-2.6.30-rc5 [new 
prereqs: linux-image-2.6.30-rc5]======

This is kernel package version 12.013.
/usr/bin/make -f ./debian/rules debian/stamp/binary/linux-image-2.6.30-rc5
make[2]: Entering directory `/usr/src/linux-2.6-2.6.30~rc5'
====== making target debian/stamp/binary/linux-image-2.6.30-rc5 [new prereqs: 
]======

This is kernel package version 12.013.
install -p -d -o root -g root  -m  755 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN
sed -e 's/=V/2.6.30-rc5/g'    -e 's/=IB//g' \
            -e 's/=ST/linux/g'  -e 's/=R//g' \
            -e 's/=K/bzImage/g'              \
            -e 's/=I/YES/g'     -e 's,=D,/boot,g'            \
            -e 's...@=a@am...@g'   \
            -e 's...@=b@i...@g'     \
          ./debian/pkg/image/postinst > 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN/postinst
chmod 755 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN/postinst
sed -e 's/=V/2.6.30-rc5/g'         -e 's/=IB//g' \
            -e 's/=ST/linux/g'  -e 's/=R//g' \
            -e 's/=K/bzImage/g'              \
            -e 's/=I/YES/g'     -e 's,=D,/boot,g'            \
            -e 's...@=a@am...@g'   \
            -e 's...@=b@i...@g'    \
         ./debian/pkg/image/config > 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN/config
chmod 755 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN/config
sed -e 's/=V/2.6.30-rc5/g'         -e 's/=IB//g' \
            -e 's/=ST/linux/g'  -e 's/=R//g' \
            -e 's/=K/bzImage/g'              \
            -e 's/=I/YES/g'     -e 's,=D,/boot,g'            \
            -e 's/=MD//g'                                    \
            -e 's...@=mk@@g' -e 's...@=a@am...@g'   \
            -e 's...@=m@@g'    -e 's/=OF//g'    \
            -e 's/=S//g' -e 's...@=b@i...@g'     \
         ./debian/pkg/image/postrm > 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN/postrm
chmod 755 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN/postrm
sed -e 's/=V/2.6.30-rc5/g'         -e 's/=IB//g'           \
            -e 's/=ST/linux/g'  -e 's/=R//g' \
            -e 's/=K/bzImage/g'              \
            -e 's/=I/YES/g'     -e 's,=D,/boot,g'            \
            -e 's/=MD//g'                                    \
            -e 's...@=mk@@g' -e 's...@=a@am...@g'   \
            -e 's...@=m@@g'    -e 's/=OF//g'    \
            -e 's/=S//g' -e 's...@=b@i...@g'     \
         ./debian/pkg/image/preinst > 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN/preinst
chmod 755 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN/preinst
sed -e 's/=V/2.6.30-rc5/g'    -e 's/=IB//g'    \
            -e 's/=ST/linux/g'  -e 's/=R//g' \
            -e 's/=K/bzImage/g'              \
            -e 's/=I/YES/g'     -e 's,=D,/boot,g'            \
            -e 's/=MD//g'                                    \
            -e 's...@=mk@@g' -e 's...@=a@am...@g'   \
            -e 's...@=m@@g'    -e 's/=OF//g'    \
            -e 's/=S//g' -e 's...@=b@i...@g'     \
         ./debian/pkg/image/prerm > 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN/prerm
chmod 755 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN/prerm
po2debconf debian/templates.in > debian/templates.l10n
sed -e 's/=V/2.6.30-rc5/g'    -e 's/=IB//g'    \
            -e 's/=ST/linux/g'  -e 's/=R//g' \
            -e 's/=K/bzImage/g'           \
            -e 's...@=mk@@g' -e 's...@=a@am...@g'   \
            -e 's/=I/YES/g'     -e 's,=D,/boot,g'        \
            -e 's/=MD//g'                                \
            -e 's...@=m@@g'    -e 's/=OF//g'    \
            -e 's/=S//g' -e 's...@=b@i...@g'     \
         ./debian/templates.l10n   > ./debian/templates.master
install -p    -o root -g root  -m  644 ./debian/templates.master 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/DEBIAN/templates
dpkg-gencontrol -DArchitecture=amd64 -isp            \
                        -plinux-image-2.6.30-rc5 
-P/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5/
create_md5sums_fn () { cd $1 ; find . -type f ! -regex '.*/DEBIAN/.*' ! -regex 
'./etc/.*'      ! -regex '.*lib/modules/[^/]*/modules\..*' -printf '%P\0' | 
xargs -r0 md5sum > DEBIAN/md5sums ; if [ -z "DEBIAN/md5sums" ] ; then rm -f 
"DEBIAN/md5sums" ; fi ; } ; create_md5sums_fn           
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5
chmod -R og=rX                 
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5
chown -R root:root             
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5
dpkg --build                   
/usr/src/linux-2.6-2.6.30~rc5/debian/linux-image-2.6.30-rc5 ..
dpkg-deb: building package `linux-image-2.6.30-rc5' in 
`../linux-image-2.6.30-rc5_2.6.30-rc5-10.00.Custom_amd64.deb'.
make[2]: Leaving directory `/usr/src/linux-2.6-2.6.30~rc5'
make[1]: Leaving directory `/usr/src/linux-2.6-2.6.30~rc5'

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-rc5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kernel-package depends on:
ii  binutils                      2.19.1-1   The GNU assembler, linker and bina
ii  build-essential               11.4       Informational list of build-essent
ii  debianutils                   3.1.3      Miscellaneous utilities specific t
ii  file                          5.03-1     Determines file type using "magic"
ii  gettext                       0.17-6     GNU Internationalization utilities
ii  make                          3.81-5     The GNU version of the "make" util
ii  module-init-tools             3.7-pre9-1 tools for managing Linux kernel mo
ii  po-debconf                    1.0.16     tool for managing templates file t
ii  util-linux                    2.13.1.1-1 Miscellaneous system utilities

kernel-package recommends no packages.

Versions of packages kernel-package suggests:
ii      1.0.5-1                              high-quality block-sorting file co
pn      <none>                               (no description available)
ii      1.41.5-1                             ext2/ext3/ext4 file system utiliti
ii      0.93.2                               tools for generating an initramfs
pn      <none>                               (no description available)
ii      5.7+20090502-1                       developer's libraries and docs for
ii      2.6.30~rc5-1~experimental.1~snapshot Linux kernel source for version 2.
pn      <none>                               (no description available)

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to