{"action":"opened","issue":{"url":"https://api.github.com/repos/pgpointcloud/pointcloud/issues/118","repository_url":"https://api.github.com/repos/pgpointcloud/pointcloud","labels_url":"https://api.github.com/repos/pgpointcloud/pointcloud/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/pgpointcloud/pointcloud/issues/118/comments","events_url":"https://api.github.com/repos/pgpointcloud/pointcloud/issues/118/events","html_url":"https://github.com/pgpointcloud/pointcloud/issues/118","id":180446533,"number":118,"title":"Master not compiling against PostgreSQL 9.6","user":{"login":"pjduplooy","id":127220,"avatar_url":"https://avatars.githubusercontent.com/u/127220?v=3","gravatar_id":"","url":"https://api.github.com/users/pjduplooy","html_url":"https://github.com/pjduplooy","followers_url":"https://api.github.com/users/pjduplooy/followers","following_url":"https://api.github.com/users/pjduplooy/following{/other_user}","gists_url":"https://api.github.com/users/pjduplooy/gists{/gist_id}","starred_url":"https://api.github.com/users/pjduplooy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjduplooy/subscriptions","organizations_url":"https://api.github.com/users/pjduplooy/orgs","repos_url":"https://api.github.com/users/pjduplooy/repos","events_url":"https://api.github.com/users/pjduplooy/events{/privacy}","received_events_url":"https://api.github.com/users/pjduplooy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-01T08:55:20Z","updated_at":"2016-10-01T08:55:20Z","closed_at":null,"body":"Hi guys.  \r\n\r\nI am trying to compile Master against PostgreSQL 9.6, and am experiencing some compile problems.\r\n\r\nPostgreSQL was installed from the pgdg apt.\r\nPostgis, laz-perf and libght compiled from source.\r\nAll other deps installed from repositories. (Ubuntu 16.04.1 and osgeolive ppa for gdal and others)\r\n\r\nThe errors I get are:\r\n\r\n[ 90%] Building C object pgsql/CMakeFiles/pointcloud.dir/pc_access.c.o\r\nIn file included from /usr/include/postgresql/9.6/server/access/heapam.h:22:0,\r\n                 from /usr/include/postgresql/9.6/server/nodes/execnodes.h:18,\r\n                 from /usr/include/postgresql/9.6/server/executor/execdesc.h:18,\r\n                 from /usr/include/postgresql/9.6/server/executor/executor.h:17,\r\n                 from /usr/include/postgresql/9.6/server/funcapi.h:21,\r\n                 from /home/pieter/Temp/pointcloud/pgsql/pc_access.c:14:\r\n/usr/include/postgresql/9.6/server/storage/lock.h:18:2: error: #error \"lock.h may not be included from frontend code\"\r\n #error \"lock.h may not be included from frontend code\"\r\n  ^\r\nIn file included from /usr/include/postgresql/9.6/server/storage/lock.h:23:0,\r\n                 from /usr/include/postgresql/9.6/server/access/heapam.h:22,\r\n                 from /usr/include/postgresql/9.6/server/nodes/execnodes.h:18,\r\n                 from /usr/include/postgresql/9.6/server/executor/execdesc.h:18,\r\n                 from /usr/include/postgresql/9.6/server/executor/executor.h:17,\r\n                 from /usr/include/postgresql/9.6/server/funcapi.h:21,\r\n                 from /home/pieter/Temp/pointcloud/pgsql/pc_access.c:14:\r\n/usr/include/postgresql/9.6/server/storage/lwlock.h:18:2: error: #error \"lwlock.h may not be included from frontend code\"\r\n #error \"lwlock.h may not be included from frontend code\"\r\n  ^\r\nIn file included from /usr/include/postgresql/9.6/server/storage/lwlock.h:22:0,\r\n                 from /usr/include/postgresql/9.6/server/storage/lock.h:23,\r\n                 from /usr/include/postgresql/9.6/server/access/heapam.h:22,\r\n                 from /usr/include/postgresql/9.6/server/nodes/execnodes.h:18,\r\n                 from /usr/include/postgresql/9.6/server/executor/execdesc.h:18,\r\n                 from /usr/include/postgresql/9.6/server/executor/executor.h:17,\r\n                 from /usr/include/postgresql/9.6/server/funcapi.h:21,\r\n                 from /home/pieter/Temp/pointcloud/pgsql/pc_access.c:14:\r\n/usr/include/postgresql/9.6/server/storage/s_lock.h:100:2: error: #error \"s_lock.h may not be included from frontend code\"\r\n #error \"s_lock.h may not be included from frontend code\"\r\n  ^\r\nIn file included from /usr/include/postgresql/9.6/server/storage/lwlock.h:23:0,\r\n                 from /usr/include/postgresql/9.6/server/storage/lock.h:23,\r\n                 from /usr/include/postgresql/9.6/server/access/heapam.h:22,\r\n                 from /usr/include/postgresql/9.6/server/nodes/execnodes.h:18,\r\n                 from /usr/include/postgresql/9.6/server/executor/execdesc.h:18,\r\n                 from /usr/include/postgresql/9.6/server/executor/executor.h:17,\r\n                 from /usr/include/postgresql/9.6/server/funcapi.h:21,\r\n                 from /home/pieter/Temp/pointcloud/pgsql/pc_access.c:14:\r\n/usr/include/postgresql/9.6/server/port/atomics.h:41:2: error: #error \"atomics.h may not be included from frontend code\"\r\n #error \"atomics.h may not be included from frontend code\"\r\n  ^\r\n/home/pieter/Temp/pointcloud/pgsql/pc_access.c: In function ‘pcpatch_unnest’:\r\n/home/pieter/Temp/pointcloud/pgsql/pc_access.c:506:16: warning: implicit declaration of function ‘MemoryContextSwitchTo’ [-Wimplicit-function-declaration]\r\n   oldcontext = MemoryContextSwitchTo(funcctx->multi_call_memory_ctx);\r\n                ^\r\n/home/pieter/Temp/pointcloud/pgsql/pc_access.c:506:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion]\r\n   oldcontext = MemoryContextSwitchTo(funcctx->multi_call_memory_ctx);\r\n              ^\r\nIn file included from /home/pieter/Temp/pointcloud/pgsql/pc_access.c:16:0:\r\n/home/pieter/Temp/pointcloud/pgsql/pc_access.c: At top level:\r\n/home/pieter/Temp/pointcloud/lib/pc_api_internal.h:285:20: warning: inline function ‘pc_bitmap_set’ declared but never defined\r\n extern inline void pc_bitmap_set(PCBITMAP *map, int i, int val);\r\n                    ^\r\npgsql/CMakeFiles/pointcloud.dir/build.make:62: recipe for target 'pgsql/CMakeFiles/pointcloud.dir/pc_access.c.o' failed\r\nmake[2]: *** [pgsql/CMakeFiles/pointcloud.dir/pc_access.c.o] Error 1\r\nCMakeFiles/Makefile2:238: recipe for target 'pgsql/CMakeFiles/pointcloud.dir/all' failed\r\nmake[1]: *** [pgsql/CMakeFiles/pointcloud.dir/all] Error 2\r\nMakefile:127: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n\r\n"}}
{"actor":{"display_login":"pjduplooy"}}