Message ID | 20200905062333.1087-1-luoyonggang@gmail.com |
---|---|
Headers | show |
Series | Green the msys2 CI make | expand |
On 05/09/2020 08.23, Yonggang Luo wrote: > This reverts commit 48328880fddf0145bdccc499160fb24dfabfbd41. > > Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> > --- > configure | 16 +--------------- > 1 file changed, 1 insertion(+), 15 deletions(-) Please be a little bit more descriptive in the patch description: Why do you have to revert this patch? Thomas
On 05/09/2020 08.23, Yonggang Luo wrote: > The error are: > +@end table > + > +@end deftypefn > + > make: *** [Makefile.mtest:63: check-qapi-schema] Error 1 > > Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> > --- > tests/qapi-schema/meson.build | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tests/qapi-schema/meson.build b/tests/qapi-schema/meson.build > index c87d141417..67ba0a5ebd 100644 > --- a/tests/qapi-schema/meson.build > +++ b/tests/qapi-schema/meson.build > @@ -220,6 +220,7 @@ qapi_doc = custom_target('QAPI doc', > > # "full_path()" needed here to work around > # https://github.com/mesonbuild/meson/issues/7585 > -test('QAPI doc', diff, args: ['-u', files('doc-good.texi'), qapi_doc[0].full_path()], > +test('QAPI doc', diff, args: ['--strip-trailing-cr', > + '-u', files('doc-good.texi'), qapi_doc[0].full_path()], I just had a look at the POSIX man page of "diff", and it seems like "'--strip-trailing-cr" is not a portable option :-( Thus this will likely fail on the BSDs and Solaris-based systems. I think it's maybe best if you replace it with "-b" instead. Thomas
Il sab 5 set 2020, 10:29 Thomas Huth <thuth@redhat.com> ha scritto: > On 05/09/2020 08.23, Yonggang Luo wrote: > > This reverts commit 48328880fddf0145bdccc499160fb24dfabfbd41. > > > > Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> > > --- > > configure | 16 +--------------- > > 1 file changed, 1 insertion(+), 15 deletions(-) > > Please be a little bit more descriptive in the patch description: Why do > you have to revert this patch? > It shouldn't be reverted yet. The Windows issue that required the introduction of --ninja is now fixed in upstream Meson, but we shouldn't include the fix in the meson submodule until it's part of a released version. We can then bump the required version (hopefully 0.55.2) and decide whether to remove --ninja. That said, we might also want to use ninja instead of make in the future to build QEMU (leaving make to do the orchestration of the submodules etc.), which would let us remove ninjatool altogether. I am not sure if that is going to happen anytime soon, but it should be taken into account before deciding to remove --ninja. Paolo > <div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il sab 5 set 2020, 10:29 Thomas Huth <<a href="mailto:thuth@redhat.com">thuth@redhat.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 05/09/2020 08.23, Yonggang Luo wrote:<br> > This reverts commit 48328880fddf0145bdccc499160fb24dfabfbd41.<br> > <br> > Signed-off-by: Yonggang Luo <<a href="mailto:luoyonggang@gmail.com" target="_blank" rel="noreferrer">luoyonggang@gmail.com</a>><br> > ---<br> > configure | 16 +---------------<br> > 1 file changed, 1 insertion(+), 15 deletions(-)<br> <br> Please be a little bit more descriptive in the patch description: Why do<br> you have to revert this patch?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">It shouldn't be reverted yet. The Windows issue that required the introduction of --ninja is now fixed in upstream Meson, but we shouldn't include the fix in the meson submodule until it's part of a released version. We can then bump the required version (hopefully 0.55.2) and decide whether to remove --ninja.</div><div dir="auto"><br></div><div dir="auto">That said, we might also want to use ninja instead of make in the future to build QEMU (leaving make to do the orchestration of the submodules etc.), which would let us remove ninjatool altogether. I am not sure if that is going to happen anytime soon, but it should be taken into account before deciding to remove --ninja.</div><div dir="auto"><br></div><div dir="auto">Paolo</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> </blockquote></div></div></div>
On 05/09/20 08:23, Yonggang Luo wrote: > The ninja options now have no need anymore. > > Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> > --- > meson | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meson b/meson > index 68ed748f84..492afe50a4 160000 > --- a/meson > +++ b/meson > @@ -1 +1 @@ > -Subproject commit 68ed748f84f14c2d4e62dcbd123816e5898eb04c > +Subproject commit 492afe50a439d70df99d6e3e59572aff55e14c6b > Sorry, we cannot use a random commit. We need a release so that we can in parallel update the version check in the configure script. Paolo
On Sat, Sep 5, 2020 at 4:42 PM Thomas Huth <thuth@redhat.com> wrote: > On 05/09/2020 08.23, Yonggang Luo wrote: > > The error are: > > +@end table > > + > > +@end deftypefn > > + > > make: *** [Makefile.mtest:63: check-qapi-schema] Error 1 > > > > Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> > > --- > > tests/qapi-schema/meson.build | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/tests/qapi-schema/meson.build > b/tests/qapi-schema/meson.build > > index c87d141417..67ba0a5ebd 100644 > > --- a/tests/qapi-schema/meson.build > > +++ b/tests/qapi-schema/meson.build > > @@ -220,6 +220,7 @@ qapi_doc = custom_target('QAPI doc', > > > > # "full_path()" needed here to work around > > # https://github.com/mesonbuild/meson/issues/7585 > > -test('QAPI doc', diff, args: ['-u', files('doc-good.texi'), > qapi_doc[0].full_path()], > > +test('QAPI doc', diff, args: ['--strip-trailing-cr', > > + '-u', files('doc-good.texi'), > qapi_doc[0].full_path()], > > I just had a look at the POSIX man page of "diff", and it seems like > "'--strip-trailing-cr" is not a portable option :-( Thus this will > likely fail on the BSDs and Solaris-based systems. > I think it's maybe best if you replace it with "-b" instead. updated > > Thomas > >