Bug 707910

Summary: multilib conflict on /usr/bin/sane-config
Product: [Fedora] Fedora Reporter: Edward Sheldrake <ejsheldrake>
Component: sane-backendsAssignee: Nils Philippsen <nphilipp>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: aros, cskeogh, lats, nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: sane-backends-1.0.22-4.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-05 03:50:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
pkg-config only version of sane-config
none
Patch to fix the multilib conflict in sane-config file, by removing everything except the pkg-config wrapper parts of sane-config.
none
Source rpm containing the sane-backends-1.0.22.multilib-fix.patch none

Description Edward Sheldrake 2011-05-26 10:17:05 UTC
Description of problem:
file /usr/bin/sane-config conflicts between attempted installs of sane-backends-devel-1.0.22-3.fc15.i686 and sane-backends-devel-1.0.22-3.fc15.x86_64

Version-Release number of selected component (if applicable):
sane-backends-1.0.22-3.fc15

How reproducible:
Always

Steps to Reproduce:
1. Try to install sane-backends-devel i686 and x86_64
2.
3.
  
Actual results:
Conflict on /usr/bin/sane-config

Expected results:
No conflict - there was no conflict in Fedora 14 and earlier.

Additional info:
This is the diff between the sane-configs

--- i686/usr/bin/sane-config	2011-05-10 09:34:55.000000000 +0100
+++ x86_64/usr/bin/sane-config	2011-05-10 09:36:29.000000000 +0100
@@ -12,7 +12,7 @@
 prefix="/usr"
 exec_prefix="/usr"
 
-LDFLAGS="  -L/lib"
+LDFLAGS="  -L/lib64"
 LIBS=" -ldl -lv4l1   -lm -ltiff -ljpeg  -lgphoto2 -lgphoto2_port -lm -lexif -lusb       -lusb  "
 pkgincludedir="@pkgincludedir@"
 pkglibdir="@pkglibdir@"

I think the -L/lib64 comes from libusb.pc via libgphoto2.pc.

Comment 1 Edward Sheldrake 2011-06-16 12:16:31 UTC
Created attachment 505030 [details]
pkg-config only version of sane-config

One solution is to remove everything except the pkg-config wrapper parts of sane-config.

Comment 2 vitor.dominor 2011-09-07 02:00:12 UTC
Created attachment 521781 [details]
Patch to fix the multilib conflict in sane-config file, by removing everything except the pkg-config wrapper parts of sane-config.

I added this patch to the sane-backends-1.0.22 spec file and rebuild its source rpm and binary rpms. It's supposed to be applied over the resulting sane-config file from applying the patch sane-backends-1.0.22-pkgconfig.
I then installed simultaneously both sane-backends devel packages and there was no longer any multilib conflict.

Comment 3 vitor.dominor 2011-09-07 02:02:45 UTC
Created attachment 521782 [details]
Source rpm containing the sane-backends-1.0.22.multilib-fix.patch

Comment 4 Nils Philippsen 2011-09-16 10:34:28 UTC
*** Bug 728588 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2011-09-16 14:34:58 UTC
sane-backends-1.0.22-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/sane-backends-1.0.22-4.fc15

Comment 6 Fedora Update System 2011-09-18 00:57:31 UTC
Package sane-backends-1.0.22-4.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing sane-backends-1.0.22-4.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/sane-backends-1.0.22-4.fc15
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-10-05 03:50:23 UTC
sane-backends-1.0.22-4.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.