Bug 2106441 - Missing header in boost asio causes compilation to fail when using it
Summary: Missing header in boost asio causes compilation to fail when using it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: boost
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Jonathan Wakely
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-12 17:04 UTC by Michael Cullen
Modified: 2022-07-30 01:25 UTC (History)
6 users (show)

Fixed In Version: boost-1.76.0-12.fc36 boost-1.76.0-5.fc35
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-16 01:22:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Cullen 2022-07-12 17:04:01 UTC
Description of problem:
There's a missing header in boost/asio/awaitable.hpp (fixed upstream here: https://github.com/boostorg/asio/commit/71964b22c7fade69cc4caa1c869a868e3a32cc97) which causes a build failure

Version-Release number of selected component (if applicable):
Name         : boost-devel
Version      : 1.76.0
Release      : 11.fc36

How reproducible:
always, when compiling with --std=c++20

Steps to Reproduce:
1. create this file:
    #include <boost/asio.hpp>
2. compile with `gcc -c boost_sample.cpp --std=c++20`

Actual results:
it builds

Expected results:
it generates an error

Additional info:

Comment 1 Jonathan Wakely 2022-07-13 22:38:33 UTC
This also needs to be fixed in F35. The failure isn't seen using the system gcc, but anybody using a self-built gcc-12 would get the same error.

Comment 2 Fedora Update System 2022-07-14 14:41:58 UTC
FEDORA-2022-9096867dad has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-9096867dad

Comment 3 Fedora Update System 2022-07-14 21:31:08 UTC
FEDORA-2022-4b3c2b910c has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-4b3c2b910c

Comment 4 Fedora Update System 2022-07-15 01:20:28 UTC
FEDORA-2022-9096867dad has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-9096867dad`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-9096867dad

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-07-15 02:09:21 UTC
FEDORA-2022-4b3c2b910c has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-4b3c2b910c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-4b3c2b910c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-07-16 01:22:41 UTC
FEDORA-2022-9096867dad has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2022-07-30 01:25:50 UTC
FEDORA-2022-4b3c2b910c has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


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