(address . bug-guix@gnu.org)
Hello,
using Guix at commit c8e599b939, cpp-mustache build is failing with this
error:
Toggle snippet (86 lines)
The following derivation will be built:
/gnu/store/s9qrl5dmbgqikhc9k07qcwhb2w8mk1g0-cpp-mustache-4.1.drv
[...]
building /gnu/store/s9qrl5dmbgqikhc9k07qcwhb2w8mk1g0-cpp-mustache-4.1.drv...
[...]
starting phase `configure'
source directory: "/tmp/guix-build-cpp-mustache-4.1.drv-0/source" (relative from build: "../source")
build directory: "/tmp/guix-build-cpp-mustache-4.1.drv-0/build"
running 'cmake' with arguments ("../source" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=/gnu/store/2c9hzfc1d8k3x2h0rw3jfwd3w1nbvwqf-cpp-mustache-4.1" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/2c9hzfc1d8k3x2h0rw3jfwd3w1nbvwqf-cpp-mustache-4.1/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON")
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_INSTALL_LIBDIR
-- Build files have been written to: /tmp/guix-build-cpp-mustache-4.1.drv-0/build
phase `configure' succeeded after 0.8 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
/gnu/store/ygab8v4ci9iklaykapq52bfsshpvi8pw-cmake-minimal-3.24.2/bin/cmake -S/tmp/guix-build-cpp-mustache-4.1.drv-0/source -B/tmp/guix-build-cpp-mustache-4.1.drv-0/build --check-build-system CMakeFiles/Makefile.cmake 0
/gnu/store/ygab8v4ci9iklaykapq52bfsshpvi8pw-cmake-minimal-3.24.2/bin/cmake -E cmake_progress_start /tmp/guix-build-cpp-mustache-4.1.drv-0/build/CMakeFiles /tmp/guix-build-cpp-mustache-4.1.drv-0/build//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/guix-build-cpp-mustache-4.1.drv-0/build'
make -f CMakeFiles/mustache.dir/build.make CMakeFiles/mustache.dir/depend
make[2]: Entering directory '/tmp/guix-build-cpp-mustache-4.1.drv-0/build'
cd /tmp/guix-build-cpp-mustache-4.1.drv-0/build && /gnu/store/ygab8v4ci9iklaykapq52bfsshpvi8pw-cmake-minimal-3.24.2/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/guix-build-cpp-mustache-4.1.drv-0/source /tmp/guix-build-cpp-mustache-4.1.drv-0/source /tmp/guix-build-cpp-mustache-4.1.drv-0/build /tmp/guix-build-cpp-mustache-4.1.drv-0/build /tmp/guix-build-cpp-mustache-4.1.drv-0/build/CMakeFiles/mustache.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/tmp/guix-build-cpp-mustache-4.1.drv-0/build'
make -f CMakeFiles/mustache.dir/build.make CMakeFiles/mustache.dir/build
make[2]: Entering directory '/tmp/guix-build-cpp-mustache-4.1.drv-0/build'
[ 50%] Building CXX object CMakeFiles/mustache.dir/tests.cpp.o
/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/c++ -O2 -g -DNDEBUG -Wall -Wextra -Werror -std=c++11 -MD -MT CMakeFiles/mustache.dir/tests.cpp.o -MF CMakeFiles/mustache.dir/tests.cpp.o.d -o CMakeFiles/mustache.dir/tests.cpp.o -c /tmp/guix-build-cpp-mustache-4.1.drv-0/source/tests.cpp
In file included from /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/include/signal.h:328,
from /tmp/guix-build-cpp-mustache-4.1.drv-0/source/catch.hpp:6520,
from /tmp/guix-build-cpp-mustache-4.1.drv-0/source/tests.cpp:32:
/tmp/guix-build-cpp-mustache-4.1.drv-0/source/catch.hpp:6543:33: error: size of array ?altStackMem? is not an integral constant-expression
6543 | static char altStackMem[SIGSTKSZ];
| ^~~~~~~~
/tmp/guix-build-cpp-mustache-4.1.drv-0/source/catch.hpp:6594:45: error: size of array ?altStackMem? is not an integral constant-expression
6594 | char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
| ^~~~~~~~
make[2]: *** [CMakeFiles/mustache.dir/build.make:79: CMakeFiles/mustache.dir/tests.cpp.o] Error 1
make[2]: Leaving directory '/tmp/guix-build-cpp-mustache-4.1.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/mustache.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-cpp-mustache-4.1.drv-0/build'
make: *** [Makefile:94: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "8") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 2.7 seconds
command "make" "-j" "8" failed with status 2
builder for `/gnu/store/s9qrl5dmbgqikhc9k07qcwhb2w8mk1g0-cpp-mustache-4.1.drv' failed with exit code 1
@ build-failed /gnu/store/s9qrl5dmbgqikhc9k07qcwhb2w8mk1g0-cpp-mustache-4.1.drv - 1 builder for `/gnu/store/s9qrl5dmbgqikhc9k07qcwhb2w8mk1g0-cpp-mustache-4.1.drv' failed with exit code 1
derivation '/gnu/store/s9qrl5dmbgqikhc9k07qcwhb2w8mk1g0-cpp-mustache-4.1.drv' offloaded to 'batondor' failed: build of `/gnu/store/s9qrl5dmbgqikhc9k07qcwhb2w8mk1g0-cpp-mustache-4.1.drv' failed
build of /gnu/store/s9qrl5dmbgqikhc9k07qcwhb2w8mk1g0-cpp-mustache-4.1.drv failed
Could not find build log for '/gnu/store/s9qrl5dmbgqikhc9k07qcwhb2w8mk1g0-cpp-mustache-4.1.drv'.
guix build: error: build of `/gnu/store/s9qrl5dmbgqikhc9k07qcwhb2w8mk1g0-cpp-mustache-4.1.drv' failed
Happy hacking! Gio'
--
Giovanni Biscuolo
Xelera IT Infrastructures
-----BEGIN PGP SIGNATURE-----
iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmRkpy4MHGdAeGVsZXJh
LmV1AAoJENN9DqfOzDkS6CcP/1Pl5FnkOcvWMgPEEaj95h5avLX2MUUVVpkd384E
k20xnyEvAC9e9otZacDr9nQP9I6HaUmzCarycIaeTSZwn0RYvCtRAK352gbPT5Ce
j/w42uwSNtVA4g0/PipC4w538AqYGkVD6Tsi6lqLHSTcePnDJBHJWJa2OBsiGcpo
+YIqtxkQEOJp9TybREjIB+LPMGXceCzawrJM+THVcQk0YHXYxbhN9xM3fmTb5YFV
+stSQ0PX5XAyOHPV8yVLaA/2JP+b1OmUY3v8JtNSJ6+K7Gm1I8/EF57m2CLnKJn3
fADRtY3tyrE2gbCsK2Kc84E7er2BWsyy9rz65HuqvyoVtouxBksJJnIHS7Ka+lot
PfKP2yxbxayWyE+gTcRbZvgkOYCyEPqQpP0oxDBRoCnraWk8FtWrP/2c0zAZ++Pp
gkzhicIpwSl6/g1Hw5y7VF0xTMO5ybtutP6dV4AiZCGHTl76VVDIJr/yFjIbQ02n
E3NWWLHqtTUi74Nm1sgrom/6bV4xHm7tJbaHYPdZ5y3CifD0SgdIbt6li/Md2SwZ
z0mMFn8q2sfN9ITB0u7TB5RiZzgCLJMGO55OCWXfUUi63yxIgaWBLNCngV8aUwte
T/f7t5tpLSJbQoyl4F5ndVUn/W1ByBLw1pbYRaKPAfMa36zT6U6Mw+xdgCsSzhwT
Sqd0
=l3dh
-----END PGP SIGNATURE-----