Been simply ages since I’ve broken anything. Let’s see what I can do…
TL;DR: -rw-r--r-- 1 gosgood gosgood 0 Sep 1 11:21 gmic_stdlib_community.h
and that breaks things in gmic.cpp
.
gosgood@bertha ~/git_repositories/gmic/src $ git branch firstbad 01f1ec44 # This commit rolls version: gmic_version 341 ⇒ gmic_version 342 @ src/gmic.h:52
gosgood@bertha ~/git_repositories/gmic/src $ git branch lastgood 633c1abb # Last commit before version role.
gosgood@bertha ~/git_repositories/gmic/src $ git switch firstbad
gosgood@bertha ~/git_repositories/gmic/src $ make clean
rm -rf CImg.h gmic_stdlib_community.h gmic use_libgmic use_libcgmic use_libcgmic_static gmic*.o libgmic* libcgmic* *~
gosgood@bertha ~/git_repositories/gmic/src $ ls -l
total 3384
-rw-r--r-- 1 gosgood gosgood 11705 Nov 5 2023 gmic_cli.cpp
-rw-r--r-- 1 gosgood gosgood 707867 Sep 1 08:42 gmic.cpp
-rw-r--r-- 1 gosgood gosgood 24295 Sep 1 11:01 gmic.h
-rw-r--r-- 1 gosgood gosgood 3537 Jan 15 2023 gmic_in_script.scm
-rw-r--r-- 1 gosgood gosgood 2662586 Sep 1 11:01 gmic_stdlib.gmic
-rw-r--r-- 1 gosgood gosgood 544 Jun 29 12:57 help-dummy.o
-rw-r--r-- 1 gosgood gosgood 34302 Apr 20 06:57 Makefile
-rw-r--r-- 1 gosgood gosgood 6277 Jan 15 2024 use_libgmic.cpp
gosgood@bertha ~/git_repositories/gmic/src $ make cli…
< omit canonical build messages…>
> Retrieve G'MIC Standard Library + Community Contributions...
done!
> Retrieve CImg Library...
done!
x86_64-pc-linux-gnu-g++ -o gmic.o -c gmic.cpp -Dgmic_core -Dgmic_community -Dcimg_date=\"\" -Dcimg_time=\"\" -Dcimg_use_zlib -I. -Dgmic_prerelease=\"24090111\" -std=c++11 -pedantic -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Dcimg_use_vt100 -Dcimg_use_abort -Dgmic_is_parallel -Dcimg_use_fftw3 -Dcimg_use_curl -Dcimg_use_png -I/usr/include/libpng16 -Dcimg_use_jpeg -Dcimg_use_tiff -fopenmp -Dcimg_use_openmp -Dcimg_display=1 -Dcimg_use_openexr -I/usr/include/OpenEXR -I/usr/include/Imath -O3 -mtune=generic
gmic.cpp: In static member function ‘static const gmic_library::gmic_image<char>& gmic::decompress_stdlib()’:
gmic.cpp:2741:59: error: ‘data_gmic’ was not declared in this scope
2741 | CImgList<char>::get_unserialize(CImg<unsigned char>(data_gmic,1,size_data_gmic,1,1,true))[0].
| ^~~~~~~~~
compilation terminated due to -Wfatal-errors.
make[1]: *** [Makefile:441: gmic.o] Error 1
make[1]: Leaving directory '/home/gosgood/git_repositories/gmic/src'
make: *** [Makefile:415: cli] Error 2
gosgood@bertha ~/git_repositories/gmic/src $ ls -l
total 3384
lrwxrwxrwx 1 gosgood gosgood 17 Sep 1 11:21 CImg.h -> ../../CImg/CImg.h
-rw-r--r-- 1 gosgood gosgood 11705 Nov 5 2023 gmic_cli.cpp
-rw-r--r-- 1 gosgood gosgood 707867 Sep 1 08:42 gmic.cpp
-rw-r--r-- 1 gosgood gosgood 24295 Sep 1 11:01 gmic.h
-rw-r--r-- 1 gosgood gosgood 3537 Jan 15 2023 gmic_in_script.scm
-rw-r--r-- 1 gosgood gosgood 0 Sep 1 11:21 gmic_stdlib_community.h \<=== Makefile fetch is coming down empty on 3.4.2
-rw-r--r-- 1 gosgood gosgood 2662586 Sep 1 11:01 gmic_stdlib.gmic
-rw-r--r-- 1 gosgood gosgood 544 Jun 29 12:57 help-dummy.o
-rw-r--r-- 1 gosgood gosgood 34302 Apr 20 06:57 Makefile
-rw-r--r-- 1 gosgood gosgood 6277 Jan 15 2024 use_libgmic.cpp
gosgood@bertha ~/git_repositories/gmic/src $ git status
On branch firstbad
nothing to commit, working tree clean
gosgood@bertha ~/git_repositories/gmic/src $ git switch lastgood
Switched to branch 'lastgood'
gosgood@bertha ~/git_repositories/gmic/src $ make clean
rm -rf CImg.h gmic_stdlib_community.h gmic use_libgmic use_libcgmic use_libcgmic_static gmic*.o libgmic* libcgmic* *~
gosgood@bertha ~/git_repositories/gmic/src $ ls -l
total 3384
-rw-r--r-- 1 gosgood gosgood 11705 Nov 5 2023 gmic_cli.cpp
-rw-r--r-- 1 gosgood gosgood 707867 Sep 1 08:42 gmic.cpp
-rw-r--r-- 1 gosgood gosgood 24295 Sep 1 11:37 gmic.h
-rw-r--r-- 1 gosgood gosgood 3537 Jan 15 2023 gmic_in_script.scm
-rw-r--r-- 1 gosgood gosgood 2662586 Sep 1 11:37 gmic_stdlib.gmic
-rw-r--r-- 1 gosgood gosgood 544 Jun 29 12:57 help-dummy.o
-rw-r--r-- 1 gosgood gosgood 34302 Apr 20 06:57 Makefile
-rw-r--r-- 1 gosgood gosgood 6277 Jan 15 2024 use_libgmic.cpp
gosgood@bertha ~/git_repositories/gmic/src $ make cli
< omit canonical build messages…>
> Retrieve G'MIC Standard Library + Community Contributions...
done!
> Retrieve CImg Library...
< build succeeds…>
…make[1]: Leaving directory '/home/gosgood/git_repositories/gmic/src'
strip gmic
gosgood@bertha ~/git_repositories/gmic/src $ ls -l
total 33120
lrwxrwxrwx 1 gosgood gosgood 17 Sep 1 11:38 CImg.h -> ../../CImg/CImg.h
-rwxr-xr-x 1 gosgood gosgood 9229984 Sep 1 11:40 gmic
-rw-r--r-- 1 gosgood gosgood 11705 Nov 5 2023 gmic_cli.cpp
-rw-r--r-- 1 gosgood gosgood 707867 Sep 1 08:42 gmic.cpp
-rw-r--r-- 1 gosgood gosgood 24295 Sep 1 11:37 gmic.h
-rw-r--r-- 1 gosgood gosgood 3537 Jan 15 2023 gmic_in_script.scm
-rw-r--r-- 1 gosgood gosgood 13160608 Sep 1 11:40 gmic.o
-rw-r--r-- 1 gosgood gosgood 8052720 Sep 1 11:38 gmic_stdlib_community.h \<=== Make fetches a populated file on 3.4.1
-rw-r--r-- 1 gosgood gosgood 2662586 Sep 1 11:37 gmic_stdlib.gmic
-rw-r--r-- 1 gosgood gosgood 544 Jun 29 12:57 help-dummy.o
-rw-r--r-- 1 gosgood gosgood 34302 Apr 20 06:57 Makefile
-rw-r--r-- 1 gosgood gosgood 6277 Jan 15 2024 use_libgmic.cpp
gosgood@bertha ~/git_repositories/gmic/src $ git status
On branch lastgood
nothing to commit, working tree clean