Bug 1749508

Summary: Inverted arch logic excludes spatialite use
Product: [Fedora] Fedora EPEL Reporter: Brian Sipos <BSipos>
Component: gdalAssignee: markusN <neteler>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel7CC: alex, devrim, jmlich83, mmahut, oliver, orion, pavel.lisy, pertusus, praiskup, volker27
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-09 02:55:52 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:

Description Brian Sipos 2019-09-05 18:47:34 UTC
Description of problem:
There is a fragment of the RPM spec file below which includes a bad logical check on the RHEL-7 architecture for including spatialite dependency. Spatialite is not available on ppc64 but the logic excludes its use except for ppc64.

Version-Release number of selected component (if applicable):
gdal-1.11.4-3

How reproducible:
Consistently

Steps to Reproduce:
1. Observe the runtime dependencies of the gdal packages don't include libspatialite.
2. Attempt to use spatialite within application using GDAL (including ogr2ogr) and observe failure.

Actual results:
Cannot use spatialite extensions.

Expected results:
Should be able to use spatialite.

Additional info:

Current spec file fragment:
# No ppc64 build for spatialite in EL7                                                                                                                                       
# https://bugzilla.redhat.com/show_bug.cgi?id=663938                                                                                                                         
%if 0%{?rhel} == 7
%ifnarch ppc64
%global with_spatialite 0
%global spatialite "--without-spatialite"
%endif
%endif

Should instead include the line:
%ifarch ppc64

Comment 1 Fedora Admin user for bugzilla script actions 2020-07-28 14:55:30 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 2 markusN 2020-07-28 15:12:07 UTC
The version gdal-1.11 is completely outdated, current version is 3.1. Personally, I do not have the time nor knowledge to prepare a gdal-compat package. Any volunteer?

Comment 3 Troy Dawson 2024-07-09 02:55:52 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.