[MacPorts] #22926: qt4-mac build fails with missing symbols

MacPorts noreply at macports.org
Thu Dec 17 06:13:47 PST 2009


#22926: qt4-mac build fails with missing symbols
--------------------------------+-------------------------------------------
 Reporter:  dsdale24@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.8.1                                
 Keywords:                      |        Port:  qt4-mac                              
--------------------------------+-------------------------------------------
 I am unable to build qt4-mac on a new Snow Leopard machine. I am
 relatively new to mac and ports (coming from gentoo), please let me know
 if I should provide more information.

 {{{
 $ sudo port install -v py26-pyqt4
 --->  Computing dependencies for py26-pyqt4
 --->  Fetching qt4-mac
 --->  Verifying checksum(s) for qt4-mac
 --->  Extracting qt4-mac
 --->  Applying patches to qt4-mac
 --->  Configuring qt4-mac
 --->  Building qt4-mac
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.3" && /usr/bin/make -j16 first " returned error
 2
 Command output: ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[2]: *** [../../lib/QtNetwork.framework/QtNetwork] Error 1
 make[1]: *** [release-all] Error 2
 make[1]: *** Waiting for unfinished jobs....
 rm -f QtNetwork_debug QtNetwork.framework/QtNetwork_debug
 ../../lib/QtNetwork.framework/QtNetwork_debug
 /usr/bin/g++-4.2 -headerpad_max_install_names -Xarch_x86_64 -mmacosx-
 version-min=10.5 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5
 -single_module -dynamiclib -compatibility_version    4.5 -current_version
 4.5.3 -install_name
 /opt/local/libexec/qt4-mac/lib/QtNetwork.framework/Versions/4/QtNetwork_debug
 -o QtNetwork_debug .obj/debug-shared/qftp.o .obj/debug-shared/qhttp.o .obj
 /debug-shared/qhttpnetworkheader.o .obj/debug-shared/qhttpnetworkrequest.o
 .obj/debug-shared/qhttpnetworkreply.o .obj/debug-
 shared/qhttpnetworkconnection.o .obj/debug-shared/qnetworkaccessmanager.o
 .obj/debug-shared/qnetworkaccesscache.o .obj/debug-
 shared/qnetworkaccessbackend.o .obj/debug-
 shared/qnetworkaccessdatabackend.o .obj/debug-
 shared/qnetworkaccessdebugpipebackend.o .obj/debug-
 shared/qnetworkaccessfilebackend.o .obj/debug-
 shared/qnetworkaccesscachebackend.o .obj/debug-
 shared/qnetworkaccessftpbackend.o .obj/debug-
 shared/qnetworkaccesshttpbackend.o .obj/debug-shared/qnetworkcookie.o .obj
 /debug-shared/qnetworkrequest.o .obj/debug-shared/qnetworkreply.o .obj
 /debug-shared/qnetworkreplyimpl.o .obj/debug-
 shared/qabstractnetworkcache.o .obj/debug-shared/qnetworkdiskcache.o .obj
 /debug-shared/qauthenticator.o .obj/debug-shared/qhostaddress.o .obj
 /debug-shared/qhostinfo.o .obj/debug-shared/qurlinfo.o .obj/debug-
 shared/qnetworkproxy.o .obj/debug-shared/qnetworkinterface.o .obj/debug-
 shared/qhostinfo_unix.o .obj/debug-shared/qnetworkinterface_unix.o .obj
 /debug-shared/qnetworkproxy_mac.o .obj/debug-
 shared/qabstractsocketengine.o .obj/debug-shared/qnativesocketengine.o
 .obj/debug-shared/qhttpsocketengine.o .obj/debug-
 shared/qsocks5socketengine.o .obj/debug-shared/qabstractsocket.o .obj
 /debug-shared/qtcpsocket.o .obj/debug-shared/qudpsocket.o .obj/debug-
 shared/qtcpserver.o .obj/debug-shared/qlocalsocket.o .obj/debug-
 shared/qlocalserver.o .obj/debug-shared/qnativesocketengine_unix.o .obj
 /debug-shared/qlocalsocket_unix.o .obj/debug-shared/qlocalserver_unix.o
 .obj/debug-shared/qssl.o .obj/debug-shared/qsslcertificate.o .obj/debug-
 shared/qsslconfiguration.o .obj/debug-shared/qsslcipher.o .obj/debug-
 shared/qsslerror.o .obj/debug-shared/qsslkey.o .obj/debug-
 shared/qsslsocket.o .obj/debug-shared/qsslsocket_openssl.o .obj/debug-
 shared/qsslsocket_openssl_symbols.o .obj/debug-
 shared/moc_qhttpnetworkreply_p.o .obj/debug-
 shared/moc_qnetworkaccesscache_p.o .obj/debug-
 shared/moc_qnetworkaccessbackend_p.o .obj/debug-
 shared/moc_qnetworkaccessdebugpipebackend_p.o .obj/debug-
 shared/moc_qnetworkaccesshttpbackend_p.o .obj/debug-
 shared/moc_qnetworkaccessftpbackend_p.o .obj/debug-
 shared/moc_qnetworkcookie.o .obj/debug-shared/moc_qnetworkreply.o .obj
 /debug-shared/moc_qabstractnetworkcache.o .obj/debug-
 shared/moc_qnetworkdiskcache.o .obj/debug-shared/moc_qhostinfo_p.o .obj
 /debug-shared/moc_qabstractsocketengine_p.o .obj/debug-
 shared/moc_qnativesocketengine_p.o .obj/debug-
 shared/moc_qhttpsocketengine_p.o .obj/debug-
 shared/moc_qsocks5socketengine_p.o .obj/debug-shared/moc_qtcpsocket.o .obj
 /debug-shared/moc_qudpsocket.o .obj/debug-shared/moc_qlocalserver_p.o .obj
 /debug-shared/qrc_network.o
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.3/lib -L/opt/local/lib
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work
 /qt-mac-opensource-src-4.5.3/lib -lz -framework SystemConfiguration -lssl
 -lcrypto -framework QtCore
 Undefined symbols:
   "_CFArrayGetValueAtIndex", referenced from:
       macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
   "_CFArrayGetCount", referenced from:
       macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
   "_CFNumberGetValue", referenced from:
       proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType,
 __CFString const*, __CFString const*, __CFString const*)in
 qnetworkproxy_mac.o
       proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType,
 __CFString const*, __CFString const*, __CFString const*)in
 qnetworkproxy_mac.o
       macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
       macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
   "_CFDictionaryGetValue", referenced from:
       proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType,
 __CFString const*, __CFString const*, __CFString const*)in
 qnetworkproxy_mac.o
       proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType,
 __CFString const*, __CFString const*, __CFString const*)in
 qnetworkproxy_mac.o
       proxyFromDictionary(__CFDictionary const*, QNetworkProxy::ProxyType,
 __CFString const*, __CFString const*, __CFString const*)in
 qnetworkproxy_mac.o
       macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
       macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
       macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
       macQueryInternal(QNetworkProxyQuery const&) in qnetworkproxy_mac.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[2]: *** [../../lib/QtNetwork.framework/QtNetwork_debug] Error 1
 make[1]: *** [debug-all] Error 2
 make: *** [sub-network-make_default-ordered] Error 2

 Error: The following dependencies failed to build: qt4-mac
 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/22926>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list