Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718344 - python-utils-r1.eclass: python_get_LIBS does not include "-lpython" for >=dev-lang/python-3.8
Summary: python-utils-r1.eclass: python_get_LIBS does not include "-lpython" for >=dev...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://archives.gentoo.org/gentoo-de...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-19 14:46 UTC by Mart Raudsepp
Modified: 2020-04-19 16:47 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2020-04-19 14:46:15 UTC
dev-python/setproctitle-1.1.10-r1 already builds tests with PYLIB="$(python_get_LIBS)" for the embedded executable, but that isn't sufficient with current python eclassees to actually get python-embed linked to; as a result, setproctitle tests fail.
Comment 1 Larry the Git Cow gentoo-dev 2020-04-19 16:47:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78a7b2722aee8e229ae0de6a775e110cd0bb80b

commit f78a7b2722aee8e229ae0de6a775e110cd0bb80b
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-02-27 17:56:55 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-04-19 16:46:59 +0000

    python-utils-r1.eclass: Fix PYTHON_LIBS for py3.8+
    
    Python 3.8+ provides two pkg-config files: python-3.8 for building
    Python extensions and python-3.8-embed for embedding Python in other
    programs.  The former no longer lists -lpython*, resulting in empty
    PYTHON_LIBS.  Since our consumers are more likely to want it non-empty
    if they already query it, switch to the latter file.
    
    Closes: https://bugs.gentoo.org/718344
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 eclass/python-utils-r1.eclass | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)