Opened 14 years ago

Closed 14 years ago

#27934 closed defect (fixed)

kdelibs4 uses kerberos5 libraries without declaring dependency

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: sharky@…, michaelld (Michael Dickens)
Port: kdelibs4

Description

If kerberos5 is installed, kdelibs4 will try to use it; I found this out while trying to build kdelibs4 universal, which failed because kerberos5 was not installed universal and MacPorts did not attempt to rebuild kerberos5 universal for me since it was not listed as a dependency.

:info:build cd /opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/build/knewstuff/knewstuff2 && /usr/bin/g++-4.2   -DMAKE_KNEWSTUFF2_LIB -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE_DEFAULT_DEBUG_AREA=550 -pipe -O2 -arch x86_64 -arch i386  -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -arch i386 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -fPIC -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/build/knewstuff/knewstuff2 -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/knewstuff/knewstuff2 -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5 -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/build -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/interfaces -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kio -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kio/bookmarks -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kio/kio -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kio/kfile -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/actions -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/colors -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/config -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/dialogs -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/findreplace -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/fonts -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/icons -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/itemviews -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/jobs -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/kernel -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/notifications -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/paged -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/plotting -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/shortcuts -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/sonnet -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/util -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/widgets -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/windowmanagement -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdeui/xmlgui -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kjs -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/build/kjs -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/build/kdecore -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/compression -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/config -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/date -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/io -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/jobs -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/kernel -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/auth -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/network -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/services -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/localization -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/sycoca -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/text -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/util -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/kdecore/sonnet -I/opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/kdelibs-4.5.5/knewstuff/knewstuff2/.. -I/opt/local/include/QtCrypto -I/opt/local/include/phonon -I/opt/local/include/QtXmlPatterns -I/opt/local/include/QtXml -I/opt/local/include/QtWebKit -I/opt/local/include/QtUiTools -I/opt/local/include/QtTest -I/opt/local/include/QtSvg -I/opt/local/include/QtSql -I/opt/local/include/QtScriptTools -I/opt/local/include/QtScript -I/opt/local/include/QtOpenGL -I/opt/local/include/QtNetwork -I/opt/local/include/QtMultimedia -I/opt/local/include/QtHelp -I/opt/local/include/QtDesigner -I/opt/local/include/QtDeclarative -I/opt/local/include/QtDBus -I/opt/local/include/Qt3Support -I/opt/local/include/QtGui -I/opt/local/include/QtCore -I/opt/local/share/qt4/mkspecs/default   -D__APPLE_KDE__  -o CMakeFiles/knewstuff2.dir/knewstuff2_automoc.o -c /opt/local/var/macports/build/_Users_rschmidt_macports_dports_kde_kdelibs4/work/build/knewstuff/knewstuff2/knewstuff2_automoc.cpp
:info:build ld: warning: in /opt/local/lib/libgssapi_krb5.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build ld: warning: in /opt/local/lib/libkrb5.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build ld: warning: in /opt/local/lib/libk5crypto.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build ld: warning: in /opt/local/lib/libcom_err.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
:info:build Undefined symbols for architecture i386:
:info:build   "_gss_release_buffer", referenced from:
:info:build       KHttpNegotiateAuthentication::generateResponse(QString const&, QString const&)in http.o
:info:build   "_gss_delete_sec_context", referenced from:
:info:build       KHttpNegotiateAuthentication::generateResponse(QString const&, QString const&)in http.o
:info:build       KHttpNegotiateAuthentication::generateResponse(QString const&, QString const&)in http.o
:info:build   "_GSS_C_NT_HOSTBASED_SERVICE", referenced from:
:info:build       _GSS_C_NT_HOSTBASED_SERVICE$non_lazy_ptr in http.o
:info:build      (maybe you meant: _GSS_C_NT_HOSTBASED_SERVICE$non_lazy_ptr)
:info:build   "_gss_display_status", referenced from:
:info:build       gssError(int, int)in http.o
:info:build       gssError(int, int)in http.o
:info:build   "_gss_release_name", referenced from:
:info:build       KHttpNegotiateAuthentication::generateResponse(QString const&, QString const&)in http.o
:info:build       KHttpNegotiateAuthentication::generateResponse(QString const&, QString const&)in http.o
:info:build   "_gss_release_oid_set", referenced from:
:info:build       KHttpNegotiateAuthentication::generateResponse(QString const&, QString const&)in http.o
:info:build   "_gss_init_sec_context", referenced from:
:info:build       KHttpNegotiateAuthentication::generateResponse(QString const&, QString const&)in http.o
:info:build   "_gss_import_name", referenced from:
:info:build       KHttpNegotiateAuthentication::generateResponse(QString const&, QString const&)in http.o
:info:build   "_gss_indicate_mechs", referenced from:
:info:build       KHttpNegotiateAuthentication::generateResponse(QString const&, QString const&)in http.o
:info:build ld: symbol(s) not found for architecture i386
:info:build collect2: ld returned 1 exit status

Attachments (1)

main.log.bz2 (128.6 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

comment:1 Changed 14 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

If you have a chance to revisit this situation, since you may have the packages archived, could you see that adding -DWITH_GSSAPI=OFF to configure.args fixes this?

comment:2 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Included dependency in r75039.

Note: See TracTickets for help on using tickets.