Created attachment 604066 [details, diff] Fixes this bug I'm using prefix on centos7. I added a patch that fixes the issue for me. The following error appears when emerging gradle-bin: >>> Emerging (4 of 4) dev-java/gradle-bin-5.2.1::gentoo * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /scratch/balasr/gentoo/var/log/emerge-fetch.log * gradle-bin-5.2.1.zip BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking gradle-bin-5.2.1.zip to /scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/work >>> Source unpacked in /scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/work >>> Preparing source in /scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/work/gradle-5.2.1 ... >>> Source prepared. >>> Configuring source in /scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/work/gradle-5.2.1 ... >>> Source configured. >>> Compiling source in /scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/work/gradle-5.2.1 ... java-pkg-2_src_compile: build.xml not found so nothing to do. >>> Source compiled. >>> Test phase [not enabled]: dev-java/gradle-bin-5.2.1 >>> Install dev-java/gradle-bin-5.2.1 into /scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/image/ * dosym: prepending EPREFIX to path implicitly. If this is desired, * please fix the ebuild to use ${EPREFIX} explicitly. >>> Completed installing dev-java/gradle-bin-5.2.1 into /scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/image/ * Final size of build directory: 296400 KiB (289.4 MiB) * Final size of installed tree: 134780 KiB (131.6 MiB) * QA Notice: scratch/balasr/gentoo///scratch/balasr/gentoo/ double prefix * QA Notice: scratch/balasr/gentoo///scratch/balasr/gentoo/usr double prefix * QA Notice: scratch/balasr/gentoo///scratch/balasr/gentoo/usr/share double prefix * QA Notice: scratch/balasr/gentoo///scratch/balasr/gentoo/usr/share/gradle-bin-5.2.1 double prefix [...] * QA Notice: scratch/balasr/gentoo///scratch/balasr/gentoo/usr/share/gradle-bin-5.2.1/lib/asm-tree-7.0.jar double prefix * QA Notice: scratch/balasr/gentoo///scratch/balasr/gentoo/usr/share/gradle-bin-5.2.1/lib/commons-compress-1.18.jar double prefix * QA Notice: scratch/balasr/gentoo///scratch/balasr/gentoo/usr/share/gradle-bin-5.2.1/lib/asm-commons-7.0.jar double prefix * QA Notice: scratch/balasr/gentoo///scratch/balasr/gentoo/usr/share/gradle-bin-5.2.1/lib/gradle-base-services-groovy-5.2.1.jar double prefix * QA Notice: scratch/balasr/gentoo///scratch/balasr/gentoo/usr/share/gradle-bin-5.2.1/lib/trove4j-1.0.20181211.jar double prefix * QA Notice: scratch/balasr/gentoo///scratch/balasr/gentoo/usr/share/gradle-bin-5.2.1/lib/native-platform-osx-amd64-0.16.jar double prefix * ERROR: dev-java/gradle-bin-5.2.1::gentoo failed: * Aborting due to QA concerns: double prefix files installed * * Call stack: * misc-functions.sh, line 586: Called install_qa_check * misc-functions.sh, line 132: 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" * * If you need support, post the output of `emerge --info '=dev-java/gradle-bin-5.2.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/gradle-bin-5.2.1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =gradle-bin-5.2.1 * The complete build log is located at '/scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/temp/build.log'. * The ebuild environment file is located at '/scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/temp/environment'. * Working directory: '/scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/image/scratch/balasr/gentoo' * S: '/scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/work/gradle-5.2.1' !!! post install failed; exiting. >>> Failed to emerge dev-java/gradle-bin-5.2.1, Log file: >>> '/scratch/balasr/gentoo/var/tmp/portage/dev-java/gradle-bin-5.2.1/temp/build.log'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4df3d4edc4d15e32aceeffb403ab4d90c0c4ddec commit 4df3d4edc4d15e32aceeffb403ab4d90c0c4ddec Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-01-18 20:14:38 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-01-18 20:14:38 +0000 dev-java/gradle-bin: fix for Prefix, don't use EPREFIX with helpers Closes: https://bugs.gentoo.org/706172 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org> dev-java/gradle-bin/gradle-bin-6.3.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)