pg.ddx.io pgsql-pkg-debian@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Christoph Berg <myon@debian.org>
To: Ricardo Feliciano <felicianotech@gmail.com>
Cc: pgsql-pkg-debian@postgresql.org
Subject: Re: PostGIS Package for PostgreSQL 11 isn't Available
Date: Wed, 6 Jun 2018 21:19:28 +0200
Message-ID: <20180606191928.GA31077@msg.df7cb.de> (raw )
In-Reply-To: <CAKR2wJ+G38OeVkP_B+=CsS+TrieAiWAoAG-z38wK2GCVPrBPWA@mail.gmail.com >
References: <CAKR2wJ+G38OeVkP_B+=CsS+TrieAiWAoAG-z38wK2GCVPrBPWA@mail.gmail.com >
Re: Ricardo Feliciano 2018-06-06 <CAKR2wJ+G38OeVkP_B+=CsS+TrieAiWAoAG-z38wK2GCVPrBPWA@mail.gmail.com >
> Hey everyone,
>
> The package `postgresql-11-postgis-2.4` isn't available in the official
> PostgreSQL Apt Repository.
>
> I've tried locating it when using both:
>
> "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main 11"
> "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg-testing main 11"
>
> Neither has the package. This is causing the CircleCI Docker image build
> system to fail for those PostgreSQL images.
>
> Anyway this can be added or is there a suggested alternative? Thank you.
Hi,
the problem is it doesn't build against PG11 if JIT (--with-llvm) is
enabled:
/usr/bin/cpp -traditional-cpp -w -P -I../libpgcommon legacy_minimal.sql.in | grep -v '^#' | \
/usr/bin/perl -lpe "s'MODULE_PATHNAME'\$libdir/postgis-2.4'g;s'@extschema@\.''g" > legacy_minimal.sql
/usr/bin/cpp -traditional-cpp -w -P -I../libpgcommon legacy_gist.sql.in | grep -v '^#' | \
/usr/bin/perl -lpe "s'MODULE_PATHNAME'\$libdir/postgis-2.4'g;s'@extschema@\.''g" > legacy_gist.sql
/usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2 -I../libpgcommon -I/usr/include -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -flto=thin -emit-llvm -c -o postgis_module.bc postgis_module.c
/usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2 -I../libpgcommon -I/usr/include -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -flto=thin -emit-llvm -c -o lwgeom_accum.bc lwgeom_accum.c
/usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2 -I../libpgcommon -I/usr/include -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I./ -I/usr/include/postgresql/11/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -flto=thin -emit-llvm -c -o lwgeom_spheroid.bc lwgeom_spheroid.c
postgis_module.c:34:10: fatal error: 'lwgeom_log.h' file not found
#include "lwgeom_log.h"
^~~~~~~~~~~~~~
1 error generated.
make[3]: *** [/usr/lib/postgresql/11/lib/pgxs/src/makefiles/../../src/Makefile.global:1009: postgis_module.bc] Fehler 1
make[3]: *** Es wird auf noch nicht beendete Prozesse gewartet....
lwgeom_spheroid.c:42:10: fatal error: 'liblwgeom.h' file not found
#include "liblwgeom.h"
^~~~~~~~~~~~~
1 error generated.
make[3]: *** [/usr/lib/postgresql/11/lib/pgxs/src/makefiles/../../src/Makefile.global:1009: lwgeom_spheroid.bc] Fehler 1
lwgeom_accum.c:36:10: fatal error: 'liblwgeom.h' file not found
#include "liblwgeom.h"
^~~~~~~~~~~~~
1 error generated.
make[3]: *** [/usr/lib/postgresql/11/lib/pgxs/src/makefiles/../../src/Makefile.global:1009: lwgeom_accum.bc] Fehler 1
make[3]: Verzeichnis „/srv/projects/postgresql/postgis/postgis/postgis“ wird verlassen
make[2]: *** [GNUmakefile:16: all] Fehler 1
This is apparently fixed upstream (http://trac.osgeo.org/postgis/ticket/4060 ),
but not released yet.
There will be PG11 packages on apt.pg.o (and in Debian) as soon as
there's a release that supports it.
Christoph
view thread (3+ messages) latest in thread
Message-ID: <20180606191928.GA31077@msg.df7cb.de>
Permalink: ../20180606191928.GA31077@msg.df7cb.de/
Also on: postgresql.org/message-id/20180606191928.GA31077@msg.df7cb.de
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-pkg-debian@postgresql.org
Cc: myon@debian.org, felicianotech@gmail.com
Subject: Re: PostGIS Package for PostgreSQL 11 isn't Available
In-Reply-To: <20180606191928.GA31077@msg.df7cb.de>
References: <CAKR2wJ+G38OeVkP_B+=CsS+TrieAiWAoAG-z38wK2GCVPrBPWA@mail.gmail.com> <20180606191928.GA31077@msg.df7cb.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox