#19316: problem installing qt4-kde or qt4-mac --------------------------------------+------------------------------------- Reporter: mannequinZOD@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: qt4-mac, qt4-kde | Port: qt4-mac, qt4-kde --------------------------------------+------------------------------------- I can't install qt4-kde and can't upgrade qt4-mac to 4.5 (from 4.4): '''qt4-kde''' {{{ sh-3.2# port install qt4-kde ---> Fetching qt4-kde ---> Verifying checksum(s) for qt4-kde ---> Extracting qt4-kde ---> Applying patches to qt4-kde ---> Configuring qt4-kde ---> Building qt4-kde 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-kde/work /qt-mac-opensource-src-4.4.3" && make first " returned error 2 Command output: /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qudpsocket.o socket/qudpsocket.cpp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/bin/moc -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc /debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug- shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -D__APPLE__ -D__GNUC__ socket/qtcpserver.h -o .moc/debug-shared/moc_qtcpserver.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qtcpserver.o socket/qtcpserver.cpp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/bin/moc -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc /debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug- shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -D__APPLE__ -D__GNUC__ socket/qlocalsocket.h -o .moc/debug-shared/moc_qlocalsocket.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qlocalsocket.o socket/qlocalsocket.cpp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/bin/moc -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc /debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug- shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -D__APPLE__ -D__GNUC__ socket/qlocalserver.h -o .moc/debug-shared/moc_qlocalserver.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qlocalserver.o socket/qlocalserver.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -o .obj/debug- shared/qnativesocketengine_unix.o socket/qnativesocketengine_unix.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qlocalsocket_unix.o socket/qlocalsocket_unix.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qlocalserver_unix.o socket/qlocalserver_unix.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qssl.o ssl/qssl.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -fconstant-cfstrings -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug-shared -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-kde/work /qt-mac-opensource-src-4.4.3/lib -o .obj/debug-shared/qsslcertificate.o ssl/qsslcertificate.cpp ssl/qsslsocket_openssl_symbols_p.h:264: error: variable or field 'q_sk_free' declared void ssl/qsslsocket_openssl_symbols_p.h:264: error: 'STACK' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:264: error: 'a' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:265: error: 'STACK' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:265: error: 'a' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:266: error: 'STACK' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:266: error: 'a' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:266: error: expected primary-expression before 'int' ssl/qsslsocket_openssl_symbols_p.h:266: error: initializer expression list treated as compound expression ssl/qsslcertificate.cpp: In member function 'QMultiMap<QSsl::AlternateNameEntryType, QString> QSslCertificate::alternateSubjectNames() const': ssl/qsslcertificate.cpp:372: error: 'STACK' was not declared in this scope ssl/qsslcertificate.cpp:372: error: 'altNames' was not declared in this scope ssl/qsslcertificate.cpp:372: error: expected primary-expression before ')' token ssl/qsslcertificate.cpp:372: error: expected `;' before 'q_X509_get_ext_d2i' ssl/qsslcertificate.cpp:393: error: 'q_sk_free' cannot be used as a function make[2]: *** [.obj/debug-shared/qsslcertificate.o] Error 1 make[1]: *** [debug-all] Error 2 make: *** [sub-network-make_default-ordered] Error 2 Error: Status 1 encountered during processing. }}} '''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.0" && make first " returned error 2 Command output: make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/xml/ && make -f Makefile make -f Makefile.Debug all make[2]: Nothing to be done for `all'. make -f Makefile.Release all make[2]: Nothing to be done for `all'. cd src/network/ && make -f Makefile make -f Makefile.Debug all /usr/bin/g++-4.0 -c -include .pch/debug-shared/QtNetwork_debug -O2 -isystem/opt/local/include -fconstant-cfstrings -g -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc /debug-shared -Ikernel -I/usr/include -I.moc/debug-shared -I.uic/debug- shared -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.0/lib -o .obj/debug-shared/qsslcertificate.o ssl/qsslcertificate.cpp ssl/qsslsocket_openssl_symbols_p.h:257: error: variable or field 'q_sk_free' declared void ssl/qsslsocket_openssl_symbols_p.h:257: error: 'STACK' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:257: error: 'a' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:258: error: 'STACK' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:258: error: 'a' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:259: error: 'STACK' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:259: error: 'a' was not declared in this scope ssl/qsslsocket_openssl_symbols_p.h:259: error: expected primary-expression before 'int' ssl/qsslsocket_openssl_symbols_p.h:259: error: initializer expression list treated as compound expression ssl/qsslcertificate.cpp: In member function 'QMultiMap<QSsl::AlternateNameEntryType, QString> QSslCertificate::alternateSubjectNames() const': ssl/qsslcertificate.cpp:365: error: 'STACK' was not declared in this scope ssl/qsslcertificate.cpp:365: error: 'altNames' was not declared in this scope ssl/qsslcertificate.cpp:365: error: expected primary-expression before ')' token ssl/qsslcertificate.cpp:365: error: expected `;' before 'q_X509_get_ext_d2i' ssl/qsslcertificate.cpp:386: error: 'q_sk_free' cannot be used as a function make[2]: *** [.obj/debug-shared/qsslcertificate.o] Error 1 make[1]: *** [debug-all] Error 2 make: *** [sub-network-make_default-ordered] Error 2 Error: Unable to upgrade port: 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/19316> MacPorts <http://www.macports.org/> Ports system for Mac OS