Devuan bug report logs - #305
kernel-package: latest post 5.0.0 kernels fail to build

Package: kernel-package; Reported by: Arthur Marsh <arthur.marsh@internode.on.net>; dated Wed, 13 Mar 2019 10:33:01 UTC; Maintainer for kernel-package is (unknown).


Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 12 Mar 2019 06:26:25 +0000
From: Arthur Marsh <arthur.marsh@internode.on.net>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: kernel-package: latest post 5.0.0 kernels fail to build
Date: Tue, 12 Mar 2019 10:22:13 +1030

Package: kernel-package
Version: 13.018+nmu1
Severity: important

Dear Maintainer,

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

   * What led up to the situation?

Did a git pull to get the latest kernel.


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

 git pull;time ../amd64.sh
Already up to date.
exec make kpkg_version=13.018+nmu1 -f /usr/share/kernel-package/ruleset/minimal.mk debian CONFIG_TARGET=menuconfig  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 13.018+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
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/5.0.0+-10.00.Custom/g'         -e 's/=A/amd64/g'  \
        -e 's/=SA//g'  \
        -e 's/=I//g'                                \
        -e 's/=CV/./g'                      \
        -e 's/=M/Arthur Marsh <arthur.marsh@internode.on.net>/g'                   \
        -e 's/=ST/linux/g'      -e 's/=B/x86_64/g'    \
                -e 's/=R/initramfs-tools | linux-initramfs-tool,/g'    /usr/share/kernel-package/Control > debian/control
test -f debian/changelog ||  sed -e 's/=V/../g'       \
            -e 's/=D/5.0.0+-10.00.Custom/g'        -e 's/=A/amd64/g'       \
            -e 's/=ST/linux/g'     -e 's/=B/x86_64/g'         \
            -e 's/=M/Arthur Marsh <arthur.marsh@internode.on.net>/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    ARCH=x86_64 \
                    menuconfig;
make[2]: Entering directory '/usr/src/linux'
scripts/kconfig/mconf  Kconfig


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

make[2]: Leaving directory '/usr/src/linux'
make    \
                         ARCH=x86_64 -j4 dep
make[2]: Entering directory '/usr/src/linux'
make[3]: *** No rule to make target 'dep'.  Stop.
make[2]: *** [Makefile:160: sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux'
make[1]: *** [debian/ruleset/targets/common.mk:200: debian/stamp/conf/kernel-conf] Error 2
make[1]: Leaving directory '/usr/src/linux'
make: *** [/usr/share/kernel-package/ruleset/minimal.mk:106: debian/stamp/conf/minimal_debian] Error 2
Failed to create a ./debian directory:  at /usr/bin/make-kpkg line 970.


   * What was the outcome of this action?

Fails to build kernel.

   * What outcome did you expect instead?

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


-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux beowulf/ceres
Release:	10
Codename:	n/a
Architecture: x86_64

Kernel: Linux 5.0.0+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages kernel-package depends on:
ii  bc               1.07.1-2+b1
ii  binutils         2.31.1-15
ii  build-essential  12.6
ii  bzip2            1.0.6-9
ii  dpkg-dev         1.19.5
ii  file             1:5.35-4
ii  gettext          0.19.8.1-9
ii  kmod             26-1
ii  po-debconf       1.0.21
ii  xmlto            0.0.28-2.1
ii  xz-utils [lzma]  5.2.4-1

Versions of packages kernel-package recommends:
ii  cpio           2.12+dfsg-6
ii  docbook-utils  0.6.14-3.3
ii  kernel-common  13.018+nmu1
pn  uboot-mkimage  <none>

Versions of packages kernel-package suggests:
ii  libncurses-dev  6.1+20181013-2
pn  linux-source    <none>

-- Configuration Files:
/etc/kernel-pkg.conf changed:
maintainer := Arthur Marsh
email := arthur.marsh@internode.on.net
priority := Low


-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/kernel-package/ruleset/misc/version_vars.mk (from kernel-package package)
debsums: changed file /usr/share/kernel-package/ruleset/targets/common.mk (from kernel-package package)


Acknowledgement sent to Arthur Marsh <arthur.marsh@internode.on.net>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org.

Your message specified a Severity: in the pseudo-header, but the severity value important was not recognised. The default severity normal is being used instead. The recognised values are: critical, grave, normal, minor, wishlist.

Full text available.


Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#305; Package kernel-package. Full text available.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Tue, 23 Apr 2019 00:39:01 UTC