FS#72232 - [squid] systemd should be added as makedep

Attached to Project: Community Packages
Opened by Tom Yan (tom.ty89) - Saturday, 25 September 2021, 06:09 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 13 November 2021, 20:46 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
This is to complement https://bugs.archlinux.org/task/71286. I didn't realize the headers are in the systemd subpackage instead of systemd-libs.


Additional info:
* package version(s) 5.1-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Sergej Pupykin (sergej)
Saturday, 13 November 2021, 20:46 GMT
Reason for closing:  Fixed
Comment by Amin Vakil (aminvakil) - Saturday, 25 September 2021, 06:25 GMT
`systemd` is part of `base`.

I'm not sure if it's necessary to add it to `makedepends`.
Comment by Tom Yan (tom.ty89) - Saturday, 25 September 2021, 06:58 GMT
It's not part of base-devel though. While I'm not sure if fixing this would finally get squid fixed in Arch ARM (which involve cross compiling), I don't think systemd is "internally pulled" (i.e. hard-coded) by mkarchroot. (Neither should it, I suppose.)
Comment by Tom Yan (tom.ty89) - Saturday, 25 September 2021, 07:24 GMT Comment by Tom Yan (tom.ty89) - Saturday, 25 September 2021, 13:59 GMT
Just built squid with mkarchroot and makechrootpkg. Here's the difference between the ldd outputs before and after systemd is added as makedep:

$ diff <(cut -f 2 /tmp/before | cut -d " " -f 1) <(cut -f 2 /tmp/after | cut -d " " -f 1)
11a12
> libsystemd.so.0
12a14
> libnetfilter_conntrack.so.3
27a30,34
> libzstd.so.1
> liblz4.so.1
> libgcrypt.so.20
> libnfnetlink.so.0
> libmnl.so.0
28a36
> libgpg-error.so.0

Loading...