Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916326 - dev-java/maven-bin-3.9.4 does not respect EPREFIX
Summary: dev-java/maven-bin-3.9.4 does not respect EPREFIX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 916877
Blocks:
  Show dependency tree
 
Reported: 2023-10-27 09:41 UTC by Jani Juhani Sinervo
Modified: 2023-11-07 08:38 UTC (History)
1 user (show)

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


Attachments
emerge --info dev-java/maven-bin (emerge--info.txt,5.87 KB, text/plain)
2023-10-27 09:41 UTC, Jani Juhani Sinervo
Details
build.log (file_916326.txt,1.42 KB, text/plain)
2023-10-27 09:41 UTC, Jani Juhani Sinervo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jani Juhani Sinervo 2023-10-27 09:41:07 UTC
Created attachment 873515 [details]
emerge --info dev-java/maven-bin

When installing =dev-java/maven-bin-3.9.4 onto a Prefix installation, the ebuild tries to link $EPREFIX/usr/bin/mvn-3.9 to /usr/share/maven-bin-3.9/bin/mvn and thus it ignores the $EPREFIX.

Offending line in the ebuild seems to be line 51. It also seems that the bug might probably also occur in dev-java/maven-bin-3.9.5.

Reproducible: Always
Comment 1 Jani Juhani Sinervo 2023-10-27 09:41:50 UTC
Created attachment 873516 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2023-11-05 07:47:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b1dc70c92649152973a897aa1a691748567327

commit 95b1dc70c92649152973a897aa1a691748567327
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2023-11-05 07:47:37 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-11-05 07:47:37 +0000

    dev-java/maven-bin: fixed eprefix in 3.8.8
    
    Bug: https://bugs.gentoo.org/916326
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../maven-bin/{maven-bin-3.8.8.ebuild => maven-bin-3.8.8-r1.ebuild}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

commit e05e420b51f3fc5efc223d83dadd72cd13ccba21
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2023-11-05 07:44:02 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-11-05 07:44:02 +0000

    dev-java/maven-bin: fixed eprefix in 3.9.5
    
    Bug: https://bugs.gentoo.org/916326
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 .../maven-bin/{maven-bin-3.9.5.ebuild => maven-bin-3.9.5-r1.ebuild}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Larry the Git Cow gentoo-dev 2023-11-07 08:38:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d60c83b1a43ce6885f7f8e77416a49e37c75170

commit 4d60c83b1a43ce6885f7f8e77416a49e37c75170
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2023-11-06 20:00:13 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2023-11-07 08:38:22 +0000

    dev-java/maven-bin: drop 3.9.4
    
    Closes: https://bugs.gentoo.org/916326
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/33699
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/maven-bin/Manifest               |  1 -
 dev-java/maven-bin/maven-bin-3.9.4.ebuild | 64 -------------------------------
 2 files changed, 65 deletions(-)