Package: make-kpkg
Severity: serious
Justification: fails to build from source

Dear Maintainer,


   * What led up to the situation?
     I tried to build a kernel pakcage under arm64 enviroment,
     I also tried bug #751928, it could not work here.

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

     I used the comment like below
make-kpkg --append-to-version "-mykernel" --revision "1" --initrd kernel_image kernel_headers

   * What was the outcome of this action?

exec make kpkg_version=13.014+nmu1 -f /usr/share/kernel-package/ruleset/minimal.mk debian DEBIAN_REVISION=1.0.custom INITRD=YES
====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
This is kernel package version 13.014+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/4.3.0-rc5/g'  \
                -e 's/=D/1.0.custom/g'         -e 's/=A/arm64/g'  \
        -e 's/=SA//g'  \
        -e 's/=I//g'                                \
        -e 's/=CV/4.3/g'                            \
-e 's/=M/Unknown Kernel Package Maintainer <[email protected]>/g' \
        -e 's/=ST/linux/g'      -e 's/=B/arm64/g'    \
-e 's/=R//g' /usr/share/kernel-package/Control > debian/control
test -f debian/changelog ||  sed -e 's/=V/4.3.0-rc5/g'       \
            -e 's/=D/1.0.custom/g'        -e 's/=A/arm64/g'       \
            -e 's/=ST/linux/g'     -e 's/=B/arm64/g'         \
-e 's/=M/Unknown Kernel Package Maintainer <[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 '/home/arm64/linux-4.3.0-rc5'
debian/ruleset/misc/checks.mk:36: *** Error. I do not know where the kernel image goes to [kimagedest undefined] The usual case for this is that I could not determine which arch or subarch this machine belongs to. Please specify a subarch, and try again.. Stop.
make[1]: Leaving directory '/home/arm64/linux-4.3.0-rc5'
/usr/share/kernel-package/ruleset/minimal.mk:93: recipe for target 'debian/stamp/conf/minimal_debian' failed
make: *** [debian/stamp/conf/minimal_debian] Error 2
Failed to create a ./debian directory:  at /usr/bin/make-kpkg line 966.


   * What outcome did you expect instead?

     I hope it could build the kernel package for arm64


-- System Information:
Debian Release: catapult
Architecture: arm64 (aarch64)

Kernel: Linux 4.1.0-rc7-1-arm64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to