| View previous topic :: View next topic |
| Author |
Message |
jakobdo n00b

Joined: 18 Oct 2006 Posts: 3
|
Posted: Wed Oct 18, 2006 8:19 am Post subject: emerge libpng fails. |
|
|
Hello,
i try to install libpng, but get the following error:
server1 libpng # emerge libpng
Calculating dependencies... done!
>>> Emerging (1 of 1) media-libs/libpng-1.2.12-r1 to /
* libpng-1.2.12.tar.bz2 MD5 ... [ ok ]
* libpng-1.2.12.tar.bz2 RMD160 ... [ ok ]
* libpng-1.2.12.tar.bz2 SHA1 ... [ ok ]
* libpng-1.2.12.tar.bz2 SHA256 ... [ ok ]
* libpng-1.2.12.tar.bz2 size ... [ ok ]
>>> Downloading 'http://www.libpng.org/pub/png/libpng-manual.txt'
--11:09:38-- http://www.libpng.org/pub/png/libpng-manual.txt
=> `/usr/portage/distfiles/libpng-manual.txt'
Resolving www.libpng.org... 66.35.250.210
Connecting to www.libpng.org|66.35.250.210|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:09:39 ERROR 404: Not Found.
!!! Couldn't download 'libpng-manual.txt'. Aborting.
How can i Solve this?
I have tried to do: emerge rsync and emerge sync, did not solved the problem. |
|
| Back to top |
|
 |
jaguarondi n00b

Joined: 04 Nov 2004 Posts: 13 Location: Belgium
|
Posted: Wed Oct 18, 2006 8:43 am Post subject: |
|
|
| I get the same problem. |
|
| Back to top |
|
 |
jakobdo n00b

Joined: 18 Oct 2006 Posts: 3
|
Posted: Wed Oct 18, 2006 9:02 am Post subject: |
|
|
I think the problem is the libpng server has some problems.
See: http://www.libpng.org/ (no answers) |
|
| Back to top |
|
 |
vonr Guru


Joined: 23 Mar 2006 Posts: 300 Location: Amsterdam, The Netherlands
|
Posted: Wed Oct 18, 2006 10:49 am Post subject: |
|
|
It seems to be down indeed.
As a temporary workaround, you could try emerging it with the "doc" flag unset, as the ebuild seems to only pull in that file with the flag set:
| Code: | | doc? ( http://www.libpng.org/pub/png/libpng-manual.txt |
_________________ Have you ever seen Geneva™, Monaco®, or New York®?
Geneva, Monaco, and New York are trademarks of Apple Computer, Inc., some registered in the U.S. and other countries. |
|
| Back to top |
|
 |
jakobdo n00b

Joined: 18 Oct 2006 Posts: 3
|
Posted: Wed Oct 18, 2006 11:02 am Post subject: |
|
|
Thanks, looks like it solved the problem.
USE="-doc" emerge libpng |
|
| Back to top |
|
 |
spindle Apprentice

Joined: 01 Dec 2003 Posts: 239
|
Posted: Sat Jan 06, 2007 5:03 pm Post subject: |
|
|
I have this issue too. It seems to pull the file properly from the url. I think probably that the digest is wrong because this file was updated on January 5, 2007 for version 1.2.15 if you look at it
a quick fix,
| Code: | | emerge --fetchonly libpng |
make sure everything is downloaded even if the checksum doesn't work then,
| Code: | | ebuild /usr/portage/media-libs/libpng/libpng-1.2.14.ebuild digest |
Then you should be able to merge, although the doc is for the wrong version...
The ebuild should really use the libpng-1.2.14/libpng.txt from the source tar for this rather than downloading it separately. |
|
| Back to top |
|
 |
MadCoder42 n00b

Joined: 10 Feb 2004 Posts: 29 Location: Westminster, CO
|
Posted: Sat Jan 06, 2007 5:27 pm Post subject: |
|
|
That worked for me - thanks.
It's confusing to see the download happen successfully and then get the message that it was unable to download the file. |
|
| Back to top |
|
 |
spindle Apprentice

Joined: 01 Dec 2003 Posts: 239
|
Posted: Sat Jan 06, 2007 5:30 pm Post subject: |
|
|
| Yes it is confusing. I think the error message was more explicit at one time, not sure. I added a note about this to this bug. |
|
| Back to top |
|
 |
Narnach n00b


Joined: 31 Aug 2005 Posts: 13 Location: The Netherlands
|
Posted: Mon Jan 15, 2007 9:22 am Post subject: |
|
|
Thanks for the ebuild info, fixed the problem for me.
Kinda sloppy from upstream that they don't version that file and just update it in a newer version - instead of breaking hash checking for us users by changing the file directly... _________________ Identity is cheap, reputation is priceless. |
|
| Back to top |
|
 |
|