Package: kernel-package
Version: 12.036+nmu1
Severity: normal

A simple make-kpkg on my sheevaplug system thinks I want to do a cross
compilation and so looks for arm-linux-gnueabi-ld which doesn't exist.

Adding "--arch armel" to the make-kpkg command makes things work ok.

Here's what happens:

$ make-kpkg --rootcmd fakeroot --append-to-version -cesa-dma --initrd 
kernel_image
exec make kpkg_version=12.036+nmu1 -f 
/usr/share/kernel-package/ruleset/minimal.mk debian APPEND_TO_VERSION=-cesa-dma 
 INITRD=YES  ROOT_CMD=fakeroot
====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
This is kernel package version 12.036+nmu1.
test -d debian             || mkdir debian
test ! -e stamp-building || rm -f stamp-building
install -p -m 755 /usr/share/kernel-package/rules debian/rules
for file in ChangeLog  Control  Control.bin86 config templates.in rules; 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
test -f debian/control || sed         -e 's/=V/3.5.0-cesa-dma/g'  \
                -e 's/=D/3.5.0-cesa-dma+-10.00.Custom/g'         -e 
's/=A/armel/g'  \
                -e 's/=SA//g'  \
                -e 's/=I//g'                                \
                -e 's/=CV/3.5/g'                            \
                -e 's/=M/Unknown Kernel Package Maintainer 
<unkn...@unconfigured.in.etc.kernel-pkg.conf>/g'                         \
                -e 's/=ST/linux/g'      -e 's/=B/arm/g'    \
                  /usr/share/kernel-package/Control > debian/control
test -f debian/changelog ||  sed -e 's/=V/3.5.0-cesa-dma/g'       \
            -e 's/=D/3.5.0-cesa-dma+-10.00.Custom/g'        -e 's/=A/armel/g'   
    \
            -e 's/=ST/linux/g'     -e 's/=B/arm/g'         \
            -e 's/=M/Unknown Kernel Package Maintainer 
<unkn...@unconfigured.in.etc.kernel-pkg.conf>/g'                            \
             /usr/share/kernel-package/changelog > debian/changelog
chmod 0644 debian/control debian/changelog
test -d ./debian/stamp || mkdir debian/stamp
make -f debian/rules debian/stamp/conf/kernel-conf
make[1]: Entering directory `/usr/local/src/linux-git'
====== making target debian/stamp/conf/kernel-conf [new prereqs: ]======
make EXTRAVERSION=-cesa-dma  CROSS_COMPILE=arm-linux-gnueabi- ARCH=arm \
                    oldconfig;
[...]
====== making target debian/stamp/build/kernel [new prereqs: vars]======
This is kernel package version 12.036+nmu1.
restore_upstream_debianization
test ! -f scripts/package/builddeb.kpkg-dist || mv -f 
scripts/package/builddeb.kpkg-dist scripts/package/builddeb
test ! -f scripts/package/Makefile.kpkg-dist || mv -f 
scripts/package/Makefile.kpkg-dist scripts/package/Makefile
/usr/bin/make  EXTRAVERSION=-cesa-dma  ARCH=arm \
                            CROSS_COMPILE=arm-linux-gnueabi- zImage
make[1]: Entering directory `/usr/local/src/linux-git'
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: Leaving directory `/usr/local/src/linux-git'
make[1]: Entering directory `/usr/local/src/linux-git'
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
make[2]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  HOSTCC  scripts/genksyms/genksyms.o
  HOSTCC  scripts/genksyms/lex.lex.o
  HOSTCC  scripts/genksyms/parse.tab.o
  HOSTLD  scripts/genksyms/genksyms
  CC      scripts/mod/empty.o
/bin/sh: arm-linux-gnueabi-objdump: not found
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/selinux/genheaders/genheaders
  HOSTCC  scripts/selinux/mdp/mdp
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/conmakehash
  CC      init/main.o
/bin/sh: arm-linux-gnueabi-objdump: not found
  CHK     include/generated/compile.h
  CC      init/version.o
/bin/sh: arm-linux-gnueabi-objdump: not found
  CC      init/do_mounts.o
/bin/sh: arm-linux-gnueabi-objdump: not found
  CC      init/do_mounts_initrd.o
/bin/sh: arm-linux-gnueabi-objdump: not found
  LD      init/mounts.o
/bin/sh: arm-linux-gnueabi-ld: not found
make[2]: *** [init/mounts.o] Error 127
make[1]: *** [init] Error 2
make[1]: Leaving directory `/usr/local/src/linux-git'
make: *** [debian/stamp/build/kernel] Error 2


-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.32-5-kirkwood
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kernel-package depends on:
ii  binutils                 2.20.1-16       The GNU assembler, linker and bina
ii  build-essential          11.5            Informational list of build-essent
ii  debianutils              3.4             Miscellaneous utilities specific t
ii  file                     5.04-5+squeeze2 Determines file type using "magic"
ii  gettext                  0.18.1.1-3      GNU Internationalization utilities
ii  make                     3.81-8          An utility for Directing compilati
ii  module-init-tools        3.12-2          tools for managing Linux kernel mo
ii  po-debconf               1.0.16+nmu1     tool for managing templates file t
ii  util-linux               2.17.2-9        Miscellaneous system utilities

Versions of packages kernel-package recommends:
ii  cpio                          2.11-4     GNU cpio -- a program to manage ar

Versions of packages kernel-package suggests:
pn  btrfs-tools            <none>            (no description available)
ii  bzip2                  1.0.5-6+squeeze1  high-quality block-sorting file co
pn  docbook-utils          <none>            (no description available)
ii  e2fsprogs              1.41.12-4stable1  ext2/ext3/ext4 file system utiliti
pn  grub | grub2           <none>            (no description available)
ii  initramfs-tools [linux 0.98.8            tools for generating an initramfs
pn  jfsutils               <none>            (no description available)
pn  libncurses-dev         <none>            (no description available)
ii  linux-source-2.6.32 [l 2.6.32-45         Linux kernel source for version 2.
pn  mcelog                 <none>            (no description available)
pn  oprofile               <none>            (no description available)
pn  pcmciautils            <none>            (no description available)
pn  ppp                    <none>            (no description available)
ii  procps                 1:3.2.8-9squeeze1 /proc file system utilities
pn  quota                  <none>            (no description available)
pn  reiserfsprogs          <none>            (no description available)
pn  squashfs-tools         <none>            (no description available)
ii  udev                   164-3             /dev/ and hotplug management daemo
pn  xfsprogs               <none>            (no description available)
pn  xmlto                  <none>            (no description available)

-- no debconf information


-- 
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