Bug 2065272
| Summary: | luminance-hdr: FTBFS in Fedora Rawhide | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ben Beasley <code> |
| Component: | luminance-hdr | Assignee: | Ben Beasley <code> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, francocomida, kevin, rdieter |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://koschei.fedoraproject.org/package/luminance-hdr | ||
| Whiteboard: | |||
| Fixed In Version: | luminance-hdr-2.6.1.1-41.fc37 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-03-30 13:57:32 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: | |||
| Bug Depends On: | 2065758 | ||
| Bug Blocks: | |||
|
Description
Ben Beasley
2022-03-17 14:40:00 UTC
I’m not sure what the root cause is here. I see that the package builds using -std=gnu++11, maybe it should be using a newer standard revision? (Definitely not an older one, Qt no longer supports C++98.) I just tried patching it to gnu++14 (the CMake scripts for luminance-hdr override -DCMAKE_CXX_STANDARD, so I can’t just set it), and saw the same thing. It makes sense, since according to the linker it’s libQt5WebEngineCore.so.5.15.8 that has the undefined references, not anything in luminance-hdr. In theory I could try patching it to gnu++17, but that would require some source changes. (It defines its own clamp function that gets confused with C++17’s std::clamp). I thought that maybe since qt5-qtwebengine used libstdc++-static, qt5-webenengine might just need a rebuild, but I tried that locally and that didn’t seem to help either. QtWebEngine itself does not statically link libstdc++, only some bundled build tools (at least gn) get statically linked for some stupid reason I cannot fathom. (The Chromium build system does all sorts of strange things.) (In reply to Kevin Kofler from comment #4) > QtWebEngine itself does not statically link libstdc++, only some bundled > build tools (at least gn) get statically linked for some stupid reason I > cannot fathom. (The Chromium build system does all sorts of strange things.) That makes sense, thanks. Would you believe that disabling LTO in luminance-hdr fixes the linker error? There’s a bug there somewhere, but I don’t think I’m going to be able to figure out what or where it is. FEDORA-2022-fc75a7adfb has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-fc75a7adfb FEDORA-2022-fc75a7adfb has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. Reopening since there seems to be a chance of figuring out the root cause via bug 2068343. The root cause was fixed in binutils-2.38-7.fc37[1], so I have restored LTO in luminance-hdr. I’ll do a build once the binutils update actually hits the koji buildroot. [1] https://bugzilla.redhat.com/show_bug.cgi?id=2068343#c3 |