The package fails in the install phase: ================ %< =================== libtool: warning: remember to run 'libtool --finish /usr/lib64/jamvm' /bin/mkdir -p '/var/tmp/portage/portage/dev-java/jamvm-2.0.0-r1/image//usr/bin' /bin/sh ../libtool --mode=install /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c jamvm '/var/tmp/portage/portage/dev-java/jamvm-2.0.0-r1/image//usr/bin' libtool: install: /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c jamvm /var/tmp/portage/portage/dev-java/jamvm-2.0.0-r1/image//usr/bin/jamvm * Adjusting to prefix / * jamvm ... [ ok ] * ERROR: dev-java/jamvm-2.0.0-r1::gentoo failed (install phase): * dosym: two arguments needed * * If you need support, post the output of `emerge --info '=dev-java/jamvm-2.0.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/jamvm-2.0.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-java:jamvm-2.0.0-r1:20180120-134908.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/portage/dev-java/jamvm-2.0.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/portage/dev-java/jamvm-2.0.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/portage/dev-java/jamvm-2.0.0-r1/work/jamvm-2.0.0' * S: '/var/tmp/portage/portage/dev-java/jamvm-2.0.0-r1/work/jamvm-2.0.0' >>> Failed to emerge dev-java/jamvm-2.0.0-r1, Log file: ================ %< =================== Reproducible: Always Steps to Reproduce: 1. emerge jamvm 2. 3. Actual Results: Installation fails Expected Results: Proper installation
Try remerging gnu-classpath. I'm guessing you have some ancient installation of it, possibly from java-overlay. gnu-classpath is a mess but I have limited interest because it isn't needed for much, 0.98 is ancient, and upstream hasn't addressed issues I've raised in more recent versions. Out of curiosity, do you actually need JamVM?
I confused myself a little. The ebuild refers to /usr/libexec/gnu-classpath-0.98, which doesn't exist using 0.98-r6 from the main repo. monsieurp wrote this ebuild so who knows. The confusing part is that the build succeeds for me, though I end up with very broken symlinks. I'm guessing it doesn't work if you actually do have this path? * QA Notice: Symbolic link /usr/lib64/jamvm-jdk/lib/tools.jar points to /usr/share/classpath/tools.zip which does not exist. * QA Notice: Symbolic link /usr/lib64/jamvm-jdk/jre/lib/amd64/libjawt.so points to /usr/lib64/classpath/libjawt.so which does not exist. * QA Notice: Symbolic link /usr/lib64/jamvm-jdk/jre/lib/rt.jar points to /usr/share/classpath/glibj.zip which does not exist. * QA Notice: Symbolic link /usr/lib64/jamvm-jdk/bin/* points to /usr/libexec/gnu-classpath-0.98/g* which does not exist. * QA Notice: Symbolic link /usr/lib64/jamvm/rt.jar points to /usr/share/classpath/glibj.zip which does not exist.
Sorry for the long delay, but the situation is still the same. No, I do not use any overlay and an emerge of gnu-classpath does not help either. Actually the problem arose when I switched to gcc-6.4 and had to re-emerge world. I am using JamVM just for compatibility tests of my library, required downstream by some users. And, no, /usr/libexec/gnu-classpath-0.98 does not exist for me also. I also tried with a modified ebuild using the path /usr/gnu-classpath-0.98, but the error is the same.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2299174675e79b9c026e6e1c5020cc43b471a9f1 commit 2299174675e79b9c026e6e1c5020cc43b471a9f1 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2021-11-21 08:02:13 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2021-11-21 08:10:56 +0000 dev-java/jamvm: treeclean Closes: https://bugs.gentoo.org/527788 Closes: https://bugs.gentoo.org/736699 Closes: https://bugs.gentoo.org/645130 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> dev-java/jamvm/Manifest | 1 - .../jamvm/files/jamvm-2.0.0-classes-location.patch | 27 ----- dev-java/jamvm/files/jamvm-2.0.0-env.file | 15 --- dev-java/jamvm/files/jamvm-2.0.0-javac.in | 57 --------- dev-java/jamvm/files/jamvm-2.0.0-noexecstack.patch | 48 -------- dev-java/jamvm/jamvm-2.0.0-r1.ebuild | 131 --------------------- dev-java/jamvm/metadata.xml | 11 -- profiles/package.mask | 1 - 8 files changed, 291 deletions(-)