Bug 2176658
| Summary: | dosbox-staging fails to compile shaders if `mesa-dri-drivers` is missing | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | bugzilla |
| Component: | dosbox-staging | Assignee: | Otto Liljalaakso <otto.liljalaakso> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 38 | CC: | dreamer.tan+fedora, otto.liljalaakso |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | dosbox-staging-0.80.1-3.fc39 dosbox-staging-0.80.0-3.fc37 dosbox-staging-0.80.0-3.fc36 dosbox-staging-0.80.1-3.fc38 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-04-02 13:49: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
bugzilla
2023-03-08 22:06:46 UTC
Greetings, and thank you for the bug report. However, dosbox-staging is not included in EPEL, so at the moment there is no support for your situation. I also cannot reproduce the problem in Fedora. I started with the Fedora Server qemu image, which does not have any graphical software by default, and thus mesa-dri-drivers is not installed. Then I ran 'sudo dnf install dosbox-staging', which pulled in mesa-dri-drivers. The necessary first step to get any work done for dosbox-staging on EPEL is to find an EPEL maintainer. Would you be interested in assuming this position? However, there was a different but similar problem in my Fedora test: ``` 2023-03-13 09:03:31.039 | SDL: Failed to create window: Could not load EGL library ``` This error was fatal, and could be fixed with 'sudo dnf install mesa-libEGL'. Probably *that* fix should be pushed for Fedora, too. At least on Fedora, that also pulls in mesa-dri-drivers as originally requested. Unfortunately my understanding of the graphics stack is quite weak, and it is not clear to me if this is the correct way to fix this problem. Any guidance here would be appreciated! Update: By using adding '--setopt=install_weak_deps=False' as a parameter to dnf in Fedora, I managed to reproduce the situation where exactly swrast_dri.so is missing. So indeed, it looks like the following lines are needed in the specfile: Requires: mesa-libEGL Requires: mesa-dri-drivers I would still like somebody to confirm that this indeed is the proper solution. FEDORA-2023-6a97ba3e25 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6a97ba3e25 FEDORA-2023-6a97ba3e25 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. Since there has been no further discussion, and the fix I propose works, I decided to implement it. FEDORA-2023-234f535327 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-234f535327 FEDORA-2023-60e9f03782 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-60e9f03782 FEDORA-2023-2e897bfa60 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-2e897bfa60 FEDORA-2023-234f535327 has been pushed to the Fedora 38 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-234f535327 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-2e897bfa60 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-2023-2e897bfa60` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-2e897bfa60 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-60e9f03782 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-60e9f03782` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-60e9f03782 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-60e9f03782 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-2e897bfa60 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-234f535327 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. |