Package: kernel-package
Version: 13.000
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

I have a script /usr/src/i386.sh used to cross-compile for i386 from amd64:

CONCURRENCY_LEVEL=6 DEB_HOST_ARCH=i386 \
MAKEFLAGS="CC=gcc-4.9 LD=ld.gold" make-kpkg \
--initrd --config menuconfig --arch i386 \
--cross-compile - linux-image

and ran it:

 time ionice -c3 ../i386.sh
exec make kpkg_version= -f /usr/share/kernel-package/ruleset/minimal.mk debian 
KPKG_ARCH=i386   CONFIG_TARGET=menuconfig  CROSS_COMPILE=-  INITRD=YES
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
This is kernel package version .
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
cp: cannot stat ‘/usr/share/kernel-package/ChangeLog’: No such file or directory
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/../g'  \
                -e 's/=D/3.15.0-rc3+-10.00.Custom/g'         -e 's/=A/i386/g'  \
        -e 's/=SA//g'  \
        -e 's/=I//g'                                \
        -e 's/=CV/./g'                      \
        -e 's/=M/Arthur Marsh <[email protected]>/g'                
   \
        -e 's/=ST/linux/g'      -e 's/=B/i386/g'    \
                  /usr/share/kernel-package/Control > debian/control
test -f debian/changelog ||  sed -e 's/=V/../g'       \
            -e 's/=D/3.15.0-rc3+-10.00.Custom/g'        -e 's/=A/i386/g'       \
            -e 's/=ST/linux/g'     -e 's/=B/i386/g'         \
            -e 's/=M/Arthur Marsh <[email protected]>/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/src/linux'
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
====== making target debian/stamp/conf/kernel-conf [new prereqs: ]======
make   CROSS_COMPILE='' ARCH=i386 \
                    menuconfig;
make[2]: Entering directory '/usr/src/linux'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/mconf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2537:0:
scripts/kconfig/menu.c: In function ‘get_symbol_str’:
scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in 
this function [-Wmaybe-uninitialized]
     jump->offset = strlen(r->s);
                  ^
scripts/kconfig/menu.c:551:19: note: ‘jump’ was declared here
  struct jump_key *jump;
                   ^
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf Kconfig
configuration written to .config

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

make[2]: Leaving directory '/usr/src/linux'
make   CROSS_COMPILE='' \
                         ARCH=i386 -j6 dep
make[2]: Entering directory '/usr/src/linux'
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
*** Warning: make dep is unnecessary now.
make[2]: Leaving directory '/usr/src/linux'
make   CROSS_COMPILE='' ARCH=i386 clean
make[2]: Entering directory '/usr/src/linux'
  CLEAN   .
  CLEAN   arch/x86/kernel/cpu
  CLEAN   arch/x86/kernel
  CLEAN   arch/x86/realmode/rm
  CLEAN   arch/x86/vdso
  CLEAN   arch/x86/lib
  CLEAN   drivers/gpu/drm/radeon
  CLEAN   drivers/net/wan
  CLEAN   drivers/scsi/aic7xxx
  CLEAN   drivers/tty/vt
  CLEAN   firmware
  CLEAN   kernel
  CLEAN   lib/raid6
  CLEAN   lib
  CLEAN   security/apparmor
  CLEAN   security/selinux
  CLEAN   usr
  CLEAN   arch/x86/boot/compressed
  CLEAN   arch/x86/boot
  CLEAN   arch/x86/tools
  CLEAN   .tmp_versions
make[2]: Leaving directory '/usr/src/linux'
echo done > debian/stamp/conf/kernel-conf
make[1]: Leaving directory '/usr/src/linux'
make -f debian/rules debian/stamp/conf/full-changelog
make[1]: Entering directory '/usr/src/linux'
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
====== making target debian/stamp/conf/full-changelog [new prereqs: ]======
for file in ChangeLog  Control  Control.bin86 config templates.in rules; do    \
     cp -f  /usr/share/kernel-package/$file ./debian/;                  \
