Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge net-fs/samba-4.5.5 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1771
Location: PB, Germany

PostPosted: Fri Feb 17, 2017 8:36 am    Post subject: [SOLVED] emerge net-fs/samba-4.5.5 fails Reply with quote

I can't emerge net-fs/samba-4.5.5:
Code:
Checking for header sys/utsname.h        : yes
Checking uname sysname type              : Traceback (most recent call last):
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/buildtools/bin/waf", line 76, in <module>
    Scripting.prepare(t, cwd, VERSION, wafdir)
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Scripting.py", line 145, in prepare
    prepare_impl(t, cwd, ver, wafdir)
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Scripting.py", line 135, in prepare_impl
    main()
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5-abi_x86_32.x86/wscript", line 355, 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.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Scripting.py", line 241, in configure
    conf.sub_config([''])
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Configure.py", line 237, in sub_config
    self.recurse(k, name='configure')
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Utils.py", line 656, in recurse
    f(self)
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5-abi_x86_32.x86/wscript", line 106, in configure
    conf.RECURSE('lib/replace')
  File "./buildtools/wafsamba/samba_utils.py", line 451, in RECURSE
    return ctx.sub_config(relpath)
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Configure.py", line 237, in sub_config
    self.recurse(k, name='configure')
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Utils.py", line 656, in recurse
    f(self)
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Utils.py", line 743, in wrap
    ret = fun(k)
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5-abi_x86_32.x86/lib/replace/wscript", line 28, in configure
    conf.RECURSE('buildtools/wafsamba')
  File "./buildtools/wafsamba/samba_utils.py", line 451, in RECURSE
    return ctx.sub_config(relpath)
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Configure.py", line 237, in sub_config
    self.recurse(k, name='configure')
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Utils.py", line 656, in recurse
    f(self)
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Utils.py", line 743, in wrap
    ret = fun(k)
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5-abi_x86_32.x86/lib/replace/../../buildtools/wafsamba/wscript", line 308, in configure
    conf.CHECK_UNAME()
  File "./buildtools/wafsamba/samba_conftests.py", line 449, 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 69, in COMPOUND_END
    p(result)
  File "/var/tmp/portage/net-fs/samba-4.5.5/work/samba-4.5.5/third_party/waf/wafadmin/Configure.py", line 299, in check_message_2
    self.log.write(sr)
TypeError: expected a string or other character buffer object
Code:
 # eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Code:
# ls -al /usr/bin/python
lrwxrwxrwx 1 root root 13 Jan 30 14:16 /usr/bin/python -> python-exec2c*

I switched to both versions 2.7.12 and 3.4.5, but samba fails equally on both.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770


Last edited by Massimo B. on Fri Feb 17, 2017 11:33 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30913
Location: here

PostPosted: Fri Feb 17, 2017 10:46 am    Post subject: Reply with quote

You can post emerge --info and emerge -pv =net-fs/samba-4.5.5?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1771
Location: PB, Germany

PostPosted: Fri Feb 17, 2017 11:33 am    Post subject: Reply with quote

Now it was building with python-2.7.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum