Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157504 - java-pkg_dojar/newjar in java-utils-2.eclass should check that parameters are .jar files
Summary: java-pkg_dojar/newjar in java-utils-2.eclass should check that parameters are...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-08 03:01 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2007-01-20 11:14 UTC (History)
0 users

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 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2006-12-08 03:01:08 UTC
To prevent bugs like bug 157496 where it was called on directory, which it didn't install but still recorded in package.env, which broke java-pkg_jar-from on that package.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-01-20 11:14:54 UTC
Seems this has been fixed:

>>> Install dummy-1.0 into /var/tmp/portage/dev-java/dummy-1.0/image/ category dev-java

!!! ERROR: dev-java/dummy-1.0 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_install
  ebuild.sh, line 1057:   Called qa_call 'src_install'
  environment, line 4350:   Called src_install
  dummy-1.0.ebuild, line 17:   Called java-pkg_newjar '/var/tmp/portage/dev-java/dummy-1.0/work'
  java-utils-2.eclass, line 305:   Called die

!!! /var/tmp/portage/dev-java/dummy-1.0/work does not exist or is not a file!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-java/dummy-1.0/temp/build.log'.

!!! 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
!!! This ebuild is from an overlay: '/mnt/checkouts/overlays/betelgeuse'

src_install() {
	java-pkg_newjar "${WORKDIR}"
}