Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.3.0 fails to build on Fedora 35 #708

Closed
junghans opened this issue Jul 29, 2021 · 6 comments
Closed

v1.3.0 fails to build on Fedora 35 #708

junghans opened this issue Jul 29, 2021 · 6 comments

Comments

@junghans
Copy link
Contributor

junghans commented Jul 29, 2021

From https://bugzilla.redhat.com/show_bug.cgi?id=1987402 / https://koji.fedoraproject.org/koji/taskinfo?taskID=72330774

[ 48%] Building CXX object sandbox/CMakeFiles/sandbox.dir/sandbox.cpp.o
cd /builddir/build/BUILD/cereal-1.3.0/redhat-linux-build/sandbox && /usr/bin/g++  -I/builddir/build/BUILD/cereal-1.3.0/./include -I/builddir/build/BUILD/cereal-1.3.0/sandbox/sandbox_shared_lib -Wall -g -Wextra -Wshadow -pedantic -Wold-style-cast -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++11 -MD -MT sandbox/CMakeFiles/sandbox.dir/sandbox.cpp.o -MF CMakeFiles/sandbox.dir/sandbox.cpp.o.d -o CMakeFiles/sandbox.dir/sandbox.cpp.o -c /builddir/build/BUILD/cereal-1.3.0/sandbox/sandbox.cpp
In file included from /builddir/build/BUILD/cereal-1.3.0/unittests/common.hpp:59,
                 from /builddir/build/BUILD/cereal-1.3.0/unittests/pair.hpp:29,
                 from /builddir/build/BUILD/cereal-1.3.0/unittests/pair.cpp:28:
/builddir/build/BUILD/cereal-1.3.0/unittests/doctest.h:4021:47: error: size of array 'altStackMem' is not an integral constant-expression
 4021 |         static char             altStackMem[4 * SIGSTKSZ];
      |            

Build here: build.log.txt

@kloczek
Copy link

kloczek commented Sep 16, 2021

Any update?

@junghans
Copy link
Contributor Author

Updated the bundled version of doctree.h to a recent version helped (see #714).

@junghans
Copy link
Contributor Author

Fixed in v1.3.1

@kloczek
Copy link

kloczek commented Dec 21, 2023

Fixed in v1.3.1

Hmm .. last release it is 1.3.2 released almost 10 months ago.

@junghans
Copy link
Contributor Author

Fixed in v1.3.1

Hmm .. last release it is 1.3.2 released almost 10 months ago.

Yup and the issue was actually fixed in #716 2 years ago.

@kloczek
Copy link

kloczek commented Dec 22, 2023

OK. Just reenabled in 1.3.2 test suite execution on packaging and looks like everything is OK now.
Thx 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants