The above ebuild fails with double prefix issues: >>> Install dev-java/maven-bin-3.9.9 into /home/pbz/gentoo/var/tmp/portage/dev-java/maven-bin-3.9.9/image >>> Completed installing dev-java/maven-bin-3.9.9 into /home/pbz/gentoo/var/tmp/portage/dev-java/maven-bin-3.9.9/image * Final size of build directory: 10612 KiB (10.3 MiB) * Final size of installed tree: 10660 KiB (10.4 MiB) * QA Notice: /home/pbz/gentoo//home/pbz/gentoo/ double prefix * QA Notice: /home/pbz/gentoo//home/pbz/gentoo/usr double prefix * QA Notice: /home/pbz/gentoo//home/pbz/gentoo/usr/bin double prefix * QA Notice: /home/pbz/gentoo//home/pbz/gentoo/usr/bin/mvn-3.9 double prefix * ERROR: dev-java/maven-bin-3.9.9::gentoo failed: * Aborting due to QA concerns: double prefix files installed * * Call stack: * misc-functions.sh, line 684: Called install_qa_check * misc-functions.sh, line 134: Called source 'install_symlink_html_docs' * 05prefix, line 114: Called install_qa_check_prefix * 05prefix, line 19: Called die * The specific snippet of code: * die "Aborting due to QA concerns: double prefix files installed"
Was this an upgrade by chance? Do you know if it used to work? I recently updated the java-utils-2.eclass and this may be a cause. Thanks!
This happened with `emerge --ask dev-java/maven-bin` after an upgrade via `emerge -avDuN world`. It was not installed previously so I don't know if it used to work.
@java please have a look at the PR
(In reply to Fabian Groffen from comment #3) > @java please have a look at the PR Cannot confirm bug #954392. But fails with bug #952052. Installs without problems after unmerging javatoolkit, not using PR 41741.
(In reply to Volkmar W. Pogatzki from comment #4) > Cannot confirm bug #954392. Just to make sure: Did you test with Gentoo Prefix.
(In reply to Fabian Leimgruber from comment #5) > (In reply to Volkmar W. Pogatzki from comment #4) > > Cannot confirm bug #954392. > > Just to make sure: Did you test with Gentoo Prefix. My testing extended to installing maven-bin in both a prefix and un-prefix system and making sure `mvn-${SLOT}` is executable. If vaukai doesn't have a prefix system yet I can run more tests, if I am properly instructed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47ae8a3407bffcc6b7e1c4c304683337c2cb0fcc commit 47ae8a3407bffcc6b7e1c4c304683337c2cb0fcc Author: Andrei Horodniceanu <a.horodniceanu@proton.me> AuthorDate: 2025-04-25 11:33:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-26 01:54:50 +0000 dev-java/maven-bin: Install relative symlinks Closes: https://bugs.gentoo.org/954392 Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me> Part-of: https://github.com/gentoo/gentoo/pull/41741 Closes: https://github.com/gentoo/gentoo/pull/41741 Signed-off-by: Sam James <sam@gentoo.org> dev-java/maven-bin/maven-bin-3.8.8-r1.ebuild | 5 ++--- dev-java/maven-bin/maven-bin-3.9.9.ebuild | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-)