Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#49781 closed defect (fixed)

cctools @870: fatal error: '__libunwind_config.h' file not found

Reported by: email@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: mndavidoff (Monte Davidoff), Baaaaam (Mouginot Baptiste), athenafma@…, huanfu1029@…
Port: cctools

Description

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

Change History (7)

comment:1 Changed 9 years ago by mndavidoff (Monte Davidoff)

I see the same failure on OS X 10.10.5 with XCode 7.1.1.

comment:2 Changed 9 years ago by mndavidoff (Monte Davidoff)

Cc: md14-macports@… added

Cc Me!

comment:3 Changed 9 years ago by Baaaaam (Mouginot Baptiste)

Cc: mouginot.baptiste@… added

Cc Me!

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: athenafma@… added; jeremyhu removed
Owner: changed from macports-tickets@… to jeremyhu@…
Summary: cctools fails to buildcctools @870: fatal error: '__libunwind_config.h' file not found

The Cc field requires complete email addresses.

Has duplicate #49782.

comment:5 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

Update and try again.

comment:6 Changed 9 years ago by Baaaaam (Mouginot Baptiste)

it works!!! thx for the quick fix !

comment:7 Changed 9 years ago by huanfu1029@…

Cc: huanfu1029@… added

Cc Me!

Note: See TracTickets for help on using tickets.