Bug 1947838

Summary: Software using glibmm and gcc11 with C++20 fails to compile
Product: [Fedora] Fedora Reporter: Kjell Irgens <kjell>
Component: glibmm24Assignee: Kalev Lember <klember>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 34CC: debarshir, karlthered, klember
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: glibmm24-2.66.0-2.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-24 20:11:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.