Bug 444486 - Packages 'python-tools' and 'python-debuginfo' have conflicts when installing both 32- and 64-bit
Packages 'python-tools' and 'python-debuginfo' have conflicts when installing...
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: python (Show other bugs)
rawhide
powerpc Linux
low Severity low
: ---
: ---
Assigned To: James Antill
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-28 12:41 EDT by Sérgio Durigan Júnior
Modified: 2008-04-29 17:45 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-04-29 17:45:05 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 Sérgio Durigan Júnior 2008-04-28 12:41:31 EDT
Description of problem
======================

I have built Python from its src.rpm on a biarch PPC machine (64-bit kernel, and
a mainly 32-bit userspace, with some apps being 64-bit), generating packages for
ppc.rpm and ppc64.rpm.

The problem is that when I try to install both packages on the system, I receive
some conflict messages regarding 'python-tools' and 'python-debuginfo'. To be exact:

[root@bart ~]# rpm -ivh /home/sergio/work/ppc/python/*.rpm
Preparing...                ########################################### [100%]
   1:python                 ########################################### [ 17%]
   2:python-libs            ########################################### [ 33%]
   3:tkinter                ########################################### [ 50%]
   4:python-debuginfo       ########################################### [ 67%]
   5:python-devel           ########################################### [ 83%]
   6:python-tools           ########################################### [100%]


The line above installs Python for PPC. Now, when I try to install Python for PPC64:

[root@bart ~]# rpm -ivh /home/sergio/work/ppc64/python/*.rpm
Preparing...                ########################################### [100%]
        package python-libs-2.5.1-15.fc8 is already installed
        file /usr/src/debug/Python-2.5.1/Modules/getpath.c from install of
python-debuginfo-2.5.1-15.fc8 conflicts with file from package
python-debuginfo-2.5.1-15.fc8
        file /usr/bin/modulator from install of python-tools-2.5.1-15.fc8
conflicts with file from package python-tools-2.5.1-15.fc8
        file /usr/bin/msgfmt.pyc from install of python-tools-2.5.1-15.fc8
conflicts with file from package python-tools-2.5.1-15.fc8
        file /usr/bin/msgfmt.pyo from install of python-tools-2.5.1-15.fc8
conflicts with file from package python-tools-2.5.1-15.fc8
        file /usr/bin/pygettext.pyc from install of python-tools-2.5.1-15.fc8
conflicts with file from package python-tools-2.5.1-15.fc8
        file /usr/bin/pygettext.pyo from install of python-tools-2.5.1-15.fc8
conflicts with file from package python-tools-2.5.1-15.fc8
        file /usr/bin/pynche from install of python-tools-2.5.1-15.fc8 conflicts
with file from package python-tools-2.5.1-15.fc8
        file /usr/bin/smtpd.pyc from install of python-tools-2.5.1-15.fc8
conflicts with file from package python-tools-2.5.1-15.fc8
        file /usr/bin/smtpd.pyo from install of python-tools-2.5.1-15.fc8
conflicts with file from package python-tools-2.5.1-15.fc8

AFAIK, this shouldn't happen.

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

python-2.5.1-15.fc8.src.rpm
Comment 1 James Antill 2008-04-28 13:46:32 EDT
 I'm confused, python in rawhide is at ~2.5.1-23 ... and it isn't multilib
(python-libs is, but that's all).
 Also, using python-2.5.1-23, I don't see /usr/bin/smtpd.pyc or .pyo being
installed ... just the .py files.
Comment 2 Sérgio Durigan Júnior 2008-04-28 14:19:12 EDT
You're right, that's my fault. I was using an old version of the .src.rpm. Let
me check with the proper version.
Comment 3 Sérgio Durigan Júnior 2008-04-28 16:21:21 EDT
Now I'm using the correct version of Python. These files (*.pyo and *.pyc) are
still in my python-tools package, but I've noted an interesting thing: if I use
"mock", these files are not included. Only if I build the packages using:

rpmbuild --target ppc -bb SPECS/python.spec

the error happens. I'm still trying to figure out what's messing things up in
rpmbuild (or what mock does that avoid this misbehaviour).

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