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

Bug 788790

Summary: dev-db/postgis-3.1.1 w/ sci-libs/proj-8.0.1: configure: error: could not find libproj
Product: Gentoo Linux Reporter: José de Paula Rodrigues <espinafre>
Component: Current packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: asturm, espinafre, sam, sci-geosciences, SuloevDmitry
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=828494
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 729098    

Description José de Paula Rodrigues 2021-05-07 18:33:04 UTC
With sci-libs/proj-8.0.1 landing on the portage repository, dev-db/postgis-3.1.1 doesn't build anymore; with sci-libs/proj-7.2.1, it builds correctly.

With proj-8.0.1, the postgis ebuild fails with the following log:

checking proj.h usability... yes
checking proj.h presence... yes
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

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-db/postgis-3.1.1/work/postgis-3.1.1-13/config.log
 * ERROR: dev-db/postgis-3.1.1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 2415:  Called postgres-multi_foreach 'econf' '--with-address-standardizer' '--with-gui' '--with-topology'
 *             environment, line 2274:  Called multibuild_foreach_variant '_postgres-multi_multibuild_wrapper' 'run_in_build_dir' 'econf' '--with-address-standardizer' '--with-gui' '--with-topology'
 *             environment, line 2003:  Called _multibuild_run '_postgres-multi_multibuild_wrapper' 'run_in_build_dir' 'econf' '--with-address-standardizer' '--with-gui' '--with-topology'
 *             environment, line 2001:  Called _postgres-multi_multibuild_wrapper 'run_in_build_dir' 'econf' '--with-address-standardizer' '--with-gui' '--with-topology'
 *             environment, line  561:  Called run_in_build_dir 'econf' '--with-address-standardizer' '--with-gui' '--with-topology'
 *             environment, line 2396:  Called econf '--with-address-standardizer' '--with-gui' '--with-topology'
 *        phase-helpers.sh, line  680:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
Comment 1 José de Paula Rodrigues 2021-05-13 21:24:22 UTC
There are a couple of closed upstream bug reports:

https://trac.osgeo.org/postgis/ticket/4833
https://trac.osgeo.org/postgis/ticket/4860

This issue will be fixed on release 3.1.2.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-07-06 04:09:43 UTC
(In reply to José de Paula Rodrigues from comment #1)
> There are a couple of closed upstream bug reports:
> 
> https://trac.osgeo.org/postgis/ticket/4833
> https://trac.osgeo.org/postgis/ticket/4860
> 
> This issue will be fixed on release 3.1.2.

Thank you!