[MacPorts] #63725: qt5-qtwebengine @5.15.2 build error on Monterey
MacPorts
noreply at macports.org
Sat Oct 30 00:31:04 UTC 2021
#63725: qt5-qtwebengine @5.15.2 build error on Monterey
--------------------+-----------------------------
Reporter: amake | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: qt5-qtwebengine
--------------------+-----------------------------
After using the
[[https://trac.macports.org/ticket/63154#comment:4|`use_xcode yes`
workaround]] to get qt5-qtbase installed, I find that qt5-qtwebengine
fails with the following:
{{{
:info:build TOOL_VERSION=1604712156
../../3rdparty/chromium/build/toolchain/mac/linker_driver.py
-Wcrl,strippath,/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
../../../../../../../../../../../../Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-B
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
-Wcrl,dsym,.
-Wcrl,dsymutilpath,../../../../../../../../../../../../Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil
-Wl,-fatal_warnings -stdlib=libc++ -arch x86_64 -Wl,-no_data_in_code_info
-Wl,-no_function_starts -isysroot
../../../../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk
-mmacosx-version-min=12.0 -Wl,-ObjC -Wcrl,strip,-x,-S -o
"./transport_security_state_generator"
-Wl,-filelist,"./transport_security_state_generator.rsp" -framework
ApplicationServices -framework AppKit -lbsm -framework CoreFoundation
-framework IOKit -framework OpenDirectory -lpmenergy -lpmsample -framework
Security
:info:build Undefined symbols for architecture x86_64:
:info:build "std::__1::basic_string<unsigned short,
base::string16_internals::string16_char_traits,
std::__1::allocator<unsigned short> >::shrink_to_fit()", referenced from:
:info:build base::UTF8ToUTF16(char const*, unsigned long,
std::__1::basic_string<unsigned short,
base::string16_internals::string16_char_traits,
std::__1::allocator<unsigned short> >*) in libbase.a(base_jumbo_20.o)
:info:build base::WideToUTF16(wchar_t const*, unsigned long,
std::__1::basic_string<unsigned short,
base::string16_internals::string16_char_traits,
std::__1::allocator<unsigned short> >*) in libbase.a(base_jumbo_20.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build Traceback (most recent call last):
:info:build File
"../../3rdparty/chromium/build/toolchain/mac/linker_driver.py", line 287,
in <module>
:info:build Main(sys.argv)
:info:build File
"../../3rdparty/chromium/build/toolchain/mac/linker_driver.py", line 97,
in Main
:info:build subprocess.check_call(compiler_driver_args, env=env)
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 190, in check_call
:info:build raise CalledProcessError(retcode, cmd)
:info:build subprocess.CalledProcessError: Command
'['../../../../../../../../../../../../Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++',
'-B',
'/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/',
'-Wl,-fatal_warnings', '-stdlib=libc++', '-arch', 'x86_64',
'-Wl,-no_data_in_code_info', '-Wl,-no_function_starts', '-isysroot',
'../../../../../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk',
'-mmacosx-version-min=12.0', '-Wl,-ObjC', '-o',
'./transport_security_state_generator',
'-Wl,-filelist,./transport_security_state_generator.rsp', '-framework',
'ApplicationServices', '-framework', 'AppKit', '-lbsm', '-framework',
'CoreFoundation', '-framework', 'IOKit', '-framework', 'OpenDirectory',
'-lpmenergy', '-lpmsample', '-framework', 'Security']' returned non-zero
exit status 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63725>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list