Bug#1020986: postgis: create extension postgis fails with postgresql 13 Debian stable

Matt Gibbins matt_gibbins at fastmail.com.au
Fri Sep 30 01:40:00 BST 2022


Package: postgis
Version: 3.1.1+dfsg-1
Severity: serious
Tags: a11y ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: matt_gibbins at fastmail.com.au

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
     Created a new database in Postgresql 13. Attempted to add postgis
     extension.
     Failed with
     ERROR:  could not find function "gserialized_gist_sortsupport_2d" in file "/usr/lib/postgresql/13/lib/postgis-3.so"
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     
     Reinstalled package.
     
     Executed select postgis_extensions_upgrade(); 
     
     Attempted to compile from source.
     Configuration unable to proceed from 
    	 checking for gdal-config... no
	checking GDAL version... not found
	configure: error: gdal-config not found. Use --without-raster or try --with-gdalconfig=<path to gdal-config>
	
      Installation of libgdal-dev failed.
	The following packages have unmet dependencies:
	 libaom-dev : Depends: libaom0 (= 1.0.0.errata1-3) but 1:1.0.0.1-dmo1+deb10u3 is to be installed
	E: Unable to correct problems, you have held broken packages.

       Checking of libaom0 version by reinstallation failed.
	Reading package lists... Done
	Building dependency tree... Done
	Reading state information... Done
	Reinstallation of libaom0 is not possible, it cannot be downloaded.

   * What was the outcome of this action?
     Issue not resolved
   * What outcome did you expect instead?
     To enable postgis on Postgresql 13.


-- System Information:
Debian Release: 11.5
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-11-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages postgis depends on:
ii  libc6         2.31-13+deb11u4
ii  libgdal28     3.2.2+dfsg-2+deb11u2
ii  libgeos-c1v5  3.9.0-1
ii  libpq5        14.1-1.pgdg110+1
ii  libproj19     7.2.1-1

Versions of packages postgis recommends:
ii  postgis-doc                                   3.2.0+dfsg-1.pgdg110+1
ii  postgresql-13-postgis-3 [postgresql-postgis]  3.1.1+dfsg-1

postgis suggests no packages.

-- no debconf information



More information about the Pkg-grass-devel mailing list