Created attachment 98206 [details] Build log Kipi-plugins-5.0.0_beta4 fails to build with flex-2.6.0 (see attached build log). A downgrade to flex-2.5.39 solves the issue. Kipi-plugins 4.14.0 also seems to be affected. A proposed patch is available in the Gentoo bug tracker: https://bugs.gentoo.org/show_bug.cgi?id=568184
I think the current implementation from git/master (next 5.0.0-beta5) is already compatible, with this loop in panorama CMakeLists.txt : https://quickgit.kde.org/?p=digikam.git&a=blob&h=0b8d9683d4092ff39f9646285205a4abcf925daf&hb=793e17d0c1d49b69832be432baaa407a7fdecd4a&f=utilities%2Fassistants%2Fpanorama%2FCMakeLists.txt#l12 Gilles Caulier
As said in the gentoo bug report, this is a bug with Flex: https://sourceforge.net/p/flex/bugs/195/ There is nothing we can do about it. It is fixed in ArchLinux though, so other distributions should be able to do the same. Please report this to your Linux distribution such that they patch Flex.
Sorry, the patch looked like it solves a malformed comment in kipi-plugins rather than a patch for flex. I better double-check it next time. I couldn't verify whether it works with the current version of kipi-plugins from git master, though. Thanks for the quick resolution!