Opened 9 years ago

Closed 9 years ago

#50298 closed defect (invalid)

error installing llvm-3.7 when installing pgplot on ElCapitan

Reported by: europasice Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: larryv (Lawrence Velázquez)
Port: llvm-3.7

Description

I'm trying to install pgplot. I did do the macports migration after installing ElCapitan. I get an error installing llvm-3.7 (see below for tail of logfile). I found I was able to install llvm-3.8 without error. I'm not sure that helps me install pgplot though as pgplot is still trying to install llvm-3.7. I would appreciate any suggestions for getting pgplot installed. Thanks.

:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/llvm-3.7/work/build/tools/llvm-shl$
:info:build llvm[1]: Linking Release+Debug Shared Library libLLVM-3.7.dylib
:info:build /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -pipe -Os -arch x86_64 -stdlib=libc++ -O3 -Wl,-install_name -Wl,"/opt/local/libexec/llvm-3.7/lib/libLLVM-3.7.dylib" -Wl,-dead_$
:info:build        -lLLVMAArch64AsmParser -lLLVMAArch64AsmPrinter -lLLVMAArch64CodeGen -lLLVMAArch64Desc -lLLVMAArch64Disassembler -lLLVMAArch64Info -lLLVMAArch64Utils -lLLVMAMDGPUAsmParser -lL$
:info:build clang: error: unable to execute command: Segmentation fault: 11
:info:build clang: error: linker command failed due to signal (use -v to see invocation)
:info:build make[1]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/llvm-3.7/work/build/Release+Debug/lib/libLLVM-3.7$
: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.7/llvm-3.7/work/build/tools/llvm-shli$
: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.7/llvm-3.7/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/llvm-3.7/work/build" && /usr/bin/make -j8 $
:info:build Exit code: 2
:error:build org.macports.build for port llvm-3.7 returned: command execution failed
:debug:build Error code: CHILDSTATUS 15837 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 llvm-3.7: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install llvm-3.7
:debug:build Registry error: xorg-xtrans not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:build Please see the log file for port llvm-3.7 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/llvm-3.7/main.log

Attachments (6)

Change History (18)

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

Cc: larryv@… added
Owner: changed from macports-tickets@… to jeremyhu@…
Port: llvm-3.7 added; llmv pgpot removed

In the future, please Cc the port maintainers (port info --maintainers llvm-3.7), if any.

comment:2 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

What is the output of:

/usr/bin/clang++ --version
/usr/bin/ld -v

Do you have any crash logs in /Library/Logs/DiagnosticReports or ~/Library/Logs/DiagnosticReports at the time of the failure? If so, please attach them.

comment:3 Changed 9 years ago by europasice

>/usr/bin/clang++ --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin15.2.0
Thread model: posix

