Thread: make install-world fails sometimes in Mac M1
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./src/backend generated-headers
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C catalog distprep generated-header-symlinks
make[2]: Nothing to be done for `distprep'.
make[2]: Nothing to be done for `generated-header-symlinks'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C utils distprep generated-header-symlinks
make[2]: Nothing to be done for `distprep'.
make[2]: Nothing to be done for `generated-header-symlinks'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C doc install
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src install
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C sgml install
/bin/sh ../../../config/install-sh -c -d '/Users/sairam/work/postgresql-11.14/share/doc/'/html '/Users/sairam/work/postgresql-11.14/share/man'/man1 '/Users/sairam/work/postgresql-11.14/share/man'/man3 '/Users/sairam/work/postgresql-11.14/share/man'/man7
cp -R `for f in ./html; do test -r $f && echo $f && break; done` '/Users/sairam/work/postgresql-11.14/share/doc/'
cp -R `for f in ./man1; do test -r $f && echo $f && break; done` `for f in ./man3; do test -r $f && echo $f && break; done` `for f in ./man7; do test -r $f && echo $f && break; done` '/Users/sairam/work/postgresql-11.14/share/man'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src install
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C common install
/bin/sh ../../config/install-sh -c -d '/Users/sairam/work/postgresql-11.14/lib'
/usr/bin/install -c -m 644 libpgcommon.a '/Users/sairam/work/postgresql-11.14/lib/libpgcommon.a'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C port install
/bin/sh ../../config/install-sh -c -d '/Users/sairam/work/postgresql-11.14/lib'
/usr/bin/install -c -m 644 libpgport.a '/Users/sairam/work/postgresql-11.14/lib/libpgport.a'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C timezone install
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../../src/port all
make[3]: Nothing to be done for `all'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ../../src/common all
make[3]: Nothing to be done for `all'.
/bin/sh ../../config/install-sh -c -d '/Users/sairam/work/postgresql-11.14/share'
./zic -d '/Users/sairam/work/postgresql-11.14/share/timezone' -p 'US/Eastern' -b fat ./data/tzdata.zi
make[2]: *** [install] Killed: 9
make[1]: *** [install-timezone-recurse] Error 2
make: *** [install-world-src-recurse] Error 2
2
G. Sai Ram
Attachment
Gaddam Sai Ram <gaddamsairam.n@zohocorp.com> writes: > We are using a script to install Postgres from source, the script works fine in ubuntu and Mac(intel) but mostlyfails(works sometimes) in Mac M1. 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. > make[2]: *** [install] Killed: 9 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? regards, tom lane
Thank you,G. Sai Ram
Attachment
On 2022-Jul-11, Gaddam Sai Ram wrote: > Even we don't have any problem when we run commands via > terminal. Problem occurs only when we run as a part of script. It must be a problem induced by the shell used to run the script, then. What is it? The script itself doesn't say. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "¿Cómo puedes confiar en algo que pagas y que no ves, y no confiar en algo que te dan y te lo muestran?" (Germán Poo)
G. Sai Ram
On 2022-Jul-11, Gaddam Sai Ram wrote:
> Even we don't have any problem when we run commands via
> terminal. Problem occurs only when we run as a part of script.
It must be a problem induced by the shell used to run the script, then.
What is it? The script itself doesn't say.
--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"¿Cómo puedes confiar en algo que pagas y que no ves,
y no confiar en algo que te dan y te lo muestran?" (Germán Poo)