done
cp: cannot stat ‘/usr/share/kernel-package/ChangeLog’: No such file or directory
for dir  in Config docs examples ruleset scripts pkg po;        do             \
   cp -af /usr/share/kernel-package/$dir  ./debian/;                           \
done
install -p -m 755 /usr/share/kernel-package/rules debian/rules
sed         -e 's/=V/3.15.0-rc3+/g'  \
                -e 's/=D/3.15.0-rc3+-10.00.Custom/g'         -e 's/=A/i386/g'  \
        -e 's/=SA//g'  \
        -e 's/=I//g'                                \
        -e 's/=CV/./g'                      \
        -e 's/=M/Arthur Marsh <[email protected]>/g'                
   \
        -e 's/=ST/linux/g'      -e 's/=B/i386/g'    \
                  /usr/share/kernel-package/Control > debian/control
sed -e 's/=V/3.15.0-rc3+/g' -e 's/=D/3.15.0-rc3+-10.00.Custom/g'              \
    -e 's/=A/i386/g' -e 's/=M/Arthur Marsh <[email protected]>/g' \
    -e 's/=ST/linux/g'   -e 's/=B/i386/g'             \
        /usr/share/kernel-package/changelog > debian/changelog
chmod 0644 debian/control debian/changelog
make -f debian/rules debian/stamp/conf/kernel-conf
make[2]: Entering directory '/usr/src/linux'
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
make[2]: 'debian/stamp/conf/kernel-conf' is up to date.
make[2]: Leaving directory '/usr/src/linux'
make[1]: Leaving directory '/usr/src/linux'
echo done > debian/stamp/conf/minimal_debian
exec debian/rules  KPKG_ARCH=i386  CONFIG_TARGET=menuconfig  CROSS_COMPILE=-  
INITRD=YES  linux-image
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -gt: unary operator expected
/bin/sh: line 0: [: -ge: unary operator expected
/bin/sh: line 0: [: -lt: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
/bin/sh: line 0: [: -eq: unary operator expected
====== making target debian/stamp/conf/vars [new prereqs: ]======

debian/ruleset/kernel_version.mk:73: *** missing separator.  Stop.
debian/ruleset/targets/common.mk:148: recipe for target 
'debian/stamp/conf/vars' failed
make: *** [debian/stamp/conf/vars] Error 2



   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


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

Kernel: Linux 3.15.0-rc3+ (SMP w/4 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  bc               1.06.95-8
ii  binutils         2.24.51.20140425-1
ii  build-essential  11.6
ii  debianutils      4.4
ii  file             1:5.18-1
ii  gettext          0.18.3.2-1
ii  kmod             16-2
ii  make             4.0-4
ii  po-debconf       1.0.16+nmu2
ii  util-linux       2.20.1-5.7

Versions of packages kernel-package recommends:
ii  cpio  2.11+dfsg-2

Versions of packages kernel-package suggests:
pn  btrfs-tools                             <none>
ii  bzip2                                   1.0.6-5
pn  docbook-utils                           <none>
ii  e2fsprogs                               1.42.9-3
pn  grub | grub2                            <none>
ii  initramfs-tools [linux-initramfs-tool]  0.115
pn  jfsutils                                <none>
ii  libncurses5-dev [libncurses-dev]        5.9+20140118-1
pn  linux-source                            <none>
pn  mcelog                                  <none>
pn  oprofile                                <none>
pn  pcmciautils                             <none>
ii  ppp                                     2.4.6-2
ii  procps                                  1:3.3.9-4
pn  quota                                   <none>
pn  reiserfsprogs                           <none>
pn  squashfs-tools                          <none>
ii  udev                                    204-10
pn  xfsprogs                                <none>
pn  xmlto                                   <none>

-- Configuration Files:
/etc/kernel-pkg.conf changed:
maintainer := Arthur Marsh
email := [email protected]
priority := Low


-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to