Red Hat Bugzilla – Bug 154616
hal requires libusb but libusb is excluded arch for s390
Last modified: 2013-03-05 22:43:04 EST
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.
Group: System Environment/Libraries
BuildRequires: docbook-dtds >= 1.0-5
ExcludeArch: s390 s390x
Version-Release number of selected component (if applicable):
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.
Do you have a patch for the spec file?
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)
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.
sorry about the delay - I had a few corrupted fs's (unrelated to this bug) to
take care of..
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.