Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81197 - pdflib installs python and tcl shared objects to incorrect locations
Summary: pdflib installs python and tcl shared objects to incorrect locations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 81190
  Show dependency tree
 
Reported: 2005-02-07 23:09 UTC by Jeremy Huddleston (RETIRED)
Modified: 2005-03-03 16:49 UTC (History)
0 users

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


Attachments
Patch pdflib-5.0.4_p1-r1.ebuild to honour lib64 location of tcl-binding (pdflib-5.0.4_p1-r1-tclbinding-lib64.patch,833 bytes, patch)
2005-02-14 08:38 UTC, Danny van Dyk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-07 23:09:09 UTC
usr/lib64/libpdf.so.2.2.2
   usr/lib64/libpdf_java.so.0.0.0
   usr/lib/perl5/site_perl/5.8.6/pdflib_pl.so.0.0.0
   usr/lib/python2.4/pdflib_py.so.0.0.0
   usr/lib/tcl8.4/pdflib/pdflib_tcl.so.0.0.0
making executable: /usr/lib64/libpdf.so.2.2.2
making executable: /usr/lib64/libpdf_java.so.0.0.0

!!! ERROR: media-libs/pdflib-5.0.4_p1-r1 failed.
!!! Function dyn_install, Line 1114, Exitcode 0
!!! File /mnt/raid0/tmp/portage/pdflib-5.0.4_p1-r1/image///usr/lib/python2.4/pdflib_py.so.0.0.0 matches a file type that is not allowed in /usr/lib
!!! If you need support, post the topmost build error, NOT this status message.


The perl one is fine, but the python one and tcl ones aren't.

Python should install here:
python -c "from distutils import sysconfig; print sysconfig.get_python_lib(1)"

Tcl should install here:
/usr/$(get_libdir)/tcl8.4/
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2005-02-14 08:37:38 UTC
For me, perl and tcl bindings are foo-bared, but not python.

phi / # python -c "from distutils import sysconfig; print sysconfig.get_python_lib(1)"
/usr/lib64/python2.3/site-packages

phi / # qpkg -l pdflib-5.0.4 | grep "lib.*pdflib_.*.so" | grep -v "\->"
/usr/lib64/python2.3/lib-dynload/pdflib_py.so.0.0.0
/usr/lib/perl5/site_perl/5.8.6/pdflib_pl.so.0.0.0
/usr/lib/tcl8.4/pdflib/pdflib_tcl.so.0.0.0

Remerged tcl and all tcl-libraries went to /usr/lib64/.
Though: pdflib_tcl.so doesn't honour that. I'll attach a patch for this.

As for pdflib_perl.so: No patching necessary. As soon as perl lives in /usr/lib64/ everything will be fine.
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2005-02-14 08:38:56 UTC
Created attachment 51209 [details, diff]
Patch pdflib-5.0.4_p1-r1.ebuild to honour lib64 location of tcl-binding

Proposed patch.
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2005-03-03 16:48:10 UTC
This has been an amd64 bug.
Comment 4 Danny van Dyk (RETIRED) gentoo-dev 2005-03-03 16:49:01 UTC
Fixed in CVS for latest stable version.