Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935535 - dev-java/openjfx-11.0.11_p1-r3 fails to compile: JDK Docs not found, terminating build early
Summary: dev-java/openjfx-11.0.11_p1-r3 fails to compile: JDK Docs not found, terminat...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-05 09:40 UTC by Agostino Sarubbo
Modified: 2024-08-02 03:34 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,76.31 KB, text/plain)
2024-07-05 09:40 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-07-05 09:40:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/openjfx-11.0.11_p1-r3 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-05 09:40:39 UTC
Created attachment 897028 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-05 09:40:39 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


 *   JDK Docs not found, terminating build early
 *           [[ -r ${jdk_doc}/element-list ]] || die "JDK Docs not found, terminating build early";
Comment 3 Jonathan Lovelace 2024-07-24 11:39:55 UTC
The ebuild looks for "${EPREFIX}/usr/share/doc/openjdk-${SLOT}/html/api/element-list", and aborts if it is not found (in this code-path controlled by USE=doc) but for the JDK my build selected this file is actually installed at /usr/share/doc/openjdk-11.0.23_p9/html/api/element-list. Docs for openjdk are installed in a path including its full $PF, not just its $SLOT.
Comment 4 Jonathan Lovelace 2024-08-01 22:49:03 UTC
I just happened to notice a "QA notice" in a build log of =dev-java/openjdk-11.0.23_p9: "/var/tmp/portage/dev-java/openjdk-11.0.23_p9/temp/environment: line 4114: dosym8: command not found". In that environment file, line 4114 is at the end of src_install(), which indeed has "dosym8". Since the ebuild is in EAPI=8, surely that should be just "dosym"? I think that will (once openjdk is reinstalled) put (a symlink to) the JDK documentation where the openjfx ebuild expects to find it.
Comment 5 Volkmar W. Pogatzki 2024-08-02 03:34:14 UTC
(In reply to Jonathan Lovelace from comment #4)
> I just happened to notice a "QA notice" in a build log of
> =dev-java/openjdk-11.0.23_p9:
> "/var/tmp/portage/dev-java/openjdk-11.0.23_p9/temp/environment: line 4114:
> dosym8: command not found". In that environment file, line 4114 is at the
> end of src_install(), which indeed has "dosym8". Since the ebuild is in
> EAPI=8, surely that should be just "dosym"? [...]

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89d074b527118d9a790fa20d6b1d1c7639ed3bef