Source: gmic
Version: 2.9.4-4
Severity: serious
Tags: ftbs trixie sid

gmic fails to build from source with this error:

In file included from /<<PKGBUILDDIR>>/src/gmic_cli.cpp:53:
/<<PKGBUILDDIR>>/src/gmic.h:196:2: error: #error "[gmic] *** Error ***
File 'CImg.h' has been already included (should have been done first
in file 'gmic.h')."
  196 | #error "[gmic] *** Error *** File 'CImg.h' has been already
included (should have been done first in file 'gmic.h')."
      |  ^~~~~
/<<PKGBUILDDIR>>/src/gmic.h:207:9: warning: "cimg_abort_init" redefined
  207 | #define cimg_abort_init bool *const gmic_is_abort =
::gmic_abort_ptr(0); cimg::unused(gmic_is_abort)
      |         ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/CImg.h:360:9: note: this is the location of the
previous definition
  360 | #define cimg_abort_init
      |         ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/gmic.h:208:9: warning: "cimg_abort_test" redefined
  208 | #define cimg_abort_test if (*gmic_is_abort) throw CImgAbortException()
      |         ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/CImg.h:363:9: note: this is the location of the
previous definition
  363 | #define cimg_abort_test
      |         ^~~~~~~~~~~~~~~

Thank you,
Jeremy Bícha

Reply via email to