When I try to compile digikam from git, it fails on linking renamecustomizertest: [ 88%] Linking CXX executable renamecustomizertest ../../utilities/importui/libimportui.a(renamecustomizer.cpp.o): In function `Digikam::RenameCustomizer::RenameCustomizer(QWidget*, QString const&)': /media/karry/data/src/digikam/utilities/importui/widgets/renamecustomizer.cpp:143: undefined reference to `Digikam::AdvancedRenameWidget::AdvancedRenameWidget(QWidget*)' ...and many more. See attached logs for more details My current head is: d3a20a0cd682dddcc6f9ff8f5990028232d845b5 Attached patch solves this problem. But I don't know if my fix is correct... Reproducible: Always Steps to Reproduce: 1. cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr .. 2. make
Created attachment 98185 [details] cmake log
Created attachment 98186 [details] make log
Created attachment 98187 [details] CMakeLists.txt patch that fixes build
Have you digiKam after this instructions compiled? https://www.digikam.org/download?q=download/GIT Maik
No. When I compile it by these instructions, it fails too. On linking renamecustomizertest... Are you able to reproduce? I can try to prepare Docker image if you will have problems to reproduce this bug...
With your CMakeLists patch crashes now the renamecustomizertest at end. Compile or linking problems do not exist here. Maik
Created attachment 98232 [details] Docker image based on ubuntu:xenial that help to reproduce compile problem
Created attachment 98233 [details] make log with docker image
Linker problem exists on latest Ubuntu Xenial (unreleased yet). You can reproduce it when you install Docker on your machine, download attached Dockerfile to directory "dk-build-ubuntu-test" and try to compile digikam in container based on this image... # build docker image: docker build --tag dk-build-ubuntu-test:latest dk-build-ubuntu-test # try to compile digikam in container: docker run --rm=true -it dk-build-ubuntu-test /usr/bin/make
The compiler error is to reproduce in the docker Image. I look for the cause tonight. Maik
Git commit ff5d2c0ea8fda5e7c11838fa0650cc13355939b1 by Maik Qualmann. Committed on 05/04/2016 at 17:37. Pushed by mqualmann into branch 'master'. fix crash from advancedrenametest and compile error from renamecustomizertest FIXED-IN: 5.0.0 M +2 -1 NEWS M +7 -9 tests/advancedrename/CMakeLists.txt M +5 -1 utilities/importui/widgets/renamecustomizer.h http://commits.kde.org/digikam/ff5d2c0ea8fda5e7c11838fa0650cc13355939b1
Thank Maik, good job.