Bug 758386 - unixODBC-debuginfo - file ... conflicts between attempted installs of
Summary: unixODBC-debuginfo - file ... conflicts between attempted installs of
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: qt
Version: 5.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Than Ngo
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-29 17:36 UTC by Karel Volný
Modified: 2013-04-15 09:15 UTC (History)
6 users (show)

Fixed In Version: qt-3.3.6-26.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-20 07:21:10 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:1176 0 normal SHIPPED_LIVE qt bug fix update 2012-08-20 11:20:16 UTC

Description Karel Volný 2011-11-29 17:36:47 UTC
Description of problem:
multilib debuginfo packages of unixODBC cannot be installed along because the source files are not identical - the problem is that the source files are generated during the build and timestamp is put into files, for example:

.qa.[root@x86-64-5s-m1 tps]# diff mclassBrowse.cpp.i386 mclassBrowse.cpp.x86_64
4c4
< ** Created: Tue Oct 18 11:59:34 2011
---
> ** Created: Tue Oct 18 11:59:27 2011

this causes TPS failure


Version-Release number of selected component (if applicable):
unixODBC-2.2.11-10.el5

How reproducible:
always

Steps to Reproduce:
(0. login to stablesystem)
1. tps-cd 12096
2. tps-upgrade
  
Actual results:
        file /usr/src/debug/unixODBC-2.2.11/DataManager/mclassBrowse.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManager/mclassBrowseFrame.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManager/mclassCanvas.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManager/mclassConnectionFrame.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManager/mclassDataManager.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManager/mclassISQL.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManager/mclassLogin.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManagerII/mclassBrowse.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManagerII/mclassBrowseFrame.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManagerII/mclassCanvas.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManagerII/mclassConnectionFrame.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManagerII/mclassDataManager.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManagerII/mclassISQL.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/DataManagerII/mclassLogin.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCAbout.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCCredits.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCDSNList.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCDriverPrompt.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCDrivers.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCFileDSN.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCFileList.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCFileSelector.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCODBCConfig.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCProperties.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCPropertiesFrame.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCStatDetails.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCStatSummary.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCStats.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCSystemDSN.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCTracing.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbcinstQ/mCUserDSN.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbctest/moc_attr.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbctest/moc_catalog.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbctest/moc_conn.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbctest/moc_desc.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbctest/moc_diag.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbctest/moc_env.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbctest/moc_odbctest.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbctest/moc_results.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbctest/moc_stmt.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64
        file /usr/src/debug/unixODBC-2.2.11/odbctest/moc_tools.cpp conflicts between attempted installs of unixODBC-debuginfo-2.2.11-10.el5.i386 and unixODBC-debuginfo-2.2.11-10.el5.x86_64


Expected results:
(no conflicts, both debuginfo packages install along)

Additional info:
there'd be suspicion that the problem is caused by the fixes for bug #740291, as mentioned for example in bug #756304 or bug #752493, however I experience the problem also with old rpm version rpm-4.4.2.3-22.el5_7.2 (tried to downgrade to old packages before RHBA-2011:12209)

Comment 1 Tom Lane 2011-12-19 19:21:09 UTC
Is this still a live issue?  You mentioned something about an rpm change getting reverted in the erratum notes.

Comment 2 Karel Volný 2011-12-20 10:53:33 UTC
(In reply to comment #1)
> Is this still a live issue?

the files in packages still differ which they shouldn't ...

> You mentioned something about an rpm change
> getting reverted in the erratum notes.

... however, TPS now passes, most probably thanks to the mentioned revert

(by "most probably" I mean that I've experienced this problem with two different rpm versions which shouldn't have happened ... but maybe I've missed something)

now that the problem got hidden again, it is not so pressing so we may shift to 5.9 or even say WONTFIX ...

Comment 3 Tom Lane 2012-01-25 01:38:09 UTC
It appears that the timestamps get inserted by Qt's "moc" preprocessor, and that there is no way to suppress that behavior, hence the only possible fix would be to "sed" out the timestamps after invoking moc.  Which is doable but painful, and probably not worth the trouble right now.

Even more to the point, this issue will affect every package that uses moc-built sources.  So I think the really best fix is to lobby our Qt packager to remove the timestamp-insertion code in moc itself.

Comment 5 Karel Volný 2012-01-25 13:53:12 UTC
(In reply to comment #3)
> It appears that the timestamps get inserted by Qt's "moc" preprocessor, and
> that there is no way to suppress that behavior, hence the only possible fix
> would be to "sed" out the timestamps after invoking moc.

thanks for investigating

> Which is doable but
> painful, and probably not worth the trouble right now.

agree

> Even more to the point, this issue will affect every package that uses
> moc-built sources.  So I think the really best fix is to lobby our Qt packager
> to remove the timestamp-insertion code in moc itself.

ok, are you going to switch this to qt then?

Comment 7 Tom Lane 2012-01-25 15:02:47 UTC
I intended to file a separate bug against qt, but since this one got switched, here it is.

I'm not sure how important it is to fix this in RHEL5, but it would at least be a good idea if it got changed in rawhide to eliminate such problems going forward.  (I've checked and moc is still doing this at least as of the version in Fedora 16.)

Comment 18 errata-xmlrpc 2012-08-20 07:21:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-1176.html


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