Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541932 - app-emulation/lxc USE=python: doesn't build executables depending on python: no lxc-start-ephemeral or 'lxc-ls --fancy'
Summary: app-emulation/lxc USE=python: doesn't build executables depending on python: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-02 17:43 UTC by Paul Lasek
Modified: 2015-03-12 07:51 UTC (History)
2 users (show)

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


Attachments
patch to enable python in executables (file_541932.txt,376 bytes, patch)
2015-03-02 17:45 UTC, Paul Lasek
Details | Diff
emerge --info (file_541932.txt,5.95 KB, text/plain)
2015-03-09 11:16 UTC, Paul Lasek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Lasek 2015-03-02 17:43:01 UTC
Despite USE=python, app-emulation/lxc is built with --disable-python.
This impacts featureset, missing few important tools and a lot of LXC toolset (Python API is apparently still built by separate pass in ebuild)

Reproducible: Always

Steps to Reproduce:
1. Install LXC with USE=python emerge app-emulation/lxc 
2. check for 'lxc-start-ephemeral' or 'lxc-ls --fancy'
(those are easiest to check symptoms)
Actual Results:  
no executable lxc-start-ephemeral, no support --fancy option in lxc-ls

Expected Results:  
availability of lxc-start-ephemeral and other python-dependant
Comment 1 Paul Lasek 2015-03-02 17:45:00 UTC
Created attachment 397888 [details, diff]
patch to enable python in executables
Comment 2 Andrew Savchenko gentoo-dev 2015-03-06 10:03:27 UTC
Please post your emerge --info.
Comment 3 Paul Lasek 2015-03-09 11:16:24 UTC
Created attachment 398508 [details]
emerge --info
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2015-03-09 17:23:01 UTC
This patch alone does not(In reply to Paul Lasek from comment #1)
> Created attachment 397888 [details, diff] [details, diff]
> patch to enable python in executables

This patch alone does not fix it

checking for python3 version... 3.3
checking for python3 platform... linux
checking for python3 script directory... ${prefix}/lib64/python3.3/site-packages
checking for python3 extension module directory... ${exec_prefix}/lib64/python3.3/site-packages
checking for PYTHONDEV... no
configure: error: You must install python3-dev

i need to look at it...
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2015-03-11 18:18:55 UTC
+*lxc-1.1.0-r4 (11 Mar 2015)
+
+  11 Mar 2015; Markos Chandras <hwoarang@gentoo.org> +lxc-1.1.0-r4.ebuild:
+  Respect USE=python so additional tools can be built. Bug #541932
+
Comment 6 Francisco J. Vazquez 2015-03-12 07:47:52 UTC
(In reply to Markos Chandras from comment #5)
> +*lxc-1.1.0-r4 (11 Mar 2015)
> +
> +  11 Mar 2015; Markos Chandras <hwoarang@gentoo.org> +lxc-1.1.0-r4.ebuild:
> +  Respect USE=python so additional tools can be built. Bug #541932
> +

Lines 111-113 should also be between if use python; then ... fi. Otherwise it fails to compile without python3 installed.
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2015-03-12 07:51:56 UTC
(In reply to Francisco Vazquez from comment #6)
> (In reply to Markos Chandras from comment #5)
> > +*lxc-1.1.0-r4 (11 Mar 2015)
> > +
> > +  11 Mar 2015; Markos Chandras <hwoarang@gentoo.org> +lxc-1.1.0-r4.ebuild:
> > +  Respect USE=python so additional tools can be built. Bug #541932
> > +
> 
> Lines 111-113 should also be between if use python; then ... fi. Otherwise
> it fails to compile without python3 installed.

Yes you are right. I just fixed it.