View Issue Details

IDProjectCategoryView StatusLast Update
0002657SkyChart1-Softwarepublic24-03-14 08:57
Reporterjbschirtzinger Assigned ToPatrick Chevalley  
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformPCOSLinuxOS Version64bit
Product Version4.3 beta 
Summary0002657: OpenSuse Tumbleweed
DescriptionRPM build fails with:

Problem: nothing provides 'chealpix' needed by the to be installed skychart-4.3-4624.x86_64

Also happens in 4.2.
Steps To Reproducesudo zypper install skychart-4.3-4624.x86_64.rpm
Additional InformationNo luck with 4.2 either.
Tagschealpix, skychart

Activities

Patrick Chevalley

23-10-06 09:00

administrator   ~0008575

It look like a packaging difference between OpenSuse and Fedora.

Using rpmfind.net I find the required library is provided by the package libchealpix0:
https://rpmfind.net/linux/RPM/opensuse/tumbleweed/x86_64/libchealpix0-3.81-1.7.x86_64.html

Can you try to install libchealpix0, then force install of skychart without dependency check (I don't know how to do that on Opensuse but there is probably a zypper option for that).
If this work I can look how to update the rpm to accept the two variant.

jbschirtzinger

24-03-10 00:42

reporter   ~0008809

I apologize for not getting back to you sooner. For some reason, I didn't get notice of your interaction. I resolved the issue by doing what you here suggested.

Patrick Chevalley

24-03-11 08:31

administrator   ~0008810

Thank you to confirm that.

I try to make a change to the rpm that must allow to install on both system, not easy because documentation is sparse.

Can you try with today beta rpm available from https://sourceforge.net/projects/skychart/files/0-beta/2024-03-11/
A good test is to uninstall skychart and libchealpix0, then reinstall to see how it work.

jbschirtzinger

24-03-12 16:00

reporter   ~0008816

After uninstall of skychart and libchealpix0 and libchealpix-devel (it did that automatically)

sudo rpm -i ./skychart-4.3-4755.x86_64.rpm
error: Failed dependencies:
    (chealpix or libchealpix0) is needed by skychart-4.3-4755.x86_64
    libjpeg is needed by skychart-4.3-4755.x86_64
    qt5pas is needed by skychart-4.3-4755.x86_64

Patrick Chevalley

24-03-12 18:15

administrator   ~0008817

Thank you for the test, this not work and I will revert this change.
You can install by ignoring the dependencies, as you with the other version.

I not find more information how to do that. I know how to do with debian packages, but it look like this is not possible with rpm.

Patrick Chevalley

24-03-14 08:57

administrator   ~0008818

This is fixed in today version 4.3-4757 : https://vega.ap-i.net/tmp/skychart/
I have tested in OpenSuse and Fedora virtual machine so I am confident to close the issue.
Now it work correctly when using:
sudo zypper install skychart-4.3-4757.x86_64.rpm

As conditional do not work, the solution is to use a generic common name recognized by both distribution.
The difficulty for me was to understand that for rpm "libchealpix.so.0()(64bit)" is more generic than "chealpix" :)

I have also added a signature to the package but you still have to ignore the zypper warning.
I not think it is good to add the public key to fix this warning, but if you want to try it is available here:
http://keyserver.ubuntu.com/pks/lookup?search=8B8B57C1AA716FC2&fingerprint=on&op=index

Finally I added a buildid to the binary so it no more complain when building the rpm. I not need it, but this is for the case it start to complain at install time in the future.

Issue History

Date Modified Username Field Change
23-09-11 03:12 jbschirtzinger New Issue
23-09-11 03:12 jbschirtzinger Tag Attached: chealpix
23-09-11 03:12 jbschirtzinger Tag Attached: skychart
23-10-06 09:00 Patrick Chevalley Assigned To => Patrick Chevalley
23-10-06 09:00 Patrick Chevalley Status new => feedback
23-10-06 09:00 Patrick Chevalley Note Added: 0008575
24-03-10 00:42 jbschirtzinger Note Added: 0008809
24-03-10 00:42 jbschirtzinger Status feedback => assigned
24-03-11 08:31 Patrick Chevalley Status assigned => feedback
24-03-11 08:31 Patrick Chevalley Note Added: 0008810
24-03-12 16:00 jbschirtzinger Note Added: 0008816
24-03-12 16:00 jbschirtzinger Status feedback => assigned
24-03-12 18:15 Patrick Chevalley Note Added: 0008817
24-03-14 08:57 Patrick Chevalley Status assigned => resolved
24-03-14 08:57 Patrick Chevalley Resolution open => fixed
24-03-14 08:57 Patrick Chevalley Note Added: 0008818