Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421325 - sci-geosciences/osm2pgsql-20100413 with sci-libs/geos-3.3.3 - In function ‘char* get_wkt_simple(osmNode*, int, int)’: build_geometry.cpp:67:92: error: call of overloaded ‘create(int, int)’ is ambiguous
Summary: sci-geosciences/osm2pgsql-20100413 with sci-libs/geos-3.3.3 - In function ‘ch...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-16 07:48 UTC by quazgar
Modified: 2014-01-29 00:11 UTC (History)
2 users (show)

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


Attachments
patch for gcc (patch,4.68 KB, patch)
2012-10-10 14:53 UTC, richardfisher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description quazgar 2012-06-16 07:48:41 UTC
sci-libs/geos was upgraded from 3.2.2 to 3.3.3, so I ran emerge @preserved-rebuild. osm2pgsql failed to build though, with the following and many similar errors:

g++ -O2 -pipe -march=athlon64 -msse3    -c -o build_geometry.o build_geometry.cpp
build_geometry.cpp: In function ‘char* get_wkt_simple(osmNode*, int, int)’:
build_geometry.cpp:67:92: error: call of overloaded ‘create(int, int)’ is ambiguous
/usr/include/geos/geom/CoordinateSequenceFactory.h:66:30: note: candidates are: virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(std::vector<geos::geom::Coordinate>*, size_t) const
/usr/include/geos/geom/CoordinateSequenceFactory.h:80:30: note:                 virtual geos::geom::CoordinateSequence* geos::geom::CoordinateSequenceFactory::create(size_t, size_t) const

This may be fixed upstream already, see
https://trac.openstreetmap.org/ticket/3299

I do not experience the symptoms described in bug #397877 though.

Reproducible: Always




Portage 2.2.0_alpha110 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2300-with-gentoo-2.1
Timestamp of tree: Fri, 15 Jun 2012 22:15:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.8, 2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: sabayon gentoo java-overlay science sunrise local_portage
Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-O2 -pipe -march=athlon64 -msse3 "
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news noclean parallel-fetch parse-eapi-ebuild-head preserve-li\
bs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.supp.name/ http://gentoo.tiscali.nl/ http://gentoo.virginmedia.com/ http://gentoo.wheel.sk/ http://ge\
ntoo.mirror.pw.edu.pl/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfil\
es --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sabayon /usr/portage /var/lib/layman/java-overlay /var/lib/layman/science /var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 apache2 bash-completion berkdb boost branding bzip2 cairo calendar caps cdda cddb cdr cli consolekit cracklib crypt cups c\
xx dbus dga directfb dri dts dv dvd dvdr emacs emboss emf encode exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gcj gd gdbm gif gimp glut gphoto2 gpm g\
tk gtk2 gtkhtml guile iconv icq icu imagemagick java javascript jikes joystick jpeg jpeg2k kde kdexdeltas kpathsea lame lcms leim libcaca libnotify libwww lm_sensors m\
ad maildir mbox mcal memlimit mime mmx mng modules mp3 mp4 mpeg msn mudflap multilib ncurses neXt networking nls nocd nptl nsplugin offensive ogg opengl openmp oscar p\
am pango pcre pdf perl plotutils png policykit ppds pppd python qt3support qt4 quicktime readline rtsp samba sdl semantic-desktop session sndfile sockets sound sox spe\
ex spell sse sse2 ssl startup-notification svg tcpd tetex theora threads tiff timidity truetype udev udisks unicode upower usb v4l vcd videos vorbis webkit wma wmf wxw\
idgets x264 xcb xft xml xmms xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es19\
68 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 cgi cgid dav dav_fs dav_lock d\
eflate 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 sta\
tus unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df in\
terface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip nav\
com oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse aiptek" KERNEL="linux" LCD_DEVICE\
S="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de es" PHP_TARGETS\
="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="net canon plustek" USERLAND="GNU" VIDEO_CARDS="vesa vga fbdev nv nvidia" XTA\
BLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos acco\
unt"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 richardfisher 2012-10-10 14:53:15 UTC
Created attachment 326194 [details, diff]
patch for gcc

Should get you going until this is fixed upstream.
Comment 2 Aaron W. Swenson gentoo-dev 2014-01-29 00:11:33 UTC
*osm2pgsql-0.84.0 (29 Jan 2014)

  29 Jan 2014; Aaron W. Swenson <titanofold@gentoo.org>
  +osm2pgsql-0.84.0.ebuild, osm2pgsql-99999999.ebuild, metadata.xml:
  Fix bug 421325: Fixed by version bump
  Fix bug 427668: Thanks Christoph Brill
  Fix bug 469374: Added lua USE flag
  Fix bug 397877: Fixed by version bump
  Fix bug 490788: Fixed by version bump

Please give 0.84.0 a go. I'll remove the old version in a couple days.