[MacPorts] #67587: qt5-qtbase 5.15.10 fails to link with missing _res_9_dn_expand symbol

MacPorts noreply at macports.org
Wed Jun 7 18:24:43 UTC 2023


#67587: qt5-qtbase 5.15.10 fails to link with missing _res_9_dn_expand symbol
-------------------------+--------------------------
  Reporter:  blair       |      Owner:  chrstphrchvz
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  qt5-qtbase  |
-------------------------+--------------------------

Comment (by khorton):

 Same error seen on arch arm64 - Ventura 13.4 with Xcode 14.2:
 {{{
 :info:build /Library/Developer/CommandLineTools/usr/bin/clang++ -c -pipe
 -stdlib=libc++ -Oz -std=c++1z -fapplication-extension  -arch arm64
 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-
 version-min=13.0 -fvisibility=hidden -fvisibility-inlines-hidden -fno-
 exceptions -Wall -Wextra -Winconsistent-missing-override -Wobjc-interface-
 ivars -Wobjc-method-access -Wobjc-multiple-method-names -Werror=unguarded-
 availability -Werror=unguarded-availability-new -Werror=unsupported-
 availability-guard -fPIC -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS
 -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DMD4C_USE_UTF8
 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DGL_SILENCE_DEPRECATION
 -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII
 -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
 -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000
 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS
 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I.
 -I../3rdparty/md4c -I../3rdparty/VulkanMemoryAllocator -I../../include
 -I../../include/QtGui -I../../include/QtGui/5.15.10
 -I../../include/QtGui/5.15.10/QtGui -I.tracegen
 -I/System/Library/Frameworks/OpenGL.framework/Headers
 -I/System/Library/Frameworks/AGL.framework/Headers/
 -I../../include/QtCore/5.15.10 -I../../include/QtCore/5.15.10/QtCore
 -I../../include/QtCore -I.moc -I/opt/local/include/libpng16
 -I../../mkspecs/macx-clang
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.10/lib -o .obj/qpixmap_blitter.o
 image/qpixmap_blitter.cpp
 :info:build Undefined symbols for architecture arm64:
 :info:build   "_res_9_dn_expand", referenced from:
 :info:build       QDnsLookupRunnable::query(int, QByteArray const&,
 QHostAddress const&, QDnsLookupReply*) in qdnslookup_unix.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 make[2]: *** [../../lib/QtNetwork.framework/QtNetwork] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.10/src/network'
 :info:build make[1]: *** [sub-network-make_first] Error 2
 :info:build make[1]: *** Waiting for unfinished jobs....
 }}}

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


More information about the macports-tickets mailing list