Summary: | net-libs/libqmi-1.0.0: build fails w/python3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Flo Gravo <even.more.spam.for.me> |
Component: | [OLD] Library | Assignee: | SpanKY <vapier> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aklhfex, eugene.shalygin, Sander.Sweers |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/tmp/portage/net-libs/libqmi-1.0.0/temp/build.log
fixed libqmi ebuild |
Description
Flo Gravo
2013-04-03 09:10:29 UTC
Created attachment 344170 [details]
/var/tmp/portage/net-libs/libqmi-1.0.0/temp/build.log
what is `python` ? i'm assuming it's python3 eselect python list Available Python interpreters: [1] python2.7 [2] python3.2 * So, Yes! (In reply to comment #3) > eselect python list > Available Python interpreters: > [1] python2.7 > [2] python3.2 * > > So, Yes! I can confirm that the build fails when using python 3.2. The workaround is as easy as setting the python version to 2.x during compile and then resetting it to what it was before. Created attachment 346644 [details]
fixed libqmi ebuild
same here, I was able to build it with python 2 only. additionally I have modified the ebuild to incorporate this fact. Comment on attachment 346644 [details]
fixed libqmi ebuild
please post diffs, not entire files
should be all set now in the tree; thanks for the report! Commit message: Fix building with python-3 http://sources.gentoo.org/net-libs/libqmi/files/libqmi-1.0.0-python3.patch?rev=1.1 http://sources.gentoo.org/net-libs/libqmi/libqmi-1.0.0.ebuild?r1=1.2&r2=1.3 |