Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954392 - dev-java/maven-bin-3.9.9: 'QA concerns: double prefix files installed'
Summary: dev-java/maven-bin-3.9.9: 'QA concerns: double prefix files installed'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-04-25 10:58 UTC by Fabian Leimgruber
Modified: 2025-04-26 01:56 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Leimgruber 2025-04-25 10:58:36 UTC
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"
Comment 1 Fabian Groffen gentoo-dev 2025-04-25 11:02:32 UTC
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!
Comment 2 Fabian Leimgruber 2025-04-25 11:19:39 UTC
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.
Comment 3 Fabian Groffen gentoo-dev 2025-04-25 13:13:32 UTC
@java please have a look at the PR
Comment 4 Volkmar W. Pogatzki 2025-04-25 13:35:37 UTC
(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.
Comment 5 Fabian Leimgruber 2025-04-25 13:55:54 UTC
(In reply to Volkmar W. Pogatzki from comment #4)
> Cannot confirm bug #954392.

Just to make sure: Did you test with Gentoo Prefix.
Comment 6 Andrei Horodniceanu 2025-04-25 15:34:45 UTC
(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.
Comment 7 Larry the Git Cow gentoo-dev 2025-04-26 01:56:31 UTC
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(-)