| Summary: | www-apache/mod_security-2.9.7 fails to build with -pcre2 USE | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | samurai.no.dojo |
| Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | hydrapolic, jstein |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
samurai.no.dojo
2023-03-18 16:12:52 UTC
Thank you for the report, please add * the complete build.log as attachment and * a paste of the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards. Do you have dev-libs/libpcre2 installed?
Just tested 2.9.7 on ~amd64:
[ebuild R ] www-apache/mod_security-2.9.7::gentoo USE="-doc -fuzzyhash -geoip -jit -json -lua -mlogc -pcre2" LUA_SINGLE_TARGET="-lua5-1 -lua5-3" 0 KiB
...
checking for libpcre config script... /usr/bin/pcre-config
configure: using pcre v8.45
configure: pcre2 not specified; omitting check
...
>>> Installing (1 of 1) www-apache/mod_security-2.9.7::gentoo
It's not strictly relevant to this bug, but at this point, we should really hard-require pcre2 rather than giving a choice, but it's ok to offer both initially if you really want if there's a substantial risk of breakage. (In reply to Sam James from comment #3) > It's not strictly relevant to this bug, but at this point, we should really > hard-require pcre2 rather than giving a choice, but it's ok to offer both > initially if you really want if there's a substantial risk of breakage. Not against it, but 2.9.7 was the first release to add pcre2 support, that's why it was added as optional. We can change it to hard requirement in the next release. |