After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 787602 - libxslt-1.1.30 and master broken xslt-config when detecting libxml2 via pkgconfig
libxslt-1.1.30 and master broken xslt-config when detecting libxml2 via pkgco...
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-12 21:59 UTC by Gilles Dartiguelongue
Modified: 2017-09-14 19:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-Move-XML_CONFIG-assignment-to-unbreak-xslt-config.patch (791 bytes, patch)
2017-09-12 21:59 UTC, Gilles Dartiguelongue
none Details | Review

Description Gilles Dartiguelongue 2017-09-12 21:59:16 UTC
Created attachment 359672 [details] [review]
0001-Move-XML_CONFIG-assignment-to-unbreak-xslt-config.patch

Hello,

This was reported downstream at https://bugs.gentoo.org/630784.

The problem is that if libxml2 is found via pkgconfig, LIBXML_MANUAL_SEARCH is set to no which skips XML_CONFIG assignment, thus xslt-config gets broken.

See highlighted code at https://github.com/GNOME/libxslt/blob/master/configure.in#L508-L535

To keep things coherent, I attach a patch that moves this assignment outside this if because I expect people that use these scripts to want this chaining behavior rather than instanciating pkgconfig or getting a copy of the flags of the libxml2 detected at build time.