Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#44320 closed defect (wontfix)

clang-3.4 fails to build on PowerPC 10.5.8

Reported by: berg-michael (Michael Berg) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: ballapete (Peter "Pete" Dyballa), dgonyier (Dwaine Gonyier)
Port: clang-3.4

Description

What happens:

 sudo port install clang-3.4
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Computing dependencies for clang-3.4
--->  Fetching archive for clang-3.4
--->  Attempting to fetch clang-3.4-3.4.2_1+analyzer.darwin_9.ppc.tbz2 from http://packages.macports.org/clang-3.4
--->  Attempting to fetch clang-3.4-3.4.2_1+analyzer.darwin_9.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/clang-3.4
--->  Attempting to fetch clang-3.4-3.4.2_1+analyzer.darwin_9.ppc.tbz2 from http://lil.fr.packages.macports.org/clang-3.4
--->  Fetching distfiles for clang-3.4
--->  Verifying checksums for clang-3.4
--->  Extracting clang-3.4
--->  Applying patches to clang-3.4
--->  Configuring clang-3.4
--->  Building clang-3.4
Error: org.macports.build for port clang-3.4 returned: command execution failed
Please see the log file for port clang-3.4 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port clang-3.4 failed

I'm guessing it has to do with

Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option

Attachments (2)

main.log (5.6 MB) - added by berg-michael (Michael Berg) 10 years ago.
claong-3.4 log
main.2.log (5.2 MB) - added by ballapete (Peter "Pete" Dyballa) 10 years ago.
Pete's main.log

Change History (7)

Changed 10 years ago by berg-michael (Michael Berg)

Attachment: main.log added

claong-3.4 log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

I have a similar failure on PPC Mac OS X 10.6.8, Snow Leopard, where ar fails when archiving an object file for the ARM V6 architecture:

:info:build   ARCHIVE:   clang_darwin_embedded/soft_static/armv6m: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/runtime/compiler-rt/clang_darwin_embedded/soft_static/armv6m/libcompiler_rt.a
:info:build rm -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/runtime/compiler-rt/clang_darwin_embedded/soft_static/armv6m/libcompiler_rt.a
:info:build /opt/local/bin/ar cru 2> /dev/null /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/runtime/compiler-rt/clang_darwin_embedded/soft_static/armv6m/libcompiler_rt.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/runtime/compiler-rt/clang_darwin_embedded/soft_static/armv6m/SubDir.lib/int_util.o
:info:build make[4]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/runtime/compiler-rt/clang_darwin_embedded/soft_static/armv6m/libcompiler_rt.a] Error 1
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/projects/compiler-rt'
:info:build make[3]: *** [BuildRuntimeLibraries] Error 2
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/runtime/compiler-rt'
:info:build make[2]: *** [compiler-rt/.makeall] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/runtime'
:info:build make[1]: *** [all] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang'
: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_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src" && /usr/bin/make -w clang-only 
:info:build Exit code: 2
:error:build org.macports.build for port clang-3.4 returned: command execution failed
:debug:build Error code: CHILDSTATUS 66762 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 clang-3.4: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port clang-3.4 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/clang-3.4/main.log

comment:3 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Cc: Peter_Dyballa@… added

Cc Me!

Changed 10 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.2.log added

Pete's main.log

comment:4 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: wontfix
Status: newclosed

Yeah... this is just too fringe. If you have patches, great, but I'm not sure it's worth the effort.

comment:5 Changed 10 years ago by dgonyier (Dwaine Gonyier)

Cc: dgonyier@… added

Cc Me!

Note: See TracTickets for help on using tickets.