Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1692426
Summary: | Mesa packages contain debug builds | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alex Smith <alex> |
Component: | mesa | Assignee: | Adam Jackson <ajax> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 29 | CC: | ajax, bskeggs, caillon+fedoraproject, igor.raits, jan.public, jglisse, john.j5live, mcatanzaro+wrong-account-do-not-cc, mikhail.v.gavrilov, peter.hutterer, rclark, rhughes, rstrode, thatslyude, tstellar, yaneti |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | mesa-18.3.5-2.fc29 mesa-19.0.0-2.fc30 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-03-27 20:24:25 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
Alex Smith
2019-03-25 15:25:07 UTC
We use buildtype=plain which is intended to be used in distributions. Please open upstream issue (for mesa) if that is causing problems. I don't see how it's not your bug that right now you are currently shipping a package that causes severe issues for users? The documentation for buildtype=plain says "no extra build flags are used, even for compiler warnings, useful for distro packagers and other cases where you need to specify all arguments by yourself". "need to specify all arguments by yourself" - you are not specifying -DNDEBUG, if upstream were to add it in that case it would be going against the specified behaviour of plain? I think you need to add -Db_ndebug=true. meson-0.50.0-2.fc29 mesa-18.3.5-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2bd5988554 meson-0.50.0-2.fc30 mesa-19.0.0-2.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-adc3f3e82e mesa-19.0.0-2.fc30, meson-0.50.0-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-adc3f3e82e For posterity, the workaround is: https://github.com/mesonbuild/meson/commit/da1bb49787b2f65ca3a4c3c3fb0d9eda822f3275 And it's properly fixed by: https://github.com/mesonbuild/meson/commit/d88bf0eb80e2531a8017de4efd4eb02f1e3081ec mesa-18.3.5-2.fc29, meson-0.50.0-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-2bd5988554 Tested mesa-18.3.5-2.fc29 and can confirm that it is no longer a debug build, and solves the issue with long load times in Rise of the Tomb Raider. Thanks. mesa-18.3.5-2.fc29, meson-0.50.0-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. mesa-19.0.0-2.fc30, meson-0.50.0-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. This change is causing packages that rely on assert() to break, see e.g. bug 1696264. Any reason you can't just add -Db_ndebug to the mesa build, instead of changing the behaviour of the build system? Traditionally, some packages expect to be compiled with NDEBUG and others simply don't. It's kinda expected that this change will break packages that haven't tested release builds. Keep in mind this is just making plain builds (distro builds) more similar to release builds. |