[MacPorts] #46597: serf1 @1.3.4: /usr/bin/ld: -i argument: nstall_name must have a ':' between its symbol names

MacPorts noreply at macports.org
Mon Jan 25 15:51:14 PST 2016


#46597: serf1 @1.3.4: /usr/bin/ld: -i argument: nstall_name must have a ':' between
its symbol names
-----------------------+---------------------
  Reporter:  saab99@…  |      Owner:  blair@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:            |   Keywords:
      Port:  serf1     |
-----------------------+---------------------

Comment (by halilsen@…):

 I have the same problem. While I was trying to install subversion,
 MacPorts gave the following error:


 {{{
 ~$ sudo port install subversion
 --->  Computing dependencies for subversion
 --->  Dependencies to be installed: serf1
 --->  Building serf1
 Error: org.macports.build for port serf1 returned: command execution
 failed
 Error: Failed to install serf1
 Please see the log file for port serf1 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/main.log
 Error: The following dependencies were not installed: serf1
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port subversion failed
 }}}


 Then I made a successful selfupdate and upgraded the outdated ports and
 then run the following command
 {{{
 sudo port clean --all installed
 }}}

 However, I am still getting the same error. '''Should I open a new ticket
 or this reply is sufficient?''' And are there any workarounds? Because I
 need to install subversion.

 The main.log is as follows:

 {{{
 version:1
 :debug:main Attempting ln -sf
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/serf1/work
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 503
 :debug:main Executing org.macports.main (serf1)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.archivefetch (serf1)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.fetch (serf1)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (serf1)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.extract (serf1)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.patch (serf1)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.configure (serf1)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:build build phase started at Tue Jan 26 00:37:39 CET 2016
 :notice:build --->  Building serf1
 :debug:build Executing org.macports.build (serf1)
 :debug:build Environment:
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.11'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.4"
 && /opt/local/bin/scons -j4 APR=/opt/local APU=/opt/local
 OPENSSL=/opt/local PREFIX=/opt/local CC=/usr/bin/clang
 CPPFLAGS="-I/opt/local/include" CFLAGS="-Os -arch x86_64"
 LINKFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64"
 CC="MACOSX_DEPLOYMENT_TARGET=10.11 /usr/bin/clang"'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.4"
 && /opt/local/bin/scons -j4 APR=/opt/local APU=/opt/local
 OPENSSL=/opt/local PREFIX=/opt/local CC=/usr/bin/clang
 CPPFLAGS="-I/opt/local/include" CFLAGS="-Os -arch x86_64"
 LINKFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64"
 CC="MACOSX_DEPLOYMENT_TARGET=10.11 /usr/bin/clang"
 :info:build scons: Reading SConscript files ...
 :info:build ValueError: insecure string pickle:
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.4/SConstruct",
 line 151:
 :info:build     CPPPATH=['.', ],
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Environment.py",
 line 1003:
 :info:build     apply_tools(self, tools, toolpath)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Environment.py",
 line 107:
 :info:build     env.Tool(tool)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Environment.py",
 line 1811:
 :info:build     tool(self)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Tool/__init__.py",
 line 183:
 :info:build     self.generate(env, *args, **kw)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Tool/default.py",
 line 41:
 :info:build     SCons.Tool.Tool(t)(env)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Tool/__init__.py",
 line 183:
 :info:build     self.generate(env, *args, **kw)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Tool/gcc.py",
 line 58:
 :info:build     version = detect_version(env, env['CC'])
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Tool/gcc.py",
 line 76:
 :info:build     stdout = subprocess.PIPE)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/scons-2.3.4/SCons/Action.py",
 line 676:
 :info:build     return subprocess.Popen(cmd, **kw)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 line 710:
 :info:build     errread, errwrite)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 line 1334:
 :info:build     child_exception = pickle.loads(data)
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.4"
 && /opt/local/bin/scons -j4 APR=/opt/local APU=/opt/local
 OPENSSL=/opt/local PREFIX=/opt/local CC=/usr/bin/clang
 CPPFLAGS="-I/opt/local/include" CFLAGS="-Os -arch x86_64"
 LINKFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64"
 CC="MACOSX_DEPLOYMENT_TARGET=10.11 /usr/bin/clang"
 :info:build Exit code: 2
 :error:build org.macports.build for port serf1 returned: command execution
 failed
 :debug:build Error code: CHILDSTATUS 35921 2
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "portbuild::build_main org.macports.build"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 :info:build Warning: targets not executed for serf1: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 :error:build Failed to install serf1
 :debug:build Registry error: serf1 not registered as installed & active.
     invoked from within
 "registry_active $subport"
     invoked from within
 "$workername eval registry_active \$subport"
 :notice:build Please see the log file for port serf1 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/main.log
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/46597#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list