cschwan / sage-on-gentoo

(Unofficial) Gentoo Overlay for Sage- and Sage-related ebuilds
84 stars 26 forks source link

Problem building sci-mathematics/sage-doc-9.5 #680

Closed hackitforfun closed 2 years ago

hackitforfun commented 2 years ago

Fresh install. Package sci-mathematics/sage-doc-9.5 won't build (not sure if this is an upstream issue?).

The complete build log is attached. sage-doc.log

kiwifb commented 2 years ago

It is a sphinx 4.4 issue. I am working my ass off upstream to fix this https://trac.sagemath.org/ticket/33272. I should be able to backport something to 9.5 soon but some links in the doc may stay broken because of the amount of work involved to fix them.

kiwifb commented 2 years ago

I should mention that I already patched 9.5 to support sphinx 4.3 and then Gentoo just removed it from the main tree in favor of 4.4.0 that came quite quickly afterwards. The links I am mentioning may have actually been broken for a while.

hackitforfun commented 2 years ago

Thanks for the clarification and for all the hard work. I am sure there are many users, including me, would appreciate it. I guess for the moment, we just have to be a bit more patient then :)

kiwifb commented 2 years ago

OK, this is a bit too just in time for my liking :) but the fix for 9.5 is in the master branch of the overlay. Because there is a part in sage itself, the sage ebuild is bumped to 9.5-r1 and it has to be emerged first before sage-doc-9.5 - which is not bumped because it is not currently working anyway.

9999 version should be done shortly for anyone wanting to test 9.6.beta2.

kiwifb commented 2 years ago

9999 ebuilds fixed. Still plenty of ugly broken links :(

kiwifb commented 2 years ago

Looks like I missed at least one file in the patch for sage :( I'll update everything to the latest upstream version in the morning.

kiwifb commented 2 years ago

OK this should now be completely fixed by ff5d0d3184cb9db756c385970ebe52774020a764 and 11719f7a022eb9a87686f422404050381bf66e5f sage is bumped to 9.5-r2 and needs to be rebuilt before sage-doc.

strogdon commented 2 years ago

prepare phase fails using sphinx-4.4 with sage-9999.

strogdon commented 2 years ago

That is the sphinx-4.4 patch.

kiwifb commented 2 years ago

One more stuff up on my part. I forgot to adjust the patch.

kiwifb commented 2 years ago

Should be fixed by 30cf304a57169385a5fc1146975aabce26fb6dce

hackitforfun commented 2 years ago

I can confirm that this is fixed now for 9.5-r2. Thanks!