PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15349
PG Version11beta3
OSUbuntu 18.04
Opened2018-08-24 09:05:11+00
Reported byAlexander Lakhin

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15349
Logged by:          Alexander Lakhin
Email address:      (redacted)
PostgreSQL version: 11beta3
Operating system:   Ubuntu 18.04

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

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.o: In function `main':
uri-regress.c:(.text.startup+0x60): undefined reference to
uri-regress.c:(.text.startup+0x71): undefined reference to
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
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'


2018-08-24 09:05:11+00=?utf-8?q?PG_Bug_reporting_form?=BUG #15349: "make installcheck -C src/interfaces/libpq" fails
2018-09-12 17:20:24+00Alexander LakhinRe: BUG #15349: "make installcheck -C src/interfaces/libpq" fails