Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301674 - sci-geosciences/mapnik-0.6.1-r1 does not work with >=dev-libs/boost-1.42
Summary: sci-geosciences/mapnik-0.6.1-r1 does not work with >=dev-libs/boost-1.42
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 301673
  Show dependency tree
 
Reported: 2010-01-20 21:45 UTC by Sebastian Luther (few)
Modified: 2010-03-08 02:15 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/sci-geosciences/mapnik-0.6.1-r1/temp/build.log (build.log,15.70 KB, text/plain)
2010-01-20 21:45 UTC, Sebastian Luther (few)
Details
A mapnik-0.6.1-r1.ebuild which takes boost-1_39 header and libboost_thread-mt-1_42 library (mapnik-0.6.1-r1.ebuild,3.07 KB, text/plain)
2010-03-04 15:15 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Luther (few) 2010-01-20 21:45:22 UTC
Have a look at the tracker bug for more information.

Portage 2.2_rc60 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.10.1-r1, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.0.1
Timestamp of tree: Wed, 20 Jan 2010 19:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache"
CFLAGS="-O2 -march=core2 -pipe"
CG_COMPILER_EXE="/usr/bin/cgc"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=core2 -pipe"
DISTDIR="/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --tree --jobs 3 --keep-going --unordered-display --binpkg-respect-use --complete-graph"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.9-r1/html"
GCC_SPECS=""
GDK_USE_XFT="1"
GDM_LANG="de_DE.utf-8"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
HG="/usr/bin/hg"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.2/info"
INPUT_DEVICES="keyboard mouse evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LADSPA_PATH="/usr/lib/ladspa"
LANG="de_DE.utf-8"
LANGUAGE="de_DE:de:en_GB:en"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ADDRESS="de_DE.utf-8"
LC_ALL="de_DE.utf-8"
LC_COLLATE="de_DE.utf-8"
LC_CTYPE="de_DE.utf-8"
LC_IDENTIFICATION="de_DE.utf-8"
LC_MEASUREMENT="de_DE.utf-8"
LC_MESSAGES="en_US.utf-8"
LC_MONETARY="de_DE.utf-8"
LC_NAME="de_DE.utf-8"
LC_NUMERIC="de_DE.utf-8"
LC_PAPER="de_DE.utf-8"
LC_TELEPHONE="de_DE.utf-8"
LC_TIME="de_DE.utf-8"
LDFLAGS="-Wl,-O1"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBXCB_ALLOW_SLOPPY_LOCK="1"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAKEOPTS="-j3"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i486-pc-linux-gnu/4.1.2/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.2/man:/opt/intel/cc/10.0.026/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man:/opt/opera/share/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/binpkgs"
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/few-s-gentoo-overlay"
PRELINK_PATH_MASK="/usr/lib/klibc"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/"
PYTHONPATH="/usr/lib/root"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.2:/usr/qt/3/bin:/opt/cuda/bin"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
RUBY_TARGETS="ruby18"
SGML_CATALOG_FILES="/etc/sgml/xml-docbook-4.1.2.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/xml-simple-docbook-1.0.cat:/etc/sgml/xml-docbook-4.2.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/xml-docbook-4.5.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-4.1.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/xml-simple-docbook-4.1.2.4.cat"
SHELL="/bin/bash"
SHLVL="3"
SSH_CLIENT="192.168.11.3 54661 22"
SSH_CONNECTION="192.168.11.3 54661 192.168.11.4 22"
SSH_TTY="/dev/pts/0"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm"
XDG_SESSION_COOKIE="5a942c1668cee0208840dc8b48d73594-1264014258.987588-113070858"
XERCESC_NLS_HOME="/usr/share/xerces-c/msg"
_="/usr/bin/emerge"
Comment 1 Sebastian Luther (few) 2010-01-20 21:45:56 UTC
Created attachment 217010 [details]
/var/tmp/portage/sci-geosciences/mapnik-0.6.1-r1/temp/build.log
Comment 2 Steve Arnold archtester gentoo-dev 2010-02-13 22:05:28 UTC
This also causes problems with gpsdrive if mapnik builds against anything newer than the 1.39 version of boost, so now mapnik has been pegged at boost-1.39*.
Comment 3 Juergen Rose 2010-03-04 13:53:30 UTC
'emerge mapnik' fails for me even if boost-1.39.0 is installed:
...
main.cpp:(.text+0x939): undefined reference to `boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
collect2: ld returned 1 exit status
scons: *** [utils/pgsql2sqlite/pgsql2sqlite] Error 1
scons: building terminated because of errors.
 * ERROR: sci-geosciences/mapnik-0.6.1-r1 failed:
...
root@moose:/root(15)# qlist -Iv boost
app-admin/eselect-boost-0.3
dev-libs/boost-1.39.0
dev-libs/boost-1.42.0
dev-util/boost-build-1.39.0
dev-util/boost-build-1.42.0
Comment 4 Sebastian Luther (few) 2010-03-04 14:07:45 UTC
(In reply to comment #2)
> This also causes problems with gpsdrive if mapnik builds against anything newer
> than the 1.39 version of boost, so now mapnik has been pegged at boost-1.39*.
> 

The ebuild doesn't tell the build system to use 1.39. 

Searching for boost libs and headers... (cached) 
  *libs found: /usr/lib64
  *headers found: /usr/include
  *lib naming extension found: mt
Checking for Boost version >= 1.34... yes
Found boost lib version... 1_42

Have a look at dev-python/visual-5.13 on how to do this.
Comment 5 Juergen Rose 2010-03-04 15:14:45 UTC
I had a look at dev-python/visual-5.13 and wrote a mapnik-0.6.1-r1 (without really understanding what I did).
With this ebuild 'emerge -v1 mapnik' fails with:
...
x86_64-pc-linux-gnu-g++ -o utils/pgsql2sqlite/pgsql2sqlite utils/pgsql2sqlite/main.o utils/pgsql2sqlite/sqlite.o -Lsrc -L/usr/lib64 -L/usr/lib64/postgresql-8.4/lib64 -lboost_program_options-mt -lboost_thread-mt -lsqlite3 -lpq -lmapnik
utils/pgsql2sqlite/main.o: In function `global constructors keyed to _ZN6mapnik14numeric2stringEPKc':
main.cpp:(.text+0xd0): undefined reference to `boost::thread_resource_error::thread_resource_error()'
utils/pgsql2sqlite/main.o: In function `main':
main.cpp:(.text+0x939): undefined reference to `boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
collect2: ld returned 1 exit status
scons: *** [utils/pgsql2sqlite/pgsql2sqlite] Error 1

I think that emerge takes now the wanted /usr/include/boost-1_39 headers
but still the /usr/lib/libboost_thread-mt.so -> libboost_thread-mt-1_42.so library. Who can improve this ebuild?
Comment 6 Juergen Rose 2010-03-04 15:15:57 UTC
Created attachment 222037 [details]
A mapnik-0.6.1-r1.ebuild which takes boost-1_39 header and libboost_thread-mt-1_42 library
Comment 7 Steve Arnold archtester gentoo-dev 2010-03-07 02:59:34 UTC
Seems like this really calls for a boost eclass, but the "hack" looks like a good one, worthy of the name ;)  Thanks...  I'm testing it now, but it should probably be a forced r2 rev bump, just in case it hasn't broken yet for some people.
Comment 8 Sebastian Luther (few) 2010-03-07 07:54:56 UTC
(In reply to comment #7)
> Seems like this really calls for a boost eclass, but the "hack" looks like a
> good one, worthy of the name ;)  Thanks...  I'm testing it now, but it should
> probably be a forced r2 rev bump, just in case it hasn't broken yet for some
> people.
> 

Be sure to not use the -I... , -L... hack. The build system allows you to pass the directories.
Comment 9 Steve Arnold archtester gentoo-dev 2010-03-07 17:43:01 UTC
Yeah, it wasn't exactly working as intended; it was still somehow getting linked against 1.41 even though the scons output showed the 1.39.  I'm passing the LIB and INC paths on the compile line, so we'll see how that goes.  Setting the default boost with eselect doesn't seem to make any difference, so I'm ignoring that for now.
Comment 10 Steve Arnold archtester gentoo-dev 2010-03-08 02:15:53 UTC
Okay, the final hack in 0.6.1-r2 should work for now; there's a new 0.7.0 upstream, but I'm waiting for the fixes in 0.7.1 so I probably won't do an ebuild for the former.

I'd recommend a fresh sync in case you picked up a python eclass glitch from earlier today.