Bug 965569 - FTBFS on s390(x)
Summary: FTBFS on s390(x)
Alias: None
Product: Fedora
Classification: Fedora
Component: alsa-tools
Version: 19
Hardware: s390x
OS: Unspecified
Target Milestone: ---
Assignee: Tim Jackson
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ZedoraTracker 967422
TreeView+ depends on / blocked
Reported: 2013-05-21 11:23 UTC by Dan Horák
Modified: 2013-05-28 12:24 UTC (History)
2 users (show)

Fixed In Version: alsa-tools-1.0.27-2.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-05-24 20:29:23 UTC

Attachments (Terms of Use)
proposed fix (450 bytes, patch)
2013-05-21 11:23 UTC, Dan Horák
no flags Details | Diff

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.

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