Bug 749834 - Missing arch in dependencies
Summary: Missing arch in dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-28 16:45 UTC by Mads Kiilerich
Modified: 2012-03-19 17:23 UTC (History)
2 users (show)

Fixed In Version: system-config-printer-1.3.7-3.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-19 17:23:30 UTC
Type: ---


Attachments (Terms of Use)

Description Mads Kiilerich 2011-10-28 16:45:27 UTC
On a x64_64 custom live image (with some i686 packages) I ended up with system-config-printer-1.3.7-2.fc16.x86_64 with for example pygobject2-2.28.6-2.fc16.i686 as resolution of the pygobject2 requirement. That didn't work. system-config-printer on x86_64 will use python.x86_64 and it thus can't use the python libraries from pygobject2.i686.

"Fortunately" system-config-printer isn't noarch (because of /lib/udev/udev-configure-printer?) and it could and should use arch specific requires (http://fedoraproject.org/wiki/Packaging:Guidelines#Explicit_Requires ).

As far as I can see the requires section should/could look like this:

Requires: pygtk2%{?_isa} >= 2.12
Requires: pygobject2%{?_isa}
Requires: desktop-file-utils >= 0.2.92
Requires: dbus-x11
Requires: dbus-python%{?_isa}
Requires: system-config-printer-libs = %{version}-%{release}
Requires: gnome-icon-theme
Requires: desktop-notification-daemon
Requires: notify-python%{?_isa}
Requires: gnome-python2-gnomekeyring%{?_isa}
Requires: libxml2-python%{?_isa}
Requires: python-smbc%{?_isa}
Requires: python-slip-gtk

Comment 1 Tim Waugh 2011-11-04 15:56:55 UTC
Same is true on F-15.  Thanks for the correction.

Comment 2 Tim Waugh 2012-02-06 14:36:50 UTC
This fix is included in an update:
https://admin.fedoraproject.org/updates/FEDORA-2012-0923

Comment 3 Tim Waugh 2012-03-19 17:23:30 UTC
system-config-printer-1.3.8-4.fc15, python-cups-1.9.60-2.fc15 has been pushed
to the Fedora 15 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.