Bug 2179371 - bitcoin-core does not build with C99
Summary: bitcoin-core does not build with C99
Keywords:
Status: CLOSED DUPLICATE of bug 2179373
Alias: None
Product: Fedora
Classification: Fedora
Component: bitcoin-core
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Arjun Shankar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCNoUpstream
TreeView+ depends on / blocked
 
Reported: 2023-03-17 14:22 UTC by Arjun Shankar
Modified: 2023-03-17 16:48 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-03-17 16:48:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Arjun Shankar 2023-03-17 14:22:55 UTC
bitcoin-core comes with a bundled version of Berkeley DB (4.8, quite old and unmaintained).  The configure script for the bundled db-4.8 encounters several "implicit int" and "implicit function declaration" errors when the C fragments in its checks are compiled as C99.  This means that future compilers that do not support implicit ints and implicit function declarations by default will fail to correctly build Fedora's bitcoin-core package.

Related:

https://fedoraproject.org/wiki/Changes/PortingToModernC
https://fedoraproject.org/wiki/Toolchain/PortingToModernC

Comment 1 Arjun Shankar 2023-03-17 16:48:29 UTC
I filed this twice by mistake. Closing one of the duplicates.

*** This bug has been marked as a duplicate of bug 2179373 ***


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