Bug 1336466 - FTBFS on big endian arches
Summary: FTBFS on big endian arches
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: webrtc-audio-processing
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christian Schaller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: ZedoraTracker PPCTracker 1335536
TreeView+ depends on / blocked
 
Reported: 2016-05-16 14:35 UTC by Dan Horák
Modified: 2016-05-25 16:03 UTC (History)
5 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2016-05-24 13:23:29 UTC


Attachments (Terms of Use)

Description Dan Horák 2016-05-16 14:35:23 UTC
webrtc-audio-processing-0.2 fails to build on big endian arches with
...
libtool: compile:  g++ -DPACKAGE_NAME=\"webrtc-audio-processing\" -DPACKAGE_TARNAME=\"webrtc-audio-processing\" -DPACKAGE_VERSION=\"0.2\" "-DPACKAGE_STRING=\"webrtc-audio-processing 0.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"webrtc-audio-processing\" -DVERSION=\"0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -std=c++11 -DWEBRTC_AUDIO_PROCESSING_ONLY_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DNDEBUG -I../.. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=z9-109 -mtune=z10 -c wav_file.cc  -fPIC -DPIC -o .libs/libcommon_audio_la-wav_file.o
wav_file.cc:68:2: error: #error "Need to convert samples to big-endian when reading from WAV file"
 #error "Need to convert samples to big-endian when reading from WAV file"
  ^~~~~
wav_file.cc:123:2: error: #error "Need to convert samples to little-endian when writing to WAV file"
 #error "Need to convert samples to little-endian when writing to WAV file"
  ^~~~~
...

for full logs please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2230833


Version-Release number of selected component (if applicable):
webrtc-audio-processing-0.2-1.fc25

Comment 1 Rex Dieter 2016-05-16 18:02:48 UTC
Boo,

I guess we'll just have to ExcludeArch big-endian archs (or ExclusiveArch known-good archs).

do you have a preference which approach I use here?

Comment 2 Dan Horák 2016-05-16 19:33:48 UTC
I would go with ExclusiveArch and sync that list with pulseaudio (FF seems to use bundled webrtc).

Comment 3 Rex Dieter 2016-05-16 19:47:26 UTC

%changelog
* Mon May 16 2016 Rex Dieter <rdieter@fedoraproject.org> - 0.2-3
- ExclusiveArch primary archs, FTBFS on big endian arches (#1336466)

Comment 4 Ngo Than 2016-05-24 13:23:29 UTC
big endian support is added in webrtc-audio-processing-0.2-4.fc25

Comment 5 Ngo Than 2016-05-25 16:03:50 UTC
it's reported to upstream bugzilla:
 https://bugs.freedesktop.org/show_bug.cgi?id=95738


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