Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700946 - dev-libs/libxml2-2.9.9-r1 : under Python3.8, it installs into into /usr/lib64 instead of /usr/lib
Summary: dev-libs/libxml2-2.9.9-r1 : under Python3.8, it installs into into /usr/lib64...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-22 18:32 UTC by Helmut Jarausch
Modified: 2019-11-23 15:54 UTC (History)
1 user (show)

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


Attachments
modified patch for configure.ac (libxml2-2.9.2-python-ABIFLAG.patch,1.01 KB, patch)
2019-11-23 15:52 UTC, Helmut Jarausch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.