Summary: | app-misc/gpsdrive-2.11-r3[mapnik] - In file included from ..., .../gpsdrive-2.11/src/mapnik.cpp:11: /usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Allen St. John <mirhunter> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | kripton |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
The complete build log
gpsdrive-2.11-mapnik-boost.patch.out |
Description
Allen St. John
2012-12-08 02:01:29 UTC
Created attachment 331782 [details]
The complete build log
> /usr/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3
Which boost version is installed ?
localhost ~ # emerge -s boost Searching... [ Results for search key : boost ] [ Applications found : 4 ] * dev-libs/boost Latest version available: 1.52.0-r4 Latest version installed: 1.52.0-r4 Size of files: 53,146 kB Homepage: http://www.boost.org/ Description: Boost Libraries for C++ License: Boost-1.0 * dev-util/boost-build Latest version available: 1.52.0-r1 Latest version installed: 1.52.0-r1 Size of files: 53,146 kB Homepage: http://www.boost.org/doc/tools/build/index.html Description: A system for large project software construction, which is simple to use and powerful. License: Boost-1.0 * media-sound/pianobooster [ Masked ] Latest version available: 0.6.4b Latest version installed: [ Not Installed ] Size of files: 162 kB Homepage: http://pianobooster.sourceforge.net Description: A MIDI file player that teaches how to play the piano License: GPL-3 * sys-devel/boost-m4 Latest version available: 0.3_pre121130 Latest version installed: 0.3_pre121130 Size of files: 37 kB Homepage: http://github.com/tsuna/boost.m4 Description: Another set of autoconf macros for compiling against boost License: GPL-3 this is after doing: emerge --sync emerge -avuDN world hmmm according to: http://www.boost.org/doc/libs/1_49_0/libs/filesystem/v3/doc/v3.html Breaking changes To ease the transition, Versions 2 and 3 will both be included in the next several Boost releases. Version 2 will be the default version for one release cycle, and then Version 3 will become the default version. So the question is how do I change from version 2 to 3? and should the ebuild reference this? or am I incorrect in thinking this is the problem? also from: http://www.boost.org/doc/libs/1_49_0/libs/filesystem/v3/doc/index.htm Version 2 is deprecated, and will not be included in Boost releases 1.48 and later. Well, this might get tricky (especially with gpsdrive being maintainer-needed). First of all, there's 'append-flags -DBOOST_FILESYSTEM_VERSION=2' in the ebuild. Remove that and see what breaks then. It's almost bound to break, but a new build log might give an idea of how much fixing will be required. cd /var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11_build/src && /usr/bin/x86_64-pc-linux-gnu-g++ -DPOSTGIS -DMAPNIK -DSPEECH -DDBUS -DDEBUG -DNDEBUG -O2 -pipe -fomit-frame-pointer -I/var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11_build/src -I/var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11/src -I/var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11_build -I/usr/include/postgresql-9.2 -I/usr/include/gtk-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/pango-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -fPIC -o CMakeFiles/gpsdrive.dir/mapnik.o -c /var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11/src/mapnik.cpp /var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11/src/mapnik.cpp: In function 'void mapnik::init_mapnik(char*)': /var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11/src/mapnik.cpp:220:89: error: 'class boost::filesystem::directory_entry' has no member named 'leaf' /var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11/src/mapnik.cpp:221:58: error: 'class boost::filesystem::directory_entry' has no member named 'string' /var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11/src/mapnik.cpp:224:35: error: 'class boost::filesystem::directory_entry' has no member named 'leaf' /var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11/src/mapnik.cpp: In function 'void mapnik::render_thread()': /var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11/src/mapnik.cpp:526:3: warning: 'void gdk_pixbuf_unref(GdkPixbuf*)' is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:243): Use 'g_object_unref' instead /var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11/src/mapnik.cpp:526:42: warning: 'void gdk_pixbuf_unref(GdkPixbuf*)' is deprecated (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:243): Use 'g_object_unref' instead make[2]: *** [src/CMakeFiles/gpsdrive.dir/mapnik.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11_build' make[1]: *** [src/CMakeFiles/gpsdrive.dir/all] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-misc/gpsdrive-2.11-r3/work/gpsdrive-2.11_build' make: *** [all] Error 2 The starting point should probably be the link on the page you've already found - http://www.boost.org/doc/libs/1_49_0/libs/filesystem/v3/doc/deprecated.html. Those two class boost::filesystem::directory_entry methods seems to be listed there. Ya I will probably use gpsdrive with manually created tiles for now... I am not a programmer and I have not really messed with ebuilds up to this point... I think this will have to be left to who ever takes over maintainership of this ebuild. Mostly I just wanted to report the bug. :) This has been fixed upstream with this commit: http://gpsdrive.svn.sourceforge.net/viewvc/gpsdrive/trunk/src/mapnik.cpp?r1=2605&r2=2609 (In reply to comment #11) > This has been fixed upstream with this commit: > http://gpsdrive.svn.sourceforge.net/viewvc/gpsdrive/trunk/src/mapnik. > cpp?r1=2605&r2=2609 But it doesn't apply cleanly Created attachment 334222 [details]
gpsdrive-2.11-mapnik-boost.patch.out
dropped |