Opened 12 years ago

Closed 6 years ago

#35740 closed defect (fixed)

qt4-x11 fails to build on Leopard/PowerPC

Reported by: ulrich.hecht@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: michaelld (Michael Dickens), yan12125 (Chih-Hsuan Yen)
Port: qt4-x11

Description

:info:build /usr/bin/g++-4.0 -c -pipe -O2 -arch ppc -isystem/opt/local/include -I/opt/local/include/mysql5/mysql -I/opt/local/include/postgresql83 -I/opt/local/include/gstreamer-0
.10 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2 -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_SHARED -D_
_USE_WS_X11__ -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE6
4_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/darwin-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/release-shared -Ikernel 
-I/usr/include -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/qsslcertificate.o ssl/qsslcertificate.cpp
:info:build ssl/qsslsocket_openssl_symbols_p.h:264: error: variable or field ‘q_sk_free’ declared void
:info:build ssl/qsslsocket_openssl_symbols_p.h:264: error: ‘STACK’ was not declared in this scope
:info:build ssl/qsslsocket_openssl_symbols_p.h:264: error: ‘a’ was not declared in this scope
:info:build ssl/qsslsocket_openssl_symbols_p.h:265: error: ‘STACK’ was not declared in this scope
:info:build ssl/qsslsocket_openssl_symbols_p.h:265: error: ‘a’ was not declared in this scope
:info:build ssl/qsslsocket_openssl_symbols_p.h:266: error: ‘STACK’ was not declared in this scope
:info:build ssl/qsslsocket_openssl_symbols_p.h:266: error: ‘a’ was not declared in this scope
:info:build ssl/qsslsocket_openssl_symbols_p.h:266: error: expected primary-expression before ‘int’
:info:build ssl/qsslsocket_openssl_symbols_p.h:266: error: initializer expression list treated as compound expression
:info:build ssl/qsslcertificate.cpp: In member function ‘QMultiMap<QSsl::AlternateNameEntryType, QString> QSslCertificate::alternateSubjectNames() const’:
:info:build ssl/qsslcertificate.cpp:372: error: ‘STACK’ was not declared in this scope
:info:build ssl/qsslcertificate.cpp:372: error: ‘altNames’ was not declared in this scope
:info:build ssl/qsslcertificate.cpp:372: error: expected primary-expression before ‘)’ token
:info:build ssl/qsslcertificate.cpp:372: error: expected `;' before ‘q_X509_get_ext_d2i’
:info:build ssl/qsslcertificate.cpp:393: error: ‘q_sk_free’ cannot be used as a function
:info:build make[1]: *** [.obj/release-shared/qsslcertificate.o] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_qt4-x11/qt4-x11/work/qt-x11-ope
nsource-src-4.4.3/src/network'
:info:build make: *** [sub-network-make_default-ordered] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_qt4-x11/qt4-x11/work/qt-x11-openso
urce-src-4.4.3'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_qt4-x11/qt4-x11/work/qt-x11-opensource
-src-4.4.3" && /usr/bin/make -w first 
:info:build Exit code: 2

Attachments (1)

main.log (1.1 MB) - added by ulrich.hecht@… 12 years ago.
build log

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld@… added
Port: qt4-x11 added

The qt4-x11 port should probably be considered obsolete, perhaps even removed. Use the qt4-mac port instead.

Changed 12 years ago by ulrich.hecht@…

Attachment: main.log added

build log

comment:2 Changed 12 years ago by jmroot (Joshua Root)

If anything is going to be fixed in qt4-x11, it needs to be updated first: #20986

comment:3 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)

I propose to remove qt4-x11 in favor of qt4-mac. Please express your opinions at https://github.com/macports/macports-ports/pull/3883 if any, thanks!

comment:4 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)

Cc: yan12125 added

comment:5 Changed 6 years ago by yan12125 (Chih-Hsuan Yen)

Resolution: fixed
Status: newclosed

In 4a4c1313f89fdffe49e7ed37b238df7db954389b/macports-ports (master):

qt4-x11: removed as qt4-mac works just fine

Ref: #20309#comment:43
Closes: #20986
Closes: #35740

Note: See TracTickets for help on using tickets.