Bug 1710108

Summary: Can't install due to dependency on older ABI of libgeos
Product: [Fedora] Fedora Reporter: Brian Sipos <BSipos>
Component: osgearthAssignee: Sandro Mani <manisandro>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 30CC: manisandro
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: osgearth-2.7-20.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-04 02:00:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Update for geos-3.7 API change none

Description Brian Sipos 2019-05-14 21:43:43 UTC
Description of problem:
The current "osgearth" package was built against and depends upon an older libgeos package. This makes the osgearth package not installable.


Version-Release number of selected component (if applicable):
osgearth-2.7-19.fc30
geos-3.7.1-1.fc30


How reproducible:
Consistently with current repositories

Steps to Reproduce:
1. Attempt to install package as "sudo dnf install osgearth".
2. Observe the dnf error :
 Problem: conflicting requests
  - nothing provides libgeos-3.6.1.so needed by osgearth-2.7-19.fc30.i686
  - nothing provides libgeos-3.6.1.so()(64bit) needed by osgearth-2.7-19.fc30.x86_64

Actual results:
The package cannot be installed.

Expected results:
The package should be installable.

Additional info:
I attempted to rebuild from src rpm and I ran into an API compatibility issue with geos 3.7 apparently:
/home/bsipos/rpmbuild/BUILD/osgearth-osgearth-2.7/src/osgEarthSymbology/GEOS:48:38: error: 'unique_ptr' in 'class geos::geom::GeometryFactory' does not name a type
   48 |         geos::geom::GeometryFactory::unique_ptr _factory;
      |                                      ^~~~~~~~~~

Comment 1 Brian Sipos 2019-05-14 22:11:00 UTC
Created attachment 1568717 [details]
Update for geos-3.7 API change

I've attached a potential patch which updates for the new GEOS API. This will compile but I've not actually run any application which uses the recompiled package.

Comment 2 Fedora Update System 2019-05-20 16:15:30 UTC
osgearth-2.7-20.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3b151c1651

Comment 3 Fedora Update System 2019-05-21 01:59:43 UTC
osgearth-2.7-20.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-3b151c1651

Comment 4 Fedora Update System 2019-06-04 02:00:14 UTC
osgearth-2.7-20.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.