Opened 10 years ago
Closed 5 years ago
#46597 closed defect (worksforme)
serf1 @1.3.4: /usr/bin/ld: -i argument: nstall_name must have a ':' between its symbol names
Reported by: | saab99@… | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | serf1 |
Description (last modified by mf2k (Frank Schima))
Hi !
Those ports not build under Mac OS Tiger 10.4.11
mikhail-vlasovs-power-mac-g5:/ root# port install serf1 ---> Computing dependencies for serf1 ---> Building serf1 Error: org.macports.build for port serf1 returned: command execution failed 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 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port serf1 failed mikhail-vlasovs-power-mac-g5:/ root#
In log i see
:info:build scons: `serf-1.pc' is up to date. :info:build /usr/bin/ld: -i argument: nstall_name must have a ':' between its symbol names :info:build collect2: ld returned 1 exit status :info:build scons: *** [libserf-1.1.3.4.dylib] Error 1 :info:build scons: building terminated because of errors. :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_r elease_tarballs_ports_www_serf1/serf1/work/serf-1.3.4" && /opt/local/bin/scons -j2 APR=/opt/local APU=/opt/local OP ENSSL=/opt/local PREFIX=/opt/local CC=/opt/local/bin/gcc-apple-4.2 CPPFLAGS="-I/opt/local/include" CFLAGS="-Os -arc h ppc" LINKFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc" CC="MACOSX_DEPLOYMENT_TARGET=10.4 /o pt/local/bin/gcc-apple-4.2" :info:build Exit code: 2 :error:build org.macports.build for port serf1 returned: command execution failed :debug:build Error code: CHILDSTATUS 17320 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 :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_serf 1/serf1/main.log
Change History (4)
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | serf1 removed |
Owner: | changed from macports-tickets@… to blair@… |
Port: | serf1 added |
Summary: | Serf1 → serf1 @1.3.4: /usr/bin/ld: -i argument: nstall_name must have a ':' between its symbol names |
comment:2 Changed 9 years ago 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
comment:3 Changed 5 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | blair deleted |
Status: | new → assigned |
comment:4 Changed 5 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
No response from reporter and another user reports success. Please attach a clean main.log and re-open the ticket is there is still a problem here.
Note: See
TracTickets for help on using
tickets.
This was not a clean build. Please clean and try again, then attach the new main.log if it fails again.
Also, I see you're running MacPorts as root. This has been linked with some problems in the past. Please instead run MacPorts as your normal administrative user using
sudo
.