cschwan / sage-on-gentoo

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

sage-doc-9.7 build fails here... #714

Closed CaptainBloodz closed 2 years ago

CaptainBloodz commented 2 years ago

Here's MAKEOPTS="-j1"

`[ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ]

sci-mathematics:sage-doc-9.7:20220923-165555.log.gz

kiwifb commented 2 years ago

Looks like I forgot something between 9.6 and 9.7. Let me check that.

kiwifb commented 2 years ago

Hum... I need to investigate deeper, that will take a bit as I have other things to do this morning. This looks stranger than I expected and why doesn't it fail for me in the development branch?

CaptainBloodz commented 2 years ago

Side note: 9.6 builds fine here.

kiwifb commented 2 years ago

Well that bit doesn't really make sense

FileNotFoundError: [Errno 2] No such file or directory: b'/var/no-tmpfs/portage/sci-mathematics/sage-doc-9.7/work/sage-doc-9.7/src/doc/common'

the folder should exist. the definition https://github.com/cschwan/sage-on-gentoo/blob/master/sci-mathematics/sage-doc/sage-doc-9.7.ebuild#L47 was the same in 9.6 I am sure.

CaptainBloodz commented 2 years ago

Currently testing: `mrgp -v sage-doc

These are the packages that would be merged, in reverse order:

Calculating dependencies ........ done! [ebuild N ~] sci-mathematics/sage-doc-9.7::sage-on-gentoo USE="doc-pdf" L10N="-ca -de -es -fr -hu -it -ja -pt -ru -tr" 0 KiB`

whereas USE=l10n_fr was set for the failing initial build attempt. (1st post edited)

CaptainBloodz commented 2 years ago

/var/no-tmpfs/portage/sci-mathematics/sage-doc-9.7/work/sage-doc-9.7/src/doc/common reported missing whereas

ll /var/no-tmpfs/portage/sci-mathematics/sage-doc-9.7/work/sage-9.7/src/doc/common/
total 112
-rw-r--r-- 1 portage portage 98082 sept. 20 01:38 python3.inv
drwxr-xr-x 2 portage portage  4096 sept. 20 01:38 static
drwxr-xr-x 3 portage portage  4096 sept. 20 01:38 templates-furo
drwxr-xr-x 3 portage portage  4096 sept. 20 01:38 themes
-rwxr-xr-x 1 portage portage   860 sept. 20 01:38 update-python-inv.sh
CaptainBloodz commented 2 years ago
HTML_DOCS="${WORKDIR}/build_doc/html/*"
DOCS=(
        "${WORKDIR}/build_doc/index.html"
        "${S}/src/doc/common"
)

S="${WORKDIR}/sage-${PV}"

Maybe last line is too late?

kiwifb commented 2 years ago

Interesting idea and certainly something that should be fixed for consistency. But it seems to end up with the right value in any case.

kiwifb commented 2 years ago

In any case, I updated the ebuild to move the definition of S just in case.

CaptainBloodz commented 2 years ago

Currently testing... ~ 90 mn waiting...

kiwifb commented 2 years ago

That's a long time for sage-doc.

CaptainBloodz commented 2 years ago

5400 rpm / 4 Gb ram / Dual Core 3.7Ghz MAKEOPTS=-j1

Done, working better than 9.6 where tutorial() failed here.

kiwifb commented 2 years ago

Interesting idea and certainly something that should be fixed for consistency. But it seems to end up with the right value in any case.

And now I see what was in front of my eyes and could not see. And I also understand why it doesn't happen in the dev branch. Moving that line was indeed the right fix.

CaptainBloodz commented 2 years ago

Like the elephant in the room? It could have been worse, lucky we are on the right hemisphere, 12S, 45E here.

kiwifb commented 2 years ago

I believe I am currently about 43S 175E but I was born about 48N 0 (Greenwich meridian pass right through a village near my birth town).