[MacPorts] #62059: qt5-qtwebengine @5.15.2: does not yet build on arm64

MacPorts noreply at macports.org
Thu Nov 4 00:09:32 UTC 2021


#62059: qt5-qtwebengine @5.15.2: does not yet build on arm64
------------------------------+---------------------------------
  Reporter:  kencu            |      Owner:  MarcusCalhoun-Lopez
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:  arm64
      Port:  qt5-qtwebengine  |
------------------------------+---------------------------------

Comment (by chrstphrchvz):

 Replying to [comment:6 chrstphrchvz]:
 > PR opened with an attempt to update to 5.15.7:
 https://github.com/macports/macports-ports/pull/12595

 Thanks to a volunteer tester, some progress has been made. Currently it is
 stuck on an error during linking, which I have located essentially no
 discussion of elsewhere:

 {{{
 :info:build [14010/23637] TOOL_VERSION=1634667167
 ../../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 arm64 -mcpu=apple-a12
 -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 -framework CoreFoundation -framework
 IOKit -framework OpenDirectory -framework Security -framework Foundation
 -lbsm -lpmenergy -lpmsample
 :info:build FAILED: transport_security_state_generator
 transport_security_state_generator.dSYM/Contents/Info.plist
 transport_security_state_generator.dSYM/Contents/Resources/DWARF/transport_security_state_generator
 :info:build TOOL_VERSION=1634667167
 ../../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 arm64 -mcpu=apple-a12
 -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 -framework CoreFoundation -framework
 IOKit -framework OpenDirectory -framework Security -framework Foundation
 -lbsm -lpmenergy -lpmsample
 :info:build Undefined symbols for architecture arm64:
 :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 arm64
 :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 307,
 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', 'arm64',
 '-mcpu=apple-a12', '-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', '-framework',
 'CoreFoundation', '-framework', 'IOKit', '-framework', 'OpenDirectory',
 '-framework', 'Security', '-framework', 'Foundation', '-lbsm',
 '-lpmenergy', '-lpmsample']' returned non-zero exit status 1
 }}}

 Is something missing from system libc++? (Is that even a likely scenario?)

-- 
Ticket URL: <https://trac.macports.org/ticket/62059#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list