Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 224285
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tony S <tonys@embarqmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 224285 depends on: 232327 Show dependency tree
Bug 224285 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-31 01:32 0000
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.

------- Comment #1 From Olivier Crete 2008-07-19 13:30:14 0000 -------
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

------- Comment #2 From Tony S 2008-07-25 00:11:19 0000 -------
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.

------- Comment #3 From Santiago M. Mola 2008-09-17 10:23:43 0000 -------
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?

------- Comment #4 From Jeremy Olexa (darkside) 2008-10-02 02:06:33 0000 -------
(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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug