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

Fails to build on Fedora Rawhide #1153

Closed
tim77 opened this issue Apr 21, 2021 · 3 comments
Closed

Fails to build on Fedora Rawhide #1153

tim77 opened this issue Apr 21, 2021 · 3 comments
Labels

Comments

@tim77
Copy link
Contributor

tim77 commented Apr 21, 2021

Describe the bug
Seems like similar to WayfireWM/wf-config#42.

FAILED: subprojects/wf-touch/test/basic_test.p/basic_test.cpp.o 
g++ -Isubprojects/wf-touch/test/basic_test.p -Isubprojects/wf-touch/test -I../subprojects/wf-touch/test -Isubprojects/wf-touch -I../subprojects/wf-touch -I/usr/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -MD -MQ subprojects/wf-touch/test/basic_test.p/basic_test.cpp.o -MF subprojects/wf-touch/test/basic_test.p/basic_test.cpp.o.d -o subprojects/wf-touch/test/basic_test.p/basic_test.cpp.o -c ../subprojects/wf-touch/test/basic_test.cpp
In file included from /usr/include/signal.h:315,
                 from /usr/include/c++/11/csignal:42,
                 from ../subprojects/wf-touch/test/doctest.h:3241,
                 from ../subprojects/wf-touch/test/basic_test.cpp:2:
../subprojects/wf-touch/test/doctest.h:4403:45: error: size of array ‘altStackMem’ is not an integral constant-expression
 4403 |         static char             altStackMem[SIGSTKSZ];
      |                                             ^~~~~~~~
../subprojects/wf-touch/test/doctest.h:4453:48: error: size of array ‘altStackMem’ is not an integral constant-expression
 4453 |     char    FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
      |                                                ^~~~~~~~

To Reproduce
Full build log and SRPM https://koji.fedoraproject.org/koji/taskinfo?taskID=66426941

Expected behavior
Should compile fine with latest software stacks.

Wayfire version
0.7.1

@tim77 tim77 added the bug label Apr 21, 2021
@ammen99
Copy link
Member

ammen99 commented Apr 22, 2021

Ah yes wf-touch also needs this. I'll fix it.

@ammen99
Copy link
Member

ammen99 commented May 4, 2021

@tim77 I just re-published the 0.7.1 version, it should contain the fix, can you verify?

@tim77
Copy link
Contributor Author

tim77 commented May 4, 2021

@ammen99 built successfully. Thanks!

@tim77 tim77 closed this as completed May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants