agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: stan <stanb@panix.com>
To: pgsql-sql@lists.postgresql.org
Subject: install problem with extensions
Date: Tue, 12 Nov 2019 12:09:12 -0500
Message-ID: <20191112170912.GA17266@panix.com> (raw)

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





view thread (4+ messages)  latest in thread

Message-ID: <20191112170912.GA17266@panix.com>
Permalink:  ../20191112170912.GA17266@panix.com/
Also on:    postgresql.org/message-id/20191112170912.GA17266@panix.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: stanb@panix.com, pgsql-sql@lists.postgresql.org
  Subject: Re: install problem with extensions
  In-Reply-To: <20191112170912.GA17266@panix.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox