Package: kernel-package
Version: 12.036+nmu3
Severity: normal

Hi,

I tried to build a recent upstream kernel (3.15 prerelease) using 

$ make-kpkg -j6 --rootcmd fakeroot --initrd kernel_image kernel_headers

but it fails with

...
scripts/kconfig/conf --silentoldconfig Kconfig
make[2]: Leaving directory `/home/jens/Software/Linux/Kernel/linux'
make[2]: Entering directory `/home/jens/Software/Linux/Kernel/linux'
sh /home/jens/Software/Linux/Kernel/linux/arch/x86/boot/install.sh 
3.15.0-rc3all-modules-00180-g94f3b71-dirty arch/x86/boot/bzImage \
                System.map 
"/home/jens/Software/Linux/Kernel/linux/debian/linux-image-3.15.0-rc3all-modules-00180-g94f3b71-dirty//boot"
run-parts: executing /etc/kernel/postinst.d/dkms 
3.15.0-rc3all-modules-00180-g94f3b71-dirty 
/home/jens/Software/Linux/Kernel/linux/debian/linux-image-3.15.0-rc3all-modules-00180-g94f3b71-dirty//boot/vmlinuz-3.15.0-rc3all-modules-00180-g94f3b71-dirty
/usr/lib/dkms/dkms_autoinstaller: 42: /usr/lib/dkms/dkms_autoinstaller: dkms: 
not found
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 
3.15.0-rc3all-modules-00180-g94f3b71-dirty 
/home/jens/Software/Linux/Kernel/linux/debian/linux-image-3.15.0-rc3all-modules-00180-g94f3b71-dirty//boot/vmlinuz-3.15.0-rc3all-modules-00180-g94f3b71-dirty
/etc/kernel/postinst.d/initramfs-tools: 35: 
/etc/kernel/postinst.d/initramfs-tools: update-initramfs: not found
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 127
make[3]: *** [install] Fehler 1
make[2]: *** [install] Fehler 2
make[2]: Leaving directory `/home/jens/Software/Linux/Kernel/linux'
make[1]: *** 
[debian/stamp/install/linux-image-3.15.0-rc3all-modules-00180-g94f3b71-dirty] 
Fehler 2
make[1]: Leaving directory `/home/jens/Software/Linux/Kernel/linux'
make: *** [kernel_image] Fehler 2

I tried to analyse it and first assumed run-parts from scripts/package/builddeb 
is called but this is not the problem. I also uncommented the call in 
/usr/share/kernel-package/ruleset/targets/image.mk but no luck ...

I expect that dkms and update-initramfs are called at package installation time 
but not at package build time.

Jens

-- System Information:
Debian Release: 7.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.15.0-rc3+ (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kernel-package depends on:
ii  binutils           2.22-8
ii  build-essential    11.5
ii  debianutils        4.3.2
ii  file               5.11-2+deb7u3
ii  gettext            0.18.1.1-9
ii  make               3.81-8.2
ii  module-init-tools  9-3
ii  po-debconf         1.0.16+nmu2
ii  util-linux         2.20.1-5.3

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

Versions of packages kernel-package suggests:
pn  btrfs-tools                             <none>
ii  bzip2                                   1.0.6-4
pn  docbook-utils                           <none>
ii  e2fsprogs                               1.42.5-1.1
pn  grub | grub2                            <none>
ii  initramfs-tools [linux-initramfs-tool]  0.109.1
pn  jfsutils                                <none>
ii  libncurses5-dev [libncurses-dev]        5.9-10
pn  linux-source | kernel-source            <none>
pn  mcelog                                  <none>
pn  oprofile                                <none>
ii  pcmciautils                             018-8
ii  ppp                                     2.4.5-5.1+b1
ii  procps                                  1:3.3.3-3
pn  quota                                   <none>
pn  reiserfsprogs                           <none>
pn  squashfs-tools                          <none>
ii  udev                                    204-8~bpo70+1
pn  xfsprogs                                <none>
pn  xmlto                                   <none>

-- Configuration Files:
/etc/kernel-pkg.conf changed [not included]

-- no debconf information


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

Reply via email to