[MacPorts] #55522: py27-llvmlite fails to build after updating port tree

MacPorts noreply at macports.org
Fri Dec 15 19:16:24 UTC 2017


#55522: py27-llvmlite fails to build after updating port tree
-----------------------------+---------------------------
 Reporter:  ProgrammingPoet  |      Owner:
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.4.2
 Keywords:  py27-llvmlite    |       Port:  py27-llvmlite
-----------------------------+---------------------------
 After running "sudo port self update" followed by "sudo port upgrade
 outdated", py27-llvmlite fails to build. Prior to attempting to upgrade
 py27-llvmlite, the port system upgraded clang to version 5.0. Here is the
 tail end of the log file:


 {{{
 :info:build
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 llvmlite/py27-llvmlite/work/llvmlite-0.21.0/ffi/build.py
 :info:build LLVM version... MACOSX_DEPLOYMENT_TARGET=10.13 clang++-mp-4.0
 -std=c++11 -stdlib=libc++ -dynamiclib
 -I/opt/local/libexec/llvm-5.0/include -pipe -Os -std=c++11 -stdlib=libc++
 -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -W
 -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-
 initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-
 virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -DNDEBUG -fno-
 exceptions -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_CONSTANT_MACROS
 -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fno-rtti -g assembly.cpp
 bitcode.cpp core.cpp initfini.cpp module.cpp value.cpp executionengine.cpp
 transforms.cpp passmanagers.cpp targets.cpp dylib.cpp linker.cpp
 object_file.cpp -o libllvmlite.dylib -L/opt/local/libexec/llvm-5.0/lib
 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -lLLVMLTO
 -lLLVMPasses -lLLVMObjCARCOpts -lLLVMSymbolize -lLLVMDebugInfoPDB
 -lLLVMDebugInfoDWARF -lLLVMMIRParser -lLLVMCoverage -lLLVMTableGen
 -lLLVMDlltoolDriver -lLLVMOrcJIT -lLLVMXCoreDisassembler
 -lLLVMXCoreCodeGen -lLLVMXCoreDesc -lLLVMXCoreInfo -lLLVMXCoreAsmPrinter
 -lLLVMSystemZDisassembler -lLLVMSystemZCodeGen -lLLVMSystemZAsmParser
 -lLLVMSystemZDesc -lLLVMSystemZInfo -lLLVMSystemZAsmPrinter
 -lLLVMSparcDisassembler -lLLVMSparcCodeGen -lLLVMSparcAsmParser
 -lLLVMSparcDesc -lLLVMSparcInfo -lLLVMSparcAsmPrinter
 -lLLVMPowerPCDisassembler -lLLVMPowerPCCodeGen -lLLVMPowerPCAsmParser
 -lLLVMPowerPCDesc -lLLVMPowerPCInfo -lLLVMPowerPCAsmPrinter
 -lLLVMNVPTXCodeGen -lLLVMNVPTXDesc -lLLVMNVPTXInfo -lLLVMNVPTXAsmPrinter
 -lLLVMMSP430CodeGen -lLLVMMSP430Desc -lLLVMMSP430Info
 -lLLVMMSP430AsmPrinter -lLLVMMipsDisassembler -lLLVMMipsCodeGen
 -lLLVMMipsAsmParser -lLLVMMipsDesc -lLLVMMipsInfo -lLLVMMipsAsmPrinter
 -lLLVMLanaiDisassembler -lLLVMLanaiCodeGen -lLLVMLanaiAsmParser
 -lLLVMLanaiDesc -lLLVMLanaiAsmPrinter -lLLVMLanaiInfo
 -lLLVMHexagonDisassembler -lLLVMHexagonCodeGen -lLLVMHexagonAsmParser
 -lLLVMHexagonDesc -lLLVMHexagonInfo -lLLVMBPFDisassembler -lLLVMBPFCodeGen
 -lLLVMBPFDesc -lLLVMBPFInfo -lLLVMBPFAsmPrinter -lLLVMARMDisassembler
 -lLLVMARMCodeGen -lLLVMARMAsmParser -lLLVMARMDesc -lLLVMARMInfo
 -lLLVMARMAsmPrinter -lLLVMAMDGPUDisassembler -lLLVMAMDGPUCodeGen
 -lLLVMAMDGPUAsmParser -lLLVMAMDGPUDesc -lLLVMAMDGPUInfo
 -lLLVMAMDGPUAsmPrinter -lLLVMAMDGPUUtils -lLLVMAArch64Disassembler
 -lLLVMAArch64CodeGen -lLLVMAArch64AsmParser -lLLVMAArch64Desc
 -lLLVMAArch64Info -lLLVMAArch64AsmPrinter -lLLVMAArch64Utils
 -lLLVMObjectYAML -lLLVMLibDriver -lLLVMOption -lLLVMX86Disassembler
 -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMGlobalISel -lLLVMSelectionDAG
 -lLLVMAsmPrinter -lLLVMDebugInfoCodeView -lLLVMDebugInfoMSF -lLLVMX86Desc
 -lLLVMMCDisassembler -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils
 -lLLVMMCJIT -lLLVMLineEditor -lLLVMInterpreter -lLLVMExecutionEngine
 -lLLVMRuntimeDyld -lLLVMCodeGen -lLLVMTarget -lLLVMCoroutines -lLLVMipo
 -lLLVMInstrumentation -lLLVMVectorize -lLLVMScalarOpts -lLLVMLinker
 -lLLVMIRReader -lLLVMAsmParser -lLLVMInstCombine -lLLVMTransformUtils
 -lLLVMBitWriter -lLLVMAnalysis -lLLVMProfileData -lLLVMObject
 -lLLVMMCParser -lLLVMMC -lLLVMBitReader -lLLVMCore -lLLVMBinaryFormat
 -lLLVMSupport -lLLVMDemangle -lcurses -lz -lm
 :info:build /bin/sh: clang++-mp-4.0: command not found
 :info:build make: *** [all] Error 127
 :info:build 5.0.0
 :info:build Traceback (most recent call last):
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 llvmlite/py27-llvmlite/work/llvmlite-0.21.0/ffi/build.py", line 141, in
 <module>
 :info:build     main()
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 llvmlite/py27-llvmlite/work/llvmlite-0.21.0/ffi/build.py", line 135, in
 main
 :info:build     main_posix('osx', '.dylib')
 :info:build   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 llvmlite/py27-llvmlite/work/llvmlite-0.21.0/ffi/build.py", line 123, in
 main_posix
 :info:build     subprocess.check_call(['make', '-f', makefile])
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 line 186, in check_call
 :info:build     raise CalledProcessError(retcode, cmd)
 :info:build subprocess.CalledProcessError: Command '['make', '-f',
 'Makefile.osx']' returned non-zero exit status 2
 :info:build error: command
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python'
 failed with exit status 1
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 llvmlite/py27-llvmlite/work/llvmlite-0.21.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 :info:build Exit code: 1
 :error:build Failed to build py27-llvmlite: command execution failed
 :debug:build Error code: CHILDSTATUS 951 1
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 llvmlite/py27-llvmlite/main.log for details.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/55522>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list