Subject: bug#305 closed by Mark Hindley <[email-masked]> (Re: bug#305: kernel-package: latest post 5.0.0 kernels fail to build)

From: "Devuan bug Tracking System" <[email-masked]>
Date: Thu, 09 Feb 2023 09:28:05 +0000

This is an automatic notification regarding your bug report
which was filed against the kernel-package package:

#305: kernel-package: latest post 5.0.0 kernels fail to build

It has been closed by Mark Hindley <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <[email-masked]> by
replying to this email.

-- 
305: https://bugs.devuan.org/cgi/bugreport.cgi?bug=305
Devuan Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#305: kernel-package: latest post 5.0.0 kernels fail to build
From: Mark Hindley <[email-masked]>
To: Arthur Marsh <[email-masked]>
Cc: [email-masked]
Date: Thu, 9 Feb 2023 09:26:50 +0000

On Thu, Feb 09, 2023 at 03:18:29PM +1030, Arthur Marsh wrote:
>    Hi Mark, package kernel-package is only now in stretch-backports on
>    Debian.

Thanks, I hadn't spotted that. I will close this since it is obsolete.

Thanks

Mark

Subject: kernel-package: latest post 5.0.0 kernels fail to build
From: Arthur Marsh <[email-masked]>
To: Devuan Bug Tracking System <[email-masked]>
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 <[email-masked]>/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 <[email-masked]>/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 := [email-masked]
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)