Re: make install-world fails sometimes in Mac M1 - Mailing list pgsql-hackers

From Gaddam Sai Ram
Subject Re: make install-world fails sometimes in Mac M1
Date
Msg-id 181ee079fac.eb3dbc8b65010.2195923489348200306@zohocorp.com
Whole thread Raw
In response to Re: make install-world fails sometimes in Mac M1  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: make install-world fails sometimes in Mac M1
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote ---
 > We have developers (including me) and buildfarm machines using M1 Macs ,
 > and nobody else is reporting any big problem with them, so I don't believe
 > that this is specifically due to that.

      Even we don't have any problem when we run commands via terminal. Problem occurs only when we run as a part of script.
      We have tried this script in 5 Mac m1 machines and it is the same issue everywhere.

 > kill -9 is not something that would happen internally to the install
 > process. My guess is that that is interference from some external agent.
 > Perhaps you have some resource-consumption-limiting daemon installed on
 > that machine, and it's deciding that the command ran too long?

      I don't think of any other external agent other than the anti-virus software running at that moment. And I also don't think that it will cause this issue.

      If possible, please do try this script(attached as screenshot as well as pastebin link)
      
      Steps:
      chmod +x install_pg.sh
      ./install_pg.sh -i <install_dir>

         
Thank you,
G. Sai Ram


Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [PATCH] Optimize json_lex_string by batching character copying
Next
From: Andres Freund
Date:
Subject: Re: automatically generating node support functions