Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688110 - sci-geosciences/osm2pgsql-0.96.0 : /.../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
Summary: sci-geosciences/osm2pgsql-0.96.0 : /.../proj_api.h:37:2: error: #error To use...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL: https://github.com/openstreetmap/osm2...
Whiteboard:
Keywords:
Depends on:
Blocks: PROJ-8
  Show dependency tree
 
Reported: 2019-06-15 13:59 UTC by Toralf Förster
Modified: 2020-11-23 02:14 UTC (History)
3 users (show)

See Also:
Package list:
sci-geosciences/osm2pgsql-0.96.0
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.32 KB, text/plain)
2019-06-15 13:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,55.90 KB, text/plain)
2019-06-15 13:59 UTC, Toralf Förster
Details
environment (environment,108.34 KB, text/plain)
2019-06-15 13:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.01 KB, application/x-bzip)
2019-06-15 13:59 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.08 KB, application/x-bzip)
2019-06-15 13:59 UTC, Toralf Förster
Details
sci-geosciences:osm2pgsql-0.96.0:20190615-114030.log (sci-geosciences:osm2pgsql-0.96.0:20190615-114030.log,10.71 KB, text/plain)
2019-06-15 13:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.05 KB, application/x-bzip)
2019-06-15 13:59 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-06-15 13:59:22 UTC
                 from /var/tmp/portage/sci-geosciences/osm2pgsql-0.96.0/work/osm2pgsql-0.96.0/options.hpp:5,
                 from /var/tmp/portage/sci-geosciences/osm2pgsql-0.96.0/work/osm2pgsql-0.96.0/expire-tiles.cpp:18:
/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'
      |  ^~~~~
make[2]: *** [CMakeFiles/osm2pgsql_lib.dir/build.make:63: CMakeFiles/osm2pgsql_lib.dir/expire-tiles.cpp.o] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-systemd_20190614-051827

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.35.0 *



emerge -qpvO sci-geosciences/osm2pgsql
[ebuild  N    ] sci-geosciences/osm2pgsql-0.96.0  USE="lua"
Comment 1 Toralf Förster gentoo-dev 2019-06-15 13:59:25 UTC
Created attachment 579852 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-15 13:59:28 UTC
Created attachment 579854 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-06-15 13:59:31 UTC
Created attachment 579856 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-06-15 13:59:33 UTC
Created attachment 579858 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-06-15 13:59:36 UTC
Created attachment 579860 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-15 13:59:39 UTC
Created attachment 579862 [details]
sci-geosciences:osm2pgsql-0.96.0:20190615-114030.log
Comment 7 Toralf Förster gentoo-dev 2019-06-15 13:59:41 UTC
Created attachment 579864 [details]
temp.tbz2
Comment 8 François Valenduc 2020-02-12 19:51:50 UTC
Meanwhile, proj-6.2.1 as been stabilized. Therefore, this hack or an alternative solution really becomes necessary.
Comment 9 Larry the Git Cow gentoo-dev 2020-02-12 23:24:03 UTC
The bug has been referenced in the following commit(s):

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

commit e74b00434c481d8e2f1f25390ab8ae3c573dca9f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-02-12 23:22:33 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-12 23:23:41 +0000

    sci-geosciences/osm2pgsql: EAPI-7 bump, switch to cmake.eclass
    
    Bug: https://bugs.gentoo.org/688110
    Package-Manager: Portage-2.3.88, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-geosciences/osm2pgsql/osm2pgsql-0.96.0.ebuild | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
Comment 10 Andreas Sturmlechner gentoo-dev 2020-02-12 23:24:55 UTC
Arches please stabilise.
Comment 11 Agostino Sarubbo gentoo-dev 2020-02-13 12:03:47 UTC
amd64 stable
Comment 12 Agostino Sarubbo gentoo-dev 2020-02-13 12:46:33 UTC
x86 stable. Closing.
Comment 13 Andreas Sturmlechner gentoo-dev 2020-06-22 08:39:05 UTC
Re-opening as a workaround is no fix and it is running out of time.
Comment 14 Larry the Git Cow gentoo-dev 2020-11-23 02:14:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75a6025f101ccd4c03120850213e9734d7551428

commit 75a6025f101ccd4c03120850213e9734d7551428
Author:     Aaron W. Swenson <titanofold@gentoo.org>
AuthorDate: 2020-11-23 02:11:46 +0000
Commit:     Aaron W. Swenson <titanofold@gentoo.org>
CommitDate: 2020-11-23 02:13:42 +0000

    sci-geosciences/osm2pgsql: Bump to 1.3.0, fixes
    
    Bug: https://bugs.gentoo.org/688110
    Bug: https://bugs.gentoo.org/720916
    Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>

 sci-geosciences/osm2pgsql/Manifest                 |  1 +
 sci-geosciences/osm2pgsql/osm2pgsql-1.3.0.ebuild   | 43 ++++++++++++++++++++++
 .../osm2pgsql/osm2pgsql-99999999.ebuild            | 10 ++---
 3 files changed, 49 insertions(+), 5 deletions(-)