Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 585214

Summary: net-fs/samba-4.2.12: Fails to configure
Product: Gentoo Linux Reporter: Maciej Piechotka <uzytkownik2>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Maciej Piechotka 2016-06-06 19:16:57 UTC
Checking for header sys/utsname.h        : yes 
Checking uname sysname type              : Traceback (most recent call last):
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12/buildtools/bin/waf", line 76, in <module>
    Scripting.prepare(t, cwd, VERSION, wafdir)
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12/buildtools/wafadmin/Scripting.py", line 145, in prepare
    prepare_impl(t, cwd, ver, wafdir)
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12/buildtools/wafadmin/Scripting.py", line 135, in prepare_impl
    main()
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12-abi_x86_32.x86/wscript", line 330, in main
    wildcard_main(wildcard_cmd)
  File "./buildtools/wafsamba/samba_wildcard.py", line 110, in wildcard_main
    fun(ctx)
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12/buildtools/wafadmin/Scripting.py", line 241, in configure
    conf.sub_config([''])
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12/buildtools/wafadmin/Configure.py", line 237, in sub_config
    self.recurse(k, name='configure')
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12/buildtools/wafadmin/Utils.py", line 634, in recurse
    f(self)
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12-abi_x86_32.x86/wscript", line 98, in configure
    conf.RECURSE('lib/replace')
  File "./buildtools/wafsamba/samba_utils.py", line 470, in RECURSE
    return ctx.sub_config(relpath)
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12/buildtools/wafadmin/Configure.py", line 237, in sub_config
    self.recurse(k, name='configure')
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12/buildtools/wafadmin/Utils.py", line 634, in recurse
    f(self)
  File "./buildtools/wafsamba/samba_utils.py", line 48, in runonce_wrapper
    ret = function(*args)
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12-abi_x86_32.x86/lib/replace/wscript", line 28, in configure
    conf.RECURSE('buildtools/wafsamba')
  File "./buildtools/wafsamba/samba_utils.py", line 470, in RECURSE
    return ctx.sub_config(relpath)
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12/buildtools/wafadmin/Configure.py", line 237, in sub_config
    self.recurse(k, name='configure')
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12/buildtools/wafadmin/Utils.py", line 634, in recurse
    f(self)
  File "./buildtools/wafsamba/samba_utils.py", line 48, in runonce_wrapper
    ret = function(*args)
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12-abi_x86_32.x86/lib/replace/../../buildtools/wafsamba/wscript", line 290, in configure
    conf.CHECK_UNAME()
  File "./buildtools/wafsamba/samba_conftests.py", line 466, in CHECK_UNAME
    msg="Checking uname %s type" % v):
  File "./buildtools/wafsamba/samba_autoconf.py", line 446, in CHECK_CODE
    conf.COMPOUND_END(conf.env[define])
  File "./buildtools/wafsamba/samba_autoconf.py", line 70, in COMPOUND_END
    p(result)
  File "/var/tmp/portage/net-fs/samba-4.2.12/work/samba-4.2.12/buildtools/wafadmin/Configure.py", line 299, in check_message_2
    self.log.write(sr)
TypeError: expected a string or other character buffer object


Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Comment 1 Maciej Piechotka 2016-06-06 19:20:40 UTC
When I set python 2 I got the same error.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2016-06-06 20:07:42 UTC
Please attach all the usual stuff:  full build.log, emerge --info , etc.
Comment 3 Alex Xu (Hello71) 2016-06-09 14:50:14 UTC
please attach emerge --info and full build.log.