[Bug 248657] [exp-run] Mk/bsd.default-versions.mk: Update default version to PostgreSQL

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 13 01:31:54 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248657

--- Comment #22 from VVD <vvd at unislabs.com> ---
(In reply to Kevin Bowling from comment #21)

Tested on 2 different hosts with 12.1-p9 amd64:

===>  License BSD3CLAUSE accepted by the user
===>   pgsphere-1.1.5_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by pgsphere-1.1.5_3 for building
===>  Extracting for pgsphere-1.1.5_3
=> SHA256 Checksum OK for pgsphere-pgsphere-1.1.5-e0b303d_GH0.tar.gz.
===>  Patching for pgsphere-1.1.5_3
===>   pgsphere-1.1.5_3 depends on package: gmake>=4.3 - found
===>   pgsphere-1.1.5_3 depends on file: /usr/local/bin/as - found
===>   pgsphere-1.1.5_3 depends on shared library: libpq.so.5 - found
(/usr/local/lib/libpq.so.5)
===>  Configuring for pgsphere-1.1.5_3
===>  Building for pgsphere-1.1.5_3
gmake[2]: Entering directory
'/usr/ports/databases/pgsphere/work/pgsphere-e0b303d'
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe
-march=core2  -O3 -funroll-loops -fstack-protector-strong -fno-strict-aliasing 
-fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server
-I/usr/local/include/postgresql/internal  -I/usr/local/include
-I/usr/local/include -I/usr/local/include  -c -o sscan.o sscan.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe
-march=core2  -O3 -funroll-loops -fstack-protector-strong -fno-strict-aliasing 
-fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server
-I/usr/local/include/postgresql/internal  -I/usr/local/include
-I/usr/local/include -I/usr/local/include  -c -o sparse.o sparse.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe
-march=core2  -O3 -funroll-loops -fstack-protector-strong -fno-strict-aliasing 
-fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server
-I/usr/local/include/postgresql/internal  -I/usr/local/include
-I/usr/local/include -I/usr/local/include  -c -o sbuffer.o sbuffer.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe
-march=core2  -O3 -funroll-loops -fstack-protector-strong -fno-strict-aliasing 
-fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server
-I/usr/local/include/postgresql/internal  -I/usr/local/include
-I/usr/local/include -I/usr/local/include  -c -o vector3d.o vector3d.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe
-march=core2  -O3 -funroll-loops -fstack-protector-strong -fno-strict-aliasing 
-fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server
-I/usr/local/include/postgresql/internal  -I/usr/local/include
-I/usr/local/include -I/usr/local/include  -c -o point.o point.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe
-march=core2  -O3 -funroll-loops -fstack-protector-strong -fno-strict-aliasing 
-fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server
-I/usr/local/include/postgresql/internal  -I/usr/local/include
-I/usr/local/include -I/usr/local/include  -c -o euler.o euler.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe
-march=core2  -O3 -funroll-loops -fstack-protector-strong -fno-strict-aliasing 
-fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server
-I/usr/local/include/postgresql/internal  -I/usr/local/include
-I/usr/local/include -I/usr/local/include  -c -o circle.o circle.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe
-march=core2  -O3 -funroll-loops -fstack-protector-strong -fno-strict-aliasing 
-fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server
-I/usr/local/include/postgresql/internal  -I/usr/local/include
-I/usr/local/include -I/usr/local/include  -c -o line.o line.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe
-march=core2  -O3 -funroll-loops -fstack-protector-strong -fno-strict-aliasing 
-fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server
-I/usr/local/include/postgresql/internal  -I/usr/local/include
-I/usr/local/include -I/usr/local/include  -c -o ellipse.o ellipse.c
cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement
-Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security
-fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -pipe
-march=core2  -O3 -funroll-loops -fstack-protector-strong -fno-strict-aliasing 
-fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server
-I/usr/local/include/postgresql/internal  -I/usr/local/include
-I/usr/local/include -I/usr/local/include  -c -o polygon.o polygon.c
polygon.c:827:14: error: variable length array used [-Werror,-Wvla]
                SPoint          arr[nelem];
                                   ^
polygon.c:895:11: error: variable length array used [-Werror,-Wvla]
        SPoint          s[poly->npts + 2];
                         ^
2 errors generated.
gmake[2]: *** [<builtin>: polygon.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory
'/usr/ports/databases/pgsphere/work/pgsphere-e0b303d'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/pgsphere
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/pgsphere

Removed /etc/make.conf before this test.

Check your log:
=======================<phase: lib-depends    >============================
===>   pgsphere-1.1.5_3 depends on shared library: libpq.so.5 - not found
===>   Installing existing package /packages/All/postgresql11-client-11.9.txz
[FreeBSD:12:amd64-default] Installing postgresql11-client-11.9...
[FreeBSD:12:amd64-default] `-- Installing readline-8.0.4...
[FreeBSD:12:amd64-default] `-- Extracting readline-8.0.4: .......... done
[FreeBSD:12:amd64-default] Extracting postgresql11-client-11.9: .......... done
=====
Message from postgresql11-client-11.9:

Why PG 11?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list