[MacPorts] #65575: [OSX 10.6.8] -- Error: Failed to build ld64-274: command execution failed
MacPorts
noreply at macports.org
Sat Jul 30 13:23:31 UTC 2022
#65575: [OSX 10.6.8] -- Error: Failed to build ld64-274: command execution failed
---------------------+--------------------
Reporter: lawlist | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
---------------------+--------------------
* Snow Leopard 10.6.8, with Xcode 3.2.6.
* This particular attempt at building ld64-274 [with the ultimate goal of
building the "rust" port] was performed _without_ any toolchain update as
suggested in the following link:
https://trac.macports.org/wiki/LibcxxOnOlderSystems
* I have made a couple of previous attempts at building the rust port
_with_ the aforementioned toolchain update, but those prior attempts also
failed.
* Terminal Output:
{{{
---> Fetching distfiles for ld64-274
---> Attempting to fetch ld64-274.2.tar.gz from
http://distfiles.macports.org/ld64
---> Verifying checksums for ld64-274
---> Extracting ld64-274
---> Applying patches to ld64-274
---> Configuring ld64-274
---> Building ld64-274
Error: Failed to build ld64-274: command execution failed
Error: See
..._var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-274/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port rust failed
}}}
* Build Log (main.log)
{{{
:info:build /.../bin/clang++-mp-11 -Os -Os -std=c++11 -stdlib=libc++
-stdlib=libc++ -arch x86_64 -I/.../libexec/llvm-3.4/include -DLTO_SUPPORT
-Isrc/abstraction -Isrc/ld -Isrc/ld/parsers -I/.../include
-I/.../var/macports/build/_..._var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-274/work/dyld-655.1.1/include
-c -o src/ld/parsers/macho_relocatable_file.o
src/ld/parsers/macho_relocatable_file.cpp
:info:build In file included from
src/ld/parsers/macho_relocatable_file.cpp:37:
:info:build In file included from
src/ld/parsers/libunwind/DwarfInstructions.hpp:43:
:info:build In file included from
src/ld/parsers/libunwind/AddressSpace.hpp:38:
:info:build
/.../var/macports/build/_..._var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-274/work/dyld-655.1.1/include/mach-o/dyld_priv.h:255:5:
error: 'TARGET_OS_WATCH' is not defined, evaluates to 0 [-Werror,-Wundef-
prefix=TARGET_OS_]
:info:build #if TARGET_OS_WATCH
:info:build ^
:info:build
/.../var/macports/build/_..._var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-274/work/dyld-655.1.1/include/mach-o/dyld_priv.h:270:5:
error: 'TARGET_OS_BRIDGE' is not defined, evaluates to 0 [-Werror,-Wundef-
prefix=TARGET_OS_]
:info:build #if TARGET_OS_BRIDGE
:info:build ^
:info:build 2 errors generated.
:info:build make: *** [src/ld/parsers/macho_relocatable_file.o] Error 1
:info:build make: Leaving directory
`/.../var/macports/build/_..._var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-274/work/ld64-274.2'
:info:build Command failed: cd
"/.../var/macports/build/_..._var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-274/work/ld64-274.2"
&& /usr/bin/make -j1 -w all CC="/.../bin/clang-mp-11"
CXX="/.../bin/clang++-mp-11" OTHER_CPPFLAGS="-I/.../include
-I/.../var/macports/build/_..._var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-274/work/dyld-655.1.1/include"
OTHER_CFLAGS="-Os -arch x86_64" OTHER_CXXFLAGS="-Os -std=c++11
-stdlib=libc++ -stdlib=libc++ -arch x86_64" OTHER_LDFLAGS="-L/.../lib
-Wl,-headerpad_max_install_names -lc++abi -stdlib=libc++ -arch x86_64"
LLVM_CONFIG=/.../bin/llvm-config-mp-3.4
:info:build Exit code: 2
:error:build Failed to build ld64-274: command execution failed
:debug:build Error code: CHILDSTATUS 89038 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback
portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See
/.../var/macports/logs/_..._var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-274/main.log
for details.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65575>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list