The new upcomming version of postgresql, 9.5, seems to have changed so drastically, that postgis is not emerging anymore. The new upcomming version of Postgis (2.2) will be compatible with Postgresql 9.5. Since I'm in the need of using PG9.5 with Postgis, it would be nice to also have a postgis-9999.ebuild Reproducible: Always Steps to Reproduce: 1. install postgresql-9999 2. keyword the latest postgis (2.1.7) 3. emerge postgis Actual Results: lwgeom_accum.c: In function ‘pgis_geometry_accum_transfn’: lwgeom_accum.c:109:46: error: ‘AggState’ has no member named ‘aggcontext’ aggcontext = ((AggState *) fcinfo->context)->aggcontext; ^ <builtin>: recipe for target 'lwgeom_accum.o' failed make[1]: *** [lwgeom_accum.o] Error 1 make[1]: Leaving directory '/tmp/portage/dev-db/postgis-2.1.7/work/postgis-2.1.7/postgis' GNUmakefile:14: recipe for target 'all' failed make: *** [all] Error 1 * ERROR: dev-db/postgis-2.1.7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-db/postgis-2.1.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-db/postgis-2.1.7::gentoo'`. * The complete build log is located at '/tmp/portage/dev-db/postgis-2.1.7/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-db/postgis-2.1.7/temp/environment'. * Working directory: '/tmp/portage/dev-db/postgis-2.1.7/work/postgis-2.1.7' * S: '/tmp/portage/dev-db/postgis-2.1.7/work/postgis-2.1.7'
Created attachment 406086 [details] dev-db/postgis-9999.ebuild I created an ebuild, that emerges the latest development version of Postgis. I also added some comments in the ebuild with should be looked at: - Not all patches apply -> are they still needed - Read the current Postgis version from a file called Version.config -> I do not know how to do this
+ 08 Jul 2015; Patrick Lauer <patrick@gentoo.org> postgis-2.1.7.ebuild: + Remove postgres-9.5 from valid slots, recent changes upstream have broken + compatibility #553806
+ 08 Jul 2015; Patrick Lauer <patrick@gentoo.org> +postgis-9999.ebuild: + Add live ebuild #553806