Bug 1749508 - Inverted arch logic excludes spatialite use
Summary: Inverted arch logic excludes spatialite use
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: gdal
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: markusN
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-05 18:47 UTC by Brian Sipos
Modified: 2024-07-09 02:55 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-09 02:55:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.