LINUX.ORG.RU

Сообщения dipol

 

Ошибка сборка Samba4 (Ubuntu 18.04)

Форум — Linux-install

Кто может подсказать что сломано или чего не хватает? Пробовал разные собрать 4.13/4.12/4.11 ошибки одни и теже…

./configure проходит нормально, а вот make - вылетает.

make 4.1
ld - GNU ld (GNU Binutils for Ubuntu) 2.30
rpcgen (Ubuntu GLIBC 2.27-3ubuntu1.2) 2.27
Python 3.8.6
gcc 9

Запустил так:

#make –trace V=9

Выхлоп:

...
20:58:51 envhash 08eb270160b814a8808d94b0737f8d0b [[], ['/usr/bin/python3']]
20:58:51 envhash 08eb270160b814a8808d94b0737f8d0b [[], ['/usr/bin/python3']]
20:58:51 envhash 08eb270160b814a8808d94b0737f8d0b [[], ['/usr/bin/python3']]
20:58:51 envhash 08eb270160b814a8808d94b0737f8d0b [[], ['/usr/bin/python3']]
20:58:51 envhash 08eb270160b814a8808d94b0737f8d0b [[], ['/usr/bin/python3']]
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash 12c938e66de7972718bad1927d597103 [[], [], []]
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash 12c938e66de7972718bad1927d597103 [[], [], []]
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 envhash d751713988987e9331980363e24189ce []
20:58:51 task task 
	{task 140103478215176: nfs41acl-h nfs41acl.x -> nfs41acl.h} must run: it was never run before or the task code changed
[363/379] Compiling source3/modules/nfs41acl.x
20:58:51 runner ' rpcgen -h ../../source3/modules/nfs41acl.x > source3/modules/nfs41acl.h '
20:58:51 runner_env kw={'cwd': /media/data/src/samba-4.13.0/bin/default, 'env': None, 'shell': True}
/usr/bin/ld:../../source3/modules/nfs41acl.x: file format not recognized; treating as linker script
/usr/bin/ld:../../source3/modules/nfs41acl.x:1: syntax error
collect2: error: ld returned 1 exit status
rpcgen: препроцессор Си завершился не успешно с выходным кодом 1

Waf: Leaving directory `/media/data/src/samba-4.13.0/bin/default'
  File "./buildtools/bin/waf", line 166, in <module>
    Scripting.waf_entry_point(cwd, VERSION, wafdir[0])
  File "/media/data/src/samba-4.13.0/third_party/waf/waflib/Scripting.py", line 159, in waf_entry_point
    run_commands()
  File "/media/data/src/samba-4.13.0/third_party/waf/waflib/Scripting.py", line 255, in run_commands
    ctx = run_command(cmd_name)
  File "/media/data/src/samba-4.13.0/third_party/waf/waflib/Scripting.py", line 239, in run_command
    ctx.execute()
  File "/media/data/src/samba-4.13.0/third_party/waf/waflib/Scripting.py", line 582, in execute
    return execute_method(self)
  File "/media/data/src/samba-4.13.0/third_party/waf/waflib/Build.py", line 231, in execute
    self.execute_build()
  File "/media/data/src/samba-4.13.0/third_party/waf/waflib/Build.py", line 251, in execute_build
    self.compile()
  File "/media/data/src/samba-4.13.0/third_party/waf/waflib/Tools/errcheck.py", line 192, in check_compile
    ret = self.orig_compile()
  File "/media/data/src/samba-4.13.0/third_party/waf/waflib/Build.py", line 355, in compile
    raise Errors.BuildError(self.producer.error)
  File "/media/data/src/samba-4.13.0/third_party/waf/waflib/Errors.py", line 46, in __init__
    WafError.__init__(self, self.format_error())
 
Build failed
 -> task in 'nfs41acl-h' failed with exit status 1: 
	{task 140103478215176: nfs41acl-h nfs41acl.x -> nfs41acl.h}
' rpcgen -h ../../source3/modules/nfs41acl.x > source3/modules/nfs41acl.h '
  File './buildtools/bin/waf', line 166, in <module>
	Scripting.waf_entry_point(cwd, VERSION, wafdir[0])
  File '/media/data/src/samba-4.13.0/third_party/waf/waflib/Scripting.py', line 171, in waf_entry_point
	Logs.error(e.msg)
make: *** [Makefile:7: all] Ошибка 1

на всякий случай выхлоп./configure - https://ufile.io/xd08styb

Подскажите что поломалось? Куда рыть что бы исправить? Спасибо.

 

dipol
()

RSS подписка на новые темы