I cannot make it build, always fails with errors like: Feedback welcome on OSX Readline ... Use fuzzy detection for PLplot lib. (e.g. in /usr/lib) -- Found PLPLOT: /usr/lib/libplplot.so;/usr/lib/libplplotcxx.so -- Warning, if you have plplot version > 5.11 and wxWidgets enabled, please read carefully file README -- Looking for c_plslabelfunc in /usr/lib/libplplot.so;/usr/lib/libplplotcxx.so -- Looking for c_plslabelfunc in /usr/lib/libplplot.so;/usr/lib/libplplotcxx.so - found -- Looking for c_plwidth in /usr/lib/libplplot.so;/usr/lib/libplplotcxx.so -- Looking for c_plwidth in /usr/lib/libplplot.so;/usr/lib/libplplotcxx.so - found -- Looking for plstrl in /usr/lib/libplplot.so;/usr/lib/libplplotcxx.so -- Looking for plstrl in /usr/lib/libplplot.so;/usr/lib/libplplotcxx.so - found -- Performing Test PLPLOT_HAS_PLCALLBACK -- Performing Test PLPLOT_HAS_PLCALLBACK - Success CMake Error at CMakeLists.txt:558 (message): ImageMagick is required but was not found. Use -DMAGICKDIR=DIR to specify the ImageMagick directory. Use -DMAGICK=OFF to not use it. (suitable Debian/Ubuntu package: libmagick++-dev) (suitable Fedora/CentOS package ImageMagick-c++-devel) -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/dev-lang/gdl-1.0.0_rc1/work/gdl-1.0.0_rc1_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/dev-lang/gdl-1.0.0_rc1/work/gdl-1.0.0_rc1_build/CMakeFiles/CMakeError.log". But is not related with imagemagick, the CMakeError.log points to: Determining if the function malloc_zone_statistics exists failed with the following output: Change Dir: /var/tmp/portage/dev-lang/gdl-1.0.0_rc1/work/gdl-1.0.0_rc1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_a8c05 [1/2] Building C object CMakeFiles/cmTC_a8c05.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_a8c05 FAILED: cmTC_a8c05 : && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-stack-protector -DCHECK_FUNCTION_EXISTS=malloc_zone_statistics -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -rdynamic CMakeFiles/cmTC_a8c05.dir/CheckFunctionExists.c.o -o cmTC_a8c05 && : /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_a8c05.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `malloc_zone_statistics' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the include file malloc/malloc.h exists failed with the following output: Change Dir: /var/tmp/portage/dev-lang/gdl-1.0.0_rc1/work/gdl-1.0.0_rc1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_ba03f [1/2] Building C object CMakeFiles/cmTC_ba03f.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_ba03f.dir/CheckIncludeFile.c.o /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -DNDEBUG -O2 -pipe -march=native -fno-stack-protector -fPIE -o CMakeFiles/cmTC_ba03f.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c CheckIncludeFile.c:1:10: fatal error: malloc/malloc.h: No such file or directory 1 | #include <malloc/malloc.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Determining if the function cbreak exists in the /usr/lib/libncurses.so failed with the following output: Change Dir: /var/tmp/portage/dev-lang/gdl-1.0.0_rc1/work/gdl-1.0.0_rc1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_8e5c1 [1/2] Building C object CMakeFiles/cmTC_8e5c1.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_8e5c1 FAILED: cmTC_8e5c1 : && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-stack-protector -DCHECK_FUNCTION_EXISTS=cbreak -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -rdynamic CMakeFiles/cmTC_8e5c1.dir/CheckFunctionExists.c.o -o cmTC_8e5c1 -lncurses && : /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_8e5c1.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `cbreak' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.
Created attachment 601374 [details] build.log.gz
Created attachment 601376 [details] gdl-1.0.0_rc1.ebuild
I wonder if it could be related with ncurses[tinfo] (that looks to be the default in current stable)
Thanks for working on it! The malloc_zone_statistics check should fail on Gentoo as it is meant to detect OSX. Thesa are internal CMake logs - should not be a problem. Looking at the attached files, I would say ImageMagick is the issue. How to help? Best, Sylwester
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a6e53137d2d93f8d7291c17f5c9c6c70b5d23a4 commit 1a6e53137d2d93f8d7291c17f5c9c6c70b5d23a4 Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-09-27 19:17:06 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-09-27 19:17:06 +0000 dev-lang/gdl: Bump version to 1.0.0_rc3 Bug: https://bugs.gentoo.org/735280 Bug: https://bugs.gentoo.org/741096 Bug: https://bugs.gentoo.org/741402 Closes: https://bugs.gentoo.org/704026 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org> dev-lang/gdl/Manifest | 1 + dev-lang/gdl/files/gdl-1.0.0_rc3-cmake.patch | 94 +++++++++++++++++ dev-lang/gdl/gdl-1.0.0_rc3.ebuild | 152 +++++++++++++++++++++++++++ dev-lang/gdl/metadata.xml | 1 + 4 files changed, 248 insertions(+)