Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUZfN-0005HI-5L for pgsql-sql@arkaria.postgresql.org; Tue, 12 Nov 2019 17:09:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iUZfJ-0007Os-EY for pgsql-sql@arkaria.postgresql.org; Tue, 12 Nov 2019 17:09:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUZfJ-0007Oj-3P for pgsql-sql@lists.postgresql.org; Tue, 12 Nov 2019 17:09:17 +0000 Received: from mailbackend.panix.com ([166.84.1.89]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iUZfG-0006RT-HR for pgsql-sql@lists.postgresql.org; Tue, 12 Nov 2019 17:09:15 +0000 Received: from panix2.panix.com (panix2.panix.com [166.84.1.2]) by mailbackend.panix.com (Postfix) with ESMTP id 47CDk119Yszk8f for ; Tue, 12 Nov 2019 12:09:13 -0500 (EST) Received: by panix2.panix.com (Postfix, from userid 17622) id 47CDk06lBhz1ZVj; Tue, 12 Nov 2019 12:09:12 -0500 (EST) Date: Tue, 12 Nov 2019 12:09:12 -0500 From: stan To: pgsql-sql@lists.postgresql.org Subject: install problem with extensions Message-ID: <20191112170912.GA17266@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: gVim User-Agent: Mutt/1.12.1 (2019-06-15) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk I am trying to build an extension, and I haveit installed on 2 machines, but the ake install fails on a 3rd. Tow of the machines are Ubuntu 18.04, and it installs fine on one, and fails on the other. Here is the make install output: stan@ica-db:~/src/pg-libphonenumber$ sudo make install /bin/mkdir -p '/usr/lib/postgresql/11/lib' /bin/mkdir -p '/usr/share/postgresql/11/extension' /bin/mkdir -p '/usr/share/postgresql/11/extension' /usr/bin/install -c -m 755 pg_libphonenumber.so '/usr/lib/postgresql/11/lib/pg_libphonenumber.so' /usr/bin/install -c -m 644 .//pg_libphonenumber.control '/usr/share/postgresql/11/extension/' /usr/bin/install -c -m 644 .//sql/pg_libphonenumber--*.sql '/usr/share/postgresql/11/extension/' /bin/mkdir -p '/usr/lib/postgresql/11/lib/bitcode/pg_libphonenumber' /bin/mkdir -p '/usr/lib/postgresql/11/lib/bitcode'/pg_libphonenumber/src/ /usr/bin/install -c -m 644 src/error_handling.bc '/usr/lib/postgresql/11/lib/bitcode'/pg_libphonenumber/src/ /usr/bin/install -c -m 644 src/pg_libphonenumber.bc '/usr/lib/postgresql/11/lib/bitcode'/pg_libphonenumber/src/ /usr/bin/install -c -m 644 src/packed_phone_number.bc '/usr/lib/postgresql/11/lib/bitcode'/pg_libphonenumber/src/ cd '/usr/lib/postgresql/11/lib/bitcode' && /usr/lib/llvm-6.0/bin/llvm-lto -thinlto -thinlto-action=thinlink -o pg_libphonenumber.index.bc pg_libphonenumber/src/error_handling.bc pg_libphonenumber/src/pg_libphonenumber.bc pg_libphonenumber/src/packed_phone_number.bc error: can't create module summary index for buffer: Expected a single module LLVM ERROR: ThinLink didn't create an index /usr/lib/postgresql/11/lib/pgxs/src/makefiles/pgxs.mk:229: recipe for target 'install' failed make: *** [install] Error 1 Can anyoine sygest where to look to resolve this error? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin