FS#70679 - [nvme-cli] Remove libsystemd from makedepends

Attached to Project: Community Packages
Opened by Kanata (marchenstar) - Sunday, 02 May 2021, 13:26 GMT
Last edited by Morten Linderud (Foxboron) - Friday, 09 July 2021, 12:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Hello,
I see on the PKGBUILD for nvme-cli that there is makedepends dependency on libsystemd. While the upstream package does depend on libsystemd for some functionality, We need a 'makedepends' on systemd package for the build to include said functionality and 'depends' on libsystemd to run the built binary. sd-id128.h is required for compilation which is part of systemd package. the upstream Makefile uses pkg-config to check the presence of libsystemd and same is also provided by systemd package

pacman -Qo /usr/lib/pkgconfig/libsystemd.pc
/usr/lib/pkgconfig/libsystemd.pc is owned by systemd 248-5

Since currently pkg-config fails to find libsystemd, there is no issue during compilation but the final binary is not linked with libsystemd

ldd /usr/sbin/nvme
linux-vdso.so.1 (0x00007ffc03f92000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007fe423011000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fe422e44000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fe4230eb000)

Please remove libsystemd from makedepends or alternatively add systemd to makedepends.

Additional info:
* package version(s) nvme-cli 1.14-1
This task depends upon

Closed by  Morten Linderud (Foxboron)
Friday, 09 July 2021, 12:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.14-2

Loading...