[MacPorts] #34110: cctools compilation error: macho-/prune_trie.h not found
MacPorts
noreply at macports.org
Wed Apr 18 04:50:15 PDT 2012
#34110: cctools compilation error: macho-/prune_trie.h not found
------------------------------------------+---------------------------------
Reporter: michelle.lynn.gill@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: devel | Port: cctools
------------------------------------------+---------------------------------
While compiling cctools, which was recently added as a gcc-4* dependency
(gcc-44 and gcc-45, in my case), I encountered the following error:
{{{
:info:build /usr/bin/clang -Os -DLTO_SUPPORT -DTRIE_SUPPORT -g -Wall -Wno-
format-nonliteral -I. -I./../include -I. -arch x86_64
-I/Volumes/Files/macports/libexec/llvm-3.0/include -DNDEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O3
-g -fno-common -c -o ./strip.o strip.c
:info:build strip.c:50:10: fatal error: 'mach-o/prune_trie.h' file not
found
:info:build #include <mach-o/prune_trie.h>
:info:build ^
:info:build 1 error generated.
:info:build make[1]: *** [strip.o] Error 1
:info:build make[1]: *** Waiting for unfinished jobs....
:info:build 1 warning generated.
:info:build make[1]: Leaving directory
`/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-822/misc'
:info:build make: *** [all] Error 1
:info:build make: Leaving directory
`/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-822'
:info:build shell command " cd
"/Volumes/Files/macports/var/macports/build/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/work/cctools-822"
&& /usr/bin/make -j4 -w all RC_OS="macos" USE_DEPENDENCY_FILE=NO
BUILD_DYLIBS=NO LTO=-DLTO_SUPPORT CC="/usr/bin/clang"
CXX="/usr/bin/clang++" RC_CFLAGS="-arch x86_64 `llvm-config-mp-3.0
--cflags`" LLVM_MC="llvm-mc-mp-3.0" TRIE=-DTRIE_SUPPORT " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for cctools):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Log for cctools is at:
/Volumes/Files/macports/var/macports/logs/_Volumes_Files_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/main.log
}}}
From a brief search, it seems this file is provided by the ld64 port,
which compiled successfully immediately before the cctools compilation,
thus I believe the error is in cctools.
I'm using MacPorts 2.0.4, Mac OS X 10.7.3, and XCode 4.2.1. I realize this
isn't the latest version of XCode. I have been waiting to update, as I've
noticed a lot of discussion about newer versions on the mailing list.
Happy to update if this will fix the issue, though.
--
Ticket URL: <https://trac.macports.org/ticket/34110>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list