Actions
action #30562
closedos-autoinst fails to build with GCC 8
Start date:
2018-01-20
Due date:
% Done:
0%
Estimated time:
Description
GCC 8 just hit Fedora Rawhide, and os-autoinst fails to build, with a few errors. Here's a log (note, this will not live forever, will be garbage-collected at some point): https://kojipkgs.fedoraproject.org/work/tasks/8410/24308410/build.log . Here's the errors:
g++ -c -I/usr/include/opencv -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fstack-clash-protection -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/usr/lib64/perl5/CORE" -Wall tinycv.c
In file included from /usr/lib64/perl5/CORE/reentr.h:104:0,
from /usr/lib64/perl5/CORE/op.h:654,
from /usr/lib64/perl5/CORE/perl.h:3921,
from tinycv.xs:6:
/usr/include/crypt.h:117:51: error: expected ',' or '...' before '__data'
struct crypt_data *restrict __data)
^~~~~~
{standard input}: Assembler messages:
{standard input}: Error: .size expression for tinycv.c does not evaluate to a constant
make[2]: *** [Makefile:345: tinycv.o] Error 1
Actions