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
Created attachment 230859 [details] build.log
Hi Just had the same issue as you. I have both libpngs installed. Reemerge x11-libs/cairo.
Sorry, i was wrong.
Nope it doesn't work.
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.
Reemerging x11-libs/pango resp. revdep-rebuild solved the problem.
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...
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
(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.