[MacPorts] #49781: cctools fails to build

MacPorts noreply at macports.org
Mon Nov 23 11:30:53 PST 2015


#49781: cctools fails to build
---------------------+--------------------------------
 Reporter:  email@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.3.4
 Keywords:           |       Port:  cctools
---------------------+--------------------------------
 cctools fails to install/build (OSX 10.11.1, XCode 7.1.1). I get:


 {{{
 :info:build dsymutil ./indr.NEW
 :info:build dsymutil ./nm.NEW
 :info:build dsymutil ./libtool.NEW
 :info:build /usr/bin/clang -Os -std=gnu99 -arch x86_64
 -I/opt/local/libexec/llvm-3.7/include  -DNDEBUG -D_GNU_SOURCE
 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3
 -g -fno-common  -nostdlib -r \
 :info:build             -o ./nmedit.private.o \
 :info:build             ./nmedit.o -L./../libstuff -lstuff
 :info:build /usr/bin/clang -Os -std=gnu99 -arch x86_64
 -I/opt/local/libexec/llvm-3.7/include  -DNDEBUG -D_GNU_SOURCE
 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3
 -g -fno-common  -nostdlib -r \
 :info:build             -o ./segedit.private.o \
 :info:build             ./segedit.o -L./../libstuff -lstuff
 :info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT
 -g -Wall -I. -I./../include -I. -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.7/include
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./cmpdylib.o cmpdylib.c
 :info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT
 -g -Wall -I. -I./../include -I. -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.7/include
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./pagestuff.o pagestuff.c
 :info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT
 -g -Wall -I. -I./../include -I. -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.7/include
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./redo_prebinding.o
 redo_prebinding.c
 :info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT
 -g -Wall -I. -I./../include -I. -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.7/include
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./seg_addr_table.o
 seg_addr_table.c
 :info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT
 -g -Wall -I. -I./../include -I. -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.7/include
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./check_dylib.o
 check_dylib.c
 :info:build /usr/bin/clang -Os -std=gnu99 -arch x86_64
 -I/opt/local/libexec/llvm-3.7/include  -DNDEBUG -D_GNU_SOURCE
 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3
 -g -fno-common  -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -o ./nmedit.NEW \
 :info:build             ./nmedit.private.o
 :info:build /usr/bin/clang -Os -std=gnu99 -arch x86_64
 -I/opt/local/libexec/llvm-3.7/include  -DNDEBUG -D_GNU_SOURCE
 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3
 -g -fno-common  -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -o ./segedit.NEW \
 :info:build             ./segedit.private.o
 :info:build dsymutil ./segedit.NEW
 :info:build dsymutil ./nmedit.NEW
 :info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT
 -g -Wall -I. -I./../include -I. -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.7/include
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./seg_hack.o seg_hack.c
 :info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT
 -g -Wall -I. -I./../include -I. -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.7/include
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./install_name_tool.o
 install_name_tool.c
 :info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT
 -g -Wall -I. -I./../include -I. -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.7/include
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./codesign_allocate.o
 codesign_allocate.c
 :info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT
 -g -Wall -I. -I./../include -I. -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.7/include
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c -o ./ctf_insert.o
 ctf_insert.c
 :info:build In file included from ./PruneTrie.cpp:26:
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction/MachOFileAbstraction.hpp:37:
 :info:build /opt/local/include/libunwind.h:17:10: fatal error:
 '__libunwind_config.h' file not found
 :info:build #include <__libunwind_config.h>
 :info:build          ^
 :info:build /usr/bin/clang -Os -std=gnu99 -Os -DLTO_SUPPORT -DTRIE_SUPPORT
 -g -Wall -I. -I./../include -I. -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include
 -I/opt/local/include -arch x86_64 -I/opt/local/libexec/llvm-3.7/include
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -O3  -g -fno-common  -c \
 :info:build             -o ./libredo_prebinding.o ./redo_prebinding.c
 -DLIBRARY_API
 :info:build 1 error generated.
 :info:build make[1]: *** [PruneTrie.o] Error 1
 :info:build make[1]: *** Waiting for unfinished jobs....
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/misc'
 :info:build make: *** [all] Error 1
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870"
 && /usr/bin/make -j8 -w all RC_OS="macos" RC_ProjectSourceVersion=870
 USE_DEPENDENCY_FILE=NO BUILD_DYLIBS=NO CC="/usr/bin/clang -Os -std=gnu99"
 CXX="/usr/bin/clang++ -Os" CXXLIB="-stdlib=libc++" TRIE=-DTRIE_SUPPORT
 RC_ARCHS="x86_64" SDK="-I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/abstraction
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/../ld64-242/src/other
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-870/include"
 LTO=-DLTO_SUPPORT RC_CFLAGS="-arch x86_64 `llvm-config-mp-3.7 --cflags`"
 LLVM_MC="llvm-mc-mp-3.7"
 :info:build Exit code: 2
 :error:build org.macports.build for port cctools returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 92020 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 cctools:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :error:build Failed to install cctools
 :debug:build Registry error: m4 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 cctools for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/main.log
 }}}

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


More information about the macports-tickets mailing list