problem is upstream since about v2.20.0
It fails the pmtiles test see goddva comment
Git Clone URL: | https://aur.archlinux.org/tippecanoe.git (read-only, click to copy) |
---|---|
Package Base: | tippecanoe |
Description: | Builds vector tilesets from large (or small) collections of GeoJSON features |
Upstream URL: | https://github.com/felt/tippecanoe/ |
Keywords: | geojson openstreetmap tiles tippecanoe vector |
Licenses: | BSD |
Provides: | tippecanoe |
Submitter: | james |
Maintainer: | james |
Last Packager: | james |
Votes: | 7 |
Popularity: | 0.011959 |
First Submitted: | 2017-05-17 18:10 (UTC) |
Last Updated: | 2024-09-06 13:05 (UTC) |
problem is upstream since about v2.20.0
It fails the pmtiles test see goddva comment
I can't install this package, compilation breaks during installation with pamac:
...
pmtiles_file.cpp:238:25: required from here
/usr/include/c++/13.2.1/bits/new_allocator.h:187:11: error: no matching function for call to ‘pmtiles::entryv3::entryv3(const long unsigned int&, long long unsigned int&, int&, int)’
187 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pmtiles/pmtiles.hpp:159:9: note: candidate: ‘pmtiles::entryv3::entryv3()’
159 | entryv3()
| ^~~~~~~
pmtiles/pmtiles.hpp:159:9: note: candidate expects 0 arguments, 4 provided
pmtiles/pmtiles.hpp:153:8: note: candidate: ‘constexpr pmtiles::entryv3::entryv3(const pmtiles::entryv3&)’
153 | struct entryv3 {
| ^~~~~~~
pmtiles/pmtiles.hpp:153:8: note: candidate expects 1 argument, 4 provided
pmtiles/pmtiles.hpp:153:8: note: candidate: ‘constexpr pmtiles::entryv3::entryv3(pmtiles::entryv3&&)’
pmtiles/pmtiles.hpp:153:8: note: candidate expects 1 argument, 4 provided
pmtiles/pmtiles.hpp: At global scope:
pmtiles/pmtiles.hpp:357:9: warning: ‘pmtiles::entryv3 pmtiles::{anonymous}::find_tile(const std::vector<pmtiles::entryv3>&, int)’ defined but not used [-Wunused-function]
357 | entryv3 find_tile(const std::vector<entryv3> &entries, uint64_t tile_id) {
| ^~~~~~~~~
pmtiles/pmtiles.hpp:354:3: warning: ‘pmtiles::{anonymous}::colmajor_cmp’ defined but not used [-Wunused-variable]
354 | } colmajor_cmp;
| ^~~~~~~~~~~~
pmtiles/pmtiles.hpp:313:5: warning: ‘pmtiles::{anonymous}::t_on_level’ defined but not used [-Wunused-variable]
313 | zxy t_on_level(uint8_t z, uint64_t pos) {
| ^~~~~~~~~~
pmtiles/pmtiles.hpp:301:6: warning: ‘void pmtiles::{anonymous}::rotate(int64_t, int64_t&, int64_t&, int64_t, int64_t)’ defined but not used [-Wunused-function]
301 | void rotate(int64_t n, int64_t &x, int64_t &y, int64_t rx, int64_t ry) {
| ^~~~~~
pmtiles/pmtiles.hpp:196:3: warning: ‘pmtiles::entry_zxy_cmp’ defined but not used [-Wunused-variable]
196 | } entry_zxy_cmp;
| ^~~~~~~~~~~~~
make: *** [Makefile:84: pmtiles_file.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...
Any idea what's the problem here ?
I have the same build error, and the test that fails is allow-existing-test
. The changes that makes this fail, was introduced in https://github.com/felt/tippecanoe/ repo.
See issue: https://github.com/felt/tippecanoe/issues/95
Looks like your database is locked: https://github.com/mapbox/tippecanoe/issues/805
and looks like an upstream issue from v1
I get an error when attempting to upgrade this from 1.x to 2.x:
./tippecanoe: Tileset "tests/allow-existing/both.mbtiles" already exists. You can use --force if you want to delete the old tileset.
./tippecanoe: table metadata already exists
./tippecanoe: index metadata: index name already exists
./tippecanoe: create map table: table map already exists
./tippecanoe: create map index: index map_index already exists
./tippecanoe: create images table: table images already exists
./tippecanoe: create images index: index images_id already exists
./tippecanoe: create tiles view: view tiles already exists
set name in metadata: UNIQUE constraint failed: metadata.name
set description in metadata: UNIQUE constraint failed: metadata.name
set version : UNIQUE constraint failed: metadata.name
set minzoom: UNIQUE constraint failed: metadata.name
set maxzoom: UNIQUE constraint failed: metadata.name
set center: UNIQUE constraint failed: metadata.name
set bounds: UNIQUE constraint failed: metadata.name
set bounds: UNIQUE constraint failed: metadata.name
set type: UNIQUE constraint failed: metadata.name
set format: UNIQUE constraint failed: metadata.name
set generator: UNIQUE constraint failed: metadata.name
set commandline: UNIQUE constraint failed: metadata.name
set strategies: UNIQUE constraint failed: metadata.name
set json: UNIQUE constraint failed: metadata.name
./tippecanoe-decode -x generator -x generator_options tests/allow-existing/both.mbtiles > tests/allow-existing/both.mbtiles.json.check
cmp tests/allow-existing/both.mbtiles.json.check tests/allow-existing/both.mbtiles.json
tests/allow-existing/both.mbtiles.json.check tests/allow-existing/both.mbtiles.json differ: byte 1097650, line 2175
make: *** [Makefile:407: allow-existing-test] Error 1
==> ERROR: A failure occurred in check().
Aborting...
-> error making: tippecanoe-exit status 4
-> Failed to install the following packages. Manual intervention is required:
tippecanoe - exit status 4
@james Thank you very much, for your work! This is awesome!
@erdarur Updated. The Makefile in the new repository was broken and needed to patch it.
A switch to the tippecanoe fork of felt would be super cool, since the orignal author is now working at Felt. Currently at version 2.24 , see Releases page: https://github.com/felt/tippecanoe/releases
has mapbox stopped support on tippecanoe?
Actively maintained fork of tippecanoe: https://github.com/felt/tippecanoe, latest release 2.6.0.
Pinned Comments
james commented on 2024-01-04 13:55 (UTC)
The make test has now been permently disabled in the PKGBUILD due to upstream unit tests failing for people.