Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50615 - rhino.ebuild version 1_5R5 try's to get a file from java.sun.com, which is impossible in offline mode
Summary: rhino.ebuild version 1_5R5 try's to get a file from java.sun.com, which is im...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 46582 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-10 03:02 UTC by Christian Pötzsch
Modified: 2004-06-19 16:24 UTC (History)
2 users (show)

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


Attachments
rhino-1.5-r5.ebuild.patch-2 (rhino-1.5-r5.ebuild.patch-2,1.18 KB, patch)
2004-05-10 07:51 UTC, Sven Wegener
Details | Diff
rhino-swing-ex.patch for FILESDIR (rhino-swing-ex.patch,1.45 KB, text/plain)
2004-05-10 07:51 UTC, Sven Wegener
Details
rhino-1.5-r5.ebuild.patch-1 (rhino-1.5-r5.ebuild.patch-1,918 bytes, patch)
2004-05-10 07:51 UTC, Sven Wegener
Details | Diff
*wrong* please ignore (rhino-1.5-r5.ebuild-fetch-swing-ex.patch,1.14 KB, patch)
2004-06-19 15:11 UTC, Thomas Matthijs (RETIRED)
Details | Diff
files/dont-fetch-swing-ex.patch (dont-fetch-swing-ex.patch,604 bytes, patch)
2004-06-19 15:12 UTC, Thomas Matthijs (RETIRED)
Details | Diff
oeps, put in wrong patch b4, this is the correct patch for the ebuild (rhino-1.5-r5.ebuild-fetch-swing-ex.patch,1.31 KB, patch)
2004-06-19 15:14 UTC, Thomas Matthijs (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Pötzsch 2004-05-10 03:02:51 UTC
The ebuild try's to get the file http://java.sun.com/products/jfc/tsc/articles/treetable2/downloads/src.zip during the build proccess. This is'nt possible if gentoo is offline used. Which means get the files on a second pc and install them afterwards on the 1st pc.


Reproducible: Always
Steps to Reproduce:
1. download the files which are given with emerge -fpv rhino
2. place these files in /usr/portage/distfiles
3. emerge rhino without any connection to the internet

Actual Results:  
the ebuild breaks, because it could'nt download the file.

Expected Results:  
rhino should be installed
Comment 1 Sven Wegener gentoo-dev 2004-05-10 07:51:08 UTC
Created attachment 31107 [details, diff]
rhino-1.5-r5.ebuild.patch-2

as this package is RESTRICT=nomirror we can fetch src.zip this way and
move the files into place. without nomirror we're pushing a file with a
quite common name src.zip to the mirrors, might not be the best.

other solution is to pack the needed file into an archive like
rhino-swing-ex.tar.bz2 and use that one. also have an ebuild for that
version, i'll attach it as well.
Comment 2 Sven Wegener gentoo-dev 2004-05-10 07:51:38 UTC
Created attachment 31108 [details]
rhino-swing-ex.patch for FILESDIR
Comment 3 Sven Wegener gentoo-dev 2004-05-10 07:51:55 UTC
Created attachment 31109 [details, diff]
rhino-1.5-r5.ebuild.patch-1
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2004-06-08 13:20:35 UTC
*** Bug 46582 has been marked as a duplicate of this bug. ***
Comment 5 Thomas Matthijs (RETIRED) gentoo-dev 2004-06-19 15:10:40 UTC
I believe i have a better way to do this
patches attacked
please let me know what you think
Comment 6 Thomas Matthijs (RETIRED) gentoo-dev 2004-06-19 15:11:21 UTC
Created attachment 33589 [details, diff]
*wrong* please ignore
Comment 7 Thomas Matthijs (RETIRED) gentoo-dev 2004-06-19 15:12:04 UTC
Created attachment 33590 [details, diff]
files/dont-fetch-swing-ex.patch
Comment 8 Thomas Matthijs (RETIRED) gentoo-dev 2004-06-19 15:14:40 UTC
Created attachment 33591 [details, diff]
oeps, put in wrong patch b4, this is the correct patch for the ebuild
Comment 9 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-06-19 16:24:19 UTC
Fixed. Available for testing on sparc, x86, ppc and amd64 as dev-java/rhino-1.5_rc5. Sorry about the new (proper!) versioning causing some problems.