Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#49782 closed defect (duplicate)

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

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

: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 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 -j4 -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

Attachments (1)

main.log (33.8 KB) - added by athenafma@… 8 years ago.
log file for port cctools

Download all attachments as: .zip

Change History (8)

Changed 8 years ago by athenafma@…

Attachment: main.log added

log file for port cctools

comment:1 Changed 8 years ago by tomjobbins@…

Came here to report the same issue.

OSX 10.11.1, with latest XCode (7.1.1)

This is blocking me from installing gcc-4.5 which I need for a project, so any help would be much appreciated.

comment:2 Changed 8 years ago by Baaaaam (Mouginot Baptiste)

I got the same issue with gcc4.9 and Xcode 7.1.1

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

Cc: mouginot.baptiste@… added

Cc Me!

comment:4 Changed 8 years ago by bharat.raj.agrawal@…

Temporary fix: change file /opt/local/include/libunwind.h

change line number 17 to #include <libunwind/config.h>

Last edited 8 years ago by bharat.raj.agrawal@… (previous) (diff)

comment:5 Changed 8 years ago by Baaaaam (Mouginot Baptiste)

I have just downgrade to Xcode 7.1... which solve the problem also :)

comment:6 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… added
Description: modified (diff)
Keywords: cctools removed
Resolution: duplicate
Status: newclosed
Summary: cctools failed at OSX 10.11cctools @870: fatal error: '__libunwind_config.h' file not found

Duplicate of #49781.

comment:7 Changed 8 years ago by huanfu1029@…

Cc: huanfu1029@… added

Cc Me!

Note: See TracTickets for help on using tickets.