Summary: | new ports: database/pointcloud and dependencies | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Loïc Bartoletti <lbartoletti> | ||||||||||||||||
Component: | Individual Port(s) | Assignee: | Palle Girgensohn <girgen> | ||||||||||||||||
Status: | Closed FIXED | ||||||||||||||||||
Severity: | Affects Only Me | CC: | girgen, pgsql | ||||||||||||||||
Priority: | --- | Flags: | girgen:
maintainer-feedback?
|
||||||||||||||||
Version: | Latest | ||||||||||||||||||
Hardware: | Any | ||||||||||||||||||
OS: | Any | ||||||||||||||||||
Attachments: |
|
Created attachment 185507 [details]
new port archivers/lazperf
Created attachment 185508 [details]
new port devel/libght
Hi! Cool stuff! Shouldn't the pointcloud port depend on the postgresql server, using a WANT_PGSQL= server Can you please upload a correct version of the archivers/lazperf port? The current attachment is just a list of the files, not the files themselves. Palle Comment on attachment 185506 [details]
new port databases/pointcloud
looks good
Comment on attachment 185508 [details]
new port devel/libght
looks good
sorry I messed up the maintainer-approval, my bad. Created attachment 185527 [details]
new port archivers/lazperf
Created attachment 185528 [details]
new port databases/pointcloud
(In reply to Palle Girgensohn from comment #3) done! Thanks Created attachment 185537 [details]
pointcloud-1.0.1.log
Hi
I get errors building this with postgresql-9.6:
In file included from pgsql/pc_access.c:14:
In file included from /usr/local/include/postgresql/server/funcapi.h:21:
In file included from /usr/local/include/postgresql/server/executor/executor.h:17:
In file included from /usr/local/include/postgresql/server/executor/execdesc.h:18:
In file included from /usr/local/include/postgresql/server/nodes/execnodes.h:18:
In file included from /usr/local/include/postgresql/server/access/heapam.h:22:
/usr/local/include/postgresql/server/storage/lock.h:18:2: error: "lock.h may not be included from frontend code"
#error "lock.h may not be included from frontend code"
See attached log from poudriere for 11.1-amd64 & postgresql-9.6
(In reply to Palle Girgensohn from comment #10) Is it ok for you now? Created attachment 185551 [details]
fix build for postgresql96
HI, Sorry for the late reply. I get other errors now. It does not find the ght.h: -- Build files have been written to: /wrkdirs/usr/ports/databases/pointcloud/work/pointcloud-1.0.1 =========================================================================== =======================<phase: build >============================ ===> Building for pointcloud-1.0.1 [1/21] /usr/local/libexec/ccache/cc -I/usr/local/include/libxml2 -Ilib -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -MD -MT lib/CMakeFiles/libpc-static.dir/pc_dimstats.c.o -MF lib/CMakeFiles/libpc-static.dir/pc_dimstats.c.o.d -o lib/CMakeFiles/libpc-static.dir/pc_dimstats.c.o -c lib/pc_dimstats.c FAILED: lib/CMakeFiles/libpc-static.dir/pc_dimstats.c.o /usr/local/libexec/ccache/cc -I/usr/local/include/libxml2 -Ilib -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -MD -MT lib/CMakeFiles/libpc-static.dir/pc_dimstats.c.o -MF lib/CMakeFiles/libpc-static.dir/pc_dimstats.c.o.d -o lib/CMakeFiles/libpc-static.dir/pc_dimstats.c.o -c lib/pc_dimstats.c In file included from lib/pc_dimstats.c:23: In file included from lib/pc_api_internal.h:18: lib/pc_api.h:25:10: fatal error: 'ght.h' file not found #include "ght.h" ^~~~~~~ 1 error generated. Hi, Do you have also libght in your poudriere? I have just tested with 11i386 with success. Regards. libght was pulled in as a dependency, but since there is no -I/usr/local/include when cc is run, it is not found: ``` [10/21] /usr/local/libexec/ccache/cc -I/usr/local/include/libxml2 -Ilib -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -MD -MT lib/CMakeFiles/libpc-static.dir/stringbuffer.c.o -MF lib/CMakeFiles/libpc-static.dir/stringbuffer.c.o.d -o lib/CMakeFiles/libpc-static.dir/stringbuffer.c.o -c lib/stringbuffer.c FAILED: lib/CMakeFiles/libpc-static.dir/stringbuffer.c.o /usr/local/libexec/ccache/cc -I/usr/local/include/libxml2 -Ilib -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -MD -MT lib/CMakeFiles/libpc-static.dir/stringbuffer.c.o -MF lib/CMakeFiles/libpc-static.dir/stringbuffer.c.o.d -o lib/CMakeFiles/libpc-static.dir/stringbuffer.c.o -c lib/stringbuffer.c In file included from lib/stringbuffer.c:38: In file included from lib/stringbuffer.h:51: In file included from lib/pc_api_internal.h:18: lib/pc_api.h:25:10: fatal error: 'ght.h' file not found #include "ght.h" ^~~~~~~ ``` Add a CFLAGS= -I/usr/local/include makes the port build nicely: USES= cmake pgsql WANT_PGSQL= server CMAKE_ARGS+= -DWITH_TESTS:BOOL=FALSE CFLAGS+= -I${LOCALBASE}/include USE_GNOME= libxml2 USE_LDCONFIG= yes Shall I commit the port with that row added? Palle I always compile on poudriere without it (10,11 i386/amd64). But, yes, I have no objection to had an include directive into the Makefile. Thanks! Loïc Committed. Thanks! A commit references this bug: Author: girgen Date: Tue Sep 26 17:51:48 UTC 2017 New revision: 450685 URL: https://svnweb.freebsd.org/changeset/ports/450685 Log: Add pointcloud to the ports tree A PostgreSQL extension for storing point cloud (LIDAR) data. PR: 221577 Changes: head/databases/Makefile head/databases/pointcloud/ head/databases/pointcloud/Makefile head/databases/pointcloud/distinfo head/databases/pointcloud/files/ head/databases/pointcloud/files/patch-CMakeLists.txt head/databases/pointcloud/files/patch-pgsql_pc__access.c head/databases/pointcloud/pkg-descr head/databases/pointcloud/pkg-plist The commit broke INDEX build[1] which was fixed in ports r450690 but later backed out via ports r450691. [1] https://lists.freebsd.org/pipermail/freebsd-ports/2017-September/110311.html A commit references this bug: Author: girgen Date: Tue Sep 26 19:13:50 UTC 2017 New revision: 450694 URL: https://svnweb.freebsd.org/changeset/ports/450694 Log: Add lazperf to the ports tree and reenable databases/pointcloud PR: 221577 Changes: head/archivers/Makefile head/archivers/lazperf/ head/archivers/lazperf/Makefile head/archivers/lazperf/distinfo head/archivers/lazperf/files/ head/archivers/lazperf/files/patch-laz-perf_portable__endian.hpp head/archivers/lazperf/pkg-descr head/archivers/lazperf/pkg-plist head/databases/Makefile A commit references this bug: Author: girgen Date: Tue Sep 26 19:16:03 UTC 2017 New revision: 450695 URL: https://svnweb.freebsd.org/changeset/ports/450695 Log: Add libght to the ports tree PR: 221577 Changes: head/devel/Makefile head/devel/libght/ head/devel/libght/Makefile head/devel/libght/distinfo head/devel/libght/files/ head/devel/libght/files/patch-CMakeLists.txt head/devel/libght/files/patch-src_ght__hash.c head/devel/libght/pkg-descr head/devel/libght/pkg-plist A commit references this bug: Author: girgen Date: Tue Sep 26 19:32:57 UTC 2017 New revision: 450696 URL: https://svnweb.freebsd.org/changeset/ports/450696 Log: reenable pointcloud, all of it this time... It was removed in r450691 since depending ports where not added to the tree. PR: 221577 Changes: head/databases/pointcloud/ |
Created attachment 185506 [details] new port databases/pointcloud Welcome to (pg)pointcloud a PostgreSQL extension for storing point cloud (LIDAR) data. It is accompanied by two new ports (not really optional) For all, poudriere 10, 11, 12 i386/amd64 and portlint ok.