Pierre-Emmanuel Andr?: > Updated diff attached.
I tried another test build, but that was derailed by the libcroco issue, so I don't have full results. A partial result is that databases/postgresql-plr geo/pgpointcloud fail to build. See the attached log files. I'll try yet another test build some time later this week. -- Christian "naddy" Weisgerber na...@mips.inka.de
>>> Building on amd64-2 under databases/postgresql-plr BDEPENDS = [devel/gmake;databases/postgresql,-server;math/R] DIST = [databases/postgresql-plr:REL8_3_0_18.tar.gz] FULLPKGNAME = postgresql-plr-8.3.0.18 RDEPENDS = [math/R;databases/postgresql,-server] (Junk lock obtained for amd64-2 at 1574065220.26) >>> Running depends in databases/postgresql-plr at 1574065220.32 last junk was in x11/kde-applications/ark /usr/sbin/pkg_add -aI -Drepair R-3.6.1 postgresql-server-12.1 was: /usr/sbin/pkg_add -aI -Drepair R-3.6.1 gmake-4.2.1p4 postgresql-server-12.1 /usr/sbin/pkg_add -aI -Drepair R-3.6.1 postgresql-server-12.1 The following new rcscripts were installed: /etc/rc.d/postgresql See rcctl(8) for details. New and changed readme(s): /usr/local/share/doc/pkg-readmes/R /usr/local/share/doc/pkg-readmes/postgresql-server >>> Running show-prepare-results in databases/postgresql-plr at 1574065230.48 ===> databases/postgresql-plr ===> postgresql-plr-8.3.0.18 depends on: postgresql-server-* -> postgresql-server-12.1 ===> postgresql-plr-8.3.0.18 depends on: gmake-* -> gmake-4.2.1p4 ===> postgresql-plr-8.3.0.18 depends on: R-* -> R-3.6.1 ===> Verifying specs: c lib/R/lib/R ===> found c.96.0 lib/R/lib/R.35.1 R-3.6.1 gmake-4.2.1p4 postgresql-server-12.1 (Junk lock released for amd64-2 at 1574065231.13) distfiles size=263146 >>> Running build in databases/postgresql-plr at 1574065231.19 ===> databases/postgresql-plr ===> Checking files for postgresql-plr-8.3.0.18 `/usr/ports/distfiles/REL8_3_0_18.tar.gz' is up to date. >> (SHA256) REL8_3_0_18.tar.gz: OK ===> Extracting for postgresql-plr-8.3.0.18 ===> Patching for postgresql-plr-8.3.0.18 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-Makefile,v 1.1.1.1 2017/11/01 21:51:22 jeremy Exp $ | |Add RPATH to the ELF header for libR, since it is installed in a location |outside the default ld.so search path. | |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 21 with fuzz 2. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for postgresql-plr-8.3.0.18 ===> Configuring for postgresql-plr-8.3.0.18 ===> Building for postgresql-plr-8.3.0.18 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 -fPIC -DPIC -I"./" -I"-I/usr/local/lib/R/include" -I/usr/local/lib/R/include -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -DPKGLIBDIR=\"/usr/local/lib/postgresql\" -DDLSUFFIX=\".so\" -DR_HOME_DEFAULT=\"/usr/local/lib/R\" -c -o plr.o plr.c plr.c:759:65: error: no member named 'argnull' in 'struct FunctionCallInfoBaseData' PROTECT(rargs = plr_convertargs(function, fcinfo->arg, fcinfo->argnull, fcinfo)); ~~~~~~ ^ /usr/local/lib/R/include/Rinternals.h:852:31: note: expanded from macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ plr.c:759:52: error: no member named 'arg' in 'struct FunctionCallInfoBaseData'; did you mean 'args'? PROTECT(rargs = plr_convertargs(function, fcinfo->arg, fcinfo->argnull, fcinfo)); ^~~ args /usr/local/lib/R/include/Rinternals.h:852:31: note: expanded from macro 'PROTECT' #define PROTECT(s) Rf_protect(s) ^ /usr/local/include/postgresql/server/fmgr.h:95:16: note: 'args' declared here NullableDatum args[FLEXIBLE_ARRAY_MEMBER]; ^ 2 errors generated. gmake: *** [<builtin>: plr.o] Error 1 ===> Exiting databases/postgresql-plr with an error *** Error 2 in databases/postgresql-plr (/usr/ports/infrastructure/mk/bsd.port.mk:2868 '/usr/obj/ports/postgresql-plr-8.3.0.18/.build_done') *** Error 1 in databases/postgresql-plr (/usr/ports/infrastructure/mk/bsd.port.mk:2534 'build') *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build') >>> Ended at 1574065232.27 Error: job failed with 256 on amd64-2 at 1574065232
>>> Building on amd64-3 under geo/pgpointcloud BDEPENDS = [devel/gmake;databases/postgresql,-server;devel/automake/1.15;devel/autoconf/2.69;devel/libtool;devel/cunit;textproc/libxml;devel/metaauto] DIST = [geo/pgpointcloud:pgpointcloud-patch1.patch;geo/pgpointcloud:pointcloud-1.2.0.tar.gz] FULLPKGNAME = pointcloud-1.2.0p0 RDEPENDS = [textproc/libxml] (Junk lock obtained for amd64-3 at 1574067825.02) >>> Running depends in geo/pgpointcloud at 1574067825.08 last junk was in www/pecl-proctitle,php72 /usr/sbin/pkg_add -aI -Drepair autoconf-2.69p2 automake-1.15.1 cunit-2.1.2p2 libtool-2.4.2p0 libxml-2.9.10 metaauto-1.0p3 postgresql-server-12.1 was: /usr/sbin/pkg_add -aI -Drepair autoconf-2.69p2 automake-1.15.1 cunit-2.1.2p2 gmake-4.2.1p4 libtool-2.4.2p0 libxml-2.9.10 metaauto-1.0p3 postgresql-server-12.1 /usr/sbin/pkg_add -aI -Drepair autoconf-2.69p2 automake-1.15.1 cunit-2.1.2p2 libtool-2.4.2p0 libxml-2.9.10 metaauto-1.0p3 postgresql-server-12.1 The following new rcscripts were installed: /etc/rc.d/postgresql See rcctl(8) for details. New and changed readme(s): /usr/local/share/doc/pkg-readmes/postgresql-server >>> Running show-prepare-results in geo/pgpointcloud at 1574067830.53 ===> geo/pgpointcloud ===> pointcloud-1.2.0p0 depends on: postgresql-server-* -> postgresql-server-12.1 ===> pointcloud-1.2.0p0 depends on: cunit-* -> cunit-2.1.2p2 ===> pointcloud-1.2.0p0 depends on: metaauto-* -> metaauto-1.0p3 ===> pointcloud-1.2.0p0 depends on: autoconf-2.69 -> autoconf-2.69p2 ===> pointcloud-1.2.0p0 depends on: automake->=1.15,<1.16 -> automake-1.15.1 ===> pointcloud-1.2.0p0 depends on: libtool-* -> libtool-2.4.2p0 ===> pointcloud-1.2.0p0 depends on: gmake-* -> gmake-4.2.1p4 ===> pointcloud-1.2.0p0 depends on: libxml-* -> libxml-2.9.10 ===> Verifying specs: c iconv lzma m z xml2 c++ c++abi pthread ===> found c.96.0 iconv.7.0 lzma.2.1 m.10.1 z.5.0 xml2.16.1 c++.3.0 c++abi.1.0 pthread.26.1 autoconf-2.69p2 automake-1.15.1 cunit-2.1.2p2 gmake-4.2.1p4 libtool-2.4.2p0 libxml-2.9.10 metaauto-1.0p3 postgresql-server-12.1 (Junk lock released for amd64-3 at 1574067831.53) distfiles size=312195 >>> Running extract in geo/pgpointcloud at 1574067831.59 ===> geo/pgpointcloud ===> Checking files for pointcloud-1.2.0p0 `/usr/ports/distfiles/pointcloud-1.2.0.tar.gz' is up to date. `/usr/ports/distfiles/pgpointcloud-patch1.patch' is up to date. >> (SHA256) pointcloud-1.2.0.tar.gz: OK >> (SHA256) pgpointcloud-patch1.patch: OK ===> Extracting for pointcloud-1.2.0p0 >>> Running patch in geo/pgpointcloud at 1574067831.92 ===> geo/pgpointcloud ===> Patching for pointcloud-1.2.0p0 ===> Applying distribution patches for pointcloud-1.2.0p0 ===> Applying distribution patch pgpointcloud-patch1.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/pgsql/pc_access.c b/pgsql/pc_access.c |index 62599f2..3b29201 100644 |--- a/pgsql/pc_access.c |+++ b/pgsql/pc_access.c -------------------------- Patching file pgsql/pc_access.c using Plan A... Hunk #1 succeeded at 879. Hunk #2 succeeded at 939. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/pgsql/pc_inout.c b/pgsql/pc_inout.c |index 1378a80..05223f1 100644 |--- a/pgsql/pc_inout.c |+++ b/pgsql/pc_inout.c -------------------------- Patching file pgsql/pc_inout.c using Plan A... Hunk #1 succeeded at 171. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in geo/pgpointcloud at 1574067832.18 ===> geo/pgpointcloud ===> Generating configure for pointcloud-1.2.0p0 Running autoreconf-2.69 in /usr/obj/ports/pointcloud-1.2.0/pointcloud-1.2.0 * Running /usr/local/bin/aclocal (1.15.1) * Running /usr/local/bin/autoconf (2.69) ====================================== Now you are ready to run './configure' ====================================== ===> Configuring for pointcloud-1.2.0p0 Using /usr/obj/ports/pointcloud-1.2.0/config.site (generated) configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc configure: loading site script /usr/obj/ports/pointcloud-1.2.0/config.site checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking for cpp... /usr/bin/cpp checking for git... no checking for .git... no checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking how to run the C++ preprocessor... c++ -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for zlib.h... (cached) yes checking for inflate in -lz... yes checking CUnit/CUnit.h usability... yes checking CUnit/CUnit.h presence... yes checking for CUnit/CUnit.h... yes checking for CU_initialize_registry in -lcunit... yes checking for pg_config... /usr/local/bin/pg_config checking PostgreSQL version... PostgreSQL 12.1 checking libpq-fe.h usability... yes checking libpq-fe.h presence... yes checking for libpq-fe.h... yes checking for PQserverVersion in -lpq... yes checking for xml2-config... /usr/local/bin/xml2-config checking libxml/tree.h usability... yes checking libxml/tree.h presence... yes checking for libxml/tree.h... yes checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes checking libxml/xpath.h usability... yes checking libxml/xpath.h presence... yes checking for libxml/xpath.h... yes checking libxml/xpathInternals.h usability... yes checking libxml/xpathInternals.h presence... yes checking for libxml/xpathInternals.h... yes checking for xmlInitParser in -lxml2... yes checking las.hpp usability... no checking las.hpp presence... no checking for las.hpp... no configure: creating ./config.status config.status: creating config.mk config.status: creating pgsql/Makefile config.status: creating lib/pc_config.h config.status: creating pgsql/sqldefines.h PointCloud is now configured for -------------- Compiler Info ------------- configure: WARNING: unrecognized options: --disable-silent-rules, --disable-gtk-doc C compiler: cc -O2 -pipe SQL preprocessor: /usr/bin/cpp -traditional-cpp -w -P -------------- Dependencies -------------- PostgreSQL config: /usr/local/bin/pg_config PostgreSQL version: PostgreSQL 12.1 (121) Libxml2 config: /usr/local/bin/xml2-config Libxml2 version: 2.9.10 LazPerf status: disabled CUnit status: /usr/local >>> Running build in geo/pgpointcloud at 1574067837.04 ===> geo/pgpointcloud ===> Building for pointcloud-1.2.0p0 gmake -C lib all gmake[1]: Entering directory '/usr/obj/ports/pointcloud-1.2.0/pointcloud-1.2.0/lib' cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_bytes.o pc_bytes.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_dimstats.o pc_dimstats.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_filter.o pc_filter.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_mem.o pc_mem.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_patch.o pc_patch.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_patch_dimensional.o pc_patch_dimensional.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_patch_uncompressed.o pc_patch_uncompressed.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_point.o pc_point.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_pointlist.o pc_pointlist.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_schema.o pc_schema.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_sort.o pc_sort.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_stats.o pc_stats.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_util.o pc_util.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_val.o pc_val.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o stringbuffer.o stringbuffer.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o hashtable.o hashtable.c cc -O2 -pipe -fPIC -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_patch_lazperf.o pc_patch_lazperf.c ar rs libpc.a pc_bytes.o pc_dimstats.o pc_filter.o pc_mem.o pc_patch.o pc_patch_dimensional.o pc_patch_uncompressed.o pc_point.o pc_pointlist.o pc_schema.o pc_sort.o pc_stats.o pc_util.o pc_val.o stringbuffer.o hashtable.o pc_patch_lazperf.o ar: creating libpc.a c++ -fPIC -std=c++0x -I/usr/local/include/libxml2 -I/usr/local/include -c -o lazperf_adapter.o lazperf_adapter.cpp ar rs liblazperf.a lazperf_adapter.o ar: creating liblazperf.a gmake -C cunit all gmake[2]: Entering directory '/usr/obj/ports/pointcloud-1.2.0/pointcloud-1.2.0/lib/cunit' cc -O2 -pipe -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I.. -c -o cu_tester.o cu_tester.c cc -O2 -pipe -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I.. -c -o cu_pc_bytes.o cu_pc_bytes.c cc -O2 -pipe -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I.. -c -o cu_pc_schema.o cu_pc_schema.c cc -O2 -pipe -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I.. -c -o cu_pc_point.o cu_pc_point.c cc -O2 -pipe -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I.. -c -o cu_pc_patch.o cu_pc_patch.c cc -O2 -pipe -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I.. -c -o cu_pc_patch_lazperf.o cu_pc_patch_lazperf.c cc -O2 -pipe -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I.. -c -o cu_pc_sort.o cu_pc_sort.c cc -O2 -pipe -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I.. -c -o cu_pc_util.o cu_pc_util.c cc -o cu_tester cu_tester.o cu_pc_bytes.o cu_pc_schema.o cu_pc_point.o cu_pc_patch.o cu_pc_patch_lazperf.o cu_pc_sort.o cu_pc_util.o ../libpc.a ../liblazperf.a -L/usr/local/lib -lxml2 -lz -L/usr/local/lib -llzma -lpthread -L/usr/local/lib -liconv -lm -L/usr/local/lib -lcunit -lz -lm -lstdc++ gmake[2]: Leaving directory '/usr/obj/ports/pointcloud-1.2.0/pointcloud-1.2.0/lib/cunit' gmake[1]: Leaving directory '/usr/obj/ports/pointcloud-1.2.0/pointcloud-1.2.0/lib' gmake -C pgsql all gmake[1]: Entering directory '/usr/obj/ports/pointcloud-1.2.0/pointcloud-1.2.0/pgsql' 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 -fPIC -DPIC -I../lib -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include -c -o pc_inout.o pc_inout.c In file included from pc_inout.c:12: ./pc_pgsql.h:81:46: error: unknown type name 'FunctionCallInfoData' PCSCHEMA* pc_schema_from_pcid(uint32_t pcid, FunctionCallInfoData *fcinfo); ^ ./pc_pgsql.h:93:66: error: unknown type name 'FunctionCallInfoData' PCPOINT* pc_point_from_hexwkb(const char *hexwkb, size_t hexlen, FunctionCallInfoData *fcinfo); ^ ./pc_pgsql.h:111:66: error: unknown type name 'FunctionCallInfoData' PCPATCH* pc_patch_from_hexwkb(const char *hexwkb, size_t hexlen, FunctionCallInfoData *fcinfo); ^ 3 errors generated. gmake[1]: *** [<builtin>: pc_inout.o] Error 1 gmake[1]: Leaving directory '/usr/obj/ports/pointcloud-1.2.0/pointcloud-1.2.0/pgsql' gmake: *** [Makefile:4: all] Error 2 *** Error 2 in geo/pgpointcloud (/usr/ports/infrastructure/mk/bsd.port.mk:2868 '/usr/obj/ports/pointcloud-1.2.0/.build_done') *** Error 1 in geo/pgpointcloud (/usr/ports/infrastructure/mk/bsd.port.mk:2534 'build') ===> Exiting geo/pgpointcloud with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build') >>> Ended at 1574067841.29 Error: job failed with 256 on amd64-3 at 1574067841