public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* meson build error on gedit-3.32.2
       [not found] <879744514.638572.1654667292450.JavaMail.yahoo.ref@mail.yahoo.co.jp>
@ 2022-06-08  5:48 ` Tatsuro MATSUOKA
  2022-06-12 16:29   ` Jon Turney
  0 siblings, 1 reply; 3+ messages in thread
From: Tatsuro MATSUOKA @ 2022-06-08  5:48 UTC (permalink / raw)
  To: cygwin

I am trying to build gedit-3.32.2 by meson.
$ meson _build
   :
<snip>
    :
Program python3 found: YES (/usr/bin/python3)
WARNING: Python files installed by Meson might not be found by python interpreter.
 This warning can be avoided by setting "python.platlibdir" option.
WARNING: Python files installed by Meson might not be found by python interpreter.
 This warning can be avoided by setting "python.purelibdir" option.
Configuring config.h using configuration

data/meson.build:19:0: ERROR: Function does not take positional arguments.

Please give me suggestions for setting "python.platlibdir" and  "python.purelibdir" options.

Tatsuro


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: meson build error on gedit-3.32.2
  2022-06-08  5:48 ` meson build error on gedit-3.32.2 Tatsuro MATSUOKA
@ 2022-06-12 16:29   ` Jon Turney
  2022-06-13  0:33     ` Tatsuro MATSUOKA
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Turney @ 2022-06-12 16:29 UTC (permalink / raw)
  To: Tatsuro MATSUOKA, The Cygwin Mailing List

On 08/06/2022 06:48, Tatsuro MATSUOKA wrote:
> I am trying to build gedit-3.32.2 by meson.

May I ask, why did you choose that particular version?

> $ meson _build
>     :
> <snip>
>      :
> Program python3 found: YES (/usr/bin/python3)
> WARNING: Python files installed by Meson might not be found by python interpreter.
>   This warning can be avoided by setting "python.platlibdir" option.
> WARNING: Python files installed by Meson might not be found by python interpreter.
>   This warning can be avoided by setting "python.purelibdir" option.
> Configuring config.h using configuration

I can't reproduce this.

I think perhaps maybe you are encountering a meson bug (already fixed in 
upstream) that this warning is emitted when you make an unusual choice 
of prefix?

> data/meson.build:19:0: ERROR: Function does not take positional arguments.

To fix this error, you'll need to backport the patch from

https://gitlab.gnome.org/GNOME/gedit/-/merge_requests/124/diffs

> Please give me suggestions for setting "python.platlibdir" and  "python.purelibdir" options.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: meson build error on gedit-3.32.2
  2022-06-12 16:29   ` Jon Turney
@ 2022-06-13  0:33     ` Tatsuro MATSUOKA
  0 siblings, 0 replies; 3+ messages in thread
From: Tatsuro MATSUOKA @ 2022-06-13  0:33 UTC (permalink / raw)
  To: Jon Turney, Tatsuro MATSUOKA, The Cygwin Mailing List

> ----- Original Message -----
> 
> From: "Jon Turney" 
> To: "Tatsuro MATSUOKA"; "The Cygwin Mailing List" <
> Date: 2022/06/13 月 01:29
> Subject: Re: meson build error on gedit-3.32.2
> 
> 
> On 08/06/2022 06:48, Tatsuro MATSUOKA wrote:
> > I am trying to build gedit-3.32.2 by meson.
> 
> May I ask, why did you choose that particular version?
> 
> > $ meson _build
> >     :
> > <snip>
> >      :
> > Program python3 found: YES (/usr/bin/python3)
> > WARNING: Python files installed by Meson might not be found by python interpreter.
> >   This warning can be avoided by setting "python.platlibdir" option.
> > WARNING: Python files installed by Meson might not be found by python interpreter.
> >   This warning can be avoided by setting "python.purelibdir" option.
> > Configuring config.h using configuration
> 
> I can't reproduce this.
> 
> I think perhaps maybe you are encountering a meson bug (already fixed in 
> upstream) that this warning is emitted when you make an unusual choice 
> of prefix?

I upgrade the meson by pip install --upgrade (to meson-0.62.2)
The WARNINGs are disappeared.

> > data/meson.build:19:0: ERROR: Function does not take positional arguments.
> 
> To fix this error, you'll need to backport the patch from
> 
> https://gitlab.gnome.org/GNOME/gedit/-/merge_requests/124/diffs
> 

Backporting the patch, the error is disappeared.

Thanks.

Tatsuro


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-13  0:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <879744514.638572.1654667292450.JavaMail.yahoo.ref@mail.yahoo.co.jp>
2022-06-08  5:48 ` meson build error on gedit-3.32.2 Tatsuro MATSUOKA
2022-06-12 16:29   ` Jon Turney
2022-06-13  0:33     ` Tatsuro MATSUOKA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).