[MacPorts] #46605: On PPC Tiger, Mac OS X 10.4.11, llvm-3.4 does not build because of two missing declarationstwo

MacPorts noreply at macports.org
Sun Jan 18 02:44:21 PST 2015


#46605: On PPC Tiger, Mac OS X 10.4.11, llvm-3.4 does not build because of two
missing declarationstwo
-------------------------------------------------+-------------------------
 Reporter:  Peter_Dyballa@…                      |      Owner:  macports-
     Type:  defect                               |  tickets@…
 Priority:  Normal                               |     Status:  new
Component:  ports                                |  Milestone:
 Keywords:  _CS_DARWIN_USER_TEMP_DIR,            |    Version:  2.3.3
  _CS_DARWIN_USER_CACHE_DIR, Path.cpp            |       Port:  llvm-3.4
-------------------------------------------------+-------------------------
 I tried to upgrade llvm-3.0, which was reported as outdated, but then port
 tells me {{{--->  clang-3.0 is replaced by clang-3.4}}} so it started to
 build clang-3.4 – and failed:

 {{{
 llvm[1]: Compiling Path.cpp for Release+Debug+Asserts build
 if  /opt/local/bin/g++-apple-4.2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/Support
 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -Os  -g -fvisibility-inlines-hidden -fno-exceptions
 -fno-common -Woverloaded-virtual -Wcast-qual -pipe -Os -arch ppc
 -I/opt/local/include -mmacosx-version-min=10.4 -Wall -W -Wno-unused-
 parameter -Wwrite-strings -Wno-missing-field-initializers -c -MMD -MP -MF
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/Support/Release+Debug+Asserts/Path.d.tmp"
 -MT
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/Support/Release+Debug+Asserts/Path.o"
 -MT
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/Support/Release+Debug+Asserts/Path.d"
 Path.cpp -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/Support/Release+Debug+Asserts/Path.o
 ; \
         then /bin/mv -f
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/Support/Release+Debug+Asserts/Path.d.tmp"
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/Support/Release+Debug+Asserts/Path.d";
 else /bin/rm
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/Support/Release+Debug+Asserts/Path.d.tmp";
 exit 1; fi
 Path.cpp: In function 'void llvm::sys::path::system_temp_directory(bool,
 llvm::SmallVectorImpl<char>&)':
 Path.cpp:512: error: '_CS_DARWIN_USER_TEMP_DIR' was not declared in this
 scope
 Path.cpp:513: error: '_CS_DARWIN_USER_CACHE_DIR' was not declared in this
 scope
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/Makefile.rules:1493:
 recipe for target
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/Support/Release+Debug+Asserts/Path.o'
 failed
 gmake[1]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/Support/Release+Debug+Asserts/Path.o]
 Error 1
 gmake[1]: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/Support'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/Makefile.rules:862:
 recipe for target 'all' failed
 gmake: *** [all] Error 1
 gmake: Leaving directory
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src"
 && /opt/local/bin/gmake -w all
 Exit code: 2
 Error: org.macports.build for port llvm-3.4 returned: command execution
 failed
 }}}

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


More information about the macports-tickets mailing list