Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 607456

Summary: sci-geosciences/osm2pgsql-0.90.0 : /.../GeometryFactory.h:420:2: error: ‘geos::geom::GeometryFactory::GeometryFactory()’ is protected
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED FIXED    
Severity: normal CC: pgsql-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sci-geosciences:osm2pgsql-0.90.0:20170128-090758.log

Description Toralf Förster gentoo-dev 2017-01-28 09:24:03 UTC
In file included from /var/tmp/portage/sci-geosciences/osm2pgsql-0.90.0/work/osm2pgsql-0.90.0/geometry-builder.cpp:39:0:
/usr/include/geos/geom/GeometryFactory.h: In member function ‘geometry_builder::pg_geom_t geometry_builder::get_wkb_simple(const nodelist_t&, int) const’:
/usr/include/geos/geom/GeometryFactory.h:420:2: error: ‘geos::geom::GeometryFactory::GeometryFactory()’ is protected
  GeometryFactory();
  ^

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named desktop-unstable_20170121-000413) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config --version:
3.9.1
Available Java Virtual Machines:
  [1]   icedtea-7 
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8  system-vm
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.8 [icedtea-7]
2)	IcedTea JDK 7.2.6.8 [icedtea-bin-7]
*)	IcedTea JDK 3.2.0 [icedtea-bin-8]
  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-01-28 09:24:06 UTC
Created attachment 461676 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-28 09:24:09 UTC
Created attachment 461678 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-01-28 09:24:12 UTC
Created attachment 461680 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-01-28 09:24:15 UTC
Created attachment 461682 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-01-28 09:24:18 UTC
Created attachment 461684 [details]
sci-geosciences:osm2pgsql-0.90.0:20170128-090758.log
Comment 6 bugtrack 2017-02-08 08:55:58 UTC
This is known to upstream:

https://github.com/openstreetmap/osm2pgsql/issues/634

Seems like they prefer to depend on GEOS < 3.6.0 for the moment.
Comment 7 Amy Liffey gentoo-dev 2017-02-10 10:32:11 UTC
commit dd361c5a36dfc26991ce8827ef9e4f863948eef4
Author: Amy Liffey <amynka@gentoo.org>
Date:   Fri Feb 10 11:24:18 2017 +0100

    sci-geosciences/osm2pgsql: fix dep bug #607456
    
    Suggested-by: bugtrack@web.de
    Upstream-bug: https://github.com/openstreetmap/osm2pgsql/issues/634

Thank you !