Just need to specify the USE flag in talloc's deps as far as I can tell.. >>> Emerging (90 of 160) sys-libs/talloc-2.0.5 * talloc-2.0.5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: sys-libs/talloc-2.0.5 * Repository: gentoo * Maintainer: patrick@gentoo.org samba@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: sandbox >>> Unpacking source... >>> Unpacking talloc-2.0.5.tar.gz to /var/tmp/portage/sys-libs/talloc-2.0.5/work >>> Source unpacked in /var/tmp/portage/sys-libs/talloc-2.0.5/work >>> Preparing source in /var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5 ... CCFLAGS="-march=atom -Os -freorder-blocks -freorder-blocks-and-partition -falign-functions -falign-jumps -pipe" LINKFLAGS="-Wl,-O1 -Wl,--as-needed" "/var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5/buildtools/bin/waf" --prefix=/usr --libdir=/usr/lib64 --disable-python configure Traceback (most recent call last): File "/var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5/buildtools/bin/waf", line 157, in <module> import Scripting File "/var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5/buildtools/bin/.waf-1.5.19-64e3c2006c565edf6967cdbf2812184e/wafadmin/Scripting.py", line 5, in <module> import Utils,Configure,Build,Logs,Options,Environment,Task File "/var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5/buildtools/bin/.waf-1.5.19-64e3c2006c565edf6967cdbf2812184e/wafadmin/Build.py", line 8, in <module> import Runner,TaskGen,Node,Scripting,Utils,Environment,Task,Logs,Options File "/var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5/buildtools/bin/.waf-1.5.19-64e3c2006c565edf6967cdbf2812184e/wafadmin/Runner.py", line 5, in <module> import os,sys,random,time,threading,traceback File "/usr/lib64/python2.7/threading.py", line 6, in <module> import thread ImportError: No module named thread
Fixed, thanks for the bug report
Who about when overriding the ROOT environment variable, and building into a directory where python hasn't been built into? It would be nice not having python forced on you, just because it is needed doing the build process of a package. I build packages into a folder called destination, which I sync to my router with limited space, so python is not something I want there. Due to this, I cannot build talloc into that directory, without having python installed in there, even though I have installed python in my build environment.