FS#42842 - [libsystemd] missing a dependency: lz4

Attached to Project: Arch Linux
Opened by Jack L Frost (fbt) - Wednesday, 19 November 2014, 08:26 GMT
Last edited by Dave Reisner (falconindy) - Friday, 12 December 2014, 13:21 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
As per  FS#42839 , I've been shown the error of my ways and figured out the problem:
mpv links to libsystemd, which links to lz4.
Which probably means that it's libsystemd that needs to depend on lz4:

$ lddtree /lib/libsystemd.so.0.5.0
/lib/libsystemd.so.0.5.0 (interpreter => None)
...
liblz4.so.1 => None
...

This means that every package that links to libsystemd won't work without liblz4.

And yeah, systemd does depend on lz4, but libsystemd doesn't. And mine is a system with libsystemd but no systemd.
While it's clearly an unsupported setup, IMO things should explicitly depend on libs they link to :)

You might also want to check if any of the systemd binaries actually depend directly on liblz4, maybe it doesn't need to depend on lz4 itself? Or should that be a separate bug?

Packages:
core/libsystemd 217-6
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 12 December 2014, 13:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd 217-8
Comment by Jack L Frost (fbt) - Friday, 12 December 2014, 13:17 GMT
The dependency is in libsystemd 217-8:

package_libsystemd() {
...
depends=('glib2' 'glibc' 'libgcrypt' 'lz4' 'xz')
...
}

Did someone forget to close the issue? :)

Loading...