glabels-qt icon indicating copy to clipboard operation
glabels-qt copied to clipboard

Incompatibility with zint 2.10.0

Open simonbcn opened this issue 3 years ago • 3 comments

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)

simonbcn avatar Jan 05 '22 08:01 simonbcn

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 !

KaiMartin avatar Mar 21 '22 20:03 KaiMartin

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}")

grecky-goo avatar Oct 24 '22 02:10 grecky-goo

I think this project is dead. The last commit was at February 2021.

simonbcn avatar Oct 24 '22 05:10 simonbcn