[MacPorts] #49393: ld64-latest build fails because of missing bitcode.hpp

MacPorts noreply at macports.org
Fri Oct 23 10:36:47 PDT 2015


#49393: ld64-latest build fails because of missing bitcode.hpp
---------------------------+--------------------------------
 Reporter:  carlon.luca@…  |      Owner:  macports-tickets@…
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:  2.3.4
 Keywords:                 |       Port:  ld64-latest
---------------------------+--------------------------------
 Build of ld64-latest fails because bitcode.hpp header is missing. Probably
 the reason is that bitcode.hpp should instead be included as Bitcode.hpp
 and this makes a difference in case-sensitive volumes. Including
 Bitcode.hpp instead of bitcode.hpp fixes the build. This is the log of the
 error:

 {{{
 version:1
 :msg:main --->  Computing dependencies for ld64-latest:info:main
 .:debug:main ld64-latest has no conflicts
 :debug:main Searching for dependency: dyld-headers
 :debug:main Found Dependency: receipt exists for dyld-headers
 :debug:main Searching for dependency: libmacho-headers
 :debug:main Found Dependency: receipt exists for libmacho-headers
 :debug:main Searching for dependency: libcxx
 :debug:main Found Dependency: receipt exists for libcxx
 :debug:main Searching for dependency: llvm-3.5
 :debug:main Found Dependency: receipt exists for llvm-3.5
 :msg:main
 :debug:main Executing org.macports.main (ld64-latest)
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 502
 :debug:main Skipping completed org.macports.archivefetch (ld64-latest)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.fetch (ld64-latest)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (ld64-latest)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.extract (ld64-latest)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.patch (ld64-latest)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.configure (ld64-latest)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:build build phase started at Fri Oct 23 09:07:58 CEST 2015
 :notice:build --->  Building ld64-latest
 :debug:build Executing proc-pre-org.macports.build-build-0
 :debug:build Executing org.macports.build (ld64-latest)
 :debug:build Environment:
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.11'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/work/ld64-253.3"
 && /usr/bin/make -j4 -w all CC="/usr/bin/clang" CXX="/usr/bin/clang++"
 OTHER_CPPFLAGS="-I/opt/local/include" OTHER_CFLAGS="-Os -arch x86_64"
 OTHER_CXXFLAGS="-Os -std=c++11 -stdlib=libc++ -arch x86_64"
 OTHER_LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names
 -stdlib=libc++ -arch x86_64" RC_SUPPORTED_ARCHS="armv6 armv7 i386 x86_64"
 LLVM_CONFIG=/opt/local/bin/llvm-config-mp-3.5'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/work/ld64-253.3"
 && /usr/bin/make -j4 -w all CC="/usr/bin/clang" CXX="/usr/bin/clang++"
 OTHER_CPPFLAGS="-I/opt/local/include" OTHER_CFLAGS="-Os -arch x86_64"
 OTHER_CXXFLAGS="-Os -std=c++11 -stdlib=libc++ -arch x86_64"
 OTHER_LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names
 -stdlib=libc++ -arch x86_64" RC_SUPPORTED_ARCHS="armv6 armv7 i386 x86_64"
 LLVM_CONFIG=/opt/local/bin/llvm-config-mp-3.5
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/work/ld64-253.3'
 :info:build /usr/bin/clang++ -Os -Os -std=c++11 -stdlib=libc++ -arch
 x86_64 -I/opt/local/libexec/llvm-3.5/include -DLTO_SUPPORT
 -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers -I/opt/local/include  -c -o
 src/ld/parsers/textstub_dylib_file.o
 src/ld/parsers/textstub_dylib_file.cpp
 :info:build /usr/bin/clang++ -Os -Os -std=c++11 -stdlib=libc++ -arch
 x86_64 -I/opt/local/libexec/llvm-3.5/include -DLTO_SUPPORT
 -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers -I/opt/local/include  -c -o
 src/ld/passes/compact_unwind.o src/ld/passes/compact_unwind.cpp
 :info:build /usr/bin/clang++ -Os -Os -std=c++11 -stdlib=libc++ -arch
 x86_64 -I/opt/local/libexec/llvm-3.5/include -DLTO_SUPPORT
 -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers -I/opt/local/include  -c -o
 src/ld/passes/dtrace_dof.o src/ld/passes/dtrace_dof.cpp
 :info:build /usr/bin/clang++ -Os -Os -std=c++11 -stdlib=libc++ -arch
 x86_64 -I/opt/local/libexec/llvm-3.5/include -DLTO_SUPPORT
 -Isrc/abstraction -Isrc/ld -Isrc/ld/parsers -I/opt/local/include  -c -o
 src/ld/passes/dylibs.o src/ld/passes/dylibs.cpp
 :info:build src/ld/parsers/textstub_dylib_file.cpp:32:10: fatal error:
 'bitcode.hpp' file not found
 :info:build #include "bitcode.hpp"
 :info:build          ^
 :info:build 1 error generated.
 :info:build make: *** [src/ld/parsers/textstub_dylib_file.o] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/work/ld64-253.3'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/work/ld64-253.3"
 && /usr/bin/make -j4 -w all CC="/usr/bin/clang" CXX="/usr/bin/clang++"
 OTHER_CPPFLAGS="-I/opt/local/include" OTHER_CFLAGS="-Os -arch x86_64"
 OTHER_CXXFLAGS="-Os -std=c++11 -stdlib=libc++ -arch x86_64"
 OTHER_LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names
 -stdlib=libc++ -arch x86_64" RC_SUPPORTED_ARCHS="armv6 armv7 i386 x86_64"
 LLVM_CONFIG=/opt/local/bin/llvm-config-mp-3.5
 :info:build Exit code: 2
 :error:build org.macports.build for port ld64-latest returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 4648 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 ld64-latest:
 org.macports.install org.macports.build org.macports.destroot
 :notice:build Please see the log file for port ld64-latest for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ld64/ld64-latest/main.log
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/49393>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list