Bug 1947838 - Software using glibmm and gcc11 with C++20 fails to compile
Summary: Software using glibmm and gcc11 with C++20 fails to compile
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glibmm24
Version: 34
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-09 11:28 UTC by Kjell Irgens
Modified: 2021-04-24 20:11 UTC (History)
3 users (show)

Fixed In Version: glibmm24-2.66.0-2.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-24 20:11:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kjell Irgens 2021-04-09 11:28:32 UTC
Description of problem:

Software using glibmm headers and C++20 does not compile

How reproducible:

See https://gitlab.gnome.org/GNOME/glibmm/-/merge_requests/50

Additional info:

Sounds like upstream glibmm-2.66.1 will include the fix.

You should consider adding this as a patch until you update to 2.66.

Comment 1 Kalev Lember 2021-04-09 14:12:34 UTC
Sure, let me backport this. Thanks for filing the ticket!

(I also never noticed that glibmm 2.66 was released -- let me update to that as well while at it.)

Comment 2 Fedora Update System 2021-04-13 09:56:04 UTC
FEDORA-2021-1ae11d7407 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1ae11d7407

Comment 3 Fedora Update System 2021-04-13 20:47:53 UTC
FEDORA-2021-1ae11d7407 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-1ae11d7407`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-1ae11d7407

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

Comment 4 Kjell Irgens 2021-04-14 08:46:37 UTC
Sorry Kalev, but the patch does not work.

The variant.h and variant_basictypes.h files are already generated in the tarball, so it doesn't help to patch  variant.hg and variant_basictypes.h.m4.

You need to patch variant.h and variant_basictypes.h under untracked/ directly.

Comment 5 Kalev Lember 2021-04-14 08:48:05 UTC
Ah, I see. Let me fix it up quickly.

Comment 6 Fedora Update System 2021-04-14 13:24:43 UTC
FEDORA-2021-1ae11d7407 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1ae11d7407

Comment 7 Kalev Lember 2021-04-14 13:26:22 UTC
Can you try if it glibmm24-2.66.0-2.fc34 works better? I update it to patch variant.h and variant_basictypes.h directly.

Comment 8 Kjell Irgens 2021-04-14 14:25:24 UTC
Much better, i.e. it works :)

Comment 9 Fedora Update System 2021-04-14 17:14:00 UTC
FEDORA-2021-1ae11d7407 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-1ae11d7407`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-1ae11d7407

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

Comment 10 Kalev Lember 2021-04-14 17:41:55 UTC
Great :) Thanks for checking!

Comment 11 Fedora Update System 2021-04-24 20:11:13 UTC
FEDORA-2021-1ae11d7407 has been pushed to the Fedora 34 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.