>/usr/bin/ld -v
@(#)PROGRAM:ld  PROJECT:ld64-253.9
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em (tvOS)
LTO support using: Apple LLVM 7.0.2 (clang-700.1.81)

Changed 9 years ago by europasice

Changed 9 years ago by europasice

Changed 9 years ago by europasice

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

Status: newassigned

Please create a tarball containing all the relevant files to reproduce. Specifically, the libllvm.o file and all of the libLLVMXXXXXXX.a files linked against:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/llvm-3.7/work/build/tools/llvm-shlib/Release+Debug/libllvm.o -lLLVMAArch64AsmParser -lLLVMAArch64AsmPrinter -lLLVMAArch64CodeGen -lLLVMAArch64Desc -lLLVMAArch64Disassembler -lLLVMAArch64Info -lLLVMAArch64Utils -lLLVMAMDGPUAsmParser -lLLVMAMDGPUAsmPrinter -lLLVMAMDGPUCodeGen -lLLVMAMDGPUDesc -lLLVMAMDGPUInfo -lLLVMAMDGPUUtils -lLLVMARMAsmParser -lLLVMARMAsmPrinter -lLLVMARMCodeGen -lLLVMARMDesc -lLLVMARMDisassembler -lLLVMARMInfo -lLLVMAnalysis -lLLVMAsmParser -lLLVMAsmPrinter -lLLVMBPFAsmPrinter -lLLVMBPFCodeGen -lLLVMBPFDesc -lLLVMBPFInfo -lLLVMBitReader -lLLVMBitWriter -lLLVMCodeGen -lLLVMCore -lLLVMCppBackendCodeGen -lLLVMCppBackendInfo -lLLVMDebugInfoDWARF -lLLVMDebugInfoPDB -lLLVMExecutionEngine -lLLVMHexagonCodeGen -lLLVMHexagonDesc -lLLVMHexagonDisassembler -lLLVMHexagonInfo -lLLVMIRReader -lLLVMInstCombine -lLLVMInstrumentation -lLLVMInterpreter -lLLVMLTO -lLLVMLibDriver -lLLVMLineEditor -lLLVMLinker -lLLVMMC -lLLVMMCDisassembler -lLLVMMCJIT -lLLVMMCParser -lLLVMMIRParser -lLLVMMSP430AsmPrinter -lLLVMMSP430CodeGen -lLLVMMSP430Desc -lLLVMMSP430Info -lLLVMMips

Then send me the tarball by either attaching here, using dropbox (etc), or filing a radar at http://bugreport.apple.com with it included as an attachment.

comment:5 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

After getting that repro state, please clean and try again.

comment:6 Changed 9 years ago by europasice

Is this for me? Where will I find the libllvm.o and libLLVMXXXXXXX.a files? Also I'm not sure what "linked against" means for me to do.

comment:7 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

yes, that is for you.

They are in the work path.

If you don't know what those instructions mean, there's not much I can do to help you beyond pointing you to general references about how toolchains work. That's probably more than you care to know. I suggest you just clean and retry.

comment:8 in reply to:  description Changed 9 years ago by valeriopaolo.delrossi@…

Replying to gwen.barnes@…:

I'm trying to install pgplot. I did do the macports migration after installing ElCapitan. I get an error installing llvm-3.7 (see below for tail of logfile). I found I was able to install llvm-3.8 without error. I'm not sure that helps me install pgplot though as pgplot is still trying to install llvm-3.7. I would appreciate any suggestions for getting pgplot installed. Thanks.

:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/llvm-3.7/work/build/tools/llvm-shl$
:info:build llvm[1]: Linking Release+Debug Shared Library libLLVM-3.7.dylib
:info:build /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -pipe -Os -arch x86_64 -stdlib=libc++ -O3 -Wl,-install_name -Wl,"/opt/local/libexec/llvm-3.7/lib/libLLVM-3.7.dylib" -Wl,-dead_$
:info:build        -lLLVMAArch64AsmParser -lLLVMAArch64AsmPrinter -lLLVMAArch64CodeGen -lLLVMAArch64Desc -lLLVMAArch64Disassembler -lLLVMAArch64Info -lLLVMAArch64Utils -lLLVMAMDGPUAsmParser -lL$
:info:build clang: error: unable to execute command: Segmentation fault: 11
:info:build clang: error: linker command failed due to signal (use -v to see invocation)
:info:build make[1]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/llvm-3.7/work/build/Release+Debug/lib/libLLVM-3.7$
: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.7/llvm-3.7/work/build/tools/llvm-shli$
: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.7/llvm-3.7/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/llvm-3.7/work/build" && /usr/bin/make -j8 $
:info:build Exit code: 2
:error:build org.macports.build for port llvm-3.7 returned: command execution failed
:debug:build Error code: CHILDSTATUS 15837 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 llvm-3.7: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install llvm-3.7
:debug:build Registry error: xorg-xtrans not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:build Please see the log file for port llvm-3.7 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/llvm-3.7/main.log

Hi, i had the same problem, solved by renaming/removing uuid.h in /opt/local/include/uuid

hope this helps

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

Can you provide the requested files?

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

And what port provides /opt/local/include/uuid/uuid.h for you?

comment:11 Changed 9 years ago by europasice

Thanks for your help, but I think I must have a bigger issue than the port, as my entire computer is now locking up when I try to install it. So never mind for now.

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

Resolution: invalid
Status: assignedclosed

Yep, that’s consistent with my thoughts that this was fallout from hardware failure.

Note: See TracTickets for help on using tickets.