Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577394 - app-emulation/lxc[python] cannot be cross-compiled
Summary: app-emulation/lxc[python] cannot be cross-compiled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-14 14:24 UTC by Alexis Ballier
Modified: 2018-07-24 12:00 UTC (History)
4 users (show)

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 Alexis Ballier gentoo-dev 2016-03-14 14:24:05 UTC
cross compiling lxc[python], I get:

checking for PYTHONDEV... no
configure: error: You must install python3-dev



this nails down to the ebuild:

        if use python; then
                #541932
                python_setup "python3*"
                export PKG_CONFIG_PATH="${T}/${EPYTHON}/pkgconfig:${PKG_CONFIG_PATH}"
        fi



and crossdev's cross-pkg-config unsetting PKG_CONFIG_PATH.
(/usr/bin/cross-pkg-config line 75 in current crossdev version)


If I comment out crossdev's unset, lxc[python] builds fine. Not sure if lxc should use another way or if cross-pkg-config shouldn't reset PKG_CONFIG_PATH, only thing I'm sure is that it annoys me so I've cc'ed both maintainers :)
Comment 1 Virgil Dupras (RETIRED) gentoo-dev 2018-06-26 02:22:38 UTC
With LXC 3.0, python bindings were de-bundled and became fairly standard with regards to python packaging. I'm thinking that crossdev issues are probably resolved now. Alexis, could you confirm?
Comment 2 Virgil Dupras (RETIRED) gentoo-dev 2018-07-24 12:00:46 UTC
No response, closing.