#949415 modsecurity-apache: FTBFS with libxml2 not shipping xml2-config

#949415#3
Date:
2020-01-20 19:33:44 UTC
From:
To:
Dear maintainer,

your package is using `xml2-config` to detect and use libxml2.  I'm
removing that script, so please update your build system to use
pkg-config instead.

The libxml2 package in experimental already doesn't ship the xml2-config
script.

Attached is the full build log, hopefully relevant excerpt follows:


checking for libxml2 config script... no
configure: *** xml library not found.
configure: error: libxml2 is required
make: *** [debian/rules:19: build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

#949415#10
Date:
2023-01-10 23:29:28 UTC
From:
To:
Dear maintainer,

Upstream has recently released ModSecurity 2.9.7, which fixes these bugs.

It would be good to have these fixes in Bookworm.

Please note that you must pass --with-pcre2 to configure via debian/rules to enable PCRE2 support.

Kind regards,

Hugh

#949415#17
Date:
2023-01-28 14:38:39 UTC
From:
To:
 Dear maintainer,

has this been fixed indeed? Can/should this bug be closed?

#949415#22
Date:
2023-07-30 14:32:08 UTC
From:
To:
yes:

https://salsa.debian.org/modsecurity-packaging-team/modsecurity-apache/-/blob/master/debian/rules#L19

modsecurity-apache is shipped with `--with-pcre2` since
2.9.7.

Yes, I think it could be.


a.

#949415#27
Date:
2023-07-30 15:07:03 UTC
From:
To:
Uhhmm... sorry, now I reviewed the whole issue and realised that
the first and second posts are about different problems.

PCRE2 dependency (second post) has been solved, but I think the
first one is not about the package modsecurity-apache.

Since this bug is quite old and - I guess - the issue in package
libxml2 has been fixed too (because there isn't any similar issue
during the building), I think we can close the issue.

Sorry, I just wanted to clarify the situation.



a.