Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18206 - Fetch problems with povray-3.50a.ebuild
Summary: Fetch problems with povray-3.50a.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Philip Walls (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-26 05:06 UTC by Thomas Förster
Modified: 2003-03-26 15:39 UTC (History)
0 users

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


Attachments
Digest file for povray-3.50c (povray-3.50c.digest,59 bytes, application/octet-stream)
2003-03-26 13:01 UTC, Pär Karlsson
Details
New ebuild for povray-3.50c (povray-3.50c.ebuild,3.04 KB, application/octet-stream)
2003-03-26 13:02 UTC, Pär Karlsson
Details
Patch for povray-3.50c (gentoo-3.50c.patch,247 bytes, patch)
2003-03-26 13:04 UTC, Pär Karlsson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Förster 2003-03-26 05:06:12 UTC
After successful downloading the source .tgz, emerge aborts, complaining that the 
download wasn't successful.  
 
>>> Downloading ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz 
--10:48:07--  ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz 
           => `/usr/portage/distfiles/povuni_s.tgz' 
Resolving ftp.povray.org... done. 
Connecting to ftp.povray.org[204.213.191.228]:21... connected. 
Logging in as anonymous ... Logged in! 
==> SYST ... done.    ==> PWD ... done. 
==> TYPE I ... done.  ==> CWD /pub/povray/Official/Unix ... done. 
==> PASV ... done.    ==> RETR povuni_s.tgz ... done. 
Length: 6,602,380 (unauthoritative) 
 
100%[====================================>] 6,602,380    130.45K/s    
ETA 00:00 
 
10:48:58 (130.45 KB/s) - `/usr/portage/distfiles/povuni_s.tgz' saved [6602380] 
 
!!! Couldn't download povuni_s.tgz. Aborting. 
 
 
After proving that the source file is OK 
 
> tar tvzf povuni_s.tgz 
drwxrwxrwx root/root         0 2003-01-07 02:23:22 povray-3.50c/ 
-rw-r--r-- root/root     14637 2003-01-07 02:22:44 povray-3.50c/Makefile.in 
-r--r--r-- root/root      2658 2003-01-07 02:10:01 povray-3.50c/README 
-rw-r--r-- root/root       897 2003-01-07 02:09:58 povray-3.50c/AUTHORS 
-r--r--r-- root/root      1207 2003-01-07 02:09:59 povray-3.50c/COPYING 
.... 
 
retrying also failed after saving the file. 
 
>>> Resuming download... 
>>> Downloading ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz 
--10:40:53--  ftp://ftp.povray.org/pub/povray/Official/Unix/povuni_s.tgz 
           => `/usr/portage/distfiles/povuni_s.tgz' 
Resolving ftp.povray.org... done. 
Connecting to ftp.povray.org[204.213.191.228]:21... connected. 
Logging in as anonymous ... Logged in! 
==> SYST ... done.    ==> PWD ... done. 
==> TYPE I ... done.  ==> CWD /pub/povray/Official/Unix ... done. 
==> SIZE povuni_s.tgz ... done. 
==> PASV ... done.    ==> REST 6602380 ... done. 
==> RETR povuni_s.tgz ... done. 
Length: 6,602,380 [0 to go] 
 
100%[====================================>] 6,602,380     --.--K/s    ETA 
--:-- 
 
10:40:55 (0.00 B/s) - `/usr/portage/distfiles/povuni_s.tgz' saved [6602380] 
 
!!! Couldn't download povuni_s.tgz. Aborting. 
 
Even after manually downloading the file from different sources, emerge tries to 
resume the download, failing just like above.
Comment 1 Pär Karlsson 2003-03-26 05:28:21 UTC
povray 3.5 is updated to version 3.50c on the povray ftp server, while the ebuild still is for povray 3.50a.
The filename is still the same (povuni_s.tgz) but the size differs.
Comment 2 Pär Karlsson 2003-03-26 13:01:28 UTC
Created attachment 9844 [details]
Digest file for povray-3.50c

This file should go into /usr/portage/media-gfx/povray/files
Comment 3 Pär Karlsson 2003-03-26 13:02:59 UTC
Created attachment 9845 [details]
New ebuild for povray-3.50c

This is the old povray-3.50a ebuild, blatantly copied with new name.
Comment 4 Pär Karlsson 2003-03-26 13:04:44 UTC
Created attachment 9846 [details, diff]
Patch for povray-3.50c

This is the patch (copied from the old povray-3.50a.patch).
Comment 5 Pär Karlsson 2003-03-26 13:06:59 UTC
The old source files are starting to show up on the Gentoo mirrors again, which makes this new digest file invalid if the emerge pulls the source package from one of the mirrors.
If you want povray-3.50c you need to get the povuni_s.tgz from www.povray.org and put it in the distfiles directory manually.
I built the new version this way and it works. Not sure about what has changed though.
Comment 6 Philip Walls (RETIRED) gentoo-dev 2003-03-26 14:49:25 UTC
I was making the povray-3.50c ebuild this morning, but it failed while trying to build the digest (with the same error). Seems like the problem is deeper than you are saying.

Either portage is interpreting the wget return code incorrectly, or wget is giving us a weird return code.
Comment 7 Philip Walls (RETIRED) gentoo-dev 2003-03-26 15:39:20 UTC
The issue seems to have been user error on my part. New ebuild commited, thanks for your help guys.