Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#73381 - Varnish package improvement
Attached to Project:
Arch Linux
Opened by guillaume quintard (gquintard) - Sunday, 16 January 2022, 19:45 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 31 January 2022, 07:19 GMT
Opened by guillaume quintard (gquintard) - Sunday, 16 January 2022, 19:45 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 31 January 2022, 07:19 GMT
|
DetailsHi,
The Varnish project recently (and finally) added Arch packaging to https://github.com/varnishcache/pkg-varnish-cache/. Notably, we imported `varnish.sysusers` from the Arch repository, so you wouldn't have to maintain it yourselves, but we also found what we believe are (minor) issues. I'm listing them here convenience so you can decide whether they are worth integrating to the official package. - varnish.sysusers: missing users means varnish keeps running as root - depends: gcc is already part of base-devel, so it shouldn't be needed - prepare: no need for autogen.sh since it's a dist tarball, configure is already built - check: we restored it as the tests pass and are faster now, but there may have been another reason for disabling them - package: builtin.vcl is already installed by autotools Please let me know if any of these is misguided, I'll be happy to fix them |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Monday, 31 January 2022, 07:19 GMT
Reason for closing: Fixed
Monday, 31 January 2022, 07:19 GMT
Reason for closing: Fixed
Thanks for upstreaming varnish.sysusers. I'll make use of it going forward.
I'm also removing the prepare() function.
I'm also removing the manual installation of builtin.vcl.
However, for some reason, the check() won't execute without issues. I always get a failure here: FAIL: tests/m00000.vtc. Is there any way I can get you more detailed debug information on that? Alternatively, can I somehow mark that test to be skipped?
Regarding the failed test, could you please run make check VERBOSE=1" and share the output, this should provide decent logs to debug. The brutal workaround is to just delete the file (bin/varnishtest/tests/m0000.vtc") in prepare(), but let's see if we can fix it first
That means it will be in the next release. For the time being, you can either rm th file or apply the patch, as you prefer