Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319055 - x11-libs/gtk+ cannot compile when both libpng:0 and libpng:1.2 are installed
Summary: x11-libs/gtk+ cannot compile when both libpng:0 and libpng:1.2 are installed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 13:24 UTC by Markos Chandras (RETIRED)
Modified: 2010-05-11 10:31 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,190.33 KB, text/plain)
2010-05-09 13:24 UTC, Markos Chandras (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markos Chandras (RETIRED) gentoo-dev 2010-05-09 13:24:31 UTC
I am not able to compile gtk+ when both libpng:0 and libpng:1.2 are installed

If I remove libpng:0 , I cant emerge gtk+ because libpng-1.4 is required from x11-libs/cairo package
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2010-05-09 13:24:57 UTC
Created attachment 230859 [details]
build.log
Comment 2 Martin Bürge 2010-05-09 16:41:27 UTC
Hi

Just had the same issue as you.
I have both libpngs installed.
Reemerge x11-libs/cairo.
Comment 3 Martin Bürge 2010-05-09 16:45:11 UTC
Sorry, i was wrong.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2010-05-09 17:07:05 UTC
Nope it doesn't work. 
Comment 5 Martin Bürge 2010-05-09 18:09:02 UTC
Hmm, it has nothing to do with the new gtk version which i wanted to update to.
I just tested to downgrade to an older gtk+ version and it doesn't work.
Comment 6 Martin Bürge 2010-05-09 18:57:40 UTC
Reemerging x11-libs/pango resp. revdep-rebuild solved the problem.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-05-10 12:47:43 UTC
Let portage install 1.4 for you and do it's job. Don't try to oversmart it. 

We will add some kludges in few core packages to prevent doing stupid things like this... 
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2010-05-10 12:52:22 UTC
Excuse me, but I haven't emerge libpng by myself. This is a brand new ~arch system and it pulled 1.4 during emerge -uDNav world. I had gtk+ installed and when I tried to reinstall it it simply failed

Anyway, comment #6 solved my issue
Comment 9 Helmut Jarausch 2010-05-11 10:31:38 UTC
(In reply to comment #7)
> Let portage install 1.4 for you and do it's job. Don't try to oversmart it. 
> 
> We will add some kludges in few core packages to prevent doing stupid things
> like this... 
> 

Unfortunately it's not that easy.
See several comments on gentoo-user@lists.gentoo.org
by very experienced Gentoo users.