Package Details: semver-cpp 0.3.1-1

Git Clone URL: https://aur.archlinux.org/semver-cpp.git (read-only, click to copy)
Package Base: semver-cpp
Description: Semantic versioning for modern C++.
Upstream URL: https://github.com/Neargye/semver
Licenses: MIT
Conflicts: semver-cpp-git
Submitter: ruy16109
Maintainer: Spixmaster
Last Packager: Spixmaster
Votes: 0
Popularity: 0.000000
First Submitted: 2020-08-28 17:47 (UTC)
Last Updated: 2025-09-21 10:47 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Spixmaster commented on 2025-08-28 07:15 (UTC)

The build fails.

==> Starting build()...
[ 50%] Building CXX object example/CMakeFiles/example.dir/example.cpp.o
[ 50%] Building CXX object test/CMakeFiles/semver-cpp17.t.dir/test.cpp.o
[ 50%] Building CXX object test/CMakeFiles/semver-cpp20.t.dir/test.cpp.o
[ 66%] Linking CXX executable example
[ 66%] Built target example
In file included from /usr/include/signal.h:328,
                 from /home/matheus/.cache/paru/clone/semver-cpp/src/semver-0.2.2/test/3rdparty/Catch2/catch.hpp:7835,
                 from /home/matheus/.cache/paru/clone/semver-cpp/src/semver-0.2.2/test/test.cpp:24:
/home/matheus/.cache/paru/clone/semver-cpp/src/semver-0.2.2/test/3rdparty/Catch2/catch.hpp:10609:58: error: call to non-'constexpr' function 'long int sysconf(int)'
10609 |     static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
      |                                                          ^~~~~~~~~~~
In file included from /usr/include/bits/sigstksz.h:24:
/usr/include/unistd.h:640:17: note: 'long int sysconf(int)' declared here
  640 | extern long int sysconf (int __name) __THROW;
      |                 ^~~~~~~
/home/matheus/.cache/paru/clone/semver-cpp/src/semver-0.2.2/test/3rdparty/Catch2/catch.hpp:10668:45: error: size of array 'altStackMem' is not an integral constant-expression
10668 |     char FatalConditionHandler::altStackMem[sigStackSize] = {};
      |                                             ^~~~~~~~~~~~
In file included from /usr/include/signal.h:328,
                 from /home/matheus/.cache/paru/clone/semver-cpp/src/semver-0.2.2/test/3rdparty/Catch2/catch.hpp:7835,
                 from /home/matheus/.cache/paru/clone/semver-cpp/src/semver-0.2.2/test/test.cpp:24:
/home/matheus/.cache/paru/clone/semver-cpp/src/semver-0.2.2/test/3rdparty/Catch2/catch.hpp:10609:58: error: call to non-'constexpr' function 'long int sysconf(int)'
10609 |     static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
      |                                                          ^~~~~~~~~~~
In file included from /usr/include/c++/15.2.1/bits/atomic_wait.h:48,
                 from /usr/include/c++/15.2.1/bits/atomic_base.h:43,
                 from /usr/include/c++/15.2.1/bits/shared_ptr_atomic.h:33,
                 from /usr/include/c++/15.2.1/memory:83,
                 from /home/matheus/.cache/paru/clone/semver-cpp/src/semver-0.2.2/test/3rdparty/Catch2/catch.hpp:2881:
/usr/include/unistd.h:640:17: note: 'long int sysconf(int)' declared here
  640 | extern long int sysconf (int __name) __THROW;
      |                 ^~~~~~~
/home/matheus/.cache/paru/clone/semver-cpp/src/semver-0.2.2/test/3rdparty/Catch2/catch.hpp:10668:45: error: size of array 'altStackMem' is not an integral constant-expression
10668 |     char FatalConditionHandler::altStackMem[sigStackSize] = {};
      |                                             ^~~~~~~~~~~~
make[2]: *** [test/CMakeFiles/semver-cpp17.t.dir/build.make:82: test/CMakeFiles/semver-cpp17.t.dir/test.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:164: test/CMakeFiles/semver-cpp17.t.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [test/CMakeFiles/semver-cpp20.t.dir/build.make:82: test/CMakeFiles/semver-cpp20.t.dir/test.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:196: test/CMakeFiles/semver-cpp20.t.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'semver-cpp-0.2.2-1':
error: packages failed to build: semver-cpp-0.2.2-1