Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 700946

Summary: dev-libs/libxml2-2.9.9-r1 : under Python3.8, it installs into into /usr/lib64 instead of /usr/lib
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: modified patch for configure.ac

Description Helmut Jarausch 2019-11-22 18:32:26 UTC
Trying to installed dev-libs/libxml2 under Python3.8, as well,
there is a problem with the install directories.

While dev-lang/python3.8 installs into /usr/lib/python3.8
and most packages install into
/usr/lib/python3.8/site-packages,

libxml2 installs into /usr/lib64/python3.8/site-packages
Therefore it isn't found by other packages.

How can I change this?
Many thanks for a hint,
Helmut
Comment 1 Jonas Stein gentoo-dev 2019-11-23 14:00:50 UTC
Which profile do you use? 17.0 or 17.1?

Please recompile and 
*attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 Helmut Jarausch 2019-11-23 15:52:33 UTC
Created attachment 597158 [details, diff]
modified patch for configure.ac
Comment 3 Helmut Jarausch 2019-11-23 15:54:14 UTC
(In reply to Jonas Stein from comment #1)
> Which profile do you use? 17.0 or 17.1?
> 
> Please recompile and 
> *attach* the logfiles and 
> paste the emerge info as described on
> https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
> We need to have all information at hand before ticket assignment, so that
> the maintainer can look after it in one session with minimal number of
> callbacks.
> Please reopen this ticket (Status:unconfirmed) afterwards.

I'm using 17.1 but the old configure.ac was broken.

Here is the additional patch I've encorporated into ABIFLAG.patch

-# does not work as it produce a /usr/lib/python path instead of/usr/lib64/python
+# DOES work as it produce a /usr/lib/python path instead of/usr/lib64/python
 #
-#	PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"`
+	PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"`

With this modified patch it installs fine.