Summary: | graphics/mapnik: fails to build with boost 1.70 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Only Me | CC: | fcharlier, lantw44, littlesavage, sagarharish999, w.schwarzenfeld | ||||
Priority: | --- | Keywords: | needs-patch, regression | ||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(littlesavage) |
||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: |
https://github.com/mapnik/mapnik/issues/4041 https://github.com/mapnik/mapnik/issues/4095 |
||||||
Bug Depends on: | |||||||
Bug Blocks: | 235956 | ||||||
Attachments: |
|
Description
Jan Beich
2019-04-04 14:47:34 UTC
The port has been marked BROKEN in ports r498698. MARKED AS SPAM Maybe this help: https://fossies.org/diffs/boost/1_69_0_vs_1_70_0/boost/spirit/home/support/attributes.hpp-diff.html There are a lot of newer versions: https://github.com/mapnik/mapnik/releases (In reply to Walter Schwarzenfeld from comment #4) As far as I know, mapnik 3.0.22 still doesn't work with boost ≥ 1.70. Now it failed even earlier than before. Mapnik doesn't work with scons 3.1.1. Downgrading scons to 3.0.1 fixes the problem, but it still doesn't build with boost 1.71. https://github.com/mapnik/mapnik/issues/4081 ===> Building for mapnik-3.0.9_29 scons: Reading SConscript files ... Welcome to Mapnik... Configuring build environment... Configuring on FreeBSD in *release mode*... Checking for freetype-config... yes Checking for dlfcn.h support ... yes Checking if compiler (c++) supports -std=c++11 flag... (cached) yes Checking for C library z... yes Checking for C++ library icuuc... yes Checking for ICU version >= 4.2... found: icu 65.1 (cached) Checking for C++ library harfbuzz... yes Checking for HarfBuzz version >= 0.9.34... found: HarfBuzz 2.6.2 Checking for HarfBuzz with freetype support (cached) yes Searching for boost libs and headers... (cached) Found boost libs: /usr/local/lib Found boost headers: /usr/local/include Checking for C++ header file boost/version.hpp... yes Checking for Boost version >= 1.47... yes Found boost lib version... 1_71 KeyError: 'BOOST_APPEND': File "/tmp/wrkdirs/usr/ports/graphics/mapnik/work/mapnik-v3.0.9/SConstruct", line 1435: if not conf.CheckLibWithHeader('boost_%s%s' % (libinfo[0],env['BOOST_APPEND']), libinfo[1], 'C++'): File "/usr/local/lib/scons/SCons/Environment.py", line 410: return self._dict[key] A commit references this bug: Author: jbeich Date: Thu Oct 24 00:48:34 UTC 2019 New revision: 515312 URL: https://svnweb.freebsd.org/changeset/ports/515312 Log: devel/boost-libs: backport spirit regression fix PR: 237016 Suggested by: mapnik upstream MFH: 2019Q4 Changes: head/devel/boost-libs/Makefile head/devel/boost-libs/files/patch-boost_spirit_home_x3_nonterminal_detail_rule.hpp https://github.com/mapnik/mapnik/pull/4094 is Boost fix. Hopefully, bug 241449 won't regress it more. portmgr@ scheduled the port for removal in ports r519652. Created attachment 209914 [details] master (pre-4.0) snapshot Upstream fixed all Boost issues but not SCons. Patch and build log provided but I haven't tested runtime (don't use this port). If someone can improve upon it or backport Boost fixes to the current version (or v3.0.x snapshot) before the scheduled removal that would be nice. https://github.com/mapnik/mapnik/files/3962045/mapnik-3.0.12.1078.log Expired port removed. |