Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921100 - sci-libs/suitesparse does not packages RBio
Summary: sci-libs/suitesparse does not packages RBio
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-30 20:07 UTC by Alexis Praga
Modified: 2024-01-10 10:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Praga 2023-12-30 20:07:41 UTC
Hi,

When trying to update Julia ebuild to 1.10.0, librbio.so is needed for building the package (see https://github.com/gentoo/gentoo/pull/34569) . I'm not sure why it wasn't needed before but it is not packaged at the moment, contrary to Archlinux that packages all of suitesparse in a single packages with RBio included.

Is it possible to package rbio ?

Thanks,
Comment 1 François Bissey 2023-12-30 23:14:44 UTC
I do have it in the sage-on-gentoo overlay where those ebuilds are currently incubated. I was planning to do another PR for suitesparse packages for the 7.4.0 release sometimes next week-ish.
https://github.com/cschwan/sage-on-gentoo/tree/master/sci-libs/rbio
Can you give me a list of all the packages you need, so we are sure we cover everything.
Comment 2 François Bissey 2023-12-30 23:17:45 UTC
While I am at it. 7.4.0 added a "proper" cmake superbuild. In theory, we could package suitesparse as one single ebuild instead of separate ones.

Is there any willingness to go down that route?
Comment 3 Alexis Praga 2023-12-31 11:54:01 UTC
From suitesparse, Julia requires 
- packages already in Gentoo : amd btf camd ccolamd cholmod colamd klu ldl spqr suitesparseconfig umfpack
- packages missing from Gentoo : cholmod_cuda spqr_cuda rbio 

For what it's worth, here's how Archlinux packages the whole suite : https://gitlab.archlinux.org/archlinux/packaging/packages/suitesparse/-/blob/main/PKGBUILD?ref_type=heads

Thanks,
Comment 4 François Bissey 2024-01-07 22:40:45 UTC
OK, somewhat back in action. suitesparse 7.4.0 turns out to be an even bigger shake than expected. julia will probably need to be patched to accept it. The headers of the individual suitesparse packages have all be moved inside /usr/include/suitesparse.
In 7.4.0
/usr/include/suitesparse/amd.h
In 7.2.2 and older
/usr/include/amd.h

We also have new packages to evaluate.

Regarding *_cuda packages, those libraries are not separate packages from spqr and cholmod. If you do not have cuda, dummy libraries were produced early in the 7.x suitesparse cycle. They are not anymore in recent release.
Lastly about cuda, I do not have a cuda able system, so I may need some assistance for the last bits.
Comment 5 Alexis Praga 2024-01-09 20:02:50 UTC
In the PR above, I've disable _cuda* dependencies and it works fine on my tests. I assume it must be needed for some packages but cannot test it at the moment.

Thanks,
Comment 6 François Bissey 2024-01-09 20:05:51 UTC
I am going to prepare a PR for suitesparse 7.3.1 the next to last version - which does not include breaking changes in headers. We currently have a mask for suitesparse >7 because the previous version was multilib able but it is not possible with version 7+. The mask will have to be dealt with at some point.
Comment 7 François Bissey 2024-01-10 10:30:05 UTC
PR for suitesparse 7.3.1 including Rbio at https://github.com/gentoo/gentoo/pull/34732