This is due to boost filesystem changing, and can be fixed with this patch:
http://trac.mapnik.org/changeset/2506/branches/0.7.2-dev
Dane
On May 2, 2011, at 5:35 AM, Lucas Nussbaum wrote:
> Source: mapnik
> Version: 0.7.1-3
> Severity: serious
> Tags: wheezy sid
> User: debian...@lists.debian.org
> Usertags: qa-ftbfs-20110502 qa-ftbfs
> Justification: FTBFS on amd64
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
>
> Relevant part:
>> g++ -o src/datasource_cache.os -c -DHAVE_LIBXML2 -DHAVE_CAIRO -DHAVE_PYCAIRO
>> -ansi -Wall -pthread -ftemplate-depth-100 -DLINUX -DBOOST_SPIRIT_THREADSAFE
>> -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG
>> -DSHAPE_MEMORY_MAPPED_FILE -pthread -fPIC -Iagg/include -I. -Iinclude
>> -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2
>> -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include
>> -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
>> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
>> -I/usr/include/libpng12 -I/usr/include/postgresql -I/usr/include/gdal
>> -I/usr/include/pycairo src/datasource_cache.cpp
>> src/datasource_cache.cpp: In static member function 'static void
>> mapnik::datasource_cache::register_datasources(const string&)':
>> src/datasource_cache.cpp:146:77: error: invalid initialization of reference
>> of type 'const string&' from expression of type 'boost::filesystem3::path'
>> src/datasource_cache.cpp:46:9: error: in passing argument 1 of 'bool
>> mapnik::is_input_plugin(const string&)'
>> src/datasource_cache.cpp:152:53: error: 'class
>> boost::filesystem3::directory_entry' has no member named 'string'
>> src/datasource_cache.cpp:167:78: error: 'class
>> boost::filesystem3::directory_entry' has no member named 'string'
>> scons: *** [src/datasource_cache.os] Error 1
>> scons: building terminated because of errors.
>> scons: Reading SConscript files ...
>> [94m
>> Welcome to Mapnik...
>> [0m
>> [94mConfiguring build environment...[0m
>> [94mSCons CONFIG found: 'config.py', variables will be inherited...[0m
>> INPUT_PLUGINS=gdal,kismet,ogr,osm,postgis,raster,shape,sqlite PREFIX=/usr
>> DESTDIR=/build/user-mapnik_0.7.1-3-amd64-J5L_xo/mapnik-0.7.1/debian/tmp
>> BOOST_INCLUDES=/usr/include BOOST_LIBS=/usr/lib PROJ_INCLUDES=/usr/include
>> PROJ_LIBS=/usr/lib SYSTEM_FONTS=/usr/share/fonts/truetype/ttf-dejavu
>> LIB_DIR_NAME=/mapnik/0.7 PYTHON=/usr/bin/python2.7 BINDINGS=all
>> [94mConfiguring on Linux in *release mode*...[0m
>> Checking for freetype-config... yes
>> Checking for xml2-config... yes
>> Checking for pkg-config... yes
>> Checking for cairomm-1.0... yes
>> Sorting lib and inc compiler paths by priority...
>> internal,other,frameworks,user,system(cached) yes
>> Checking for C library m... yes
>> Checking for C library ltdl... yes
>> Checking for C library png... yes
>> Checking for C library tiff... yes
>> Checking for C library z... yes
>> Checking for C library jpeg... yes
>> Checking for C library proj... yes
>> Checking for C++ library icuuc... yes
>> Searching for boost libs and headers... (cached) [94m
>> *libs found: /usr/lib
>> *headers found: /usr/include
>> *no lib naming extension found[0m
>> Checking for Boost version >= 1.34... yes
>> [94mFound boost lib version... 1_46_1[0m
>> Checking for C++ library boost_system... yes
>> Checking for C++ library boost_filesystem... yes
>> Checking for C++ library boost_regex... yes
>> Checking for C++ library boost_iostreams... yes
>> Checking for C++ library boost_program_options... yes
>> Checking for C++ library boost_thread... yes
>> [94mChecking for requested plugins dependencies...[0m
>> Checking for C library sqlite3... yes
>> Checking for pg_config... yes
>> Checking if gdal is ogr enabled... yes
>> Checking for name of ogr library... gdal1.7.0
>> Checking for gdal-config --libs... yes
>> Checking for gdal-config --cflags... yes
>> Checking for name of gdal library... gdal1.7.0
>> Checking for C++ header file boost/python/detail/config.hpp... yes
>> Checking for pkg-config... yes
>> Checking for pycairo... yes
>> [94m
>> All Required dependencies found!
>> [0m
>> [94mOverwriting and re-saving file 'config.py'...[0m
>> [94mWill hold custom path variables from commandline and python config
>> file(s)...[0m
>> [91mProblem encounted with SCons scripts, please post bug report to:
>> http://trac.mapnik.org
>> Error was: /bin/sh: svnversion: not found
>> [0m
>> [94mBindings Python version... 2.6[0m
>> [94mPython 2.6 prefix... /usr[0m
>> [94mPython bindings will install in...
>> /build/user-mapnik_0.7.1-3-amd64-J5L_xo/mapnik-0.7.1/debian/tmp/usr/lib/python2.6/dist-packages[0m
>> Sorting lib and inc compiler paths by priority...
>> internal,other,frameworks,user,system(cached) yes
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> g++ -o agg/src/agg_vpgen_segmentator.o -c -O2 -fPIC