Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20665 - ibm-jdk ebuild digest files are blank
Summary: ibm-jdk ebuild digest files are blank
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 16159 30579
Blocks:
  Show dependency tree
 
Reported: 2003-05-08 20:54 UTC by Tim Schafer
Modified: 2004-03-17 21:52 UTC (History)
3 users (show)

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


Attachments
Patch to handle USE-based SRC_URIs with RESTRICT="fetch" (portage-2.0.50-r1-nofetch.patch,1020 bytes, patch)
2004-02-12 06:11 UTC, Jason Stubbs (RETIRED)
Details | Diff
Much simpler patch (portage-2.0.50-r1-nofetch.patch,404 bytes, patch)
2004-02-12 07:47 UTC, Jason Stubbs (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Schafer 2003-05-08 20:54:14 UTC
The digest files are blank.
The digest files should have the MD5 of the file retrieved from Sun.
Comment 1 Dylan Carlson (RETIRED) gentoo-dev 2003-06-16 17:52:27 UTC
fixed previously 
Comment 2 Tim Schafer 2003-06-17 10:10:59 UTC
The digest file is still blank
Comment 3 Adrian Almenar 2003-09-15 22:58:22 UTC
Now all sun-jdk have filled digests, i will change the name of the bug, cause 
this needs to be done to ibm-jdk Ebuilds 
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2004-02-12 06:11:37 UTC
Created attachment 25470 [details, diff]
Patch to handle USE-based SRC_URIs with RESTRICT="fetch"

Seems to be a long story to this bug that isn't written here, so here's the
short version:

The ibm-jdk ebuilds have no md5sums because there is no SRC_URI
There is no SRC_URI becuase it is based on archicture (ppc or !ppc)
ebuild.sh prints out the entire SRC_URI in its default pkg_nofetch()

One method to handle this would be to override pkg_nofetch() and use constructs
such as 'use ppc &&' or '[ "${ARCH}" = "ppc" ] &&' but these are not very clean
and high on maintenance.

This patch is an alternative which will always print out the reduced SRC_URI
but still provide any output given by an overridden pkg_nofetch()
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2004-02-12 07:47:49 UTC
Created attachment 25474 [details, diff]
Much simpler patch

ferringb had the idea of using ${A} and confirmed it worked, from which this
patch was produced.
Comment 6 Chris Aniszczyk (RETIRED) gentoo-dev 2004-03-17 21:52:01 UTC
Fixed in ebuilds now