GNU bug report logs -
#63551
cpp-mustache-4.1 build fails
Previous Next
Reported by: Giovanni Biscuolo <g <at> xelera.eu>
Date: Wed, 17 May 2023 10:07:01 UTC
Severity: normal
Done: Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63551 in the body.
You can then email your comments to 63551 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#63551
; Package
guix
.
(Wed, 17 May 2023 10:07:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Giovanni Biscuolo <g <at> xelera.eu>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 17 May 2023 10:07:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
using Guix at commit c8e599b939, cpp-mustache build is failing with this
error:
--8<---------------cut here---------------start------------->8---
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
--8<---------------cut here---------------end--------------->8---
Happy hacking! Gio'
--
Giovanni Biscuolo
Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#63551
; Package
guix
.
(Wed, 17 May 2023 10:46:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 63551 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello
thank you very much Hubert for your report: errors like the one you
found (packages build failures) are bugs, next time please report them
to bug-guix <at> gnu.org; better to close a non-bug than to miss an actual
one ;-)
As you can see I've now filed a new bug: bug#63551
Thank you also to Vagrant and Denis for the heads up, please submit
further comments or patches to 63551 <at> debbugs.gnu.org
Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org> writes:
[...]
> There are several approaches here and I've patches for two of them if
> needed (I've attached them):
> (1) backport some upstream patches:
> - There are 2 catch2 updates, they can be squashed into 1 patch
> - We also need a patch for fixing unused variables.
> (2) Update cpp-mustache: There is an upstream commit
> (https://github.com/kainjow/Mustache/commit/4ed8c0b5a2a43d59394bd6900dc04e738dbf8c02)
> that change some version string. I've asked upstream if that was
> the 5.0.0 release but so far I got no answer.
> https://github.com/kainjow/Mustache/issues/65
>
> (1) is 0001-gnu-cpp-mustache-fix-build-with-newer-glibc.patch
> (2) is 0001-bug-reported-upstream-for-release-info-gnu-cpp-musta.patch
>
> I didn't share the patches yet because I was waiting on upstream to
> clarify the situation with the lack of 5.0.0 tag.
Please do not wait for an official upstream "release" (git tag,
actually) for cpp-mustache, I guess upstream just forgot to tag it: Guix
is full of "not officially" released or properly tagged packages,
sources are often taken from carefully selected git commits (I've
recently proposed a patch for dia, that is in a very similar situation)
Since commit 4ed8c0b is setting version to 5.0.0 and that version works
(does it?), I'd go for an "update to 5.0.0" patch
My two cents.
[...]
Happy hacking! Gio'
--
Giovanni Biscuolo
Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#63551
; Package
guix
.
(Wed, 17 May 2023 12:08:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 63551 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, 17 May 2023 12:44:58 +0200
Giovanni Biscuolo <g <at> xelera.eu> wrote:
> Since commit 4ed8c0b is setting version to 5.0.0 and that version
> works (does it?), I'd go for an "update to 5.0.0" patch
It at least builds fine.
Thanks a lot for the advises.
Denis.
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#63551
; Package
guix
.
(Wed, 17 May 2023 18:05:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 63551 <at> debbugs.gnu.org (full text, mbox):
Hi,
----- Mail original -----
De: "Denis 'GNUtoo' Carikli" <GNUtoo <at> cyberdimension.org>
À: "Giovanni Biscuolo" <g <at> xelera.eu>
Cc: 63551 <at> debbugs.gnu.org, "hub lombard" <hub.lombard <at> free.fr>, help-guix <at> gnu.org, "Vagrant Cascadian" <vagrant <at> debian.org>
Envoyé: Mercredi 17 Mai 2023 14:07:22
Objet: Re: cpp-mustache-4.1 build fails
On Wed, 17 May 2023 12:44:58 +0200
Giovanni Biscuolo <g <at> xelera.eu> wrote:
> Since commit 4ed8c0b is setting version to 5.0.0 and that version
> works (does it?), I'd go for an "update to 5.0.0" patch
It at least builds fine.
Thanks a lot for the advises.
>>> Good to know, thxs! Will investigate and report advices.
Denis.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#63551
; Package
guix
.
(Thu, 23 Nov 2023 16:43:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 63551 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
Guix now has cpp-mustanche 5.0 so I think we can close that bug.
Denis.
[Message part 2 (application/pgp-signature, inline)]
bug closed, send any further explanations to
63551 <at> debbugs.gnu.org and Giovanni Biscuolo <g <at> xelera.eu>
Request was from
Denis 'GNUtoo' Carikli <GNUtoo <at> cyberdimension.org>
to
control <at> debbugs.gnu.org
.
(Thu, 23 Nov 2023 16:45:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 22 Dec 2023 12:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 139 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.