pckage: gdcm
42%] Building CXX object Source/Common/CMakeFiles/gdcmCommon.dir/gdcmVersion.cxx.o
In file included from /home/frank/.cache/trizen/sources/gdcm/src/build/Utilities/socketxx/socket++/config.h:135,
from /home/frank/.cache/trizen/sources/gdcm/src/GDCM-3.0.24/Utilities/socketxx/socket++/sockinet.h:14,
from /home/frank/.cache/trizen/sources/gdcm/src/GDCM-3.0.24/Utilities/socketxx/socket++/sockinet.cpp:22:
/home/frank/.cache/trizen/sources/gdcm/src/GDCM-3.0.24/Utilities/socketxx/socket++/local.h:40:10: fatal error: signal.h: No
such file or directory
40 | #include <signal.h>
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [Utilities/socketxx/socket++/CMakeFiles/socketxx.dir/build.make:93: Utilities/socketxx/socket++/CMakeFiles/soc
ketxx.dir/sockinet.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/frank/.cache/trizen/sources/gdcm/src/build/Utilities/socketxx/socket++/config.h:135,
from /home/frank/.cache/trizen/sources/gdcm/src/GDCM-3.0.24/Utilities/socketxx/socket++/sockstream.h:22,
from /home/frank/.cache/trizen/sources/gdcm/src/GDCM-3.0.24/Utilities/socketxx/socket++/sockstream.cpp:49:
/home/frank/.cache/trizen/sources/gdcm/src/GDCM-3.0.24/Utilities/socketxx/socket++/local.h:40:10: fatal error: signal.h: No
such file or directory
40 | #include <signal.h>
| ^~~~~~~~~~
compilation terminated.
Deprecated command line option: -py3. Ignored, this option is no longer supported.
make[2]: *** [Utilities/socketxx/socket++/CMakeFiles/socketxx.dir/build.make:79: Utilities/socketxx/socket++/CMakeFiles/soc
ketxx.dir/sockstream.cpp.o] Error 1
In file included from /home/frank/.cache/trizen/sources/gdcm/src/build/Utilities/socketxx/socket++/config.h:135,
from /home/frank/.cache/trizen/sources/gdcm/src/GDCM-3.0.24/Utilities/socketxx/socket++/fork.cpp:13:
/home/frank/.cache/trizen/sources/gdcm/src/GDCM-3.0.24/Utilities/socketxx/socket++/local.h:40:10: fatal error: signal.h: No
such file or directory
40 | #include <signal.h>
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: Unable to build gdcm - makepkg exited with code: 4
=>> Try again? [y/N]:
………………………………..
package: insight-toolkit
[ 2%] Built target ITKImageFilterBase-all
/home/frank/.cache/trizen/sources/insight-toolkit/src/ITK-5.4.2/Modules/ThirdParty/VNL/src/vxl/v3p/netlib/libf2c/sig_die.c:
7:10: fatal error: signal.h: No such file or directory
7 | #include "signal.h"
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [Modules/ThirdParty/VNL/src/vxl/v3p/netlib/CMakeFiles/itkv3p_netlib.dir/build.make:401: Modules/ThirdParty/VNL
/src/vxl/v3p/netlib/CMakeFiles/itkv3p_netlib.dir/libf2c/sig_die.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 2%] Building C object Modules/ThirdParty/VNL/src/vxl/v3p/netlib/CMakeFiles/itkv3p_netlib.dir/libf2c/z_div.c.o
[ 2%] Built target ITKCurvatureFlow-all
[ 2%] Built target ITKImageAdaptors-all
[ 2%] Built target ITKImageFunction-all
make[1]: *** [CMakeFiles/Makefile2:6271: Modules/ThirdParty/VNL/src/vxl/v3p/netlib/CMakeFiles/itkv3p_netlib.dir/all] Error
2
make[1]: *** Waiting for unfinished jobs....
[ 2%] Built target ITKAnisotropicSmoothing-all
[ 2%] Built target ITKImageCompose-all
[ 2%] Built target ITKImageGrid-all
make[1]: *** [CMakeFiles/Makefile2:6167: Modules/ThirdParty/KWSys/src/KWSys/CMakeFiles/itksys.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: Unable to build insight-toolkit - makepkg exited with code: 4
=>> Try again? [y/N]:
---------------------
echo | g++ -v -E -x c++ -
#include <...> search starts here:
/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1
/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu
/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward
/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include
/usr/local/include
/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/include-fixed
/usr/include
End of search list.
pacman -Qo /usr/include/signal.h
/usr/include/signal.h is owned by glibc 2.40+r16+gaa533d58ff-2
To reinstall glibc solved the problem and signal.h appear, like a miracle ;-)
Thank you!!!