pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: exclusion@gmail.com
Subject: BUG #15349: "make installcheck -C src/interfaces/libpq" fails
Date: Fri, 24 Aug 2018 09:05:11 +0000
Message-ID: <153510151175.1485.7031575759638419787@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15349
Logged by:          Alexander Lakhin
Email address:      exclusion@gmail.com
PostgreSQL version: 11beta3
Operating system:   Ubuntu 18.04
Description:        

With REL_11_STABLE (also reproduced with versions 10 and 9.6) "make
installcheck -C src/interfaces/libpq" fails:
./configure && make
make installcheck -C src/interfaces/libpq # or make all -C
src/interfaces/libpq/test/

gcc -L../../../../src/port -L../../../../src/common -L../../../../src/common
-lpgcommon -L../../../../src/port -lpgport
-L../../../../src/interfaces/libpq -lpq   -Wl,--as-needed
-Wl,-rpath,'/usr/local/pgsql/lib',--enable-new-dtags  uri-regress.o   -o
uri-regress
uri-regress.o: In function `main':
uri-regress.c:(.text.startup+0x60): undefined reference to
`PQconninfoParse'
uri-regress.c:(.text.startup+0x71): undefined reference to
`PQconndefaults'
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'uri-regress' failed
make: *** [uri-regress] Error 1

If I restore previous version of libpq/test/Makefile:
git show dddfc4cb~1:src/interfaces/libpq/test/Makefile
>src/interfaces/libpq/test/Makefile
then "make all -C src/interfaces/libpq/test/" succeeds:
gcc -L../../../../src/port -L../../../../src/common   -Wl,--as-needed
-Wl,-rpath,'/usr/local/pgsql/lib',--enable-new-dtags  uri-regress.o 
-L../../../../src/common -lpgcommon -L../../../../src/port -lpgport
-L../../../../src/interfaces/libpq -lpq  -o uri-regress
make: Leaving directory '/space/tmp/postgres.chk/src/interfaces/libpq/test'



view thread (2+ messages)  latest in thread

Message-ID: <153510151175.1485.7031575759638419787@wrigleys.postgresql.org>
Permalink:  ../153510151175.1485.7031575759638419787@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/153510151175.1485.7031575759638419787@wrigleys.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, exclusion@gmail.com
  Subject: Re: BUG #15349: "make installcheck -C src/interfaces/libpq" fails
  In-Reply-To: <153510151175.1485.7031575759638419787@wrigleys.postgresql.org>
  References: <153510151175.1485.7031575759638419787@wrigleys.postgresql.org>

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

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