/var/tmp/portage/dev-java/openjfx-11.0.3_p1/work/rt-11.0.3+1/apps/samples/build.xml:13: The following error occurred while executing this line: /var/tmp/portage/dev-java/openjfx-11.0.3_p1/work/rt-11.0.3+1/apps/samples/3DViewer/nbproject/build-impl.xml:944: The following error occurred while executing this line: /var/tmp/portage/dev-java/openjfx-11.0.3_p1/work/rt-11.0.3+1/apps/samples/3DViewer/nbproject/build-impl.xml:289: Compile failed; see the compiler error output for details. Total time: 5 seconds ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome-libressl-20191028-101629 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * llvm: 9.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.38.0 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Tue, 29 Oct 2019 17:46:02 +0000 emerge -qpvO dev-java/openjfx [ebuild N ] dev-java/openjfx-11.0.3_p1 USE="media -debug -doc -source" CPU_FLAGS_X86="sse2"
Created attachment 594486 [details] emerge-info.txt
Created attachment 594488 [details] dev-java:openjfx-11.0.3_p1:20191029-184558.log.bz2
Created attachment 594490 [details] emerge-history.txt
Created attachment 594492 [details] environment
Created attachment 594494 [details] etc.portage.tbz2
I can confirm this bug. The compiler error output mentioned in the first is here [javac] Compiling 143 source files to /var/tmp/portage/dev-java/openjfx-11.0.3_p1/work/rt-11.0.3+1/apps/samples/3DViewer/build/classes [javac] error: invalid flag: @/var/tmp/portage/dev-java/openjfx-11.0.3_p1/work/rt-11.0.3+1/build/compile.args [javac] Usage: javac <options> <source files> [javac] use --help for a list of possible options I couldn't reconstruct so far how and why something is passed to javac that it considers an invalid flag. How can I find what is actually passed at this point to javac as commandline arguments? The file mentioned in this compiler error, /var/tmp/portage/dev-java/openjfx-11.0.3_p1/work/rt-11.0.3+1/build/compile.args , contains the following two lines: --module-path="/var/tmp/portage/dev-java/openjfx-11.0.3_p1/work/rt-11.0.3+1/build/sdk/lib" --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web I assume, that the *content* of the file should be passed to javac. Might the error come from the *filename* being passed to javac instead?
Possible (not optimal) workaround: I've managed to install openjfx by disabling build of appsJar target. Perform all installation steps till src_configure, then edit `work/rt-11.0.3+1/apps/build.xml` substituting the following line: <target name="appsJar" depends="sampleAppsJar,scenebuilderAppJar,scenebuilderSampleAppsJar"/> with this: <target name="appsJar" depends=""/> then continue with compile and merge. This will disable building of samples and scene builder, but everything else will work. At least, you will be able to build JavaFX apps.
I have hit this bug as well and can confirm the above workaround did get the package to build.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63874 The bug is in the ant-core component, you can apply the patch from https://github.com/apache/ant/pull/105 and release ant-core-1.10.7-r1
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8720a4d009fcfa5a258244533a9f51a63f468b0 commit a8720a4d009fcfa5a258244533a9f51a63f468b0 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-01-21 23:44:14 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-01-22 00:22:31 +0000 dev-java/ant-core: rebvump, add cmdline handling patch Bug: https://bugs.gentoo.org/698876 Package-Manager: Portage-2.3.84, Repoman-2.3.16 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/ant-core/ant-core-1.10.7-r1.ebuild | 110 ++++++++++++++++++ dev-java/ant-core/files/1.10.7-cmdline-args.patch | 135 ++++++++++++++++++++++ 2 files changed, 245 insertions(+)
thanks for patch suggestion! it helped.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be822d9c5e47878dda2e822d3fdef5eac034c84f commit be822d9c5e47878dda2e822d3fdef5eac034c84f Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-01-22 01:13:37 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-01-22 01:14:50 +0000 dev-java/openjfx: require fixed ant-core Bug: https://bugs.gentoo.org/698876 Package-Manager: Portage-2.3.84, Repoman-2.3.16 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/openjfx/openjfx-11.0.6_p2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bd0588cf0d8ed636a5b86a8d6e8bf081a663c49 commit 2bd0588cf0d8ed636a5b86a8d6e8bf081a663c49 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-04-29 21:03:03 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-04-29 21:05:02 +0000 dev-java/openjfx: drop old Closes: https://bugs.gentoo.org/698876 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/openjfx/Manifest | 2 - dev-java/openjfx/openjfx-11.0.6_p2.ebuild | 220 ----------------------------- dev-java/openjfx/openjfx-11.0.7_p0.ebuild | 221 ------------------------------ 3 files changed, 443 deletions(-)