Re: testcase failing on git master / how to progress

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Martin F <pg(at)mfriebe(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: testcase failing on git master / how to progress
Date: 2017-03-18 01:22:35
Message-ID: df8d1048-1d60-4ee7-636e-a8eaade358c7@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 03/17/2017 06:07 PM, Martin F wrote:
> Hi,
> I just started last week to build postgresql from source. (So this may
> well be something I did wrong on my side)

Do you really want to build the latest dev version?

If not and you want a specific version you should look here:

https://www.postgresql.org/ftp/source/

>
> 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
>
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martin F 2017-03-18 01:30:17 Re: testcase failing on git master / how to progress
Previous Message Martin F 2017-03-18 01:07:36 testcase failing on git master / how to progress