[-- Attachment #1: Type: text/plain, Size: 1360 bytes --] New issue by ahesford on void-packages repository https://github.com/void-linux/void-packages/issues/33534 Description: The `gmic` package fails to build from source. Attempting to update to a newer version in the `2.8.x` series produces similar errors, while attempting to update to the latest `2.9.9` causes other failures. The initial failure is documented in the log [gmic.build01.log](https://github.com/void-linux/void-packages/files/7342918/gmic.build01.log) After the first failure, the file `gmic-2.8.0/src/use_libgmic.cpp` can be patched to uncomment the following two lines near the top of the file: ```c++ #include "CImg.h" using namespace cimg_library; ``` The `use_libgmic` target will compile succesfully, but build failures appear when building the gimp plugin. The later failure is documented in the log [gmic.build02.log](https://github.com/void-linux/void-packages/files/7342919/gmic.build02.log). The errors appear when compiling with `python3-3.10.0_1` and `opencv-3.4.15_1` currently in the repo. However, I also reverted to commit e7ca6798247, and the build also fails with `python3-3.9.7_1` and `opencv-3.4.10_2`. Note that, to test this, I had to grab an old version of the `opencv` packages from the repo, because `opencv-3.4.10` also fails to build from source. (The error in `opencv` seems to be related to JPEG-2000.)
[-- Attachment #1: Type: text/plain, Size: 204 bytes --] New comment by newbluemoon on void-packages repository https://github.com/void-linux/void-packages/issues/33534#issuecomment-943545228 Comment: I think I found a solution and will open a PR shortly. :)
[-- Attachment #1: Type: text/plain, Size: 1363 bytes --] Closed issue by ahesford on void-packages repository https://github.com/void-linux/void-packages/issues/33534 Description: The `gmic` package fails to build from source. Attempting to update to a newer version in the `2.8.x` series produces similar errors, while attempting to update to the latest `2.9.9` causes other failures. The initial failure is documented in the log [gmic.build01.log](https://github.com/void-linux/void-packages/files/7342918/gmic.build01.log) After the first failure, the file `gmic-2.8.0/src/use_libgmic.cpp` can be patched to uncomment the following two lines near the top of the file: ```c++ #include "CImg.h" using namespace cimg_library; ``` The `use_libgmic` target will compile succesfully, but build failures appear when building the gimp plugin. The later failure is documented in the log [gmic.build02.log](https://github.com/void-linux/void-packages/files/7342919/gmic.build02.log). The errors appear when compiling with `python3-3.10.0_1` and `opencv-3.4.15_1` currently in the repo. However, I also reverted to commit e7ca6798247, and the build also fails with `python3-3.9.7_1` and `opencv-3.4.10_2`. Note that, to test this, I had to grab an old version of the `opencv` packages from the repo, because `opencv-3.4.10` also fails to build from source. (The error in `opencv` seems to be related to JPEG-2000.)
[-- Attachment #1: Type: text/plain, Size: 245 bytes --] New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/issues/33534#issuecomment-999714290 Comment: Closed by https://github.com/void-linux/void-packages/commit/2c3baf12906fee0e43ee5eeebb5ffd917bb40a34