[MacPorts] #50176: Error: org.macports.build for port ld64-latest returned: command execution failed

MacPorts noreply at macports.org
Wed Dec 30 04:35:45 PST 2015


#50176: Error: org.macports.build for port ld64-latest returned: command execution
failed
---------------------------+------------------------
  Reporter:  fortran_cc@…  |      Owner:  jeremyhu@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.4
Resolution:                |   Keywords:
      Port:  ld64-latest   |
---------------------------+------------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => jeremyhu@…
 * port:   => ld64-latest


Old description:

> sudo port upgrade outdated  which worked without any problem in the past
> 2 years, failed every time recently.
>
> The errors are
> --->  Computing dependencies for ld64-latest
> --->  Building ld64-latest
> Error: org.macports.build for port ld64-latest returned: command
> execution failed
> Please see the log file for port ld64-latest for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/main.log
> Error: Unable to upgrade port: 1
>

> ------
> The
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/main.log
> file contains the following error log
>
> version:1
> :msg:main --->  Computing dependencies for ld64-latest:info:main
> .:debug:main ld64-latest has no conflicts
> :debug:main Searching for dependency: dyld-headers
> :debug:main Found Dependency: receipt exists for dyld-headers
> :debug:main Searching for dependency: libmacho-headers
> :debug:main Found Dependency: receipt exists for libmacho-headers
> :debug:main Searching for dependency: cctools
> :debug:main Found Dependency: receipt exists for cctools
> :debug:main Searching for dependency: clang-3.4
> :debug:main Found Dependency: receipt exists for clang-3.4
> :debug:main Searching for dependency: libcxx
> :debug:main Found Dependency: receipt exists for libcxx
> :debug:main Searching for dependency: llvm-3.4
> :debug:main Found Dependency: receipt exists for llvm-3.4
> :msg:main
> :debug:main Executing org.macports.main (ld64-latest)
> :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 Skipping completed org.macports.archivefetch (ld64-latest)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.fetch (ld64-latest)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.checksum (ld64-latest)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.extract (ld64-latest)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (ld64-latest)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.configure (ld64-latest)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:build build phase started at Tue Dec 29 19:44:21 CST 2015
> :notice:build --->  Building ld64-latest
> :debug:build Executing proc-pre-org.macports.build-build-0
> :debug:build Executing org.macports.build (ld64-latest)
> :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_devel_ld64/ld64-latest/work/.CC_PRINT_OPTIONS'
> CPATH='/opt/local/include'
> LIBRARY_PATH='/opt/local/lib'
> MACOSX_DEPLOYMENT_TARGET='10.7'
> :debug:build Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/work/ld64-253.3"
> && /usr/bin/make -j5 -w all CC="/opt/local/bin/clang-mp-3.4"
> CXX="/opt/local/bin/clang++-mp-3.4" OTHER_CPPFLAGS="-I/opt/local/include"
> OTHER_CFLAGS="-Os -arch x86_64" OTHER_CXXFLAGS="-Os -std=c++11
> -stdlib=libc++ -arch x86_64" OTHER_LDFLAGS="-L/opt/local/lib
> -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64"
> RC_SUPPORTED_ARCHS="armv6 armv7 i386 x86_64" LLVM_CONFIG=/opt/local/bin
> /llvm-config-mp-3.4'
> :debug:build Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/work/ld64-253.3"
> && /usr/bin/make -j5 -w all CC="/opt/local/bin/clang-mp-3.4"
> CXX="/opt/local/bin/clang++-mp-3.4" OTHER_CPPFLAGS="-I/opt/local/include"
> OTHER_CFLAGS="-Os -arch x86_64" OTHER_CXXFLAGS="-Os -std=c++11
> -stdlib=libc++ -arch x86_64" OTHER_LDFLAGS="-L/opt/local/lib
> -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64"
> RC_SUPPORTED_ARCHS="armv6 armv7 i386 x86_64" LLVM_CONFIG=/opt/local/bin
> /llvm-config-mp-3.4
> :info:build make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/work/ld64-253.3'
> :info:build /opt/local/bin/clang++-mp-3.4 -Os -Os -std=c++11
> -stdlib=libc++ -arch x86_64 -I/opt/local/libexec/llvm-3.4/include
> -DLTO_SUPPORT -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers
> -I/opt/local/include  -c -o src/other/ObjectDump.o
> src/other/ObjectDump.cpp
> :info:build /opt/local/bin/clang-mp-3.4 -Os -Os -arch x86_64
> -I/opt/local/libexec/llvm-3.4/include -DLTO_SUPPORT -Isrc/abstraction
> -Isrc/ld -Isrc/ld/parsers -I/opt/local/include  -c -o src/ld/debugline.o
> src/ld/debugline.c
> :info:build /opt/local/bin/clang++-mp-3.4 -Os -Os -std=c++11
> -stdlib=libc++ -arch x86_64 -I/opt/local/libexec/llvm-3.4/include
> -DLTO_SUPPORT -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers
> -I/opt/local/include  -c -o src/ld/parsers/macho_relocatable_file.o
> src/ld/parsers/macho_relocatable_file.cpp
> :info:build /opt/local/bin/clang++-mp-3.4 -Os -Os -std=c++11
> -stdlib=libc++ -arch x86_64 -I/opt/local/libexec/llvm-3.4/include
> -DLTO_SUPPORT -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers
> -I/opt/local/include  -c -o src/ld/parsers/lto_file.o
> src/ld/parsers/lto_file.cpp
> :info:build /opt/local/bin/clang++-mp-3.4 -Os -Os -std=c++11
> -stdlib=libc++ -arch x86_64 -I/opt/local/libexec/llvm-3.4/include
> -DLTO_SUPPORT -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers
> -I/opt/local/include  -c -o src/other/dyldinfo.o src/other/dyldinfo.cpp
> :info:build dyld: Library not loaded: /opt/local/lib/libncurses.5.dylib
> :info:build   Referenced from: /opt/local/libexec/llvm-3.4/bin/clang++
> :info:build   Reason: no suitable image found.  Did find:
> :info:build     /usr/lib/libncurses.5.dylib: mach-o, but wrong
> architecture
> :info:build dyld: Library not loaded: /opt/local/lib/libncurses.5.dylib
> :info:build   Referenced from: /opt/local/libexec/llvm-3.4/bin/clang++
> :info:build   Reason: no suitable image found.  Did find:
> :info:build     /usr/lib/libncurses.5.dylib: mach-o, but wrong
> architecture
> :info:build dyld: Library not loaded: /opt/local/lib/libncurses.5.dylib
> :info:build   Referenced from: /opt/local/libexec/llvm-3.4/bin/clang++
> :info:build   Reason: no suitable image found.  Did find:
> :info:build     /usr/lib/libncurses.5.dylib: mach-o, but wrong
> architecture
> :info:build dyld: Library not loaded: /opt/local/lib/libncurses.5.dylib
> :info:build   Referenced from: /opt/local/libexec/llvm-3.4/bin/clang++
> :info:build   Reason: no suitable image found.  Did find:
> :info:build     /usr/lib/libncurses.5.dylib: mach-o, but wrong
> architecture
> :info:build dyld: Library not loaded: /opt/local/lib/libncurses.5.dylib
> :info:build   Referenced from: /opt/local/libexec/llvm-3.4/bin/clang
> :info:build   Reason: no suitable image found.  Did find:
> :info:build     /usr/lib/libncurses.5.dylib: mach-o, but wrong
> architecture
> :info:build make: *** [src/ld/parsers/macho_relocatable_file.o] Trace/BPT
> trap: 5
> :info:build make: *** Waiting for unfinished jobs....
> :info:build make: *** [src/other/dyldinfo.o] Trace/BPT trap: 5
> :info:build make: *** [src/ld/parsers/lto_file.o] Trace/BPT trap: 5
> :info:build make: *** [src/other/ObjectDump.o] Trace/BPT trap: 5
> :info:build make: *** [src/ld/debugline.o] Trace/BPT trap: 5
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/work/ld64-253.3'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/work/ld64-253.3"
> && /usr/bin/make -j5 -w all CC="/opt/local/bin/clang-mp-3.4"
> CXX="/opt/local/bin/clang++-mp-3.4" OTHER_CPPFLAGS="-I/opt/local/include"
> OTHER_CFLAGS="-Os -arch x86_64" OTHER_CXXFLAGS="-Os -std=c++11
> -stdlib=libc++ -arch x86_64" OTHER_LDFLAGS="-L/opt/local/lib
> -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64"
> RC_SUPPORTED_ARCHS="armv6 armv7 i386 x86_64" LLVM_CONFIG=/opt/local/bin
> /llvm-config-mp-3.4
> :info:build Exit code: 2
> :error:build org.macports.build for port ld64-latest returned: command
> execution failed
> :debug:build Error code: CHILDSTATUS 22383 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 ld64-latest:
> org.macports.install org.macports.build org.macports.destroot
> :notice:build Please see the log file for port ld64-latest for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/main.log

New description:

 sudo port upgrade outdated  which worked without any problem in the past 2
 years, failed every time recently.

 The errors are
 {{{
 --->  Computing dependencies for ld64-latest
 --->  Building ld64-latest
 Error: org.macports.build for port ld64-latest returned: command execution
 failed
 Please see the log file for port ld64-latest for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/main.log
 Error: Unable to upgrade port: 1
 }}}

--

Comment:

 Please "`sudo port clean ld64-latest`", then try again.

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


More information about the macports-tickets mailing list