Description of problem: The current bison 3.0.4 does not compile due to changes in glibc, which has been resolved in upstream gnulib (which is already updated in Fedora Rawhide). [..] BUILDSTDERR: lib/fseterr.c: In function 'fseterr': BUILDSTDERR: lib/fseterr.c:77:3: error: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib." BUILDSTDERR: #error "Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib." BUILDSTDERR: ^~~~~ [..] I would suggest testing bison 3.0.5 if it resolves the problem, or/and updating gnulib within bison.
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
There were two build issues here - fseterr.c still used on _IO_ftrylockfile from the now obsolete libio.h. Also, the spec file needed a BuildRequires of gcc-c++. While applying these fixes, I also did the upgrade to bison-3.0.5.