| Summary: | meson.eclass - future releases of meson require changes | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Oleh <moonlapse81> |
| Component: | Eclasses | Assignee: | William Hubbs <williamh> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | floppym, ikelos, ostroffjh, sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
0001-meson.eclass-fix-machine-files.patch
0001-meson.eclass-fix-machine-files.patch 0001-profiles-eclass-meson.eclass-fix-machine-files.patch 0001-profiles-eclass-meson.eclass-fix-machine-files.patch Revised patch |
||
|
Description
Oleh
2020-08-23 12:35:00 UTC
It looks like I can't add this until 0.56.x is released. Thanks, William Created attachment 682330 [details, diff]
0001-meson.eclass-fix-machine-files.patch
This is the patch I have for the issue, but I think this patch has to
wait until 0.56.x goes stable.
The other way to do this would be to rework the patch to support both
versions.
William
Created attachment 682333 [details, diff]
0001-meson.eclass-fix-machine-files.patch
This is an updated version of the patch that should work for stable as
well.
If you would like to help test, please patch meson.eclass with this
patch and make sure a package builds with both meson-0.55.x and
meson-0.56.x.
I tested patched meson.eclass with meson-0.55.3 and meson-0.56.2, no warnings about [properties] or [built-in options] Created attachment 682465 [details, diff]
0001-profiles-eclass-meson.eclass-fix-machine-files.patch
This is the latest version of the patch. It fixes the has_version calls.
Created attachment 682468 [details, diff]
0001-profiles-eclass-meson.eclass-fix-machine-files.patch
This version removes code duplication.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3cc29cc79d4e94d0144c3ebc4d8cf00d4ee2e70 commit e3cc29cc79d4e94d0144c3ebc4d8cf00d4ee2e70 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2021-01-11 18:54:37 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2021-01-11 18:56:27 +0000 meson.eclass: fix machine files Several options we were setting in the [properties] section of the machine files have been moved to the [built-in options] section in meson 0.56. Closes: https://bugs.gentoo.org/738710 Signed-off-by: William Hubbs <williamh@gentoo.org> eclass/meson.eclass | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) I reverted this because pkg_config_libdir needs to remain in the [properties] section. This lead to build failures in multilib ebuilds. I will send a revised patch to the gentoo-dev mailing list shortly. Created attachment 710328 [details, diff]
Revised patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b46bdbdc23d5a1d073cd8afab602581f1ae0f4d8 commit b46bdbdc23d5a1d073cd8afab602581f1ae0f4d8 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-05-22 16:35:38 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-05-22 16:50:42 +0000 meson.eclass: move compiler flags to [built-in options] Resolves deprecation notices since meson 0.56.0. Closes: https://bugs.gentoo.org/738710 Signed-off-by: Mike Gilbert <floppym@gentoo.org> eclass/meson.eclass | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) |