Bug 451387 - multilib conflicts in postgis package
multilib conflicts in postgis package
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: postgis (Show other bugs)
9
powerpc Linux
low Severity medium
: ---
: ---
Assigned To: Devrim GUNDUZ
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-13 19:07 EDT by Thiago Jung Bauermann
Modified: 2008-09-10 03:13 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-08-13 16:09:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Thiago Jung Bauermann 2008-06-13 19:07:15 EDT
Description of problem:

It is not possible to install the .ppc.rpm and the .ppc64.rpm packages of
postgis at the same time, because of file conflicts. This affects me on the
PowerPC platform, but I believe it will also be a problem in x86_64 which is
also a biarch architecture.

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

postgis-1.3.3-1.fc9

How reproducible:

Always

Steps to Reproduce:
1. Grab postgis-1.3.3-1.fc9.ppc.rpm and postgis-1.3.3-1.fc9.ppc64.rpm from the
Everything repository
2. sudo rpm -ivh postgis-1.3.3-1.fc9.ppc.rpm postgis-1.3.3-1.fc9.ppc64.rpm
  
Actual results:

  file /usr/share/pgsql/contrib/lwpostgis.sql from install of
postgis-1.3.3-1.fc9.ppc conflicts with file from package postgis-1.3.3-1.fc9.ppc64
  file /usr/share/pgsql/contrib/lwpostgis_upgrade.sql from install of
postgis-1.3.3-1.fc9.ppc conflicts with file from package postgis-1.3.3-1.fc9.ppc64

Expected results:

Successful installation of both packages.
Comment 1 Toshio Ernie Kuratomi 2008-06-14 13:30:59 EDT
It looks like the problem files do need to differ (because they are referencing
the modules located in /usr/lib64 or /usr/lib).  So the best method of dealing
with this is probably to rename them in the spec file.  Something like this at
the end of install should work::

if [ "%{_libdir}" = "/usr/lib64" ] ; then
    mv %{buildroot}%{_datadir}/pgsql/contrib/lwpostgis.sql
%{buildroot}%{_datadir}/pgsql/contrib/lwpostgis-64.sql
    mv %{buildroot}%{_datadir}/pgsql/contrib/lwpostgis_upgrade.sql
%{buildroot}%{_datadir}/pgsql/contrib/lwpostgis_upgrade-64.sql
fi

Note that I haven't tested that thoroughly as I don't have an x86_64 at the moment.
Comment 2 Devrim GUNDUZ 2008-08-11 04:18:55 EDT
I will take a look at this tonight. sorry for the delay.
Comment 3 Devrim GUNDUZ 2008-08-11 17:02:49 EDT
Ok, pushed to -devel and back branches.
Comment 4 Fedora Update System 2008-08-11 17:14:26 EDT
postgis-1.3.3-2.fc9 has been submitted as an update for Fedora 9
Comment 5 Fedora Update System 2008-08-11 17:15:38 EDT
postgis-1.3.3-2.fc8 has been submitted as an update for Fedora 8
Comment 6 Thiago Jung Bauermann 2008-08-13 15:57:11 EDT
Hi,

I just verified the fix:

% sudo rpm -ivh postgis-1.3.3-2.fc9.ppc*
Preparing...                ########################################### [100%]
   1:postgis                ########################################### [ 50%]
   2:postgis                ########################################### [100%]
% rpm -qa | grep postgis
postgis-1.3.3-2.fc9.ppc64
postgis-1.3.3-2.fc9.ppc

Thanks!
Comment 7 Devrim GUNDUZ 2008-08-13 16:09:31 EDT
Thanks. I am now closing this bug.
Comment 8 Fedora Update System 2008-09-10 02:47:12 EDT
postgis-1.3.3-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2008-09-10 03:13:01 EDT
postgis-1.3.3-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

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