testing/mplayer2 won't build
When trying to build mplayer2 2.0-3 on an up to date edge system (as per 4 Nov 2013), the build fails.
>>> mplayer2: Unpacking /var/cache/distfiles/mplayer2-2.0.tar.xz...
>>> mplayer2: mplayer-gcc-4.6-audio-fix.patch
patching file mp3lib/dct64_sse.c
>>> mplayer2: c33fafd6f1bc2a430c114231cecc6e1c56c1f939.patch
patching file av_log.c
Hunk #1 succeeded at 56 (offset -1 lines).
patching file av_opts.c
patching file libmpcodecs/ad_ffmpeg.c
patching file libmpcodecs/vd_ffmpeg.c
Hunk #2 succeeded at 539 (offset -2 lines).
Hunk #3 succeeded at 783 (offset -2 lines).
patching file libmpcodecs/vf_geq.c
patching file libmpcodecs/vf_pp.c
patching file libmpdemux/demux_lavf.c
Hunk #2 succeeded at 366 (offset 5 lines).
Hunk #3 succeeded at 437 (offset 4 lines).
Hunk #4 succeeded at 480 (offset 4 lines).
Hunk #5 succeeded at 759 (offset 1 line).
Hunk #6 succeeded at 930 (offset 5 lines).
Detected operating system: Linux
Detected host architecture: i386
Checking for host cc ... cc
Checking for cross compilation ... yes
cc: error: /usr/share/gcc/hardenednopie.specs: No such file or directory
cc: error: /usr/share/gcc/hardenednopie.specs: No such file or directory
Checking for GCC & CPU optimization abilities ... i486
Checking for byte order ... failed to autodetect byte order, defaulting to little-endian
Checking for extern symbol prefix ...
Error: Symbol mangling check failed.
Check "config.log" if you do not understand why it failed.
>>> ERROR: mplayer2: all failed
Removing the gcc spec envvar export in the APKBUILD we get:
gcc -MD -MP -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wdisabled-optimization -Wno-pointer-sign -std=gnu99 -Os -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -Os -fomit-frame-pointer -DPIC -D_REENTRANT -I/usr/include/freetype2 -c -o libmpcodecs/vf_eq2.o libmpcodecs/vf_eq2.c
libmpcodecs/vf_eq.c: In function 'process_MMX':
libmpcodecs/vf_eq.c:65:3: error: 'asm' operand has impossible constraints
__asm__ volatile (
^
Makefile:606: recipe for target 'libmpcodecs/vf_eq.o' failed
make: *** [libmpcodecs/vf_eq.o] Error 1
make: *** Waiting for unfinished jobs....
libmpcodecs/vf_eq2.c: In function 'affine_1d_MMX':
libmpcodecs/vf_eq2.c:147:5: error: 'asm' operand has impossible constraints
__asm__ volatile (
^
Makefile:606: recipe for target 'libmpcodecs/vf_eq2.o' failed
make: *** [libmpcodecs/vf_eq2.o] Error 1
>>> ERROR: mplayer2: all failed
(from redmine: issue id 2296, created on 2013-11-04, closed on 2013-11-25)
- Relations:
- relates #2438 (closed)