testcase failing on git master / how to progress

From: Martin F <pg(at)mfriebe(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: testcase failing on git master / how to progress
Date: 2017-03-18 01:07:36
Message-ID: 28784a6f-c6b0-5ae0-2768-c3535b3b22ab@mfriebe.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I just started last week to build postgresql from source. (So this may
well be something I did wrong on my side)

I am on branch master
Revision: f7819baa618c528f60e266874051563ecfe08207
Date: 17/03/2017 18:58:06

I did build with

make clean distclean
./configure --prefix=/deploys/postgresql/inst/ --with-pgport=5433
--enable-debug CFLAGS="-ggdb -O0 -g3 -fno-omit-frame-pointer"
make
make install

And I got a few tests failing.
macaddr8 ... FAILED
opr_sanity ... FAILED
object_address ... FAILED

If I build with
./configure --prefix=/deploys/postgresql/inst/ --with-pgport=5433
then all tests pass.

So questions:
- Can anyone else reproduce this?
- How to establish if this is a problem with my build, or a bug in pg?
(And if the latter, what next)

____
one more note:
make check
has a problem on my system, but I (believe I) have worked around.
I can see that "make check" sets
PATH="/deploys/postgresql/postgresql/tmp_install/deploys/postgresql/inst/bin:$PATH"
LD_LIBRARY_PATH="/deploys/postgresql/postgresql/tmp_install/deploys/postgresql/inst/lib"
but this path does not exist, and therefore binaries are not found.
I did install the build, and set the path (and ld-path) to include the
install location, then run the tests.
I have not found what causes this issue, but maybe it is the --prefix?

uname -a
FreeBSD bsd1 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17
01:46:25 UTC 2014 root(at)snap(dot)freebsd(dot)org:/usr/obj/usr/src/sys/GENERIC i386

gmake --version
GNU Make 4.1
Built for i386-portbld-freebsd10.0

cc --version
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: i386-unknown-freebsd10.0
Thread model: posix

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2017-03-18 01:22:35 Re: testcase failing on git master / how to progress
Previous Message George Neuner 2017-03-18 00:44:35 Re: psql - looking in wrong place for socket