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

Bug 711428

Summary: sci-geosciences/grass-7.4.4-r3 does not compile with sci-libs/proj-6.2.1
Product: Gentoo Linux Reporter: Ulf Norberg <ulf.norberg>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED OBSOLETE    
Severity: major CC: jstein, kripton, sam
Priority: Normal Keywords: PMASKED, PullRequest
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/15399
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 729098    
Deadline: 2020-09-21   
Attachments: config.log

Description Ulf Norberg 2020-03-03 16:02:06 UTC
Use of proj_api.h is deprecated in sci-libs/proj-6.0.0 and I get the following error when compiling sci-geosciences/grass-7.4.4-r3:

configure:5497: gcc -E  -I/usr/include/libprojectM  -DNDEBUG conftest.c >/dev/null 2>conftest.out                                                       configure:5497: gcc -E  -I/usr/include/libprojectM  -DNDEBUG conftest.c >/dev/null 2>conftest.out
In file included from configure:5493:                                                                                                                   In file included from configure:5493:
/usr/include/proj_api.h:37:2: error: #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'                       /usr/include/proj_api.h:37:2: error: #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
   37 | #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'                                                       37 | #error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'

PROJ 6 support was implemented in version 7.8.1 <https://courses.neteler.org/grass-gis-7-8-1-released-with-proj-6-and-gdal-3-support/>, so a version bump could possibly fix this.


Reproducible: Always
Comment 1 Ulf Norberg 2020-03-03 16:06:14 UTC
Created attachment 616998 [details]
config.log

Sorry about the ugly paste in my description.  I attach the complete config.log
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-21 06:01:48 UTC
package removed.