Bug 965569

Summary: FTBFS on s390(x)
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: alsa-toolsAssignee: Tim Jackson <rpm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: jkysela, rpm
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Fixed In Version: alsa-tools-1.0.27-2.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-24 20:29:23 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:
Bug Depends On:    
Bug Blocks: 467765, 967422    
Description Flags
proposed fix none

Description Dan Horák 2013-05-21 11:23:35 UTC
Created attachment 751039 [details]
proposed fix

Build of alsa-tools fails on s390(x) because the <sys/io.h> header is missing there. In my opinion it'd be better to have a positive list in the #if preprocessor command instead of (wrong) #ifndef __PPC__.

Version-Release number of selected component (if applicable):

Comment 1 Fedora Update System 2013-05-21 11:27:22 UTC
alsa-tools-1.0.27-2.fc19 has been submitted as an update for Fedora 19.

Comment 2 Dan Horák 2013-05-21 11:49:20 UTC
relevant part of build.log for the record:

configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
+ /usr/bin/make -j4
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hda-verb\" -DVERSION=\"0.4\" -DSTDC_HEADERS=1 -I.     -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m31 -march=z9-109 -mtune=z10 -c hda-verb.c
hda-verb.c:17:20: fatal error: sys/io.h: No such file or directory
 #include <sys/io.h>
compilation terminated.
make: *** [hda-verb.o] Error 1

Comment 3 Fedora Update System 2013-05-21 17:17:52 UTC
Package alsa-tools-1.0.27-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing alsa-tools-1.0.27-2.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-05-24 20:29:23 UTC
alsa-tools-1.0.27-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.