[Pkg-zfsonlinux-devel] Bug#909184: zfs-dkms: 'dkms mkdeb -m zfs' fails to preserve .deb file

Mykola Nikishov mn at mn.com.ua
Wed Sep 19 11:37:01 BST 2018


Package: zfs-dkms
Version: 0.7.9-3
Severity: important

--8<---------------cut here---------------start------------->8---
$ sudo dkms mkdeb -m zfs -v 0.7.9 -k 4.17.0-3-amd64 
Using /etc/dkms/template-dkms-mkdeb
copying template...
modifying debian/changelog...
modifying debian/compat...
modifying debian/control...
modifying debian/copyright...
modifying debian/dirs...
modifying debian/postinst...
modifying debian/prerm...
modifying debian/README.Debian...
modifying debian/rules...
copying legacy postinstall template...
Copying source tree...
Gathering binaries...Marking modules for 4.17.0-3-amd64 (x86_64) for archiving...

Creating tarball structure to specifically accomodate binaries.

Tarball location: /var/lib/dkms/zfs/0.7.9/tarball/zfs-0.7.9.dkms.tar.gz


DKMS: mktarball completed.

Copying DKMS tarball into DKMS tree...
Building binary package...dpkg-buildpackage: warning: using a gain-root-command while being root
 dpkg-source --before-build zfs-dkms-0.7.9
 fakeroot debian/rules clean
dh_clean: Compatibility levels before 9 are deprecated (level 7 in use)
 debian/rules build
 fakeroot debian/rules binary
dh_installdirs: Compatibility levels before 9 are deprecated (level 7 in use)
dh_strip: Compatibility levels before 9 are deprecated (level 7 in use)
dh_compress: Compatibility levels before 9 are deprecated (level 7 in use)
dh_installdeb: Compatibility levels before 9 are deprecated (level 7 in use)
dh_shlibdeps: Compatibility levels before 9 are deprecated (level 7 in use)
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../zfs-dkms_0.7.9_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build zfs-dkms-0.7.9


DKMS: mkdeb completed.
Moving built files to /var/lib/dkms/zfs/0.7.9/deb...mv: cannot stat '/tmp/user/0/dkms.m5ZPJ0/zfs-dkms_0.7.9_amd64.deb': No such file or directory
(bad exit status: 1)
Cleaning up temporary files...
--8<---------------cut here---------------end--------------->8---

and as a result .deb file is missing:

--8<---------------cut here---------------start------------->8---
$ sudo find /var/lib/dkms/ /tmp/user/ -type f -name *.deb
$
--8<---------------cut here---------------end--------------->8---

-- System Information:
Debian Release: buster/sid
  APT prefers stable
  APT policy: (900, 'stable'), (190, 'testing'), (180, 'unstable'), (170, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfs-dkms depends on:
ii  debconf [debconf-2.0]  1.5.69
ii  dkms                   2.6.1-1
ii  lsb-release            9.20170808
ii  spl-dkms               0.7.9-3

Versions of packages zfs-dkms recommends:
ii  linux-libc-dev  4.18.6-1
ii  zfs-zed         0.7.9-3
ii  zfsutils-linux  0.7.9-3

zfs-dkms suggests no packages.

-- debconf information:
* zfs-dkms/note-incompatible-licenses:
  zfs-dkms/stop-build-for-unknown-kernel: true
  zfs-dkms/stop-build-for-32bit-kernel: true



More information about the Pkg-zfsonlinux-devel mailing list