Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156231 - virtual/jre in DEPEND affects the behaviour of depend-java-query from dev-java/java-config
Summary: virtual/jre in DEPEND affects the behaviour of depend-java-query from dev-jav...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-25 10:00 UTC by Petteri Räty (RETIRED)
Modified: 2009-10-17 12:07 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 Petteri Räty (RETIRED) gentoo-dev 2006-11-25 10:00:33 UTC
pena trang # USE="doc" devebuild trang-20030619-r2.ebuild clean compile
 * trang-20030619.zip MD5 ;-) ...                                                                                                                                                                      [ ok ]
 * trang-20030619.zip RMD160 ;-) ...                                                                                                                                                                   [ ok ]
 * trang-20030619.zip SHA1 ;-) ...                                                                                                                                                                     [ ok ]
 * trang-20030619.zip SHA256 ;-) ...                                                                                                                                                                   [ ok ]
 * trang-20030619.zip size ;-) ...                                                                                                                                                                     [ ok ]
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking trang-20030619.zip to /var/tmp/portage/app-text/trang-20030619-r2/work
removed `trang.jar'
>>> Unpacking ./../src.zip to /var/tmp/portage/app-text/trang-20030619-r2/work/trang-20030619/src
>>> Source unpacked.
Rewriting ./build.xml
Interrupted.
sandbox:  Signal already caught and busy still cleaning up!

/usr/portage/app-text/trang/trang-20030619-r2.ebuild: src_compile aborted; exiting.

pena trang # USE="doc" devebuild trang-20030619-r2.ebuild clean compile
 * trang-20030619.zip MD5 ;-) ...                                                                                                                                                                      [ ok ]
 * trang-20030619.zip RMD160 ;-) ...                                                                                                                                                                   [ ok ]
 * trang-20030619.zip SHA1 ;-) ...                                                                                                                                                                     [ ok ]
 * trang-20030619.zip SHA256 ;-) ...                                                                                                                                                                   [ ok ]
 * trang-20030619.zip size ;-) ...                                                                                                                                                                     [ ok ]
 * Using: sun-jdk-1.5
>>> Unpacking source...
>>> Unpacking trang-20030619.zip to /var/tmp/portage/app-text/trang-20030619-r2/work
removed `trang.jar'
>>> Unpacking ./../src.zip to /var/tmp/portage/app-text/trang-20030619-r2/work/trang-20030619/src
>>> Source unpacked.
Rewriting ./build.xml
Interrupted.
sandbox:  Signal already caught and busy still cleaning up!

/usr/portage/app-text/trang/trang-20030619-r2.ebuild: src_unpack aborted; exiting.

Between these two runs I changed 
DEPEND="
	|| ( =virtual/jdk-1.4* =virtual/jdk-1.5* )
	${COMMON_DEP}
	dev-java/ant-core
	app-arch/unzip"

to not have >=virtual/jre-1.4 after ${COMMON_DEP}
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2009-10-17 12:07:30 UTC
Easy way to test this:
betelgeuse@pena /usr/portage/dev-libs/cyrus-sasl $ depend-java-query -v ">=virtual/jre-1.4 >=virtual/jdk-1.4"
sun-jre-bin-1.6
betelgeuse@pena /usr/portage/dev-libs/cyrus-sasl $ depend-java-query -v ">=virtual/jdk-1.4"
icedtea6-bin
betelgeuse@pena /usr/portage/dev-libs/cyrus-sasl $ java-config -L
The following VMs are available for generation-2:
1)      IcedTea6-bin 1.6.1 [icedtea6-bin]
2)      Sun JRE 1.6.0.16 [sun-jre-bin-1.6]