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: mario@emmenlauer.de
Subject: BUG #15243: make check shows errors, i.e. fails to find initdb and others
Date: Fri, 15 Jun 2018 21:00:15 +0000
Message-ID: <152909641546.24805.8885344016984874263@wrigleys.postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15243
Logged by:          Mario Emmenlauer
Email address:      mario@emmenlauer.de
PostgreSQL version: 10.4
Operating system:   Ubuntu Linux
Description:        

I tried my first build of PostgreSQL 10.4 on Ubuntu Linux 16.04 today. The
build worked out of the box. However `make check` fails. I am under the
impression that it tries a "strange" path to search for build-time binaries.
But I'm not experienced enough to figure out why. Here are my
observations:

Make check aborts immediately with message:

rm -rf ./testtablespace
mkdir ./testtablespace
PATH="/tmp/Debug/Shared/postgresql-10.4/tmp_install/thirdparty/Debug/Shared/bin:$PATH"
LD_LIBRARY_PATH="/tmp/Debug/Shared/postgresql-10.4/tmp_install/thirdparty/Debug/Shared/lib:$LD_LIBRARY_PATH"
../../../src/test/regress/pg_regress --temp-instance=./tmp_check
--inputdir=. --bindir=     --dlpath=.  --schedule=./parallel_schedule  
============== creating temporary instance            ==============
============== initializing database system           ==============
pg_regress: initdb failed
Examine /tmp/Debug/Shared/postgresql-10.4/src/test/regress/log/initdb.log
for the reason.
Command was: "initdb" -D
"/tmp/Debug/Shared/postgresql-10.4/src/test/regress/./tmp_check/data"
--no-clean --no-sync >
"/tmp/Debug/Shared/postgresql-10.4/src/test/regress/log/initdb.log" 2>&1
GNUmakefile:130: recipe for target 'check' failed

In /tmp/Debug/Shared/postgresql-10.4/src/test/regress/log/initdb.log there
is just a short message saying that initdb was not found. What makes me
curious is the PATH setting above that ends in
`tmp_install/thirdparty/Debug/Shared/bin`. This whole suffix does not exist
on my machine, and actually the suffix `/thirdparty/Debug/Shared/bin` is my
target installation prefix.
Does anyone else experience issues with make check, or does this ring a bell
with anyone?

Thanks for the great work, and all the best, Mario Emmenlauer



view thread (7+ messages)  latest in thread

Message-ID: <152909641546.24805.8885344016984874263@wrigleys.postgresql.org>
Permalink:  ../152909641546.24805.8885344016984874263@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/152909641546.24805.8885344016984874263@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, mario@emmenlauer.de
  Subject: Re: BUG #15243: make check shows errors, i.e. fails to find initdb and others
  In-Reply-To: <152909641546.24805.8885344016984874263@wrigleys.postgresql.org>
  References: <152909641546.24805.8885344016984874263@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