Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21149 - ibm-jdk with doc USE flag depends on broken java-sdk-docs-1.4.0
Summary: ibm-jdk with doc USE flag depends on broken java-sdk-docs-1.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Todd Berman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 21148
Blocks:
  Show dependency tree
 
Reported: 2003-05-17 05:16 UTC by Oliver Burnett-Hall
Modified: 2003-05-19 23:56 UTC (History)
1 user (show)

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 Oliver Burnett-Hall 2003-05-17 05:16:30 UTC
The ibm-jdk-1.4.0-r[12] ebuilds contain this as part of 
their DEPEND vars:

    doc? ( =dev-java/java-sdk-docs-1.4.0* )

The only matching ebuild is java-sdk-docs-1.4.0, but that
can't be installed any more due to unavailability of 
j2sdk-1_4_0-doc.zip from java.sun.com (I've reported this
as bug 21148).

Changing the dependency to:

    doc? ( =dev-java/java-sdk-docs-1.4* )

will fix this, making it depend on java-sdk-docs-1.4.1 instead.
Comment 1 witr 2003-05-19 21:43:22 UTC
When doing a "emerge sync" this causes, I believe, the dread:

>>> Updating Portage cache... |
aux_get(): (0) Error in dev-java/ibm-jdk-1.3.1-r2 ebuild.
               Check for syntax error or corruption in the ebuild. (--debug)
 
Comment 2 witr 2003-05-19 21:49:05 UTC
My bad.  Actually, it probably doesn't.  Sorry.
Comment 3 Donovan Long 2003-05-19 21:56:14 UTC
bash-2.05b# emerge -p --debug /usr/portage/dev-java/ibm-jdk/ibm-jdk-1.4.0-r2.ebuild

These are the packages that I would merge, in order:

Calculating dependencies \
/usr/sbin/ebuild.sh: /usr/portage/eclass/java.eclass: line 71: syntax error near unexpected token `.*\\'
/usr/sbin/ebuild.sh: /usr/portage/eclass/java.eclass: line 71: `                -e "/^ADDLDPATH=.*lib\\/\\"/s|\"\\(.*\                                      \)\"|\"\\1${platform}/:\\1${platform}/server/\"|" \'

!!! ERROR: dev-java/ibm-jdk-1.4.0-r2 failed.
!!! Function inherit, Line 904, Exitcode 1
!!! died sourcing /usr/portage/eclass/java.eclass in inherit()


aux_get(): (0) Error in dev-java/ibm-jdk-1.4.0-r2 ebuild.
               Check for syntax error or corruption in the ebuild. (--debug)

emerge: create(): aux_get() error on dev-java/ibm-jdk-1.4.0-r2; aborting...
Comment 4 Todd Berman (RETIRED) gentoo-dev 2003-05-19 23:55:47 UTC
fixed
Comment 5 Todd Berman (RETIRED) gentoo-dev 2003-05-19 23:56:01 UTC
fixed