Bug 1499418

Summary: Build-id conflicts between qcad and qt5-qtbase-gui packages
Product: [Fedora] Fedora Reporter: Antonio T. (sagitter) <anto.trande>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 27CC: ffesti, helio, ignatenko, mjw, packaging-team-maint, pmatilai, pmoravco, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-14 21:33:53 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 Antonio T. (sagitter) 2017-10-07 11:15:40 UTC
Description of problem:

I don't know how to fix this type of conflict:

file /usr/lib/.build-id/c0/d2a54b63df78263e4b6f5e6d51ff46b04a85bf from install of qcad-3.18.1.0-1.fc27.x86_64 conflicts with file from package qt5-qtbase-gui-5.9.1-9.fc27.x86_64

Version-Release number of selected component (if applicable):
qcad-3.18.1.0.fc27
qt5-qtbase-gui-5.9.1-9.fc27

How reproducible:
Update qcad-3.18.1.0 from updates-testing repository.

Steps to Reproduce:
dnf install qcad --enablerepo=updates-testing on fedora 27

Actual results:
https://bodhi.fedoraproject.org/updates/qcad-3.18.1.0-1.fc27#comment-671905

Expected results:
No conflicts.

Additional info:
'qcad-3.18.1.0' looks affected by this bug on fedora 27 only.

Comment 1 Mark Wielaard 2017-10-07 11:27:49 UTC
I believe this came up in another bug report (about a different issue):
https://bugzilla.redhat.com/show_bug.cgi?id=1436856#c12
(see also the comment just above that for some analysis)

This is probably the relevant issue (from that comment):

I think this is some kind of packaging bug in qcad. It seems to have literally copied the qt5/plugins/printsupport/libcupsprintersupport.so file.

If you look in the qcad.spec then you see that it does symlink the qt5 plugins for codecs, designer, imageformats and sqldrivers.

So you have:

$ ls -lah usr/lib64/qcad/plugins/sqldrivers/*
lrwxrwxrwx. 1 mark mark 47 Jul  8 15:11 usr/lib64/qcad/plugins/sqldrivers/libqsqlite.so -> /usr/lib64/qt5/plugins/sqldrivers/libqsqlite.so

Probably printsupport was missed and instead of symlinking the qt5/plugins/printsupport driver it was copied.

Comment 2 Fedora Update System 2017-10-08 18:58:16 UTC
qcad-3.18.1.0-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-14f4c8d290

Comment 3 Fedora Update System 2017-10-08 23:52:46 UTC
qcad-3.18.1.0-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-14f4c8d290

Comment 4 Fedora Update System 2017-10-14 21:33:53 UTC
qcad-3.18.1.0-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.