TritonDataCenter / pkgsrc

NetBSD/pkgsrc fork for our binary package repositories
https://pkgsrc.smartos.org/
131 stars 51 forks source link

PostgreSQL 14.4 pg_config isn't reporting configuration options under CONFIGURE #341

Open brianewell opened 2 years ago

brianewell commented 2 years ago

PostgreSQL's pg_config is used to report on various atoms of information surrounding a PostgreSQL installation. Using the latest version available under trunk-x86_64, pg_config reports nothing at all for CONFIGURE:

# pkgin up
processing remote summary (https://pkgsrc.smartos.org/packages/SmartOS/trunk/x86_64/All)...
database for https://pkgsrc.smartos.org/packages/SmartOS/trunk/x86_64/All is up-to-date
# pkgin ls | grep postgresql
postgresql14-client-14.4nb1 PostgreSQL database client programs
postgresql14-server-14.4nb1 PostgreSQL database server programs
# pg_config
BINDIR = /opt/local/bin
DOCDIR = /opt/local/share/doc/postgresql
HTMLDIR = /opt/local/share/doc/postgresql
INCLUDEDIR = /opt/local/include
PKGINCLUDEDIR = /opt/local/include/postgresql
INCLUDEDIR-SERVER = /opt/local/include/postgresql/server
LIBDIR = /opt/local/lib
PKGLIBDIR = /opt/local/lib/postgresql
LOCALEDIR = /opt/local/lib/locale
MANDIR = /opt/local/man
SHAREDIR = /opt/local/share/postgresql
SYSCONFDIR = /opt/local/etc/postgresql
PGXS = /opt/local/lib/postgresql/pgxs/src/makefiles/pgxs.mk
CONFIGURE =
CC = gcc
CPPFLAGS = -I/opt/local/include -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -DLDAP_DEPRECATED -I/usr/include
CFLAGS_SL = -fPIC
LDFLAGS = -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -lnsl -lsocket -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -L/opt/local/lib -Wl,-R'/opt/local/lib'
LDFLAGS_EX =
LDFLAGS_SL =
LIBS = -lpgcommon -lpgport -llz4 -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -lreadline -lm -lintl -liconv
VERSION = PostgreSQL 14.4

I've confirmed the same behavior after spinning up a build environment and trying from source.