Version 2.2.0 was released 3 months ago. I hope this fixes bug #454284. Reproducible: Always
You can find ebuild for mapnik 2.2.0 in my overlay at https://github.com/xificurk/xificurk-gentoo-overlay/tree/master/sci-geosciences/mapnik It is based on the 2.2.1 ebuild from portage tree. I got rid of few hacks regarding DESTDIR, ported to python binding to python-utils-r1 eclass and added support for building python3 bindings.
(In reply to Petr Morávek from comment #1) > You can find ebuild for mapnik 2.2.0 in my overlay at > https://github.com/xificurk/xificurk-gentoo-overlay/tree/master/sci- > geosciences/mapnik > > It is based on the 2.2.1 ebuild from portage tree. I got rid of few hacks > regarding DESTDIR, ported to python binding to python-utils-r1 eclass and > added support for building python3 bindings. Does not work with USE=-python, it seems. :( >>> Configuring source in /var/tmp/portage/sci-geosciences/mapnik-2.2.0/work/mapnik-v2.2.0 ... scons -j3 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ INPUT_PLUGINS=shape,csv,raster,geojson,osm PREFIX=/usr DESTDIR=/var/tmp/portage/sci-geosciences/mapnik-2.2.0/image/ XMLPARSER=libxml2 LINKING=shared RUNTIME_LINK=shared PROJ_ INCLUDES=/usr/include PROJ_LIBS=/usr/lib64 SYSTEM_FONTS=/usr/share/fonts BINDINGS=none PYTHON=0 BOOST_PYTHON_LIB=0 CAIRO=1 DEBUG=0 XML_DEBUG=0 DEMO=0 SAMPLE_INPUT_PLUGINS=0 CUSTOM_LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu CUSTOM _LDFLAGS+=-L/var/tmp/portage/sci-geosciences/mapnik-2.2.0/image//usr/lib64 configure scons: Reading SConscript files ... scons: *** Path for option PYTHON does not exist: 0 File "/var/tmp/portage/sci-geosciences/mapnik-2.2.0/work/mapnik-v2.2.0/SConstruct", line 482, in <module>
(In reply to Dennis Schridde from comment #2) > (In reply to Petr Morávek from comment #1) > > You can find ebuild for mapnik 2.2.0 in my overlay [...] > > Does not work with USE=-python, it seems. :( Replacing the line: $(use_scons python PYTHON $PYTHON) with: $(use python && use_scons python PYTHON $PYTHON) made it compile.
Committed 2.2.0 yesterday; the 2.1.0 ebuild needed a little rework, even with the patch, etc. Will commit that one shortly.