[Pkg-zfsonlinux-devel] Bug#900714: missing dependency on dpkg-dev

Nicholas D Steeves nsteeves at gmail.com
Sun Jun 3 22:19:31 BST 2018


Package: zfs-dkms
Version: 0.7.9-3~bpo9+1
Severity: normal

I just upgraded a server from 0.7.6-1~bpo9+1.  Here is the relevant
section of console output:

# Before this everything looks good
Setting up libnvpair1linux (0.7.9-3~bpo9+1) ...
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Setting up spl (0.7.9-3~bpo9+1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up zfs-dkms (0.7.9-3~bpo9+1) ...
Loading new zfs-0.7.9 DKMS files...
Building for 4.9.0-6-amd64
Building initial module for 4.9.0-6-amd64
/var/lib/dkms/zfs/0.7.9/build/configure: line 13069: dpkg-architecture: command not found
Done.

zavl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.9.0-6-amd64/updates/dkms/

zcommon.ko:
Running module version sanity check.
# After this everthing looks good.

Maybe it's a cosmetic bug, maybe it's serious.  I didn't want to take
any chances.

/usr/bin/dpkg-architecture is provided by dpkg-dev.  I installed it,
reinstalled the the list of zfs packages, and this time there weren't
any errors.  I'd be happy to submit a trivial patch that adds a dep on
dpkg-dev to bin:zfs-dkms.

Cheers,
Nicholas

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

Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zfs-dkms depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  dkms                   2.3-2
ii  lsb-release            9.20161125
ii  spl-dkms               0.7.9-3~bpo9+1

Versions of packages zfs-dkms recommends:
pn  linux-libc-dev  <none>
iu  zfs-zed         0.7.9-3~bpo9+1
iu  zfsutils-linux  0.7.9-3~bpo9+1

zfs-dkms suggests no packages.

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



More information about the Pkg-zfsonlinux-devel mailing list