Bug 2387246 - msolve-devel : flint-devel is missing in the installing dependencies
Summary: msolve-devel : flint-devel is missing in the installing dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: msolve
Version: 43
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jerry James
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-08 12:36 UTC by mickael gastineau
Modified: 2025-08-17 01:12 UTC (History)
1 user (show)

Fixed In Version: msolve-0.7.5-2.fc41 msolve-0.9.0-3.fc42
Clone Of:
Environment:
Last Closed: 2025-08-17 00:57:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description mickael gastineau 2025-08-08 12:36:44 UTC
The Installation of msolve-devel should install flint-devel, as an "installing dependency".
Indeed, the header files of flint are required to compile any code based on msolve.h

The package flint-devel is missing in the requirement (Requires) of the package msolve-devel.
The package flint-devel appears only in the section "BuildRequires".
The package flint-devel should also appear in the section "Requires".




Reproducible: Always

Steps to Reproduce:
1. #From a fresh installation, install the packages msolve-devel and gcc 
dnf -y install gcc msolve-devel 

2. #Create a simple test program
cat >driver_msolve.c <<__EOF
#include "msolve/msolve.h"

int main() { return 0; }
__EOF

3. # Compile this code 
gcc  driver_msolve.c -o driver_msolve

Actual Results:
In file included from /usr/include/msolve/msolve.h:24,
                 from driver_msolve.c:1:
/usr/include/msolve/msolve-data.h:25:9: fatal error: flint/fmpz.h: No such file or directory
   25 | #include<flint/fmpz.h>
      |         ^~~~~~~~~~~~~~
compilation terminated.

Expected Results:
The step 3 should be sucessful. no error should be raised by gcc.


Additional Information:
The problem also occurs on fedora 42 and fedora rawhide

The problem is solved if the user installs also flint-devel:
dnf install flint-devel.

To fix the problem, flint-devel should be added to the section "Requires".

Comment 1 Jerry James 2025-08-08 19:07:33 UTC
Thank you for the report.  I will push new builds today to fix this, as well as a few other minor issues.

Comment 2 Fedora Update System 2025-08-08 19:55:43 UTC
FEDORA-2025-9d9229cd6c (msolve-0.9.0-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-9d9229cd6c

Comment 3 Fedora Update System 2025-08-08 20:08:35 UTC
FEDORA-2025-6e4860e754 (msolve-0.7.5-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-6e4860e754

Comment 4 Fedora Update System 2025-08-09 04:00:24 UTC
FEDORA-2025-6e4860e754 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-6e4860e754`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-6e4860e754

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-08-09 04:08:44 UTC
FEDORA-2025-9d9229cd6c has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-9d9229cd6c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-9d9229cd6c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-08-17 00:57:25 UTC
FEDORA-2025-6e4860e754 (msolve-0.7.5-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2025-08-17 01:12:43 UTC
FEDORA-2025-9d9229cd6c (msolve-0.9.0-3.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


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