glabels-qt
glabels-qt copied to clipboard
Incompatibility with zint 2.10.0
Arch Linux
glabels-qt (compiled from git source)
zint 2.10.0
At compile time:
CMake Error at cmake/Modules/FindLibZint.cmake:40 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:129 (find_package)
CMake Error at cmake/Modules/FindLibZint.cmake:41 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:129 (find_package)
CMake Error at cmake/Modules/FindLibZint.cmake:42 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:129 (find_package)
I can confirm for current debian/testing (bookworm):
- cmake fails at the configuration stage with the above errors
- the patch in PR linked by ckolombus (Chris Drexler) fixed the problem → Thank you @ckolombus !
in Cmake/Module/FindLIbZint.make, lines 40,41,42,43. Put quotes around the last item. string (REGEX REPLACE "^.*VERSION_MAJOR ([0-9])" "\1" ZINT_MAJOR "${ZINT_MAJOR_H}") string (REGEX REPLACE "^.*VERSION_MINOR ([0-9])" "\1" ZINT_MINOR "${ZINT_MINOR_H}") string (REGEX REPLACE "^.*VERSION_RELEASE ([0-9])" "\1" ZINT_MICRO "${ZINT_MICRO_H}") set (LIBZINT_VERSION_STRING "${ZINT_MAJOR}"."${ZINT_MINOR}"."${ZINT_MICRO}")
I think this project is dead. The last commit was at February 2021.