Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jun 2021 11:01:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 256466] databases/postgresql12-client: fails on parallel build
Message-ID:  <bug-256466-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256466

            Bug ID: 256466
           Summary: databases/postgresql12-client: fails on parallel build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pgsql@FreeBSD.org
          Reporter: freebsd@otoh.org
             Flags: maintainer-feedback?(pgsql@FreeBSD.org)
          Assignee: pgsql@FreeBSD.org

When trying to build postgresql12-client using poudriere with MAKE_JOBS=3D4=
, it
fails due to LOCALEDIR being used before it's defined.

Here's the relevant snippet from my logs:

cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werro
r=3Dvla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-alia
sing -fwrapv -Wno-unused-command-line-argument -O2 -pipe=20
-fstack-protector-strong
 -fno-strict-aliasing  -I../../src/port -DFRONTEND -I../../src/include=20
-I/usr/loc
al/include -I/usr/local/include -I/usr/local/include  -c -o noblock.o noblo=
ck.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werro
r=3Dvla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-alia
sing -fwrapv -Wno-unused-command-line-argument -O2 -pipe=20
-fstack-protector-strong
 -fno-strict-aliasing  -pthread -D_REENTRANT -D_THREAD_SAFE
-D_POSIX_PTHREAD_SEMAN
TICS -fPIC -DPIC -DFRONTEND -DUNSAFE_STAT_OK -I. -I../../../src/include=20
-I/usr/lo
cal/include -I/usr/local/include -I/usr/local/include -I../../../src/port
-I../../
../src/port -DSO_MAJOR_VERSION=3D5  -c -o fe-print.o fe-print.c
echo "#define PGBINDIR \"/usr/local/bin\"" >pg_config_paths.h
echo "#define PGSHAREDIR \"/usr/local/share/postgresql\"" >>pg_config_paths=
.h
echo "#define SYSCONFDIR \"/usr/local/etc/postgresql\"" >>pg_config_paths.h
echo "#define INCLUDEDIR \"/usr/local/include\"" >>pg_config_paths.h
echo "#define PKGINCLUDEDIR \"/usr/local/include/postgresql\""
>>pg_config_paths.h
echo "#define INCLUDEDIRSERVER \"/usr/local/include/postgresql/server\""
>>pg_conf
ig_paths.h
echo "#define LIBDIR \"/usr/local/lib\"" >>pg_config_paths.h
echo "#define PKGLIBDIR \"/usr/local/lib/postgresql\"" >>pg_config_paths.h
fe-misc.c:1292:11: error: use of undeclared identifier 'LOCALEDIR'
                        ldir =3D LOCALEDIR;
                               ^
1 error generated.
gmake[1]: *** [<builtin>: fe-misc.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
echo "#define LOCALEDIR \"/usr/local/share/locale\"" >>pg_config_paths.h
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werro
r=3Dvla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-alia
sing -fwrapv -Wno-unused-command-line-argument -O2 -pipe=20
-fstack-protector-strong
 -fno-strict-aliasing  -I../../src/port -DFRONTEND -I../../src/include=20
-I/usr/loc
al/include -I/usr/local/include -I/usr/local/include  -c -o pg_bitutils.o
pg_bitut
ils.c
echo "#define DOCDIR \"/usr/local/share/doc//postgresql\"" >>pg_config_path=
s.h
echo "#define HTMLDIR \"/usr/local/share/doc//postgresql\"" >>pg_config_pat=
hs.h
echo "#define MANDIR \"/usr/local/man\"" >>pg_config_paths.h
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werro
r=3Dvla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-alia
sing -fwrapv -Wno-unused-command-line-argument -O2 -pipe=20
-fstack-protector-strong
 -fno-strict-aliasing  -I../../src/port -DFRONTEND -I../../src/include=20
-I/usr/loc
al/include -I/usr/local/include -I/usr/local/include  -c -o pgcheckdir.o
pgcheckdi
r.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256466-7788>