pycairo puts pycairo.pc in /usr/lib/pkgconfig. On amd64 architecture, all other pkgconfig files are found in /usr/lib64/pkgconfig. Because of this, pkg-config is unable to report the proper version or other information for pycairo. This causes pygtk (and possibly other apps) to fail during compile. Reproducible: Always Steps to Reproduce: 1. Install pycairo on amd64. 2. Look at the location of pycairo.pc. 3. Use pkg-config --modversion pycairo and observe that it fails. Actual Results: pkg-config cannot find pycairo. pygtk fails to compile because it needs the version information on pycairo to setup function calls properly. Expected Results: The ebuild for pycairo should install pycairo.pc in /usr/lib64/pkgconfig on amd64. symlinking /usr/lib/pkgconfig/pycairo.pc to /usr/lib64/pkgconfig is a reasonable temporary workaround.
actually, it only installs a .h file, no .so, so its maybe reasonable to have it in /usr/lib. Btw, pycairo-1.4.12 that was just stabilized still installs it in /usr/lib
Here is the pkg manifest for pycairo-1.4.0: /usr/share/doc/pycairo-1.4.0/README.bz2 /usr/share/doc/pycairo-1.4.0/ChangeLog.bz2 /usr/share/doc/pycairo-1.4.0/NEWS.bz2 /usr/share/doc/pycairo-1.4.0/NOTES.bz2 /usr/share/doc/pycairo-1.4.0/AUTHORS.bz2 /usr/lib64/python2.5/site-packages/cairo/_cairo.so /usr/lib64/python2.5/site-packages/cairo/__init__.py /usr/lib64/python2.5/site-packages/pycairo-1.4.0-py2.5.egg-info /usr/include/pycairo/pycairo.h /usr/lib/pkgconfig/pycairo.pc pycairo places its pkg-config definition file in /usr/lib/pkgconfig instead of /usr/lib64/pkgconfig, which is where all other pkgconfig files go on the amd64 platform. The default pkg-config path on the amd64 platform is /usr/lib64/pkgconfig:/usr/share/pkgconfig.
This is fixed for me with pycairo-1.4.12: /usr/lib64/pkgconfig/pycairo.pc Is this still a problem? is your /usr/lib symlinked to /usr/lib64?
(In reply to comment #3) > This is fixed for me with pycairo-1.4.12: > /usr/lib64/pkgconfig/pycairo.pc > > Is this still a problem? is your /usr/lib symlinked to /usr/lib64? > Since 1.4.12 is stabilized now, we can resolve this bug. Please reopen or file a new bug if there are any issues.