Gentoo Forums
Gentoo Forums
Quick Search: in
emerge libpng fails.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jakobdo
n00b
n00b


Joined: 18 Oct 2006
Posts: 3

PostPosted: Wed Oct 18, 2006 8:19 am    Post subject: emerge libpng fails. Reply with quote

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
View user's profile Send private message
jaguarondi
n00b
n00b


Joined: 04 Nov 2004
Posts: 13
Location: Belgium

PostPosted: Wed Oct 18, 2006 8:43 am    Post subject: Reply with quote

I get the same problem.
Back to top
View user's profile Send private message
jakobdo
n00b
n00b


Joined: 18 Oct 2006
Posts: 3

PostPosted: Wed Oct 18, 2006 9:02 am    Post subject: Reply with quote

I think the problem is the libpng server has some problems.

See: http://www.libpng.org/ (no answers)
Back to top
View user's profile Send private message
vonr
Guru
Guru


Joined: 23 Mar 2006
Posts: 300
Location: Amsterdam, The Netherlands

PostPosted: Wed Oct 18, 2006 10:49 am    Post subject: Reply with quote

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
View user's profile Send private message
jakobdo
n00b
n00b


Joined: 18 Oct 2006
Posts: 3

PostPosted: Wed Oct 18, 2006 11:02 am    Post subject: Reply with quote

Thanks, looks like it solved the problem.

USE="-doc" emerge libpng
Back to top
View user's profile Send private message
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 239

PostPosted: Sat Jan 06, 2007 5:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
MadCoder42
n00b
n00b


Joined: 10 Feb 2004
Posts: 29
Location: Westminster, CO

PostPosted: Sat Jan 06, 2007 5:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 239

PostPosted: Sat Jan 06, 2007 5:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Narnach
n00b
n00b


Joined: 31 Aug 2005
Posts: 13
Location: The Netherlands

PostPosted: Mon Jan 15, 2007 9:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum