sage-on-gentoo icon indicating copy to clipboard operation
sage-on-gentoo copied to clipboard

gap-core remove recommended_pkgs useflag

Open Alessandro-Barbieri opened this issue 3 years ago • 4 comments

gap-core is causing alot of trouble when updating. Also ebuild shouldn't have useflags for runtime optional packages so if those packages are necessary to run sage, add them as a dependency there.

See https://projects.gentoo.org/qa/policy-guide/dependencies.html#pg0001

Alessandro-Barbieri avatar Apr 12 '21 16:04 Alessandro-Barbieri

Hi Alessandro,

Sorry for taking so long to provide you with some answers. I am aware that gap-core is giving difficulties for upgrading. I haven't been able to provide any kind of smooth upgrade path between major revision of gap since at least gap-4.10. I have been trying to get some way to handle gap package dependencies and sources in somewhat consistent ways and failing with one issue or another each time. I am hoping that 4.11.0 forward will be better.

For the recommended packages, yes I could and probably should handle it some other way. They are expected by sage as part of a minimal gap install. The list does not come from sage but from gap upstream itself as the minimum recommended set if my memory serves me right. I could handle it as a meta package which I would hope would be OK with you. My issue with meta package is that the last time I tried to provide one for sage (before gap 4.9) I ended up abandoning it. So far updating the list in the gap ebuild itself has been a better assurance that it would be maintained.

kiwifb avatar Apr 14 '21 08:04 kiwifb

I've reworded the first message because it was too broken. The usual policy for runtime optional packages is to not depend on them and instead send a message to the user with optfeature. Also I'm not getting the point of the meta package maintenance: what's the burden with it?

Alessandro-Barbieri avatar Apr 14 '21 17:04 Alessandro-Barbieri

I'm trying to make some changes locally but I've hit another issue

Alessandro-Barbieri avatar Apr 14 '21 17:04 Alessandro-Barbieri

The kill all problems procedure for upgrading is probably still https://github.com/cschwan/sage-on-gentoo/blob/master/metadata/news/2019-04-08-gap-upgrade/2019-04-08-gap-upgrade.en.txt

The maintenance problem is always I am a lone maintainer. But if I have the motivation because of policy I probably can do that :)

kiwifb avatar Apr 14 '21 21:04 kiwifb

Is this still an issue? At least recommended_pkgs seems to be gone.

(Apologies if this is a dumb question; I know very little about Gentoo)

fingolfin avatar Apr 20 '23 09:04 fingolfin

Yes I removed quite a bit of stuff at gap 4.12 and this is certainly obsolete. Although, Alessandro may have new complaints since then :)

kiwifb avatar Apr 20 '23 09:04 kiwifb