Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179716 - junitperf-1.9.1-r1 fails on install
Summary: junitperf-1.9.1-r1 fails on install
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
Depends on:
Reported: 2007-05-25 06:00 UTC by Wickersheimer Jeremy
Modified: 2007-05-25 23:46 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Wickersheimer Jeremy 2007-05-25 06:00:19 UTC
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
Comment 1 Wickersheimer Jeremy 2007-05-25 06:03:31 UTC
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 ..)
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-05-25 23:46:48 UTC
Please post emerge --info and attach the full build.log
It builds it to the right location just fine here:
      [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.