Opened 13 years ago

Closed 13 years ago

#32644 closed defect (fixed)

llvm-2.9 build failed

Reported by: ganado@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.99
Keywords: Cc:
Port: llvm-2.9

Description (last modified by mf2k (Frank Schima))

sh-3.2# port install llvm-2.9
--->  Computing dependencies for llvm-2.9
--->  Building llvm-2.9
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for llvm-2.9 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-2.9/llvm-2.9/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

i got an error like this, what can i do ? some parts of main.log below

:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-2.9/llvm-2.9/work/llvm-2.9/lib/Target'
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-2.9/llvm-2.9/work/llvm-2.9/lib'
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-2.9/llvm-2.9/work/llvm-2.9/tools/llvm-shlib'
:info:build llvm[1]: Linking Release+Debug+Asserts Shared Library libLLVM-2.9.dylib
:info:build ld: in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-2.9/llvm-2.9/work/llvm-2.9/Release+Debug+Asserts/lib/libLLVMLinker.a, file too small for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[1]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-2.9/llvm-2.9/work/llvm-2.9/Release+Debug+Asserts/lib/libLLVM-2.9.dylib] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-2.9/llvm-2.9/work/llvm-2.9/tools/llvm-shlib'
: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_ports_lang_llvm-2.9/llvm-2.9/work/llvm-2.9'
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-2.9/llvm-2.9/work/llvm-2.9" && /usr/bin/make -j4 -w all " 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 llvm-2.9): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for llvm-2.9 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-2.9/llvm-2.9/main.log

Change History (4)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: llvm removed
Owner: changed from macports-tickets@… to jeremyhu@…
Port: llvm-2.9 added

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: install llvm error :Pllvm-2.9 build failed

The first step is to clean and try again and attach the main.log to this ticket.

sudo port clean llvm-2.9

comment:3 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Status: newassigned

Yeah, and please tell us your OS version and XCode version.

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

Resolution: fixed
Status: assignedclosed

No response. Building fine here...

Note: See TracTickets for help on using tickets.