#46605 closed defect (duplicate)
On PPC Tiger, Mac OS X 10.4.11, llvm-3.4 does not build because of two missing declarationstwo
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | _CS_DARWIN_USER_TEMP_DIR, _CS_DARWIN_USER_CACHE_DIR, Path.cpp | Cc: | jeremyhu (Jeremy Huddleston Sequoia) |
Port: | llvm-3.4 |
Description
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
Attachments (1)
Change History (3)
Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
#39849, already fixed.
comment:2 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
llvm-3.3 still has the issue, which is why the other ticket is still open.
Note: See
TracTickets for help on using
tickets.
main.log