[MacPorts] #66953: cmake @3.24.3: Does not compile with SDK 10.12
MacPorts
noreply at macports.org
Mon Feb 20 01:06:03 UTC 2023
#66953: cmake @3.24.3: Does not compile with SDK 10.12
--------------------+--------------------
Reporter: lukaso | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: cmake
--------------------+--------------------
This port has stopped successfully compiling on x86_64 with 10.12 SDK.
Here is the failure output.
{{{
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.24.3/Tests/CMakeLib
&&
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.24.3/Bootstrap.cmk/cmake
-E cmake_link_script CMakeFiles/CMakeLibTests.dir/link.txt --verbose=ON
/Library/Developer/CommandLineTools/usr/bin/clang++ -pipe -Os
-stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk -arch
x86_64 -O3 -DNDEBUG -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk -mmacosx-version-
min=10.12 -Wl,-search_paths_first -Wl,-headerpad_max_install_names
-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk
-arch x86_64 CMakeFiles/CMakeLibTests.dir/CMakeLibTests.cxx.o
CMakeFiles/CMakeLibTests.dir/testArgumentParser.cxx.o
CMakeFiles/CMakeLibTests.dir/testCTestBinPacker.cxx.o
CMakeFiles/CMakeLibTests.dir/testCTestResourceAllocator.cxx.o
CMakeFiles/CMakeLibTests.dir/testCTestResourceSpec.cxx.o
CMakeFiles/CMakeLibTests.dir/testCTestResourceGroups.cxx.o
CMakeFiles/CMakeLibTests.dir/testGccDepfileReader.cxx.o
CMakeFiles/CMakeLibTests.dir/testGeneratedFileStream.cxx.o
CMakeFiles/CMakeLibTests.dir/testJSONHelpers.cxx.o
CMakeFiles/CMakeLibTests.dir/testRST.cxx.o
CMakeFiles/CMakeLibTests.dir/testRange.cxx.o
CMakeFiles/CMakeLibTests.dir/testOptional.cxx.o
CMakeFiles/CMakeLibTests.dir/testString.cxx.o
CMakeFiles/CMakeLibTests.dir/testStringAlgorithms.cxx.o
CMakeFiles/CMakeLibTests.dir/testSystemTools.cxx.o
CMakeFiles/CMakeLibTests.dir/testUTF8.cxx.o
CMakeFiles/CMakeLibTests.dir/testXMLParser.cxx.o
CMakeFiles/CMakeLibTests.dir/testXMLSafe.cxx.o
CMakeFiles/CMakeLibTests.dir/testFindPackageCommand.cxx.o
CMakeFiles/CMakeLibTests.dir/testUVProcessChain.cxx.o
CMakeFiles/CMakeLibTests.dir/testUVRAII.cxx.o
CMakeFiles/CMakeLibTests.dir/testUVStreambuf.cxx.o
CMakeFiles/CMakeLibTests.dir/testCMExtMemory.cxx.o
CMakeFiles/CMakeLibTests.dir/testCMExtAlgorithm.cxx.o
CMakeFiles/CMakeLibTests.dir/testCMExtEnumSet.cxx.o
CMakeFiles/CMakeLibTests.dir/testCMFilesystemPath.cxx.o -o CMakeLibTests
../../Source/libCMakeLib.a ../../Source/libCTestLib.a
../../Source/libCMakeLib.a ../../Source/kwsys/libcmsys.a
../../Utilities/std/libcmstd.a /opt/local/lib/libexpat.dylib
/opt/local/lib/libz.dylib /opt/local/lib/libarchive.dylib
../../Utilities/cmjsoncpp/libcmjsoncpp.a /opt/local/lib/libuv.dylib
../../Utilities/cmlibrhash/libcmlibrhash.a -framework CoreFoundation
-framework CoreServices /opt/local/lib/libcurl.dylib
Undefined symbols for architecture x86_64:
"std::bad_optional_access::~bad_optional_access()", referenced from:
std::__1::__throw_bad_optional_access() in testOptional.cxx.o
"typeinfo for std::bad_optional_access", referenced from:
std::__1::__throw_bad_optional_access() in testOptional.cxx.o
GCC_except_table21 in testOptional.cxx.o
"vtable for std::bad_optional_access", referenced from:
std::__1::__throw_bad_optional_access() in testOptional.cxx.o
NOTE: a missing vtable usually means the first non-inline virtual member
function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66953>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list