Outdated dependencies for building from source

Bug #1837544 reported by Riyad Preukschas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When trying to build the most recent ZFS packages from source (currently 0.8.1-1ubuntu7) I found out that the build dependencies in debian/control:10 [1] don't line up with ZoL's. (see also [2])

In short:
* libattr1-dev is not a dependency any more
* libselinux1-dev is not a dependency any more
* libudev-dev is a *required* dependency according to ZoL, but the packages build without it. o.O
* libaio-dev is an "optional"? dependency for zfs-test (it builds without, but the build system picks it up when present)
* libelf-dev is mentioned as a dependency but I have doubts. Comparing builds with and without it being present produce identical packages (compared with diffoscope)
* shouldn't it have an explicit build dependency on linux-headers-*?

I hope this helps. :)

Note: I used the eoan source branch but built on disco.

[1] https://git.launchpad.net/ubuntu/+source/zfs-linux/tree/debian/control?h=ubuntu/eoan#n10
[2] https://github.com/zfsonlinux/zfs/issues/9036

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zfs-linux - 0.8.2-3ubuntu1

---------------
zfs-linux (0.8.2-3ubuntu1) focal; urgency=medium

  * debian/tests/dkms-zfs-test: remove Debian dpkg-vendor check
  * debian/tests/binary-debs-modules: remove Debian dpkg-vendor check
  * debian/tests/binary-debs-modules-udeb: remove Debian dpkg-vendor check
  * debian/tests/control: remove extraneous dkms testing as Ubuntu has
    the drivers built in the kernel
  * debian/control.udeb.in: remove zfs-modules from zfsutils-udeb Depends
  * debian/control:
    - zfs-initramfs: architectures: amd64 arm64 ppc64el s390
    - zfs-initramfs: Depends: remove zfs-modules | zfs-dkms
    - zfs-dracut: Depends: remove zfs-modules | zfs-dkms
    - zfs-dracut: architectures: amd64 arm64 ppc64el s390
    - zfsutils-linux: Recommends: remove zfs-modules | zfs-dkms
    - zfs-zed: Depends: remove zfs-modules | zfs-dkms
    - zfs-test: Depends: remove zfs-modules | zfs-dkms

 -- Colin Ian King <email address hidden> Tue, 12 Nov 2019 10:00:00 +0000

Changed in zfs-linux (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.