Bug#992746: plocate: FTBFS on Hurd/kFreeBSD: dependency "systemd" not found
Paul Wise <[email protected]> Mon, 23 Aug 2021 10:17:15 +0800
| Newsgroups | gmane.linux.debian.ports.bsd |
|---|---|
| Organization | Debian |
| Message-ID | <0143ef7759fbed47ba5e081697e5b8eec3e27c77.camel__34583.8042370573$1629686190$gmane$org@debian.org> |
Source: plocate Version: 1.1.9-2 Severity: important Tags: ftbfs User: [email protected] Usertags: hurd hurd-i386 User: [email protected] Usertags: kfreebsd-i386 kfreebsd-amd64 X-Debbugs-CC: [email protected], [email protected] plocate FTBFS on Hurd/kFreeBSD due to depending on systemd's pkg-config file, which is only available on Linux platforms. Since mlocate has been removed from Debian, this leaves those platforms with only findutils locate, which is a lot slower than even mlocate was. https://buildd.debian.org/status/package.php?p=plocate It looks like plocate only uses the systemd pkg-config file to install systemd unit files and already supports building without systemd via the install_systemd option. So meson.build should detect a host arch kernel other than Linux and auto-disable install_systemd. Probably meson.build should also not fail when systemd is not present, this will make it more portable to distros that do not have systemd at all like Alpine, OpenWRT, Void Linux etc. I note that some of these distros are having to manually disable systemd instead of having that autodetected. Some of these distros are also adding portability patches for musl. https://en.wikipedia.org/wiki/Category:Linux_distributions_without_systemd https://repology.org/project/plocate/packages https://raw.githubusercontent.com/void-linux/void-packages/master/srcpkgs/plocate/template -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEYQsotVz8/kXqG1Y7MRa6Xp/6aaMFAmEjBSEACgkQMRa6Xp/6 aaM+2hAAoFsgmkgUIm8DK+HXXCHL9lW4OGCyZP1bmICuHwhhm0Zjq8eHqrsbitwz 42BsXmuIVjQJLBora24+abEBNrRNjUbeffI5K+6Kf28LqDqzR93ibq3teJqjEoov 5xuxHEMluKFWh52v7FtKVo6CXP/AkIXPLFRx8IKN0u4+Rw/gSjXGHtikmVNresrr wDt/Hbz4IUbKjLh/tsHMcCSPwf+3DGD+exeJy6Gaxs82M7AmQVKCU/LHf861FtkP 0kiHKrQ6iMxhN55qVTsAxnFhfRtdid/PsSmpQA0UsZFSr9SbCLIF4QKx+qv810/r TAycnKssga2p7QfMYH9ZtIEuEmU7zeerTIEc/+N95htalnWdbXX2Oros0z1uaiLY bYm52TUn6+ISAU+TZfZrzl8Cm/88wnANN+sDMO3iDJTLUjQ3B5w2DkRIUXnUEafA 1LL1ucKJaG10mrdFTZR76gispxnoTN+gTETAFQvNIHA6NSiCIG+qFaeqIE/d1DLw b4CCTlg0RxWpUZ0PCWOXaofcPhb6ergUV27/wHslMqUfmFDiww7hvAPPbWgxCgqm xBVQJk9WAeDXdfljARCc6somI6/aIUKNR/7UdisbQUvWGBAiDsD7LZf481+NsLGb ehFWcr0RyiSv1Zco/jwi2+XCatCChbd14IfEpo2ACK1jwjAiXmw= =TZuw -----END PGP SIGNATURE-----