Your message dated Mon, 24 Apr 2023 16:04:00 +0000
with message-id <[email protected]>
and subject line Bug#1034760: fixed in modsecurity 3.0.8-3
has caused the Debian Bug report #1034760,
regarding modsecurity: FTBFS on all archs except amd64/i386
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1034760: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034760
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: modsecurity
Version: 3.0.8-2
Severity: serious
Tags: ftbfs patch
Justification: FTBFS
Hi,
as you already know, modsecurity FTBFS on almost all archs, except amd64 and
i386:
It fails to find libpcre2 on those archs.
It seems that the shipped pcre2.m4 is broken: When using pkg-config to locate
the library,
it uses
PCRE2_POSSIBLE_LIB_NAMES="pcre2 pcre2-8"
however, the pkg-config name is *lib*pcre2(-8)
On amd64/i386 some fallback mechansism eventually finds the library, this is
why it works
there. Possibly, on Debian, only pkg-config should be used?
(Another observation: It finds the headers on the broken archs, so it seems it
does not use
pkg-config for determining the include paths? This seems dangerous, if
pkg-config is mixed with
some heurisitcs?)
The attached patch makes autoconf happy at least on arm64, likely also on the
other archs:
Index: modsecurity-3.0.8/build/pcre2.m4
===================================================================
--- modsecurity-3.0.8.orig/build/pcre2.m4
+++ modsecurity-3.0.8/build/pcre2.m4
@@ -4,7 +4,7 @@ dnl CHECK_PCRE2(ACTION-IF-FOUND [, ACTIO
AC_DEFUN([PROG_PCRE2], [
# Possible names for the pcre2 library/package (pkg-config)
-PCRE2_POSSIBLE_LIB_NAMES="pcre2 pcre2-8"
+PCRE2_POSSIBLE_LIB_NAMES="libpcre2 libpcre2-8"
# Possible extensions for the library
PCRE2_POSSIBLE_EXTENSIONS="so so0 la sl dll dylib so.0.0.0"
--
tobi
--- End Message ---
--- Begin Message ---
Source: modsecurity
Source-Version: 3.0.8-3
Done: Alberto Gonzalez Iniesta <[email protected]>
We believe that the bug you reported is fixed in the latest version of
modsecurity, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alberto Gonzalez Iniesta <[email protected]> (supplier of updated modsecurity
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 24 Apr 2023 16:52:16 +0200
Source: modsecurity
Architecture: source
Version: 3.0.8-3
Distribution: unstable
Urgency: medium
Maintainer: Alberto Gonzalez Iniesta <[email protected]>
Changed-By: Alberto Gonzalez Iniesta <[email protected]>
Closes: 1034760
Changes:
modsecurity (3.0.8-3) unstable; urgency=medium
.
* New patch from Tobias Frost to fix FTBFS. (Closes: #1034760)
Checksums-Sha1:
6ea643a9cf578935f1927638304b19052817233b 2077 modsecurity_3.0.8-3.dsc
ea36031b933b939ce78445d1e2151f29eb6c7e82 8628 modsecurity_3.0.8-3.debian.tar.xz
24c62c1328edb6e4198d75d3d8a3fca15b566166 7889
modsecurity_3.0.8-3_amd64.buildinfo
Checksums-Sha256:
eb6101f5bc17b7f8293d0dfebfa60d063d5ff1cebd46818e0a2c6bc6d76f0f07 2077
modsecurity_3.0.8-3.dsc
69353ee4c2a54cbc1a587243886fc9206832186a3102c0c670455fd79d61c7e1 8628
modsecurity_3.0.8-3.debian.tar.xz
0bd024d7b0edb43792c7f533b92457dcf460cdc7bd88dd1f7d2576370b0f604d 7889
modsecurity_3.0.8-3_amd64.buildinfo
Files:
a5a63d9682a113370a10fcf31424ff29 2077 libs optional modsecurity_3.0.8-3.dsc
c5b09d85633d3eb9cf3372e9f0a4d15c 8628 libs optional
modsecurity_3.0.8-3.debian.tar.xz
f1e246f663dc5c57c15634a2cd3af49c 7889 libs optional
modsecurity_3.0.8-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEEU0fL2D4wqetNfUvyAJszdWuaqlUFAmRGoukQHGFnaUBpbml0
dGFiLm9yZwAKCRAAmzN1a5qqVastD/oDyz70C7f7lcXFN+UMIlrEdvx7/bhS/N+w
WgFqHM6woX2IgfPzudzJQJ8vRa6md6Fk+mJYmoPRym9Vo19BlXwQmPV66EsS1oSt
d03FZpEwnNHrRzNWPVg4Wij1kbwDmSGW1wHuRj7B+kW3tB9QdR+kGXMwaSfMba4O
vHQR6EqOBWrpJ6p+eAsKU69hM4rOrbf2FBDBRbP/C7pRTFxTyqRpTMeHWWj6vE+7
XVceTtor9uCARRqZ+QbLObePehz0L16lf+sWGSckX8sAh7FQvMR3AiOx0zjdelDg
KZ8brsxxBRSWXxT8OrCLuJd5EYHOCb2YVGbWWVbF6UKiof6R35/Nx692ALh+bwhu
NOirw7h34L2VvkJhZyRjyQazLXtNhtDw2kUm7QObJmnJ16C37+wUqH8tK8It7Xmh
a81wb2EciRnLRoRWG2l6Lxyz+xU7oqwdnw2cuT/859IuGdsWszmHe+yP9WUMdAxU
/IxHb3NlC7YUHuTugKMmp6kPyGSFIQVNCz4BCj5SGeHYlxEdMrrBk5JfQw8U1Hj/
AdU0wAEjzcNOs8qlRif8ufQfdHOn3vNuYSoyCTEVMgKbyUFQfbzzLrGMLKBjG8GJ
AjMkDAuCASZV3caTeU4edFzyt3PFyUjXSEwRrs9yReLA3QiQcORuS/G561Z/DkJf
Code/KpKQQ==
=ktt4
-----END PGP SIGNATURE-----
--- End Message ---