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

Dear Maintainer,

   * What led up to the situation?

I tried to make-kpkg with the latest linux-4.18-rc8

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

.../linux-4.18-rc8$ make-kpkg --rootcmd=fakeroot -j 32 --initrd kernel_image 
--verbose

   * What was the outcome of this action?

The build failed after a couple of seconds, with errors from /bin/sh along the 
way.

   * What outcome did you expect instead?

The .deb kernel package to have been built.

Full log:

----8<----
claude@eiskaffee:~/opt/src/linux/linux-4.18-rc8$ make-kpkg --rootcmd=fakeroot 
-j 32 --initrd kernel_image --verbose
exec make kpkg_version=13.018+nmu1 -f 
/usr/share/kernel-package/ruleset/minimal.mk debian V=1  INITRD=YES  
ROOT_CMD=fakeroot 
/bin/sh: 1: [: -lt: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -lt: unexpected operator
====== 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/..-10.00.Custom/g'         -e 's/=A/amd64/g'  \
        -e 's/=SA//g'  \
        -e 's/=I//g'                                \
        -e 's/=CV/./g'                      \
        -e 's/=M/Unknown Kernel Package Maintainer 
<unkn...@unconfigured.in.etc.kernel-pkg.conf>/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/..-10.00.Custom/g'        -e 's/=A/amd64/g'       \
            -e 's/=ST/linux/g'     -e 's/=B/x86_64/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 '/home/claude/opt/src/linux/linux-4.18-rc8'
dpkg-parsechangelog: warning:     debian/changelog(l1): version 
'..-10.00.Custom' is invalid: version number does not start with digit
LINE: linux-source-.. (..-10.00.Custom) unstable; urgency=low
dpkg-parsechangelog: warning:     debian/changelog(l1): version 
'..-10.00.Custom' is invalid: version number does not start with digit
LINE: linux-source-.. (..-10.00.Custom) unstable; urgency=low
dpkg-parsechangelog: warning:     debian/changelog(l1): version 
'..-10.00.Custom' is invalid: version number does not start with digit
LINE: linux-source-.. (..-10.00.Custom) unstable; urgency=low
dpkg-parsechangelog: warning:     debian/changelog(l1): version 
'..-10.00.Custom' is invalid: version number does not start with digit
LINE: linux-source-.. (..-10.00.Custom) unstable; urgency=low
dpkg-parsechangelog: warning:     debian/changelog(l1): version 
'..-10.00.Custom' is invalid: version number does not start with digit
LINE: linux-source-.. (..-10.00.Custom) unstable; urgency=low
/bin/sh: 1: [: -lt: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -lt: unexpected operator
/bin/sh: 1: [: -lt: unexpected operator
/bin/sh: 1: [: -eq: unexpected operator
/bin/sh: 1: [: -eq: unexpected operator
/bin/sh: 1: [: -lt: unexpected operator
/bin/sh: 1: [: -eq: unexpected operator
/bin/sh: 1: [: -eq: unexpected operator
/bin/sh: 1: [: -gt: unexpected operator
/bin/sh: 1: [: -ge: unexpected operator
/bin/sh: 1: [: -lt: unexpected operator
/bin/sh: 1: [: -eq: unexpected operator
/bin/sh: 1: [: -eq: unexpected operator
====== making target debian/stamp/conf/kernel-conf [new prereqs: ]======
make    ARCH=x86_64 \
                    oldconfig;
make[2]: Entering directory '/home/claude/opt/src/linux/linux-4.18-rc8'
make[2]: *** No rule to make target 'oldconfig'.  Stop.
make[2]: Leaving directory '/home/claude/opt/src/linux/linux-4.18-rc8'
make[1]: *** [debian/ruleset/targets/common.mk:199: 
debian/stamp/conf/kernel-conf] Error 2
make[1]: Leaving directory '/home/claude/opt/src/linux/linux-4.18-rc8'
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.
----8<----

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-rc7 (SMP w/16 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kernel-package depends on:
ii  bc               1.07.1-2+b1
ii  binutils         2.31.1-2
ii  build-essential  12.5
ii  bzip2            1.0.6-8.1
ii  dpkg-dev         1.19.0.5
ii  file             1:5.33-3
ii  gettext          0.19.8.1-6+b1
ii  kmod             25-1
ii  po-debconf       1.0.20
ii  xmlto            0.0.28-2
ii  xz-utils [lzma]  5.2.2-1.3

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+20180714-1
pn  linux-source    <none>

-- no debconf information

Reply via email to