Re: Portability report: ninja

From: Andres Freund <andres(at)anarazel(dot)de>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Portability report: ninja
Date: 2021-11-05 21:42:49
Message-ID: 20211105214249.rgvijaxggvkgkryl@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2021-11-02 09:27:17 +1300, Thomas Munro wrote:
> On Tue, Nov 2, 2021 at 8:25 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 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 <module>
> > if platform.is_aix() and not platform.is_os400_pase():
> > File "./configure.py", line 103, in is_os400_pase
> > return self._platform == 'os400' or os.uname().sysname.startswith('OS400')
> > AttributeError: 'tuple' object has no attribute 'sysname'
>
> Yeah, the result type changed: os.uname()[0] works on python2 AND python3.

FWIW, with python3 ninja builds and tests successfully on AIX.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2021-11-05 22:38:08 Re: jsonb crash
Previous Message Daniel Gustafsson 2021-11-05 21:15:49 Commitfest 2021-11 Patch Triage - Part 1