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
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?
I would go with ExclusiveArch and sync that list with pulseaudio (FF seems to use bundled webrtc).
%changelog * Mon May 16 2016 Rex Dieter <rdieter> - 0.2-3 - ExclusiveArch primary archs, FTBFS on big endian arches (#1336466)
big endian support is added in webrtc-audio-processing-0.2-4.fc25
it's reported to upstream bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95738