Re: Portability report: ninja

2021-11-05 Thread Andres Freund
On 2021-11-02 09:27:17 +1300, Thomas Munro wrote: > On Tue, Nov 2, 2021 at 8:25 AM Tom Lane wrote: > > 6. While configure.py thinks it knows what to do on AIX, it fails > > on AIX 7.1 and 7.2: > > > > Traceback (most recent call last): > > File "./configure.py", line 544, in > > if platform

Re: Portability report: ninja

2021-11-01 Thread Tom Lane
Andres Freund writes: > On 2021-11-01 15:25:08 -0400, Tom Lane wrote: >> Fortunately for my >> purposes here, it seems to work with fairly old Python --- I built >> successfully with python 2.6.2, though not with 2.4.1. > meson will need a newer python though... Yup. I was just trying to establ

Re: Portability report: ninja

2021-11-01 Thread Andres Freund
Hi, On 2021-11-01 15:25:08 -0400, Tom Lane wrote: > Meson depends on ninja, so it behooves us to look into portability > of ninja if we're considering migrating to meson as the build system. > I tried it out quickly on some ancient platforms, and here's what > I found. Thanks, that's helpful! >

Re: Portability report: ninja

2021-11-01 Thread Thomas Munro
On Tue, Nov 2, 2021 at 8:25 AM Tom Lane wrote: > 5. It built and passed self-test on Solaris 11, but failed self-test > on Solaris 10. I haven't had time to actually do anything with it yet, but I can report that meson and ninja are, as of quite recently, available in the package repository of Op

Re: Portability report: ninja

2021-11-01 Thread Thomas Munro
On Tue, Nov 2, 2021 at 8:25 AM Tom Lane wrote: > 6. While configure.py thinks it knows what to do on AIX, it fails > on AIX 7.1 and 7.2: > > Traceback (most recent call last): > File "./configure.py", line 544, in > if platform.is_aix() and not platform.is_os400_pase(): > File "./configur

Re: Portability report: ninja

2021-11-01 Thread Jesper Pedersen
Hi, On 11/1/21 15:25, Tom Lane wrote: So it's pretty clear that if we go this way, it'll be the end of the line for support for some very old OS versions. I can't, however, argue with the idea that it's reasonable to require POSIX 2001 support now. Based on these results, I doubt that ninja wi