Opened 10 years ago
Closed 10 years ago
#45944 closed defect (fixed)
mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error
Reported by: | mjc.nilsson@… | Owned by: | bpanulla (Brian Panulla) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.2 |
Keywords: | haspatch | Cc: | stromnov (Andrey Stromnov), petrrr, ryandesign (Ryan Carsten Schmidt), jczaplew@… |
Port: | mapnik |
Description
Mapnik fails to build on MacOSX 10.10 using clang 6.0.
Based on my interpretation of the logs, the failure is caused by some build errors in boost 1.56. Specifically in the fusion, proto and phoenix modules of boost.
Attachments (3)
Change History (16)
Changed 10 years ago by mjc.nilsson@…
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | stromnov@… added; mjc.nilsson@… removed |
---|---|
Keywords: | boost mapnik removed |
Owner: | changed from macports-tickets@… to macports@… |
Port: | mapnik added |
Please attach a main.log file from a clean build.
comment:3 Changed 10 years ago by stromnov (Andrey Stromnov)
Mapnik v2.2.0 is not compatible with current boost. Still waiting for upcoming v3.x.
comment:4 Changed 10 years ago by mjc.nilsson@…
In despair, I checked out the master branch from github and that code compiled and tested (mostly) ok. Still, thanks for informing me stromnov!
comment:6 Changed 10 years ago by petrrr
Once this is resolved, please deprecate py26-mapnik
and replace_by
this one (#37995).
comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
How about updating to 3.0.0-rc1, since the current version cannot be compiled?
comment:8 follow-up: 10 Changed 10 years ago by bpanulla (Brian Panulla)
I'll give this a shot. I was waiting to see what the community reaction was to the RC before trying it myself. Right now I'm having difficulty getting the Portfile to see the release tarball on GitHub.
comment:9 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jczaplew@… added |
---|
Has duplicate #47464.
comment:10 follow-up: 11 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to macports@…:
I'll give this a shot. I was waiting to see what the community reaction was to the RC before trying it myself.
I am not in touch with the mapnik community but 3.0.0-rc1 has been out since October. I would hope if there were a problem with it they would have released a new rc by now.
Right now I'm having difficulty getting the Portfile to see the release tarball on GitHub.
It could not be more straightforward: you just change "2.2.0" to "3.0.0-rc1" in the github.setup
line, and of course update the checksums. The patchfile can also be removed, and a few other changes can be made. See attached patch. Unfortunately it does not compile for me ("error: unknown type name 'node_s_mem_static_tag'; did you mean 'node_variant_static_tag'?
").
Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | mapnik-3.0.0-rc1.diff added |
---|
Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | patch-plugins-input-geojson-geojson_datasource.hpp.diff added |
---|
comment:11 follow-up: 13 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
Unfortunately it does not compile for me ("
error: unknown type name 'node_s_mem_static_tag'; did you mean 'node_variant_static_tag'?
").
Upstream already fixed this problem. The new patches attached now build for me. I'd like to commit these if there are no objections.
comment:12 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
comment:13 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Log from build of mapnik on MacOSX 10.10 (Yosemite).