Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711428 - sci-geosciences/grass-7.4.4-r3 does not compile with sci-libs/proj-6.2.1
Summary: sci-geosciences/grass-7.4.4-r3 does not compile with sci-libs/proj-6.2.1
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Deadline: 2020-09-21
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PMASKED, PullRequest
Depends on:
Blocks: PROJ-8
  Show dependency tree
 
Reported: 2020-03-03 16:02 UTC by Ulf Norberg
Modified: 2020-09-21 06:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,20.43 KB, text/x-log)
2020-03-03 16:06 UTC, Ulf Norberg
Details

Note You need to log in before you can comment on or make changes to this bug.
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.