Fedora Account System
Red Hat Associate
Red Hat Customer
mstflint in Fedora is built with bundled libraries even though system equivalents are available: iniparser, jsoncpp, muParser, sqlite This quote from https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling is relevant to mstflint: > All packages whose upstreams allow them to be built against system libraries > MUST be built against system libraries. In this case, bundled libraries > (and/or their source code) MUST be explicitly deleted during %prep. > Build scripts may need to be patched to deal with this situation. > Whenever possible, the patch should conditionalize the use of the bundled libraries, > so that the patch can be sent upstream for consideration. Reproducible: Always Steps to Reproduce: Check the package's build.log from Koji. OR ldd /usr/bin/mst* Actual Results: ./configure script does not detect the 4 system libraries. The bundled libraries are compiled. ldd shows the resulting binaries are not linked to any of the 4 system libraries. https://kojipkgs.fedoraproject.org//packages/mstflint/4.36.0/1.fc45/data/logs/x86_64/build.log: ... checking for iniparser.h... no checking for library containing JSON... no checking for library containing mupCreateVar... no checking for library containing sqlite3_initialize... no ... Expected Results: ./configure script should detect the 4 system libraries. The resulting binaries should be dynamically linked to the system libraries.
I created a PR upstream: https://github.com/Mellanox/mstflint/pull/1848
Fedora PR: https://src.fedoraproject.org/rpms/mstflint/pull-request/20