Bug 1773348 - 4ti2-x86_64 module file not found
Summary: 4ti2-x86_64 module file not found
Alias: None
Product: Fedora
Classification: Fedora
Component: 4ti2
Version: 31
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2019-11-17 19:29 UTC by Richard Poole
Modified: 2019-12-19 01:22 UTC (History)
2 users (show)

Fixed In Version: 4ti2-1.6.9-4.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-12-19 01:22:46 UTC
Type: Bug

Attachments (Terms of Use)

Description Richard Poole 2019-11-17 19:29:56 UTC
Description of problem:

The 4ti2 package places its module file in /usr/share/Modules/modulefiles instead of /usr/share/modulefiles . The packaging guidelines say it should use %{_modulesdir} but the incorrect path is built up in the specfile from %{_datadir} and "Modules/modulefiles".

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce: 
1.$ module spider 4ti2-x86_64

Actual results:
Lmod has detected the following error:  Unable to find: "4ti2-x86_64".

Expected results:

  4ti2-x86_64: 4ti2-x86_64

    This module can be loaded directly: module load 4ti2-x86_64

Additional info:

This problem manifests after installing the sagemath package, which brings in 4ti2 as a dependency, and causes an error message on starting sage.

There is a straightforward workaround: create a symlink from the correct path.
# ln -s /usr/share/Modules/modulefiles/4ti2-x86_64  /usr/share/modulefiles

Comment 1 Jerry James 2019-12-10 04:18:41 UTC
Thanks for the report, Richard.  I will fix this right away.

Comment 2 Fedora Update System 2019-12-10 05:11:21 UTC
FEDORA-2019-0952de7f04 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0952de7f04

Comment 3 Fedora Update System 2019-12-11 01:41:24 UTC
4ti2-1.6.9-4.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0952de7f04

Comment 4 Fedora Update System 2019-12-19 01:22:46 UTC
4ti2-1.6.9-4.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, 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.