v13 latest snapshot build error

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: PostgreSQL mailing lists <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: v13 latest snapshot build error
Date: 2020-03-11 16:53:51
Message-ID: 29ae4d38be69d750f8b217f5d46685d0264e867a.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hi,?

I'm getting build error while building latest snapshot. Any idea why? Please
note that I'm adding this patch to the tarball:

https://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob;f=rpm/redhat/master/postgresql-13/master/postgresql-13-var-run-socket.patch;h=a0292a80ae219b4c8dc1c2e686a3521f02b4330d;hb=HEAD

+ ./configure --enable-rpath --prefix=/usr/pgsql-13 --includedir=/usr/pgsql-
13/include --libdir=/usr/pgsql-13/lib --mandir=/usr/pgsql-13/share/man --
datadir=/usr/pgsql-13/share --with-icu --with-llvm --with-perl --with-python --
with-tcl --with-tclconfig=/usr/lib64 --with-openssl --with-pam --with-gssapi --
with-includes=/usr/include --with-libraries=/usr/lib64 --enable-nls --enable-
dtrace --with-uuid=e2fs --with-libxml --with-libxslt --with-ldap --with-selinux
--with-systemd --with-system-tzdata=/usr/share/zoneinfo --
sysconfdir=/etc/sysconfig/pgsql --docdir=/usr/pgsql-13/doc --
htmldir=/usr/pgsql-13/doc/html
+ MAKELEVEL=0
+ /usr/bin/make -j4 all
In file included from ../../../../src/include/c.h:55,
from ../../../../src/include/postgres.h:46,
from guc.c:17:
../../../../src/include/pg_config_manual.h:200:31: error: called object is not
a function or function pointer
#define DEFAULT_PGSOCKET_DIR "/var/run/postgresql"
^~~~~~~~~~~~~~~~~~~~~
guc.c:4064:3: note: in expansion of macro 'DEFAULT_PGSOCKET_DIR'
DEFAULT_PGSOCKET_DIR ", /tmp"
^~~~~~~~~~~~~~~~~~~~
make[4]: *** [<builtin>: guc.o] Error 1
make[3]: *** [../../../src/backend/common.mk:39: misc-recursive] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [common.mk:39: utils-recursive] Error 2
make[1]: *** [Makefile:42: all-backend-recurse] Error 2
make: *** [GNUmakefile:11: all-src-recurse] Error 2

Regards,
--
Devrim Gündüz
Open Source Solution Architect, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Corey Huinker 2020-03-11 16:56:55 Re: Add A Glossary
Previous Message Jürgen Purtz 2020-03-11 16:50:28 Re: Add A Glossary