Bug 1252493

Summary: Make check for libgusb on ppc64/ppc64le
Product: Red Hat Enterprise Linux 7 Reporter: Vadim Rutkovsky <vrutkovs>
Component: libusbxAssignee: Hans de Goede <hdegoede>
Status: CLOSED CURRENTRELEASE QA Contact: Kernel-QE - Hardware <kernel-qe-hw>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64le   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-30 16:14:46 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 Vadim Rutkovsky 2015-08-11 14:31:19 UTC
Description of problem:
Make check on ppc64/ppc64le 

Version-Release number of selected component (if applicable):
libgusb-0.1.6-3.el7.ppc64
libgusb-0.1.6-3.el7.ppc64le

How reproducible:
Always

Steps to Reproduce:
1. Run 'make check' in libgusb buildroot

Actual results:
make[2]: Entering directory `/home/test/rpmbuild/BUILD/libgusb-0.1.6/gusb'
/gusb/context: **
libgusb:ERROR:gusb-self-test.c:37:gusb_context_func: assertion failed (error == NULL): failed to init libusb: Other error [-99] (g_usb_context_error, 0)
/bin/sh: line 5: 18837 Aborted                 ${dir}$tst
FAIL: gusb-self-test


Expected results:
All tests pass (same as on x86_64)

Additional info:

Comment 2 Hans de Goede 2019-07-30 16:14:46 UTC
This has been fixed a long time ago:
https://github.com/libusb/libusb/commit/a6a7b53b6312ac06df87e501bf65340b457d0aaf

And RHEL-7's libusbx now is new enough to include this fix, closing.