Bug 2513486 - mstflint builds bundled libraries (iniparser,jsoncpp,muParser,sqlite)
Summary: mstflint builds bundled libraries (iniparser,jsoncpp,muParser,sqlite)
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mstflint
Version: 44
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michal Schmidt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-10 12:43 UTC by Michal Schmidt
Modified: 2026-08-13 13:46 UTC (History)
6 users (show)

Fixed In Version: mstflint-4.36.0-3.fc45
Clone Of:
Environment:
Last Closed: 2026-08-13 13:46:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Schmidt 2026-08-10 12:43:35 UTC
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.

Comment 1 Michal Schmidt 2026-08-10 12:45:29 UTC
I created a PR upstream: https://github.com/Mellanox/mstflint/pull/1848

Comment 2 Michal Schmidt 2026-08-10 14:26:23 UTC
Fedora PR: https://src.fedoraproject.org/rpms/mstflint/pull-request/20


Note You need to log in before you can comment on or make changes to this bug.