Instrumentation shows that something contains an implicit function declaration somewhere in the sources: *** GCC errors begin *** input.c:1162: implicit function declaration: yydestruct *** GCC errors end *** I assume it's in a test case, and apparently the compilation error is ignored for some reason. Full build logs are here: <https://gitlab.com/fweimer-rh/fedora-modernc-logs/-/blob/main/logs/b/bison.log> Links to resources (mock configuration, container image): https://fedoraproject.org/wiki/Toolchain/PortingToModernC#Discovering_Packages_Which_Need_Fixing
We discussed this today in the Fedora triage for this package and noted that this is likely an issue in the testsuite.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
After triaging this, it turned out to be an expected failure. tests/synclines.at contains a "union name syncline" test that uses a reserved word for a union name. That error cascades down to an implicit function declaration (it's due to gcc not knowing one of the types used in the earlier definition of that function). So we will leave bison unchanged and let the implicit function declaration error to exist. For the fedora-modernc porting initiative where these sorts of errors lead to a package build failure, Florian has checked in an exception so bison can continue to build there.