Re: [PG 9.6]make is failing for test_decoding contrib module. - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [PG 9.6]make is failing for test_decoding contrib module.
Date
Msg-id CA+Tgmoa92ub6H_TrZuz1M8HewO-VSOeB1iKGcSqen42XD4+yPA@mail.gmail.com
Whole thread Raw
In response to [PG 9.6]make is failing for test_decoding contrib module.  (tushar <tushar.ahuja@enterprisedb.com>)
Responses Re: [PG 9.6]make is failing for test_decoding contrib module.
Re: [PG 9.6]make is failing for test_decoding contrib module.
List pgsql-hackers
On Fri, Mar 29, 2019 at 8:24 AM tushar <tushar.ahuja@enterprisedb.com> wrote:
> Found by one of the my colleague - Kashif Jeeshan ,  in PG 9.6 - make is

Kashif Jeeshan?

> failing for test_decoding contrib module.
>
> [centos@centos-cpula test_decoding]$ make
> gcc -Wall -Wmissing-prototypes -Wpointer-arith
> -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
> -Wformat-security -fno-strict-aliasing -fwrapv -O2 -fPIC -I. -I.
> -I../../src/include -D_GNU_SOURCE   -c -o test_decoding.o test_decoding.c
> In file included from ../../src/include/postgres.h:48,
>                   from test_decoding.c:13:
> ../../src/include/utils/elog.h:71:28: error: utils/errcodes.h: No such
> file or directory
> In file included from ../../src/include/replication/slot.h:15,
>                   from ../../src/include/replication/logical.h:12,
>                   from test_decoding.c:23:
> ../../src/include/storage/lwlock.h:129:33: error: storage/lwlocknames.h:
> No such file or directory
> test_decoding.c: In function ‘pg_decode_startup’:
> test_decoding.c:127: error: ‘ERRCODE_INVALID_PARAMETER_VALUE’ undeclared
> (first use in this function)
> test_decoding.c:127: error: (Each undeclared identifier is reported only
> once
> test_decoding.c:127: error: for each function it appears in.)
> make: *** [test_decoding.o] Error 1
> [centos@centos-cpula test_decoding]$

I think your tree is not clean, or you haven't built the server
correctly first.  If this were actually broken, the buildfarm would be
red:

https://buildfarm.postgresql.org/cgi-bin/show_status.pl

Try 'git clean -dfx'.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: House style for DocBook documentation?
Next
From: David Steele
Date:
Subject: Re: Add exclusive backup deprecation notes to documentation