Bug 29245 - ds9 - failure to locate some libraries
Summary: ds9 - failure to locate some libraries
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2021-07-11 22:05 CEST by Raoul
Modified: 2021-09-05 16:00 CEST (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Raoul 2021-07-11 22:05:19 CEST
Description of problem:

On a very fresh install of Mageia 8 (64bits) on a middle aged PC, I installed the "ds9" astronomical image viewer from one of the Mageia repositories.

Afeterwhat I tryed to run ds9. Results are below.

$ ds9
Error in startup script: couldn't load file "/usr/lib64/tcl8.6/tclxpa/libtclxpa.so": /usr/lib64/tcl8.6/tclxpa/libtclxpa.so: cannot open shared object file: No such file or directory
    while executing
"load /usr/lib64/tcl8.6/tclxpa/libtclxpa.so"
    ("package ifneeded tclxpa 2.1" script)
    invoked from within
"package require tclxpa"
    (file "/usr/share/ds9/mntpt/library/ds9.tcl" line 222)


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


How reproducible:


Steps to Reproduce:
1. install ds9 from the distro
2. ds9
3.

I put a fits file just for the purpose of ds9 checking at
https://obswww.unige.ch/~behrend/tempo/391_ingeborg-l-053.fits
Comment 1 Dave Hodgins 2021-07-11 22:54:15 CEST
Assigning to Joesph Wang, the registered maintainer of xpa.

Does it work if you install the package lib64xpa-devel ?

If that works, /usr/lib64/tcl8.6/tclxpa/libtclxpa.so should be moved to the
package lib64xpa1 rather then being in the devel package.

Assignee: bugsquad => joequant
CC: (none) => davidwhodgins

Comment 2 Raoul 2021-07-11 23:03:48 CEST
As suggested,
- in a first time I installed lib64xpa-devel from repository
- then I installed ds9 from the repository

And there are no more complains at ds9's startup.

It seems that the recepies is right - thank you very much !
Comment 3 Jani Välimaa 2021-07-12 18:58:25 CEST
(In reply to Dave Hodgins from comment #1)
> Assigning to Joesph Wang, the registered maintainer of xpa.
> 
> Does it work if you install the package lib64xpa-devel ?
> 
> If that works, /usr/lib64/tcl8.6/tclxpa/libtclxpa.so should be moved to the
> package lib64xpa1 rather then being in the devel package.

No, that's a wrong approach. tclxpa's pkgIndex.tcl must make to look for libtclxpa.so.%{major} instead of libtclxpa.so.
Comment 4 Chris Denice 2021-08-24 17:27:16 CEST
For some reason, I missed this bug although I am the packager of ds9.

Fix pushed in update_testings, pkgIndex.tcl now include the major num.

To test, start ds9 *without* having installed lib64xpa-devel, it should start.



Suggested advisory:
========================

Updated xpa package fixing a packaging issue preventing TCL programs to find the tclxpa module.

========================

Updated packages in core/updates_testing:
========================
lib(64)xpa1-2.1.20-1.1.mga8
lib(64)xpa-devel-2.1.20-1.1.mga8
xpa-tcl-2.1.20-1.1.mga8
xpa-2.1.20-1.1.mga8

Source RPMs: 
xpa-2.1.20-1.1.mga8.src.rpm

CC: (none) => eatdirt
Assignee: joequant => qa-bugs

Comment 5 Len Lawrence 2021-08-30 11:24:05 CEST
mga8, x64

Before updating the packages, with no development package installed, ds9 failed to start.
Updated the packages from testing, excluding the devel package.
ds9 now starts.  Installed the devel package testing update.

Ran ds9 against the vot file attached to bug 29404 using the catalog tool.  That worked fine.
Opened the TCL console also.

CC: (none) => tarazed25
Whiteboard: (none) => MGA8-64-OK

Comment 6 Thomas Andrews 2021-09-01 20:18:27 CEST
Validating. Advisory in Comment 4.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Thomas Backlund 2021-09-04 18:07:55 CEST

Keywords: (none) => advisory

Comment 7 Mageia Robot 2021-09-04 19:03:11 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2021-0178.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 8 Raoul 2021-09-05 16:00:45 CEST
Hello,

I can confirm that the version 8.2.1 od ds9 for x86_64 I just installed after removing ds9 and 2 things related to xpa is working as expected.

_Thank you_ very much to all of you !!!

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