| Summary: | Installing any package in Octave fails with many "undefined reference" errors | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Martin Whitaker <mageia> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | andrewsfarm, eatdirt, herman.viaene, sysadmin-bugs, tmb |
| Version: | 7 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA7-64-OK | ||
| Source RPM: | octave-5.1.0-7.mga7 | CVE: | |
| Status comment: | |||
|
Description
Martin Whitaker
2019-10-26 01:15:31 CEST
Thank you Martin for reporting this. Is the problem just for pkg install? Do other aspects of the package work? Assigning to Shlomi as regietered maintainer for 'octave'. Assignee:
bugsquad =>
shlomif The core functions of Octave all work, but any use of mkoctfile (called implicitly when you import a package) is affected. I built and installed Octave locally, using the octave-5.1.0.tar.xz tarball from the Mageia 7 SRPM abut with the default configuration, and everything works as it should. So the fault is in the Mageia build/packaging. CC'ing eatdirt, whose name appears a lot in the commit log. CC:
(none) =>
eatdirt I suspect it is related to the disable-rpath we apply for distro building and some "bad" packaging within octave using absolute path, or missing explicit link dependencies in the third party packages. Anyway, they seem to be aware of this issues as there is a compilation flag to force all deps to be imported: "--enable-link-all-dependencies". I have recompiled the whole package with this, it seems to work. pkg install -verbose -forge io compiles and install without errors. Please test, package landing in updates_testing. Suggested advisory: ======================== Updated octave package to ease compilation of third party packages. The new version of Octave is compiled by forcing exhaustive link dependencies. References: https://bugs.mageia.org/show_bug.cgi?id=25617 ======================== Updated packages in core/updates_testing: ======================== octave-5.1.0-7.1.mga7 octave-devel-5.1.0-7.1.mga7 octave-doc-5.1.0-7.1.mga7.noarch Source RPMs: octave-5.1.0-7.1.mga7.src.rpm Assignee:
shlomif =>
qa-bugs MGA7-64 Plasma on Lenovo B50 No installation issues (drawing in 120 additional packages) $ octave GNU Octave, version 5.1.0 Copyright (C) 2019 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'. Octave was configured for "x86_64-mageia-linux-gnu". Additional information about Octave is available at https://www.octave.org. Please contribute if you find this software useful. For more information, visit https://www.octave.org/get-involved.html Read https://www.octave.org/bugs.html to learn how to submit bug reports. For information about changes from previous versions, type 'news'. octave:1> pkg install -verbose -forge io Followed by same list of messages as in Martins description, except that thereare no errors anymore. Looks OK Whiteboard:
(none) =>
MGA7-64-OK Validating. Advisory in Comment 3. Keywords:
(none) =>
validated_update
Thomas Backlund
2019-11-07 22:47:27 CET
Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2019-0196.html Resolution:
(none) =>
FIXED |