Bug 1615089 - New version (3.0.5) maybe solves compilation error due to gnulib/glibc
Summary: New version (3.0.5) maybe solves compilation error due to gnulib/glibc
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: bison
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Patsy Griffin
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-12 08:55 UTC by David Abdurachmanov
Modified: 2019-04-02 05:10 UTC (History)
2 users (show)

Fixed In Version: bison-3.0.5-1.fc29
Clone Of:
Environment:
Last Closed: 2019-04-02 05:10:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Abdurachmanov 2018-08-12 08:55:27 UTC
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.

Comment 1 Jan Kurik 2018-08-14 08:36:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 2 Patsy Griffin 2018-08-15 02:17:23 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.