[MacPorts] #45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ---------------------------+-------------------------------- Reporter: mjc.nilsson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Keywords: boost mapnik | Port: ---------------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/45944> MacPorts <https://www.macports.org/> Ports system for OS X
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ----------------------------+------------------------ Reporter: mjc.nilsson@… | Owner: macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: mapnik | ----------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => macports@… * cc: mjc.nilsson@… (removed) * cc: stromnov@… (added) * port: => mapnik * keywords: boost mapnik => Comment: Please attach a main.log file from a [https://guide.macports.org/chunked/project.html#project.tickets clean build]. -- Ticket URL: <https://trac.macports.org/ticket/45944#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ----------------------------+------------------------ Reporter: mjc.nilsson@… | Owner: macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: mapnik | ----------------------------+------------------------ Comment (by stromnov@…): Mapnik v2.2.0 is not compatible with current boost. Still waiting for upcoming v3.x. -- Ticket URL: <https://trac.macports.org/ticket/45944#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ----------------------------+------------------------ Reporter: mjc.nilsson@… | Owner: macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: mapnik | ----------------------------+------------------------ Comment (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! -- Ticket URL: <https://trac.macports.org/ticket/45944#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ----------------------------+------------------------ Reporter: mjc.nilsson@… | Owner: macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: mapnik | ----------------------------+------------------------ Comment (by petr@…): Once this is resolved, please deprecate `py26-mapnik` and `replace_by` this one (#37995). -- Ticket URL: <https://trac.macports.org/ticket/45944#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ----------------------------+------------------------ Reporter: mjc.nilsson@… | Owner: macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: mapnik | ----------------------------+------------------------ Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: How about updating to 3.0.0-rc1, since the current version cannot be compiled? -- Ticket URL: <https://trac.macports.org/ticket/45944#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ----------------------------+------------------------ Reporter: mjc.nilsson@… | Owner: macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: mapnik | ----------------------------+------------------------ Comment (by macports@…): 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 tarball on GitHub. -- Ticket URL: <https://trac.macports.org/ticket/45944#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ----------------------------+------------------------ Reporter: mjc.nilsson@… | Owner: macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: mapnik | ----------------------------+------------------------ Changes (by ryandesign@…): * cc: jczaplew@… (added) Comment: Has duplicate #47464. -- Ticket URL: <https://trac.macports.org/ticket/45944#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ----------------------------+------------------------ Reporter: mjc.nilsson@… | Owner: macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: mapnik | ----------------------------+------------------------ Comment (by ryandesign@…): Replying to [comment:8 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'?`"). -- Ticket URL: <https://trac.macports.org/ticket/45944#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ----------------------------+------------------------ Reporter: mjc.nilsson@… | Owner: macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: Port: mapnik | ----------------------------+------------------------ Comment (by ryandesign@…): Replying to [comment:10 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. -- Ticket URL: <https://trac.macports.org/ticket/45944#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ----------------------------+------------------------ Reporter: mjc.nilsson@… | Owner: macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: | Keywords: haspatch Port: mapnik | ----------------------------+------------------------ Changes (by ryandesign@…): * keywords: => haspatch -- Ticket URL: <https://trac.macports.org/ticket/45944#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#45944: mapnik @2.2.0_3 +osm +sqlite +postgis +cairo +gdal: Boost related build error ----------------------------+------------------------ Reporter: mjc.nilsson@… | Owner: macports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Resolution: fixed | Keywords: haspatch Port: mapnik | ----------------------------+------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:11 ryandesign@…]:
I'd like to commit these if there are no objections.
r135505 -- Ticket URL: <https://trac.macports.org/ticket/45944#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts