Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 154616 - hal requires libusb but libusb is excluded arch for s390
Summary: hal requires libusb but libusb is excluded arch for s390
Alias: None
Product: Fedora
Classification: Fedora
Component: hal
Version: rawhide
Hardware: s390
OS: Linux
Target Milestone: ---
Assignee: David Zeuthen
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-04-13 02:13 UTC by Geoff O'Callaghan
Modified: 2013-03-06 03:43 UTC (History)
1 user (show)

Fixed In Version: 0.5.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-05-03 20:40:11 UTC

Attachments (Terms of Use)
disable requirement for libusb on s390(x) (deleted)
2005-04-21 00:48 UTC, Geoff O'Callaghan
no flags Details | Diff
add buildrequires for perl-XML-Parser (deleted)
2005-04-21 00:50 UTC, Geoff O'Callaghan
no flags Details | Diff

Description Geoff O'Callaghan 2005-04-13 02:13:15 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1

Description of problem:
When trying to install rawhide hal pkg Package hal.s390 0:0.5.0.cvs20050404b-2 set to be updated I get
Error: Missing Dependency: libusb >= 0.1.10a-1 is needed by package hal

libusb rpm doesn't exist for s390 in rawhide so I attempted build from srpm.

rpmbuild -bb libusb.spec 2>&1 > libusb.log
error: Architecture is excluded: s390
Summary: A library which allows userspace access to USB devices.
Name: libusb
Version: 0.1.10a
Release: 1
License: LGPL
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: docbook-utils
BuildRequires: docbook-dtds >= 1.0-5
BuildRequires: xorg-x11-devel
ExcludeArch: s390 s390x

Version-Release number of selected component (if applicable):
hal.s390 0:0.5.0.cvs20050404b-2

How reproducible:

Steps to Reproduce:
1.  try installing the rawhide version of hal on a fedora (s390) rawhide system

Actual Results:  see description

Expected Results:  package should have been installed - libusb doesn't make sense on s390 or s390x.
I haven't checked to see if hal actually has a requirement for usb that will make it function incorrectly on s390 or whether this is simply a dep that can be removed for s390(x) builds.

Additional info:

Comment 1 David Zeuthen 2005-04-18 15:41:54 UTC
Do you have a patch for the spec file?

Comment 3 Geoff O'Callaghan 2005-04-21 00:48:01 UTC
Created attachment 113450 [details]
disable requirement for libusb on s390(x)

libusb doesn't make sense on s390(x) and libusb is excludedarch so there is no
point requiring it for hal.  This patch disables the requirement for s390(x)

Comment 4 Geoff O'Callaghan 2005-04-21 00:50:07 UTC
Created attachment 113451 [details]
add buildrequires for perl-XML-Parser

I noticed during testing of the previous patch I submitted that perl-XML-Parser
was actually required for builds so this patch adds the buildrequires.

Comment 5 Geoff O'Callaghan 2005-04-21 00:52:48 UTC
sorry about the delay - I had a few corrupted fs's (unrelated to this bug) to
take care of..

Comment 6 David Zeuthen 2005-05-03 20:40:11 UTC
I think this is actually now fixed with 0.5.1-1 otherwise please reopen. The
perl-XML-Parser buildrequire is bogus - intltool should drag in perl-XML-Parser
if it needs it.

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