when building git revison 99f6bf56c9611c301ee429e38628018297013e1f, showfotosetup has link errors FAILED: : && /var/lib/sorcery/build/c++ -march=native -mtune=native -m64 -pipe -O3 -Wno-deprec ated-declarations -std=c++0x -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wn o-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -std=c++0x -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpoin ter-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fexceptions -O3 - DNDEBUG -Wl,--enable-new-dtags -Wl,--enable-new-dtags -Wl,--as-needed showfoto/CMakeFiles/show foto.dir/setup/showfotosetuptooltip.cpp.o showfoto/CMakeFiles/showfoto.dir/setup/showfotosetupmi sc.cpp.o showfoto/CMakeFiles/showfoto.dir/setup/showfotosetupmetadata.cpp.o showfoto/CMakeFiles/ showfoto.dir/setup/showfotosetup.cpp.o showfoto/CMakeFiles/showfoto.dir/thumbbar/showfotoiteminf o.cpp.o showfoto/CMakeFiles/showfoto.dir/thumbbar/showfotoimagemodel.cpp.o showfoto/CMakeFiles/s howfoto.dir/thumbbar/showfotothumbnailmodel.cpp.o showfoto/CMakeFiles/showfoto.dir/thumbbar/show fotofiltermodel.cpp.o showfoto/CMakeFiles/showfoto.dir/thumbbar/showfotodragdrophandler.cpp.o sh owfoto/CMakeFiles/showfoto.dir/thumbbar/showfotokineticscroller.cpp.o showfoto/CMakeFiles/showfo to.dir/thumbbar/showfotoitemsortsettings.cpp.o showfoto/CMakeFiles/showfoto.dir/thumbbar/showfot ocoordinatesoverlay.cpp.o showfoto/CMakeFiles/showfoto.dir/thumbbar/itemviewshowfotodelegate.cpp .o showfoto/CMakeFiles/showfoto.dir/thumbbar/showfotodelegate.cpp.o showfoto/CMakeFiles/showfoto .dir/thumbbar/showfototooltipfiller.cpp.o showfoto/CMakeFiles/showfoto.dir/thumbbar/showfotocate gorizedview.cpp.o showfoto/CMakeFiles/showfoto.dir/thumbbar/showfotothumbnailbar.cpp.o showfoto/ CMakeFiles/showfoto.dir/main/showfotosettings.cpp.o showfoto/CMakeFiles/showfoto.dir/main/main.c pp.o showfoto/CMakeFiles/showfoto.dir/main/showfoto.cpp.o showfoto/CMakeFiles/showfoto.dir/showf oto_automoc.cpp.o -o showfoto/showfoto -rdynamic app/libdigikamcore.so.5.0.0 libs/dngwriter/li blibdng.a /opt/qt5/lib/libKF5Notifications.so.5.16.0 -lm libs/dngwriter/liblibxmp.a libs/dngwrit er/liblibmd5.a -lexpat /opt/qt5/lib/libQt5Sql.so.5.6.0 /opt/qt5/lib/libQt5WebKitWidgets.so.5.6.0 /opt/qt5/lib/libQt5WebKit.so.5.6.0 /opt/qt5/lib/libKF5Solid.so.5.16.0 /opt/qt5/lib/libKF5Notify Config.so.5.16.0 /opt/qt5/lib/libKF5KIOWidgets.so.5.16.0 /opt/qt5/lib/libKF5KIOCore.so.5.16.0 /o pt/qt5/lib/libKF5JobWidgets.so.5.16.0 /opt/qt5/lib/libKF5Completion.so.5.16.0 -ltiff -lpng -lz - lexiv2 -lpgf libs/rawengine/libraw/liblibraw.a -lm -llcms2 -lgomp -ljpeg -lxml2 -lpthread /opt/q t5/lib/libKF5Kipi.so.5.0.0 /opt/qt5/lib/libKF5XmlGui.so.5.16.0 /opt/qt5/lib/libQt5PrintSupport.s o.5.6.0 /opt/qt5/lib/libKF5IconThemes.so.5.16.0 /opt/qt5/lib/libKF5ConfigWidgets.so.5.16.0 /opt/ qt5/lib/libKF5ConfigGui.so.5.16.0 /opt/qt5/lib/libKF5Auth.so.5.16.0 /opt/qt5/lib/libQt5Network.s o.5.6.0 /opt/qt5/lib/libKF5Service.so.5.16.0 /opt/qt5/lib/libQt5Xml.so.5.6.0 -lSM -lICE -lX11 -l Xext utilities/kdesupport/kfilemetadata/libbaloowrap.a /opt/qt5/lib/libKF5FileMetaData.so.5.16.0 /opt/qt5/lib/libKF5Sane.so.5.1.0 /opt/qt5/lib/libKF5I18n.so.5.16.0 /opt/qt5/lib/libKF5WidgetsAddons.so.5.16.0 /opt/qt5/lib/libQt5Concurrent.so.5.6.0 /opt/qt5/lib/libKF5WindowSystem.so.5.16.0 /opt/qt5/lib/libQt5Widgets.so.5.6.0 /opt/qt5/lib/libKF5CoreAddons.so.5.16.0 /opt/qt5/lib/libQt5X 11Extras.so.5.6.0 /opt/qt5/lib/libQt5Gui.so.5.6.0 /opt/qt5/lib/libQt5DBus.so.5.6.0 /opt/qt5/lib/libKF5ConfigCore.so.5.16.0 /opt/qt5/lib/libKF5Codecs.so.5.16.0 /opt/qt5/lib/libQt5Core.so.5.6.0 -Wl,-rpath,/usr/src/digikam-5.x/build/app:/opt/qt5/lib: -Wl,-rpath-link,/opt/qt5/lib && : showfoto/CMakeFiles/showfoto.dir/setup/showfotosetup.cpp.o: In function `ShowFoto::Setup::slotOkClicked()': showfotosetup.cpp:(.text+0xd): undefined reference to `Digikam::SetupEditor::applySettings()' showfotosetup.cpp:(.text+0x34): undefined reference to `Digikam::SetupRaw::applySettings()' showfotosetup.cpp:(.text+0x41): undefined reference to `Digikam::SetupIOFiles::applySettings()' showfotosetup.cpp:(.text+0x4e): undefined reference to `Digikam::SetupSlideShow::applySettings()' showfotosetup.cpp:(.text+0x5b): undefined reference to `Digikam::SetupICC::applySettings()' showfoto/CMakeFiles/showfoto.dir/setup/showfotosetup.cpp.o: In function `ShowFoto::Setup::Setup(QWidget*, ShowFoto::Setup::Page)': showfotosetup.cpp:(.text+0x410): undefined reference to `Digikam::SetupEditor::SetupEditor(QWidget*)' showfotosetup.cpp:(.text+0x85c): undefined reference to `Digikam::SetupRaw::SetupRaw(QWidget*)' showfotosetup.cpp:(.text+0x9d6): undefined reference to `Digikam::SetupICC::SetupICC(QDialogButtonBox*, QWidget*)' showfotosetup.cpp:(.text+0xb42): undefined reference to `Digikam::SetupIOFiles::SetupIOFiles(QWidget*)' showfotosetup.cpp:(.text+0xcae): undefined reference to `Digikam::SetupSlideShow::SetupSlideShow(QWidget*)' showfoto/CMakeFiles/showfoto.dir/main/showfoto.cpp.o: In function `ShowFoto::ShowFoto::saveIsComplete()': showfoto.cpp:(.text+0x5135): undefined reference to `Digikam::DNotificationWrapper(QString const&, QString const&, QWidget*, QString const&, QPixmap const&)' showfoto/CMakeFiles/showfoto.dir/main/showfoto.cpp.o: In function `ShowFoto::ShowFoto::ShowFoto(QList<QUrl> const&)': showfoto.cpp:(.text+0x7fa5): undefined reference to `Digikam::SetupICC::iccRepositoryIsValid()' showfoto/CMakeFiles/showfoto.dir/main/showfoto.cpp.o: In function `ShowFoto::ShowFoto::ShowFoto(QList<QUrl> const&)': showfoto.cpp:(.text+0x86c7): undefined reference to `Digikam::SetupICC::iccRepositoryIsValid()' collect2: error: ld returned 1 exit status Reproducible: Always cmake-3.2.2 gcc-5.2.0
Git commit 540bcfac14991e91d83f7c0bcc3ef964e2717093 by Maik Qualmann. Committed on 28/11/2015 at 20:53. Pushed by mqualmann into branch 'master'. fix macros in showfotosetup header files M +3 -3 showfoto/setup/showfotosetup.h M +3 -3 showfoto/setup/showfotosetupmetadata.h M +3 -3 showfoto/setup/showfotosetupmisc.h M +3 -3 showfoto/setup/showfotosetuptooltip.h http://commits.kde.org/digikam/540bcfac14991e91d83f7c0bcc3ef964e2717093
Please try again with latest git commit. Maik
Created attachment 95797 [details] full compile log
clean build now gives link errors in libdigikamgui.so
remove all build directory, reconfigure with cmake and recompile all. Problem still here ? Gilles Caulier
Created attachment 96092 [details] latest compile log
Comment on attachment 96092 [details] latest compile log -- Check for working C compiler using: Ninja -- Check for working C compiler using: Ninja -- works ... -- Check for working CXX compiler using: Ninja -- Check for working CXX compiler using: Ninja -- works ... -- Build files have been written to: /usr/src/digikam-5.x/build ninja: warning: multiple rules generate /var/git/qt5/kde5-apps/digikam/cmake/templates/Info.plist.cmake.in. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn] ... Ninja build envirronnement is not supported... Gilles Caulier
builds ok using make at commit f65cf709b1c26263a5000eb1a70506908065f092 I have not retested using ninja yet. digikam is the only project which fails for me using ninja