Comments (5)
My container's final words:
Making all in src
make[1]: Entering directory '/root/planet-dump-ng-1.1.3/src'
CXX changeset_filter.o
CXX changeset_map.o
CXX copy_elements.o
copy_elements.cpp: In instantiation of 'bool {anonymous}::is_redacted(const T&) [with T = node]':
copy_elements.cpp:204:23: required from 'void {anonymous}::extract_element({anonymous}::thread_writer<T>&) [with T = node]'
copy_elements.cpp:318:23: required from 'void reader_thread(int, boost::exception_ptr, boost::shared_ptr<{anonymous}::control_block<T> >) [with T = node]'
copy_elements.cpp:350:66: required from 'void run_threads(std::vector<boost::shared_ptr<output_writer> >) [with T = node]'
copy_elements.cpp:385:79: required from here
copy_elements.cpp:173:48: error: cannot convert 'const boost::optional<long int>' to 'bool' in return
inline bool is_redacted(const T &t) { return t.redaction_id; }
^~~~~~~~~~~~
copy_elements.cpp: In instantiation of 'bool {anonymous}::is_redacted(const T&) [with T = way]':
copy_elements.cpp:204:23: required from 'void {anonymous}::extract_element({anonymous}::thread_writer<T>&) [with T = way]'
copy_elements.cpp:318:23: required from 'void reader_thread(int, boost::exception_ptr, boost::shared_ptr<{anonymous}::control_block<T> >) [with T = way]'
copy_elements.cpp:350:66: required from 'void run_threads(std::vector<boost::shared_ptr<output_writer> >) [with T = way]'
copy_elements.cpp:386:78: required from here
copy_elements.cpp:173:48: error: cannot convert 'const boost::optional<long int>' to 'bool' in return
copy_elements.cpp: In instantiation of 'bool {anonymous}::is_redacted(const T&) [with T = relation]':
copy_elements.cpp:204:23: required from 'void {anonymous}::extract_element({anonymous}::thread_writer<T>&) [with T = relation]'
copy_elements.cpp:318:23: required from 'void reader_thread(int, boost::exception_ptr, boost::shared_ptr<{anonymous}::control_block<T> >) [with T = relation]'
copy_elements.cpp:350:66: required from 'void run_threads(std::vector<boost::shared_ptr<output_writer> >) [with T = relation]'
copy_elements.cpp:387:83: required from here
copy_elements.cpp:173:48: error: cannot convert 'const boost::optional<long int>' to 'bool' in return
Makefile:422: recipe for target 'copy_elements.o' failed
make[1]: *** [copy_elements.o] Error 1
make[1]: Leaving directory '/root/planet-dump-ng-1.1.3/src'
Makefile:603: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
from planet-dump-ng.
I think this is caused by a more recent compiler dropping support for implicit conversions to bool in the return statement.
I've pushed a v1.1.5
up, which is just #17 and #18, plus the change to explicitly cast to bool
. Apologies for not testing it; my attempts to test have failed because docker just hangs and virtualbox now crashes my machine (they both worked fine before Christmas!). 😭
Please let me know whether you're able to build the new release.
from planet-dump-ng.
NB: If you really need v1.1.4 or previous, it might be worth trying to build with an Ubuntu 16.04 image and compiler.
from planet-dump-ng.
I believe 1.1.5 solves the issue entirely. Thanks for cutting such a quick release!
from planet-dump-ng.
Thanks very much for pointing out the problem!
from planet-dump-ng.
Related Issues (20)
- PBF doesn't use DenseNodes HOT 3
- Changeset dump file contains no comments after February 23rd HOT 3
- Reference failures in planet file HOT 1
- Check references in current output
- Update github description HOT 1
- Set osmosis_replication_base_url HOT 1
- PBF History file contains too large blobs HOT 1
- handle directory-based input for parallel pgdump HOT 2
- Invalid xml data in planet osm HOT 15
- Occasional lockups dumping planet HOT 12
- Exception dumping recent planets HOT 10
- .
- OSM AWS Athena Tables Not Updated HOT 1
- No separate changesets file. HOT 3
- v1.2.4 fails to compile on Debian 11 HOT 4
- All member types of relation objects are from type="relation" HOT 1
- Changeset discussion dumps HOT 1
- Planet state file HOT 4
- Add comments_count to changesets dump HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from planet-dump-ng.