| Summary: | junitperf-1.9.1-r1 fails on install | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Wickersheimer Jeremy <jwickers> |
| Component: | [OLD] Java | Assignee: | Java team <java> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Possible Resolution:
I modified the ebuild like this and it installed successfully:
42 src_install() {
43 cp dist/${P}.jar lib/${PN}.jar
44 java-pkg_dojar lib/${PN}.jar
(sorry, no time for a patch file, but this is quite trivial ..)
Please post emerge --info and attach the full build.log
It builds it to the right location just fine here:
jar:
[jar] Building jar: /var/tmp/portage/dev-java/junitperf-1.9.1-r1/work/junitperf-1.9.1/lib/junitperf.jar
1.1 (nichoj 05-Aug-06): src_install() {
1.1 (nichoj 05-Aug-06): java-pkg_dojar lib/${PN}.jar
1.5 (betelgeu 13-Apr-07): dodoc README || die
1.5 (betelgeu 13-Apr-07): use doc && java-pkg_dojavadoc docs/api
1.1 (nichoj 05-Aug-06): use source && java-pkg_dosrc src/app/*
1.1 (nichoj 05-Aug-06): }
I am guessing your ebuild is from some overlay. Please REOPEN when you have provided the needed information.
|
The installation of the package fails in src_install because qt line 43 of the ebuild: java-pkg_dojar lib/${PN}.jar But the jar file is built as dist/${P}.jar >>> Starting src_install !!! ERROR in dev-java/junitperf-1.9.1-r1: !!! In java-pkg_dojar at line 3301 !!! lib/junitperf.jar does not exist Reproducible: Always