Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 565572

Summary: dev-java/oracle-jdk-bin - Couldn't download 'jdk-8u66-linux-x64.tar.gz'. -> ERROR 404: Not Found. and ERROR 403: Forbidden.
Product: Gentoo Linux Reporter: quirxi <a.w>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description quirxi 2015-11-12 07:42:21 UTC
I tried to emerege dev-java/oracle-jdk-bin-1.8.0.66::gentoo but the download of jdk-8u66-linux-x64.tar.gz failed with the error message "404: Not Found" one time and the other time with "ERROR 403: Forbidden".
It seems as if the file is no longer on the server, or as if the URL is wrong.
I did a emerge --sync before i tried to emerge oracle-jdk-bin, so i think it must be a new bug....

Here the relevant part of the failed emerge:

>>> Emerging (1 of 43) dev-java/oracle-jdk-bin-1.8.0.66::gentoo
 * Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.
>>> Downloading 'http://build.funtoo.org/distfiles/oracle-java/jdk-8u66-linux-x64.tar.gz'
--2015-11-12 08:25:08--  http://build.funtoo.org/distfiles/oracle-java/jdk-8u66-linux-x64.tar.gz
Resolving build.funtoo.org... 172.97.103.39
Connecting to build.funtoo.org|172.97.103.39|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2015-11-12 08:25:09 ERROR 403: Forbidden.

>>> Downloading 'http://ftp.osuosl.org/pub/funtoo/distfiles/oracle-java/jdk-8u66-linux-x64.tar.gz'
--2015-11-12 08:25:09--  http://ftp.osuosl.org/pub/funtoo/distfiles/oracle-java/jdk-8u66-linux-x64.tar.gz
Resolving ftp.osuosl.org... 64.50.233.100, 64.50.236.52
Connecting to ftp.osuosl.org|64.50.233.100|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-11-12 08:25:09 ERROR 404: Not Found.

!!! Couldn't download 'jdk-8u66-linux-x64.tar.gz'. Aborting.
 * Fetch failed for 'dev-java/oracle-jdk-bin-1.8.0.66', Log file:
 *  '/var/tmp/portage/dev-java/oracle-jdk-bin-1.8.0.66/temp/build.log'

>>> Failed to emerge dev-java/oracle-jdk-bin-1.8.0.66, Log file:

>>>  '/var/tmp/portage/dev-java/oracle-jdk-bin-1.8.0.66/temp/build.log'

 * Messages for package dev-java/oracle-jdk-bin-1.8.0.66:

 * Fetch failed for 'dev-java/oracle-jdk-bin-1.8.0.66', Log file:
 *  '/var/tmp/portage/dev-java/oracle-jdk-bin-1.8.0.66/temp/build.log'
Comment 1 James Le Cuirot gentoo-dev 2015-11-12 16:41:46 UTC
I don't think you're really using Gentoo's repository. Funtoo fork this package and remove the fetch restrictions, which is something we disagree on. Our package would never try to fetch these files automatically. Please check and report back.
Comment 2 quirxi 2015-11-12 17:37:56 UTC
yes - I think you are right - it seems to use the funtoo repository. 
Here is the output of emerege --sync:

>>> Syncing repository 'gentoo' into '/usr/portage'...
/usr/bin/git pull
remote: Counting objects: 935, done.
remote: Compressing objects: 100% (169/169), done.
remote: Total 935 (delta 766), reused 935 (delta 766), pack-reused 0
Receiving objects: 100% (935/935), 188.00 KiB | 277.00 KiB/s, done.
Resolving deltas: 100% (766/766), completed with 747 local objects.
From git://github.com/funtoo/ports-2012
   e9adf83..f7ca26f  funtoo.org -> origin/funtoo.org


So I think I will have to report this bug to funtoo, do I ?
Comment 3 Patrice Clement gentoo-dev 2015-11-12 18:03:37 UTC
Indeed. 

Their bug tracking system is here: https://bugs.funtoo.org/