Opened 9 years ago

Closed 9 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)

main.log (213.3 KB) - added by mjc.nilsson@… 9 years ago.
Log from build of mapnik on MacOSX 10.10 (Yosemite).
mapnik-3.0.0-rc1.diff (2.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 9 years ago.
patch-plugins-input-geojson-geojson_datasource.hpp.diff (583 bytes) - added by ryandesign (Ryan Carsten Schmidt) 9 years ago.

Download all attachments as: .zip

Change History (16)

Changed 9 years ago by mjc.nilsson@…

Attachment: main.log added

Log from build of mapnik on MacOSX 10.10 (Yosemite).

comment:1 Changed 9 years ago by mjc.nilsson@…

Cc: mjc.nilsson@… added

Cc Me!

comment:2 Changed 9 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 9 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 9 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:5 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:6 Changed 9 years ago by petrrr

Once this is resolved, please deprecate py26-mapnik and replace_by this one (#37995).

comment:7 Changed 9 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 Changed 9 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.

Last edited 9 years ago by bpanulla (Brian Panulla) (previous) (diff)

comment:9 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jczaplew@… added

Has duplicate #47464.

comment:10 in reply to:  8 ; Changed 9 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 9 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: mapnik-3.0.0-rc1.diff added

Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

comment:11 in reply to:  10 ; Changed 9 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 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

comment:13 in reply to:  11 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

I'd like to commit these if there are no objections.

r135505

Note: See TracTickets for help on using tickets.