Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320069 - pygtk fails to build after updating libpng. and removing libbonoboui,libgnomeui,libgnomecanvas
Summary: pygtk fails to build after updating libpng. and removing libbonoboui,libgnome...
Status: RESOLVED DUPLICATE of bug 319101
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-16 22:48 UTC by Robert T Childers
Modified: 2010-05-19 21:20 UTC (History)
0 users

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


Attachments
results of paludis --info dev-python/pygtk (paludis_info.txt,16.69 KB, text/plain)
2010-05-16 22:50 UTC, Robert T Childers
Details
console out from the build (gentoo.out,86.79 KB, text/plain)
2010-05-16 22:53 UTC, Robert T Childers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert T Childers 2010-05-16 22:48:05 UTC
I was doing a system update and it involed upgrading libpng. when I ran reconciliio (paludis version of revdep-rebuild), I had a failure in the build of pygtk-2.16.0-r1, and when I tried to reinstall pygtk-2.14.1-r1 it also failed to build. I then went back in and installed libpng:1.2 and libpng:0 so that I would still have my 1.2 version of libpng so that existing programs would still run.

Reproducible: Always

Steps to Reproduce:
1.uninstall libpng-1.2.x
2.install libpng-1.4.x
3.

Actual Results:  
after uninstalling, libpng 1.2.43-r1, installing libpng-1.4.2, running lafilefixer. I was unable to update or reinstall pygtk

Expected Results:  
It should have compiled and installed.
Comment 1 Robert T Childers 2010-05-16 22:50:04 UTC
Created attachment 231737 [details]
results of paludis --info dev-python/pygtk
Comment 2 Robert T Childers 2010-05-16 22:53:30 UTC
Created attachment 231739 [details]
console out from the build
Comment 3 Robert T Childers 2010-05-16 22:56:50 UTC
Note, based on seeing pycairo in the config section of the build I have rebuilt cairo, and pycairo. I also rebuilt gtk+ as well. I currently have libpng-1.2.43-r1 under slot 1.2 and libpng-1.4.2 under slot 0 installed. Current install of pygtk built prior to this attempted rebuild is now working thanks to reinstalling libpng-1.2.43-r1
Comment 4 Robert T Childers 2010-05-16 23:29:22 UTC
Okay, Finally got it to install. For some reason, libgnomecanvis, libgnomeui and libbonoboui came up as not being used by any package in world, so they were removed when I did an uninstall of unused packages. After reinstalling them I was able to build and install pygtk. What I don't know is why these three are still being slated for removal in the system. without them pygtk refused to build, but trying to rebuild pygtk didn't pull them in as dependencies. I will be sending an email to the paludis mailing list about this issue as well.
Comment 5 David Kredba 2010-05-17 19:29:07 UTC
Hello, I used:
find /usr/lib64 -type f -name *.la -exec grep -H png12 {} \;
on my ~amd64 system because revdep-rebuild was unable to find these.

The same for packages like guilegtk, gtkmathview and more.
Comment 6 Robert T Childers 2010-05-17 21:54:38 UTC
I am reopening the bug, because pygtk woudln't compile until I reinstalled libbonoboui, libgnomecanvas, and libgnomeui. And my system still says that they should be removed.
Comment 7 Andrew Brouwers 2010-05-17 22:47:32 UTC
(In reply to comment #6)
> I am reopening the bug, because pygtk woudln't compile until I reinstalled
> libbonoboui, libgnomecanvas, and libgnomeui. And my system still says that they
> should be removed.
> 

This isn't really a bug - sounds like your system has NOT yet completed the libpng-1.4 update.  Using lafilefixer is *not* enough to do this update - there are quite a bit of packages that require rebuilding, more than likely including one of pygtk's dependencies.  
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-05-18 08:22:28 UTC

*** This bug has been marked as a duplicate of bug 319101 ***
Comment 9 Robert T Childers 2010-05-19 21:20:54 UTC
Well you were correct, Once i finished rebuilding everything that depended on libpng12.so.0, I was able to let the system remove libbonoboui, libgnomeui and libgnomecanvas, and the rebuild pygtk with no problems.