Opened 11 years ago

Closed 10 years ago

#43411 closed update (fixed)

clang-3.3: upgrade fails on SL.

Reported by: philippe.vanheeghe@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: snowleopard Cc: cooljeanius (Eric Gallager), ctreleaven (Craig Treleaven), rogerdpack@…
Port: clang-3.3

Description

When I use the command:

sudo port upgrade outdated

I have the following error:

---> Computing dependencies for clang-3.3
---> Fetching distfiles for clang-3.3
---> Attempting to fetch llvm-3.3.src.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/llvm
---> Attempting to fetch cfe-3.3.src.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/llvm
---> Attempting to fetch compiler-rt-3.3.src.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/llvm
---> Attempting to fetch libcxx-3.3.src.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/llvm
---> Verifying checksums for clang-3.3
---> Extracting clang-3.3
---> Applying patches to clang-3.3
---> Configuring clang-3.3
---> Building clang-3.3
Error: org.macports.build for port clang-3.3 returned: command execution failed
Please see the log file for port clang-3.3 for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/clang-3.3/main.log

Error: Unable to upgrade port: 1

Thank you for your help

Attachments (1)

main.log (5.1 MB) - added by StanSanderson 11 years ago.
correct clang-3.3 failed build log

Change History (13)

comment:1 Changed 11 years ago by StanSanderson

Same problem here- Snow Leopard 10.6.8, all other ports up-to-date. Snippit from log file below if that helps(?)

:info:build install_name_tool: for architecture i386 object: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/clang-3.3/work/llvm-3.3.src/Release+Debug+Asserts/lib/clang/3.3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib malformed object (unknown load command 13) :info:build make[3]: * opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/clang-3.3/work/llvm-3.3.src/Release+Debug+Asserts/lib/clang/3.3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib Error 1 :info:build rm /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/clang-3.3/work/llvm-3.3.src/Release+Debug+Asserts/lib/clang/3.3/lib/darwin/.dir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/clang-3.3/work/llvm-3.3.src/tools/clang/runtime/compiler-rt/clang_darwin/asan_osx_dynamic/libcompiler_rt.dylib :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.3/clang-3.3/work/llvm-3.3.src/tools/clang/runtime/compiler-rt' :info:build make[2]: * [compiler-rt/.makeall] Error 2

comment:2 Changed 11 years ago by StanSanderson

Cc: stansand@… added

Cc Me!

comment:3 Changed 11 years ago by dbevans (David B. Evans)

Keywords: snowleopard added
Owner: changed from macports-tickets@… to jeremyhu@…
Port: clang-3.3 added
Summary: sudo port upgrade outdated errorclang-3.3: upgrade fails on SL.

Please CC the maintainer when submitting tickets, indicate the failing port in the ticket's Port field and attach full build log.

comment:4 Changed 11 years ago by dbevans (David B. Evans)

comment:5 in reply to:  4 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Replying to devans@…:

Failing on SL buildbot as well.

https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/25875

Yes, but there's nothing I can really do about that:

ar: /opt/local/var/macports/build/_opt_mports_dports_lang_llvm-3.3/clang-3.3/work/llvm-3.3.src/Release+Debug+Asserts/lib/libclangStaticAnalyzerCheckers.a: No space left on device

comment:6 Changed 11 years ago by StanSanderson

Cc: stansand@… removed

Cc Me!

After attaching, I noted the build log file length was considerably shorter than previous; will clean and build again.

Last edited 11 years ago by StanSanderson (previous) (diff)

comment:7 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Changed 11 years ago by StanSanderson

Attachment: main.log added

correct clang-3.3 failed build log

comment:8 Changed 11 years ago by dbevans (David B. Evans)

Has duplicate #43497.

comment:9 Changed 11 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven@… added

Cc Me!

comment:10 Changed 11 years ago by mbrehmer@…

With a fresh installation I observed the same problem. The log file shows that configure finds grep, as and nm in usr/bin. As as and nm belong to cctools, I installed the port for cctools and grep. The installation process works now. Should cctools and grep be added as dependencies?

Last edited 11 years ago by mbrehmer@… (previous) (diff)

comment:11 Changed 10 years ago by rogerdpack@…

Cc: rogerdpack@… added

Cc Me!

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.