Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 828494

Summary: dev-db/postgis-3.1.3: stabilisation (was: dev-db/postgis-3.1.0 fails to build with sci-libs/proj-8.2.0)
Product: Gentoo Linux Reporter: j.habenicht
Component: StabilizationAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED FIXED    
Severity: major CC: sam, sci-geosciences
Priority: Normal Keywords: CC-ARCHES
Version: unspecifiedFlags: nattka: sanity-check+
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=788790
Whiteboard:
Package list:
dev-db/postgis-3.1.3
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 729098    

Description j.habenicht 2021-12-07 08:51:57 UTC
Tried to build dev-db/postgis-3.1.0. It fails during configure because of

checking for PROJ... yes
checking for proj_api.h... no
checking for proj.h... yes
checking for proj.h... (cached) yes
checking for pj_get_release in -lproj... no
configure: error: could not find libproj - you may need to specify the directory of a PROJ installation using --with-projdir


Building with sci-libs/proj-7.2.1 compiles fine.


IS related to https://bugs.gentoo.org/show_bug.cgi?id=788790
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-08 05:10:26 UTC
3.1.2 fixed PROJ 8 compat, let's do the latest (3.1.4) as it's been in tree long enough.
Comment 2 Larry the Git Cow gentoo-dev 2021-12-08 05:12:27 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cb1f899e6f9f904fe9173c9b73abf8799fd2c68

commit 7cb1f899e6f9f904fe9173c9b73abf8799fd2c68
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-08 05:12:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-08 05:12:17 +0000

    dev-db/postgis: depend on <PROJ 8 for some versions
    
    >= 3.1.2 is fine though, which we're stabling.
    
    Bug: https://bugs.gentoo.org/828494
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/postgis/{postgis-3.0.3-r2.ebuild => postgis-3.0.3-r3.ebuild} | 2 +-
 dev-db/postgis/{postgis-3.0.4.ebuild => postgis-3.0.4-r1.ebuild}    | 2 +-
 dev-db/postgis/{postgis-3.1.0.ebuild => postgis-3.1.0-r1.ebuild}    | 2 +-
 dev-db/postgis/{postgis-3.1.1.ebuild => postgis-3.1.1-r1.ebuild}    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
Comment 3 NATTkA bot gentoo-dev 2021-12-08 05:12:28 UTC Comment hidden (obsolete)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-08 05:15:13 UTC
Let's just do .3 I guess then to avoid having to faff with stable-masking the postgres 14 USE_EXPAND for now...
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-08 06:15:53 UTC
amd64 done
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-08 06:17:00 UTC
x86 done

all arches done