#19316: problem installing qt4-kde or qt4-mac --------------------------------------+------------------------------------- Reporter: mannequinZOD@… | Owner: erickt@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: qt4-mac, qt4-kde --------------------------------------+------------------------------------- Comment(by mannequinZOD@…): I cleaned qt4-kde and qt4-mac, I also redid it again. I still get the same (similar) error I used port upgrade on qt4-mac (I actually used port upgrade installed). I think it installed qt4-mac@4.5 (it is in the installed list), but it gave an error message while it installed it. So I am really not sure, if the 4.5 version is actually working or not. {{{ sh-3.2# port installed The following ports are currently installed: akonadi @1.0.0_3 (active) aspell @0.60.6_1+macosx (active) aspell-dict-en @6.0_0 (active) atk @1.24.0_0 (active) autoconf @2.63_0 (active) automake @1.10.2_0 (active) automoc @0.9.87_4 (active) bison @2.4.1_0 (active) boost @1.37.0_0+darwin_9 boost @1.38.0_0+darwin_9 (active) boost-jam @3.1.17_0 (active) bzip2 @1.0.5_2 (active) cairo @1.8.6_3+macosx cairo @1.8.6_4+macosx (active) clucene @0.9.20_0 (active) cmake @2.6.2_0 cmake @2.6.3_0 (active) coreutils @6.12_2 (active) curl @7.19.3_0 curl @7.19.4_0 (active) cyrus-sasl2 @2.1.22_0+kerberos (active) db44 @4.4.20_1 (active) db46 @4.6.21_4 db46 @4.6.21_5 (active) dbus @1.2.12_4 dbus @1.2.12_5 (active) docbook-xml @5.0_0 (active) docbook-xml-4.1.2 @4.1.2_1 (active) docbook-xml-4.2 @4.2_0 (active) docbook-xml-4.3 @4.3_0 (active) docbook-xml-4.4 @4.4_0 (active) docbook-xml-4.5 @4.5_0 (active) docbook-xml-5.0 @5.0_0 (active) docbook-xsl @1.74.0_0 (active) doxygen @1.5.8_1 (active) enchant @1.4.2_0 (active) expat @2.0.1_0 (active) flex @2.5.35_0 (active) fontconfig @2.6.0_1+macosx fontconfig @2.6.0_2+macosx (active) freetype @2.3.8_0+macosx freetype @2.3.9_0+macosx (active) gd2 @2.0.35_4 (active) getopt @1.1.4_1 (active) gettext @0.17_4 (active) glib2 @2.18.3_0+darwin_9 glib2 @2.20.1_0 (active) glut @3.7_3 (active) gmake @3.81_0 (active) gmp @4.2.4_1 gmp @4.2.4_3 (active) gnokii @0.6.27_0+macosx (active) gnome-common @2.24.0_1 (active) gnome-doc-utils @0.14.2_0 (active) gnupg @1.4.9_0 (active) gperf @3.0.3_0 gperf @3.0.4_0 (active) gpgme @1.1.7_0 (active) graphviz @2.20.3_3+macosx graphviz @2.22.2_0+macosx (active) gtk-doc @1.11_0 (active) gtk2 @2.14.7_1+x11 gtk2 @2.14.7_2+x11 (active) help2man @1.36.4_1 (active) ilmbase @1.0.1_2 (active) intltool @0.40.5_0 intltool @0.40.6_0 (active) iso-codes @3.5_0 (active) jasper @1.900.1_3 (active) jpeg @6b_3 (active) kdebase4 @4.2.0_0 (active) kdebase4-runtime @4.2.0_0 (active) kdelibs4 @4.2.0_0 (active) kdepim4 @4.2.0_0 (active) kdepimlibs4 @4.2.0_0 (active) kdeutils4 @4.2.0_0 (active) lcms @1.17_0 lcms @1.18_0 (active) libarchive @2.6.1_0 libarchive @2.6.2_0 (active) libart_lgpl @2.3.20_0 (active) libgpg-error @1.7_0 (active) libical @0.42_0 (active) libiconv @1.12_2 (active) libidn @1.11_0 libidn @1.13_0 (active) libmng @1.0.10_0 (active) libmp4v2 @1.5.0.1_0 (active) libogg @1.1.3_2 libpng @1.2.35_0 (active) libtool @2.2.6a_0 (active) libusb @0.1.12_1 (active) libxml2 @2.7.3_0 (active) libxslt @1.1.24_2 (active) libzip @0.9_0 (active) lzmautils @4.32.7_1 (active) m4 @1.4.12_1 m4 @1.4.13_0 (active) mesa @7.2_5+hw_render mesa @7.4_0+hw_render mesa @7.4_1+hw_render (active) mysql5-devel @5.1.32_0 mysql5-devel @5.1.33_0 mysql5-devel @5.1.33_1 (active) ncftp @3.2.2_0 (active) ncurses @5.7_0 (active) ncursesw @5.7_0 (active) openexr @1.6.1_1 (active) openldap @2.3.35_1 (active) openssl @0.9.8j_0 openssl @0.9.8k_0 (active) ossp-uuid @1.6.2_0 (active) p5-locale-gettext @1.05_0 (active) p5-xml-parser @2.36_0 (active) pcre @7.8_1 pcre @7.8_3 (active) perl5 @5.8.9_0 (active) perl5.8 @5.8.9_2 perl5.8 @5.8.9_3 (active) phonon @4.3.0_0 (active) pkgconfig @0.23_1 (active) postgresql83 @8.3.6_0 postgresql83 @8.3.7_0 (active) pth @2.0.7_0 (active) py25-hashlib @2.5.4_0 (active) py25-libxml2 @2.6.21_1 (active) python25 @2.5.4_0+darwin_9+macosx python25 @2.5.4_1+darwin_9+macosx python25 @2.5.4_2+darwin_9+macosx (active) qca @2.0.0_2 (active) qimageblitz @0.0.5_3 (active) qt4-mac @4.4.3_1 (active) qt4-mac @4.5.0_1 raptor @1.4.18_0 (active) rarian @0.8.1_0 (active) rasqal @0.9.16_0 (active) readline @6.0.000_0 readline @6.0.000_1 (active) redland @1.0.8_1+db46 (active) shared-mime-info @0.60_0 (active) soprano @2.2_0 (active) sqlite3 @3.6.11_0 sqlite3 @3.6.12_0 (active) strigi @0.6.3_0 (active) tcl @8.5.6_0 (active) texinfo @4.13_0 (active) tiff @3.8.2_2+darwin_9+macosx tiff @3.8.2_3+macosx (active) unixODBC @2.2.14_0 unixODBC @2.2.14_1 (active) urw-fonts @1.0.7pre44_0 (active) xmlcatmgr @2.2_1 (active) xorg-bigreqsproto @1.0.2_0 (active) xorg-compositeproto @0.4_0 (active) xorg-damageproto @1.1.0_0 (active) xorg-dri2proto @1.99.3_0 (active) xorg-fixesproto @4.0_0 (active) xorg-glproto @1.4.9_0 (active) xorg-inputproto @1.5.0_0 (active) xorg-kbproto @1.0.3_0 (active) xorg-libice @1.0.5_0 (active) xorg-libsm @1.1.0_0 (active) xorg-libX11 @1.2_0 (active) xorg-libXau @1.0.4_0 (active) xorg-libXaw @1.0.5_0 (active) xorg-libXcomposite @0.4.0_0 (active) xorg-libXcursor @1.1.9_0 (active) xorg-libXdamage @1.1.1_0 (active) xorg-libXdmcp @1.0.2_0 (active) xorg-libXext @1.0.5_0 xorg-libXext @1.0.5_1 (active) xorg-libXfixes @4.0.3_0 (active) xorg-libXi @1.2.1_0 (active) xorg-libXinerama @1.0.3_0 (active) xorg-libXmu @1.0.4_0 (active) xorg-libXrandr @1.2.3_0 xorg-libXrandr @1.3.0_0 (active) xorg-libXt @1.0.5_1 xorg-libXt @1.0.5_2 (active) xorg-randrproto @1.2.1_0 xorg-randrproto @1.3.0_0 (active) xorg-renderproto @0.9.3_0 (active) xorg-util-macros @1.2.1_1 (active) xorg-xcmiscproto @1.1.2_0 (active) xorg-xextproto @7.0.5_0 (active) xorg-xf86bigfontproto @1.1.2_0 (active) xorg-xineramaproto @1.1.2_0 (active) xorg-xproto @7.0.14_1 xorg-xproto @7.0.15_0 (active) xorg-xtrans @1.2.3_0 (active) xpm @3.5.7_0 (active) xrender @0.9.4_5 (active) yafc @1.1.1_1+darwin_9 (active) zlib @1.2.3_2 (active) }}} {{{ sh-3.2# port clean qt4-kde ---> Cleaning qt4-kde sh-3.2# port clean qt4-mac ---> Cleaning qt4-mac 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: make -f Makefile.Debug all /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../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/main.o main.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../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/qicohandler.o qicohandler.cpp rm -f libqico_debug.bundle /usr/bin/g++-4.0 -headerpad_max_install_names -bundle -flat_namespace -o libqico_debug.bundle .obj/debug-shared/main.o .obj/debug- shared/qicohandler.o -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 -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/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 -framework QtGui -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/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 -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 -framework Carbon -framework AppKit -lpng -framework QtCore -lz -lm -framework ApplicationServices ld warning: duplicate dylib /opt/local/lib/libz.1.dylib mv -f libqico_debug.bundle ../../../../plugins/imageformats/ make -f Makefile.Release all /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -Os -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../include -I.moc/release-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/release-shared/main.o main.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -Os -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../include -I.moc/release-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/release-shared/qicohandler.o qicohandler.cpp rm -f libqico.bundle /usr/bin/g++-4.0 -headerpad_max_install_names -bundle -flat_namespace -o libqico.bundle .obj/release-shared/main.o .obj/release- shared/qicohandler.o -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 -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/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 -framework QtGui -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/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 -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 -framework Carbon -framework AppKit -lpng -framework QtCore -lz -lm -framework ApplicationServices ld warning: duplicate dylib /opt/local/lib/libz.1.dylib mv -f libqico.bundle ../../../../plugins/imageformats/ cd sqldrivers/ && make -f Makefile cd psql/ && make -f Makefile make -f Makefile.Debug all /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtSql -I../../../../include/QtSql -I../../../../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/main.o main.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtSql -I../../../../include/QtSql -I../../../../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/qsql_psql.o ../../../sql/drivers/psql/qsql_psql.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_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtSql -I../../../../include/QtSql -I../../../../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__ ../../../sql/drivers/psql/qsql_psql.h -o .moc/debug- shared/moc_qsql_psql.cpp /usr/bin/g++-4.0 -c -O2 -isystem/opt/local/include -isystem/opt/local/include/mysql5/mysql -isystem/opt/local/include/postgresql83 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/macx-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtSql -I../../../../include/QtSql -I../../../../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/moc_qsql_psql.o .moc /debug-shared/moc_qsql_psql.cpp rm -f libqsqlpsql_debug.bundle /usr/bin/g++-4.0 -headerpad_max_install_names -bundle -flat_namespace -o libqsqlpsql_debug.bundle .obj/debug-shared/main.o .obj/debug- shared/qsql_psql.o .obj/debug-shared/moc_qsql_psql.o -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 -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/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 -lpq -framework QtSql -L/opt/local/lib -L/opt/local/lib/mysql5/mysql -L/opt/local/lib/postgresql83 -L/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 -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 -framework QtCore -lz -lm -framework ApplicationServices ld: file not found: /opt/local/lib/libssl.1.0.0.dylib collect2: ld returned 1 exit status make[4]: *** [../../../../plugins/sqldrivers/libqsqlpsql_debug.bundle] Error 1 make[3]: *** [debug-all] Error 2 make[2]: *** [sub-psql-make_default] Error 2 make[1]: *** [sub-sqldrivers-make_default] Error 2 make: *** [sub-plugins-make_default-ordered] Error 2 }}} Replying to [comment:6 mcalhoun@…]:
openssl was upgraded to a beta version in r49051.[[BR]] It caused problems (with Qt apparently), so it was reverted to a stable version in r49057.[[BR]] So your installation was correct to downgrade.
From you error message above, it looks like, you did not run {{{ sudo port clean qt4-kde qt4-mac }}} before trying to upgrade.
You mentioned that you already had a version of qt4-mac installed.[[BR]] If that is the case, you want "port upgrade" instead of "port install."
-- Ticket URL: <http://trac.macports.org/ticket/19316#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS