Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363071 - sys-libs/talloc errors out if dev-lang/python is not build with USE="threads"
Summary: sys-libs/talloc errors out if dev-lang/python is not build with USE="threads"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-11 10:58 UTC by Jason Stubbs
Modified: 2011-08-03 13:39 UTC (History)
2 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 Jason Stubbs 2011-04-11 10:58:34 UTC
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
Comment 1 Víctor Ostorga (RETIRED) gentoo-dev 2011-06-02 17:58:03 UTC
Fixed, thanks for the bug report
Comment 2 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2011-08-03 13:39:02 UTC
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.