<div dir="ltr"><div>I certainly don't mean to ignore those reports, it's just that due to my ongoing health problems, and having to dedicate most of my energy to the day job (<a href="https://mbition.io/en/home/">https://mbition.io/en/home/</a>), I am not currently able to work on the upstream issues in a timely manner the way I used to when maintaining core was actually my day job (at Intel).</div><div><br></div><div>The question of how much effort people who update things in core should allocate to fixing 'other' layers has been a conflict point for a long time. I'd prefer to see more aggressive blacklisting/removal of recipes that no one has an interest in fixing and updating.<br></div><div><br></div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 17 Oct 2019 at 15:15, Khem Raj <<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, Oct 12, 2019 at 5:20 PM Khem Raj <<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>> wrote:<br>
><br>
> On Fri, 2019-10-11 at 13:47 +0200, Alexander Kanavin wrote:<br>
> > Drop backported patches.<br>
> ><br>
> > Signed-off-by: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> > ---<br>
> > meta/recipes-devtools/meson/meson.inc | 7 +--<br>
> > ...efined-by-the-existance-of-a-cross-f.patch | 28 -----------<br>
> > .../0001-Make-CPU-family-warnings-fatal.patch | 8 +--<br>
> > ...etect-windows-also-if-the-system-str.patch | 29 -----------<br>
> > ...sues-that-arise-when-cross-compiling.patch | 8 +--<br>
> > ...pport-building-allarch-recipes-again.patch | 4 +-<br>
> > .../meson/meson/0003-native_bindir.patch | 20 ++++----<br>
> > .../meson/meson/vala-cross-compile.patch | 50 ---------------<br>
><br>
> meson 0.52.x seems to be exposing the dconf build issue.<br>
><br>
> <a href="https://errors.yoctoproject.org/Errors/Details/273492/" rel="noreferrer" target="_blank">https://errors.yoctoproject.org/Errors/Details/273492/</a><br>
><br>
> also reported here<br>
> <a href="https://gitlab.gnome.org/GNOME/dconf/issues/59" rel="noreferrer" target="_blank">https://gitlab.gnome.org/GNOME/dconf/issues/59</a><br>
><br>
<br>
<br>
Regardless of this report, this is now merged and I don't see any<br>
resolution either of a followup<br>
from the submitter or any other developer. This is quite disheartening<br>
since it takes a lot of effort to find<br>
these issues and reports. we should try to be considerate of the<br>
layers who are trying to keep up with<br>
OE-Core, like this we won't be able to improve the quality of these<br>
layers. I understand that there are no breakages seen in OE-cor but we<br>
should encourage more<br>
of other layers to test master and especially if there are reports<br>
than it would be good to heed to them.<br>
<br>
<br>
> > ----<br>
> > .../{<a href="http://meson_0.51.2.bb" rel="noreferrer" target="_blank">meson_0.51.2.bb</a> => <a href="http://meson_0.52.0.bb" rel="noreferrer" target="_blank">meson_0.52.0.bb</a>} | 1 -<br>
> > ...<a href="http://on_0.51.2.bb" rel="noreferrer" target="_blank">on_0.51.2.bb</a> => <a href="http://nativesdk-meson_0.52.0.bb" rel="noreferrer" target="_blank">nativesdk-meson_0.52.0.bb</a>} | 0<br>
> > 10 files changed, 22 insertions(+), 133 deletions(-)<br>
> > delete mode 100644 meta/recipes-devtools/meson/meson/0001-Cross-<br>
> > build-is-defined-by-the-existance-of-a-cross-f.patch<br>
> > delete mode 100644 meta/recipes-devtools/meson/meson/0001-<br>
> > environment.py-detect-windows-also-if-the-system-str.patch<br>
> > delete mode 100644 meta/recipes-devtools/meson/meson/vala-cross-<br>
> > compile.patch<br>
> > rename meta/recipes-devtools/meson/{<a href="http://meson_0.51.2.bb" rel="noreferrer" target="_blank">meson_0.51.2.bb</a> =><br>
> > <a href="http://meson_0.52.0.bb" rel="noreferrer" target="_blank">meson_0.52.0.bb</a>} (97%)<br>
> > rename meta/recipes-devtools/meson/{<a href="http://nativesdk-meson_0.51.2.bb" rel="noreferrer" target="_blank">nativesdk-meson_0.51.2.bb</a> =><br>
> > <a href="http://nativesdk-meson_0.52.0.bb" rel="noreferrer" target="_blank">nativesdk-meson_0.52.0.bb</a>} (100%)<br>
> ><br>
> > diff --git a/meta/recipes-devtools/meson/meson.inc b/meta/recipes-<br>
> > devtools/meson/meson.inc<br>
> > index 8219d87c741..ae0091c051c 100644<br>
> > --- a/meta/recipes-devtools/meson/meson.inc<br>
> > +++ b/meta/recipes-devtools/meson/meson.inc<br>
> > @@ -14,14 +14,11 @@ SRC_URI = "<br>
> > <a href="https://github.com/mesonbuild/meson/releases/download/$%7BPV%7D/meson-$%7BP" rel="noreferrer" target="_blank">https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P</a><br>
> > file://0001-python-module-do-not-manipulate-the-<br>
> > environment-when.patch \<br>
> > file://disable-rpath-handling.patch \<br>
> > file://cross-prop-default.patch \<br>
> > - file://0001-environment.py-detect-windows-also-if-the-<br>
> > system-str.patch \<br>
> > - file://0001-Cross-build-is-defined-by-the-existance-of-a-<br>
> > cross-f.patch \<br>
> > file://0001-mesonbuild-environment.py-check-environment-<br>
> > for-vari.patch \<br>
> > file://0001-modules-python.py-do-not-substitute-python-s-<br>
> > install.patch \<br>
> > - file://vala-cross-compile.patch \<br>
> > "<br>
> > -SRC_URI[sha256sum] =<br>
> > "23688f0fc90be623d98e80e1defeea92bbb7103bf9336a5f5b9865d36e892d76"<br>
> > -SRC_URI[md5sum] = "d46c4a8e3cfd27f90e2c6fe4a69e574b"<br>
> > +SRC_URI[sha256sum] =<br>
> > "d60f75f0dedcc4fd249dbc7519d6f3ce6df490033d276ef1cf27453ef4938d32"<br>
> > +SRC_URI[md5sum] = "7ea7772414dda8ae11072244bf7ba991"<br>
> ><br>
> > SRC_URI_append_class-native = " \<br>
> > file://0001-Make-CPU-family-warnings-fatal.patch \<br>
> > diff --git a/meta/recipes-devtools/meson/meson/0001-Cross-build-is-<br>
> > defined-by-the-existance-of-a-cross-f.patch b/meta/recipes-<br>
> > devtools/meson/meson/0001-Cross-build-is-defined-by-the-existance-of-<br>
> > a-cross-f.patch<br>
> > deleted file mode 100644<br>
> > index a5dbb81b088..00000000000<br>
> > --- a/meta/recipes-devtools/meson/meson/0001-Cross-build-is-defined-<br>
> > by-the-existance-of-a-cross-f.patch<br>
> > +++ /dev/null<br>
> > @@ -1,28 +0,0 @@<br>
> > -Upstream-Status: Backport<br>
> > -Signed-off-by: Ross Burton <<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>><br>
> > -<br>
> > -From 0b4d1e8afd5428a495f8624ee061f63977b4c268 Mon Sep 17 00:00:00<br>
> > 2001<br>
> > -From: Jussi Pakkanen <<a href="mailto:jpakkane@gmail.com" target="_blank">jpakkane@gmail.com</a>><br>
> > -Date: Sun, 6 Oct 2019 15:17:32 +0300<br>
> > -Subject: [PATCH] Cross build is defined by the existance of a cross<br>
> > file.<br>
> > -<br>
> > ----<br>
> > - mesonbuild/environment.py | 2 +-<br>
> > - 2 files changed, 2 insertions(+), 2 deletions(-)<br>
> > -<br>
> > -diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py<br>
> > -index e5d041b4..03c65688 100644<br>
> > ---- a/mesonbuild/environment.py<br>
> > -+++ b/mesonbuild/environment.py<br>
> > -@@ -611,7 +611,7 @@ class Environment:<br>
> > - self.first_invocation = True<br>
> > -<br>
> > - def is_cross_build(self) -> bool:<br>
> > -- return not<br>
> > self.machines.matches_build_machine(MachineChoice.HOST)<br>
> > -+ return self.coredata.is_cross_build()<br>
> > -<br>
> > - def dump_coredata(self):<br>
> > - return coredata.save(self.coredata, self.get_build_dir())<br>
> > ---<br>
> > -2.20.1<br>
> > -<br>
> > diff --git a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-<br>
> > warnings-fatal.patch b/meta/recipes-devtools/meson/meson/0001-Make-<br>
> > CPU-family-warnings-fatal.patch<br>
> > index 444fc081686..fc55dcacf6d 100644<br>
> > --- a/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-<br>
> > warnings-fatal.patch<br>
> > +++ b/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-<br>
> > warnings-fatal.patch<br>
> > @@ -1,4 +1,4 @@<br>
> > -From f70fee13e4dbc757cd8153cd42d92fa9394fb542 Mon Sep 17 00:00:00<br>
> > 2001<br>
> > +From c07d29b715209cd5d75b142a00a540d45b00c36d Mon Sep 17 00:00:00<br>
> > 2001<br>
> > From: Ross Burton <<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>><br>
> > Date: Tue, 3 Jul 2018 13:59:09 +0100<br>
> > Subject: [PATCH] Make CPU family warnings fatal<br>
> > @@ -12,7 +12,7 @@ Signed-off-by: Ross Burton <<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>><br>
> > 2 files changed, 2 insertions(+), 4 deletions(-)<br>
> ><br>
> > diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py<br>
> > -index 03c6346..86b350b 100644<br>
> > +index a59cd89..17de654 100644<br>
> > --- a/mesonbuild/envconfig.py<br>
> > +++ b/mesonbuild/envconfig.py<br>
> > @@ -186,7 +186,7 @@ class MachineInfo:<br>
> > @@ -25,10 +25,10 @@ index 03c6346..86b350b 100644<br>
> > endian = literal['endian']<br>
> > if endian not in ('little', 'big'):<br>
> > diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py<br>
> > -index 0cfdf9c..40aa189 100644<br>
> > +index 3704921..f1988f2 100644<br>
> > --- a/mesonbuild/environment.py<br>
> > +++ b/mesonbuild/environment.py<br>
> > -@@ -262,9 +262,7 @@ def detect_cpu_family(compilers: CompilersDict)<br>
> > -> str:<br>
> > +@@ -251,9 +251,7 @@ def detect_cpu_family(compilers: CompilersDict)<br>
> > -> str:<br>
> > trial = 'parisc'<br>
> ><br>
> > if trial not in known_cpu_families:<br>
> > diff --git a/meta/recipes-devtools/meson/meson/0001-environment.py-<br>
> > detect-windows-also-if-the-system-str.patch b/meta/recipes-<br>
> > devtools/meson/meson/0001-environment.py-detect-windows-also-if-the-<br>
> > system-str.patch<br>
> > deleted file mode 100644<br>
> > index 2faeda2e711..00000000000<br>
> > --- a/meta/recipes-devtools/meson/meson/0001-environment.py-detect-<br>
> > windows-also-if-the-system-str.patch<br>
> > +++ /dev/null<br>
> > @@ -1,29 +0,0 @@<br>
> > -From b52e47c9d61dc4c930cfc7236fbeb70338c3b953 Mon Sep 17 00:00:00<br>
> > 2001<br>
> > -From: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> > -Date: Mon, 25 Mar 2019 17:17:06 +0100<br>
> > -Subject: [PATCH] environment.py: detect windows also if the system<br>
> > string<br>
> > - contains 'mingw'<br>
> > -<br>
> > -Upstream-Status: Backport [fe645a0a9e2da230d2c500af1f5b2db5da1e364d]<br>
> > -Signed-off-by: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> > -<br>
> > ----<br>
> > - mesonbuild/envconfig.py | 2 +-<br>
> > - 1 file changed, 1 insertion(+), 1 deletion(-)<br>
> > -<br>
> > -diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py<br>
> > -index 03c6346..a59cd89 100644<br>
> > ---- a/mesonbuild/envconfig.py<br>
> > -+++ b/mesonbuild/envconfig.py<br>
> > -@@ -198,7 +198,7 @@ class MachineInfo:<br>
> > - """<br>
> > - Machine is windows?<br>
> > - """<br>
> > -- return self.system in {'windows', 'mingw'}<br>
> > -+ return self.system == 'windows' or 'mingw' in self.system<br>
> > -<br>
> > - def is_cygwin(self) -> bool:<br>
> > - """<br>
> > ---<br>
> > -2.17.1<br>
> > -<br>
> > diff --git a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-<br>
> > issues-that-arise-when-cross-compiling.patch b/meta/recipes-<br>
> > devtools/meson/meson/0001-gtkdoc-fix-issues-that-arise-when-cross-<br>
> > compiling.patch<br>
> > index 7c3238bf91a..471f1500daa 100644<br>
> > --- a/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-<br>
> > arise-when-cross-compiling.patch<br>
> > +++ b/meta/recipes-devtools/meson/meson/0001-gtkdoc-fix-issues-that-<br>
> > arise-when-cross-compiling.patch<br>
> > @@ -1,4 +1,4 @@<br>
> > -From 1afbf5ccff56e582229c8f673f50aedf2b24117e Mon Sep 17 00:00:00<br>
> > 2001<br>
> > +From d3ef01a4208a801acad380a4aaceb6a21f8fa603 Mon Sep 17 00:00:00<br>
> > 2001<br>
> > From: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> > Date: Fri, 4 Aug 2017 16:16:41 +0300<br>
> > Subject: [PATCH] gtkdoc: fix issues that arise when cross-compiling<br>
> > @@ -20,11 +20,11 @@ Signed-off-by: Alexander Kanavin <<br>
> > <a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> > 1 file changed, 4 insertions(+)<br>
> ><br>
> > diff --git a/mesonbuild/modules/gnome.py<br>
> > b/mesonbuild/modules/gnome.py<br>
> > -index bf49770..7c5a363 100644<br>
> > +index bcf77b9..6a4b472 100644<br>
> > --- a/mesonbuild/modules/gnome.py<br>
> > +++ b/mesonbuild/modules/gnome.py<br>
> > -@@ -972,6 +972,10 @@ This will become a hard error in the<br>
> > future.''')<br>
> > - '--mode=' + mode]<br>
> > +@@ -974,6 +974,10 @@ This will become a hard error in the<br>
> > future.''')<br>
> > + args.append('--{}={}'.format(program_name, path))<br>
> > if namespace:<br>
> > args.append('--namespace=' + namespace)<br>
> > + gtkdoc_exe_wrapper =<br>
> > state.environment.properties.host.get('gtkdoc_exe_wrapper', None)<br>
> > diff --git a/meta/recipes-devtools/meson/meson/0002-Support-building-<br>
> > allarch-recipes-again.patch b/meta/recipes-devtools/meson/meson/0002-<br>
> > Support-building-allarch-recipes-again.patch<br>
> > index 8ad86a46e99..b8837d77b64 100644<br>
> > --- a/meta/recipes-devtools/meson/meson/0002-Support-building-<br>
> > allarch-recipes-again.patch<br>
> > +++ b/meta/recipes-devtools/meson/meson/0002-Support-building-<br>
> > allarch-recipes-again.patch<br>
> > @@ -1,4 +1,4 @@<br>
> > -From 3009a1c2f1b736b836a057d84dc11f379cba99cf Mon Sep 17 00:00:00<br>
> > 2001<br>
> > +From 263fc0e26e1fd92e25fa3ef93f4a549dcebc5887 Mon Sep 17 00:00:00<br>
> > 2001<br>
> > From: Peter Kjellerstedt <<a href="mailto:pkj@axis.com" target="_blank">pkj@axis.com</a>><br>
> > Date: Thu, 26 Jul 2018 16:32:49 +0200<br>
> > Subject: [PATCH] Support building allarch recipes again<br>
> > @@ -13,7 +13,7 @@ Signed-off-by: Peter Kjellerstedt <<br>
> > <a href="mailto:peter.kjellerstedt@axis.com" target="_blank">peter.kjellerstedt@axis.com</a>><br>
> > 1 file changed, 1 insertion(+)<br>
> ><br>
> > diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py<br>
> > -index 86b350b..aa426ca 100644<br>
> > +index 17de654..2d2deef 100644<br>
> > --- a/mesonbuild/envconfig.py<br>
> > +++ b/mesonbuild/envconfig.py<br>
> > @@ -36,6 +36,7 @@ _T = typing.TypeVar('_T')<br>
> > diff --git a/meta/recipes-devtools/meson/meson/0003-<br>
> > native_bindir.patch b/meta/recipes-devtools/meson/meson/0003-<br>
> > native_bindir.patch<br>
> > index 57de598d2f1..76cc4931d63 100644<br>
> > --- a/meta/recipes-devtools/meson/meson/0003-native_bindir.patch<br>
> > +++ b/meta/recipes-devtools/meson/meson/0003-native_bindir.patch<br>
> > @@ -1,4 +1,4 @@<br>
> > -From ac38495de38a1ea42e2bc09a2f23c2e945fbc22d Mon Sep 17 00:00:00<br>
> > 2001<br>
> > +From 4a1d676522d6b56cbe9a45c3b040afaa27d37f78 Mon Sep 17 00:00:00<br>
> > 2001<br>
> > From: Ricardo Ribalda Delgado <<a href="mailto:ricardo.ribalda@gmail.com" target="_blank">ricardo.ribalda@gmail.com</a>><br>
> > Date: Wed, 15 Nov 2017 15:05:01 +0100<br>
> > Subject: [PATCH] native_bindir<br>
> > @@ -22,10 +22,10 @@ Signed-off-by: Ricardo Ribalda Delgado <<br>
> > <a href="mailto:ricardo.ribalda@gmail.com" target="_blank">ricardo.ribalda@gmail.com</a>><br>
> > 2 files changed, 14 insertions(+), 11 deletions(-)<br>
> ><br>
> > diff --git a/mesonbuild/dependencies/base.py<br>
> > b/mesonbuild/dependencies/base.py<br>
> > -index 21da8e2..7d1ef85 100644<br>
> > +index 3c55a56..eb52fd1 100644<br>
> > --- a/mesonbuild/dependencies/base.py<br>
> > +++ b/mesonbuild/dependencies/base.py<br>
> > -@@ -155,7 +155,7 @@ class Dependency:<br>
> > +@@ -185,7 +185,7 @@ class Dependency:<br>
> > def get_exe_args(self, compiler):<br>
> > return []<br>
> ><br>
> > @@ -34,7 +34,7 @@ index 21da8e2..7d1ef85 100644<br>
> > raise DependencyException('{!r} is not a pkgconfig<br>
> > dependency'.format(<a href="http://self.name" rel="noreferrer" target="_blank">self.name</a>))<br>
> ><br>
> > def get_configtool_variable(self, variable_name):<br>
> > -@@ -214,7 +214,7 @@ class InternalDependency(Dependency):<br>
> > +@@ -248,7 +248,7 @@ class InternalDependency(Dependency):<br>
> > self.sources = sources<br>
> > self.ext_deps = ext_deps<br>
> ><br>
> > @@ -43,7 +43,7 @@ index 21da8e2..7d1ef85 100644<br>
> > raise DependencyException('Method<br>
> > "get_pkgconfig_variable()" is '<br>
> > 'invalid for an internal<br>
> > dependency')<br>
> ><br>
> > -@@ -639,15 +639,18 @@ class PkgConfigDependency(ExternalDependency):<br>
> > +@@ -670,15 +670,18 @@ class PkgConfigDependency(ExternalDependency):<br>
> > return s.format(self.__class__.__name__, <a href="http://self.name" rel="noreferrer" target="_blank">self.name</a>,<br>
> > self.is_found,<br>
> > self.version_reqs)<br>
> ><br>
> > @@ -65,7 +65,7 @@ index 21da8e2..7d1ef85 100644<br>
> > # Always copy the environment since we're going to modify<br>
> > it<br>
> > # with pkg-config variables<br>
> > if env is None:<br>
> > -@@ -663,7 +666,7 @@ class PkgConfigDependency(ExternalDependency):<br>
> > +@@ -698,7 +701,7 @@ class PkgConfigDependency(ExternalDependency):<br>
> > targs = tuple(args)<br>
> > cache = PkgConfigDependency.pkgbin_cache<br>
> > if (self.pkgbin, targs, fenv) not in cache:<br>
> > @@ -74,16 +74,16 @@ index 21da8e2..7d1ef85 100644<br>
> > return cache[(self.pkgbin, targs, fenv)]<br>
> ><br>
> > def _convert_mingw_paths(self, args):<br>
> > -@@ -845,7 +848,7 @@ class PkgConfigDependency(ExternalDependency):<br>
> > - (<a href="http://self.name" rel="noreferrer" target="_blank">self.name</a>, out_raw))<br>
> > - self.link_args, self.raw_link_args = self._search_libs(out,<br>
> > out_raw)<br>
> > +@@ -926,7 +929,7 @@ class PkgConfigDependency(ExternalDependency):<br>
> > + mlog.warning('Could not determine complete list of<br>
> > dependencies for %s' % <a href="http://self.name" rel="noreferrer" target="_blank">self.name</a>)<br>
> > + self.link_args, self.raw_link_args = self._search_libs(out,<br>
> > out_raw, out_all)<br>
> ><br>
> > - def get_pkgconfig_variable(self, variable_name, kwargs):<br>
> > + def get_pkgconfig_variable(self, variable_name, kwargs,<br>
> > use_native=False):<br>
> > options = ['--variable=' + variable_name, <a href="http://self.name" rel="noreferrer" target="_blank">self.name</a>]<br>
> ><br>
> > if 'define_variable' in kwargs:<br>
> > -@@ -858,7 +861,7 @@ class PkgConfigDependency(ExternalDependency):<br>
> > +@@ -939,7 +942,7 @@ class PkgConfigDependency(ExternalDependency):<br>
> ><br>
> > options = ['--define-variable=' + '='.join(definition)]<br>
> > + options<br>
> ><br>
> > diff --git a/meta/recipes-devtools/meson/meson/vala-cross-<br>
> > compile.patch b/meta/recipes-devtools/meson/meson/vala-cross-<br>
> > compile.patch<br>
> > deleted file mode 100644<br>
> > index 816f810c054..00000000000<br>
> > --- a/meta/recipes-devtools/meson/meson/vala-cross-compile.patch<br>
> > +++ /dev/null<br>
> > @@ -1,50 +0,0 @@<br>
> > -From 77c3e6a4aaed07e626f4bf4deb7eb66e0f03a33d Mon Sep 17 00:00:00<br>
> > 2001<br>
> > -From: James Westman <<a href="mailto:flyingpimonster@flyingpimonster.net" target="_blank">flyingpimonster@flyingpimonster.net</a>><br>
> > -Date: Mon, 24 Jun 2019 12:04:12 -0500<br>
> > -Subject: [PATCH] Fix two errors when cross-compiling with Vala<br>
> > -<br>
> > -- AttributeError: 'ValaCompiler' object has no attribute<br>
> > 'get_program_dirs'<br>
> > -<br>
> > - Fixed by adding a `get_program_dirs()` function to the base<br>
> > Compiler<br>
> > - class, to match `get_library_dirs()`<br>
> > -<br>
> > -- KeyError: 'vala_COMPILER'<br>
> > -<br>
> > - Fixed by creating the Vala compile rules for all machines, not<br>
> > just<br>
> > - the build machine.<br>
> > -<br>
> > -Upstream-Status: Backport [<br>
> > <a href="https://github.com/mesonbuild/meson/commit/77c3e6a4aaed07e626f4bf4deb7eb66e0f03a33d" rel="noreferrer" target="_blank">https://github.com/mesonbuild/meson/commit/77c3e6a4aaed07e626f4bf4deb7eb66e0f03a33d</a><br>
> > ]<br>
> > -Signed-off-by: Alexander Kanavin <<a href="mailto:alex.kanavin@gmail.com" target="_blank">alex.kanavin@gmail.com</a>><br>
> > ----<br>
> > - mesonbuild/backend/ninjabackend.py | 3 +--<br>
> > - mesonbuild/compilers/compilers.py | 3 +++<br>
> > - 2 files changed, 4 insertions(+), 2 deletions(-)<br>
> > -<br>
> > -diff --git a/mesonbuild/backend/ninjabackend.py<br>
> > b/mesonbuild/backend/ninjabackend.py<br>
> > -index a454e6ab5f..b830e377e4 100644<br>
> > ---- a/mesonbuild/backend/ninjabackend.py<br>
> > -+++ b/mesonbuild/backend/ninjabackend.py<br>
> > -@@ -1653,8 +1653,7 @@ def generate_compile_rule_for(self, langname,<br>
> > compiler):<br>
> > - self.generate_cs_compile_rule(compiler)<br>
> > - return<br>
> > - if langname == 'vala':<br>
> > -- if<br>
> > self.environment.machines.matches_build_machine(compiler.for_machine)<br>
> > :<br>
> > -- self.generate_vala_compile_rules(compiler)<br>
> > -+ self.generate_vala_compile_rules(compiler)<br>
> > - return<br>
> > - if langname == 'rust':<br>
> > - self.generate_rust_compile_rules(compiler)<br>
> > -diff --git a/mesonbuild/compilers/compilers.py<br>
> > b/mesonbuild/compilers/compilers.py<br>
> > -index 5855de71c8..86c1e33407 100644<br>
> > ---- a/mesonbuild/compilers/compilers.py<br>
> > -+++ b/mesonbuild/compilers/compilers.py<br>
> > -@@ -1117,6 +1117,9 @@ def find_library(self, *args, **kwargs):<br>
> > - def get_library_dirs(self, *args, **kwargs):<br>
> > - return ()<br>
> > -<br>
> > -+ def get_program_dirs(self, *args, **kwargs):<br>
> > -+ return ()<br>
> > -+<br>
> > - def has_multi_arguments(self, args, env) -> Tuple[bool, bool]:<br>
> > - raise EnvironmentException(<br>
> > - 'Language {} does not support<br>
> > has_multi_arguments.'.format(<br>
> > diff --git a/meta/recipes-devtools/meson/<a href="http://meson_0.51.2.bb" rel="noreferrer" target="_blank">meson_0.51.2.bb</a><br>
> > b/meta/recipes-devtools/meson/<a href="http://meson_0.52.0.bb" rel="noreferrer" target="_blank">meson_0.52.0.bb</a><br>
> > similarity index 97%<br>
> > rename from meta/recipes-devtools/meson/<a href="http://meson_0.51.2.bb" rel="noreferrer" target="_blank">meson_0.51.2.bb</a><br>
> > rename to meta/recipes-devtools/meson/<a href="http://meson_0.52.0.bb" rel="noreferrer" target="_blank">meson_0.52.0.bb</a><br>
> > index de9b905c12b..897fa148d94 100644<br>
> > --- a/meta/recipes-devtools/meson/<a href="http://meson_0.51.2.bb" rel="noreferrer" target="_blank">meson_0.51.2.bb</a><br>
> > +++ b/meta/recipes-devtools/meson/<a href="http://meson_0.52.0.bb" rel="noreferrer" target="_blank">meson_0.52.0.bb</a><br>
> > @@ -1,4 +1,3 @@<br>
> > include meson.inc<br>
> ><br>
> > BBCLASSEXTEND = "native"<br>
> > -<br>
> > diff --git a/meta/recipes-devtools/meson/<a href="http://nativesdk-meson_0.51.2.bb" rel="noreferrer" target="_blank">nativesdk-meson_0.51.2.bb</a><br>
> > b/meta/recipes-devtools/meson/<a href="http://nativesdk-meson_0.52.0.bb" rel="noreferrer" target="_blank">nativesdk-meson_0.52.0.bb</a><br>
> > similarity index 100%<br>
> > rename from meta/recipes-devtools/meson/<a href="http://nativesdk-meson_0.51.2.bb" rel="noreferrer" target="_blank">nativesdk-meson_0.51.2.bb</a><br>
> > rename to meta/recipes-devtools/meson/<a href="http://nativesdk-meson_0.52.0.bb" rel="noreferrer" target="_blank">nativesdk-meson_0.52.0.bb</a><br>
> > --<br>
> > 2.17.1<br>
> ><br>
><br>
</blockquote></div>