[ebuild U ] media-libs/alsa-lib-1.0.27.1 [1.0.26-r1] USE="-alisp -debug -doc -python" PYTHON_SINGLE_TARGET="python2_7 (-python2_6%)" PYTHON_TARGETS="python2_7 (-python2_6%)" 0 kB Update to 1.0.27.2 compiles again on my machine. Reproducible: Always
Created attachment 354602 [details] build.log
Created attachment 354604 [details] emerge --info
[I] media-libs/alsa-lib Available versions: 1.0.26-r1 1.0.27.1 ~1.0.27.1-r1 ~1.0.27.2 {{abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_x86_32 abi_x86_64 abi_x86_x32 alisp debug doc python python_single_target_python2_6 python_single_target_python2_7 python_targets_python2_6 python_targets_python2_7}} Installed versions: 1.0.27.1(10:58:52 07/30/13)(python_single_target_python2_7 python_targets_python2_7 -alisp -debug -doc -python)
I can confirm this bug. Same USE flags and PYTHON_TARGETS as original poster.
hmm. I can't wrap my head around why it's working for some and some not but I can propably provide still solution. should be in mirrors in about hour. + 30 Jul 2013; Samuli Suominen <ssuominen@gentoo.org> alsa-lib-1.0.27.1.ebuild, + alsa-lib-1.0.27.2.ebuild: + Force use of correct python-config wrt #478802 by Frank Krömmelbein http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/alsa-lib/alsa-lib-1.0.27.1.ebuild?r1=1.5&r2=1.6
Still broken with USE=-python Looking at the differences between 1.0.26-r1 and 1.0.27.1 in the src_configure() i noticed the deletion of $(use_enable python) from econf command line. Readding the line fixed the problem on my pc.
Created attachment 354622 [details, diff] patch to readd the missing line patch to readd $(use_enable python) to econf
-> Reopen The problem still exist, even with the change from Samuli. Same error. I´ve found Bug #478812 https://bugs.gentoo.org/show_bug.cgi?id=478812 the comment 5 from "Coacher". Also my System Python version was magical switched to 3.2? After changing it back to 2.7 the alsa-lib i was able to compile this version. I´ll try later the patch provided by Bruno again with python 3.2. @Bruno What Python version did "eselect python list" shows as your system python version?
*** Bug 478812 has been marked as a duplicate of this bug. ***
(In reply to Frank Krömmelbein from comment #8) > -> Reopen > > The problem still exist, even with the change from Samuli. > Same error. > > I´ve found Bug #478812 https://bugs.gentoo.org/show_bug.cgi?id=478812 the > comment 5 from "Coacher". > > Also my System Python version was magical switched to 3.2? > > After changing it back to 2.7 the alsa-lib i was able to compile this > version. > > > I´ll try later the patch provided by Bruno again with python 3.2. > > > @Bruno > What Python version did > "eselect python list" shows as your system python version? Old versions of stage3 setted python2 as system python version, newer set python3. When I noticed it, I manually switched old installations to use python3, so on all the computers I use the result is: sargas ~ # eselect python list Available Python interpreters: [1] python2.7 [2] python3.2 * sargas ~ #
Thank you very much for this Info Bruno! So i changed my python version back to 3.2 and tried the small patch from Bruno Result: It compiles. So i would suggest to add this line to the Ebuild.
(In reply to Samuli Suominen from comment #5) I confirm this bug on hardened amd64. Pushed changes are not enough to build alsa-lib against python-3.2 which is the default in modern stage3 for some time.
(In reply to Bruno Redondi from comment #7) > Created attachment 354622 [details, diff] [details, diff] > patch to readd the missing line > > patch to readd $(use_enable python) to econf applied in tree + 30 Jul 2013; Samuli Suominen <ssuominen@gentoo.org> alsa-lib-1.0.27.1.ebuild: + Restore missing use_enable for python.
*** Bug 478844 has been marked as a duplicate of this bug. ***