[GENERAL] testcase failing on git master / how to progress - Mailing list pgsql-general

From Martin F
Subject [GENERAL] testcase failing on git master / how to progress
Date
Msg-id 28784a6f-c6b0-5ae0-2768-c3535b3b22ab@mfriebe.de
Whole thread Raw
Responses Re: [GENERAL] testcase failing on git master / how to progress  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: [GENERAL] testcase failing on git master / how to progress  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@snap.freebsd.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




pgsql-general by date:

Previous
From: George Neuner
Date:
Subject: Re: [GENERAL] psql - looking in wrong place for socket
Next
From: Adrian Klaver
Date:
Subject: Re: [GENERAL] testcase failing on git master / how to progress