Summary: | dev-db/spatialite-5.0.1-r1: stabilisation (was: dev-db/spatialite-4.3.0a unable to find proj_api.h) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Gentoo Linux | Reporter: | rnddim | ||||||
Component: | Stabilization | Assignee: | Sci-geo Project <sci-geosciences> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | normal | CC: | aklhfex, dan, dennis.lissov, espinafre, mmokrejs, orzel, sam, toralf, uleysky | ||||||
Priority: | Normal | Keywords: | CC-ARCHES | ||||||
Version: | unspecified | Flags: | nattka:
sanity-check+
|
||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
URL: | https://www.gaia-gis.it/fossil/libspatialite/info/6eabdf0e6d3520a7 | ||||||||
Whiteboard: | |||||||||
Package list: |
dev-db/spatialite-5.0.1-r1
|
Runtime testing required: | --- | ||||||
Bug Depends on: | 773958 | ||||||||
Bug Blocks: | 729098 | ||||||||
Attachments: |
|
Description
rnddim
2019-05-11 22:24:42 UTC
This caused due proj_api.h deprecation in latest proj versions. Workaround is add ">=sci-libs/proj-6.0.0" to /etc/portage/package.mask Created attachment 576664 [details]
Updated ebuild for PROJ.6
(In reply to Dmitry Suloev from comment #2) > Created attachment 576664 [details] > Updated ebuild for PROJ.6 Thank you, seems to work here. Thanks, the updated ebuild works for me too, though I see some warnings? checking proj_api.h usability... yes checking proj_api.h presence... no configure: WARNING: proj_api.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: proj_api.h: proceeding with the compiler's result checking for proj_api.h... yes checking for library containing pj_init_plus... -lproj checking for library containing pj_init_ctx... none required Later I saw "gcc ... -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H". It compiled/installed at least. dev-db/spatialite-4.3.0-r1 is affected by this as well. See also bug # 690994 about dependency (rebuild) issue. *** Bug 696988 has been marked as a duplicate of this bug. *** Thanks for your ebuild, please instead submit a unified diff next time so the changes can be examined. *** Bug 693072 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc61c208f0045cf5335a130d0dbad2909241073 commit edc61c208f0045cf5335a130d0dbad2909241073 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-10-20 13:31:11 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-10-20 14:19:36 +0000 dev-db/spatialite: Workaround build with >=sci-libs/proj-6 Thanks-to: Dmitry Suloev <SuloevDmitry@gmail.com> Closes: https://bugs.gentoo.org/685668 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-db/spatialite/spatialite-4.3.0a.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) Re-opening as a workaround is no fix and it is running out of time. From the URL (bug): " sandro added on 2019-05-15 08:59:05: full PROJ.6 support has been implemented by commit b72ce4b2a5" We can see the related changes here: https://www.gaia-gis.it/fossil/libspatialite/tkthistory/6eabdf0e6d3520a7 There have been some more recent changes to Proj and GDAL support, so maybe a snapshot for now would work. The latest beta is from August 2018, unfortunately. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a925d0f1ba42a6dacde0b2bd09ac8dc20c6096 commit a3a925d0f1ba42a6dacde0b2bd09ac8dc20c6096 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-01 23:32:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-01 23:35:38 +0000 dev-db/spatialite-tools: bump to 5.0.1 Bug: https://bugs.gentoo.org/685668 Signed-off-by: Sam James <sam@gentoo.org> dev-db/spatialite-tools/Manifest | 1 + .../spatialite-tools/spatialite-tools-5.0.1.ebuild | 33 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1befe72c0a511c34cd1d7979a77f31147a68287e commit 1befe72c0a511c34cd1d7979a77f31147a68287e Author: Sam James <sam@gentoo.org> AuthorDate: 2021-03-01 23:24:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-01 23:35:35 +0000 dev-db/spatialite: bump to 5.0.1 Seems to build with PROJ 8 as per upstream notes. Bug: https://bugs.gentoo.org/685668 Signed-off-by: Sam James <sam@gentoo.org> dev-db/spatialite/Manifest | 1 + dev-db/spatialite/spatialite-5.0.1.ebuild | 56 +++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) Unable to check for sanity:
> no match for package: dev-db/spatialite-5.0.1
x86 stable amd64 stable arm64 done all arches done |