[MacPorts] #20938: ffmpeg @0.5_3 fails to build on 10.6
MacPorts
noreply at macports.org
Mon Aug 31 06:10:11 PDT 2009
#20938: ffmpeg @0.5_3 fails to build on 10.6
-------------------------------+--------------------------------------------
Reporter: gonhidi@… | Owner: devans@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: ffmpeg
-------------------------------+--------------------------------------------
Comment(by gonhidi@…):
I am afraid that using only the +no_glp variant gives a different set of
errors:
{{{
$ sudo port clean ffmpeg && sudo port build ffmpeg +no_gpl
Password:
---> Cleaning ffmpeg
---> Computing dependencies for ffmpeg
---> Fetching ffmpeg
---> Verifying checksum(s) for ffmpeg
---> Extracting ffmpeg
---> Applying patches to ffmpeg
---> Configuring ffmpeg
---> Building ffmpeg
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.5"
&& gmake -j2 all " returned error 2
Command output: {standard input}:6626:symbol: "_ff_pw_16" can't be
undefined in a subtraction expression
{standard input}:6604:non-relocatable subtraction expression, "_ff_pw_16"
minus "L00000000010$pb"
{standard input}:6604:symbol: "_ff_pw_16" can't be undefined in a
subtraction expression
{standard input}:6583:non-relocatable subtraction expression, "_ff_pw_16"
minus "L00000000010$pb"
{standard input}:6583:symbol: "_ff_pw_16" can't be undefined in a
subtraction expression
{standard input}:6561:non-relocatable subtraction expression, "_ff_pw_16"
minus "L00000000010$pb"
{standard input}:6561:symbol: "_ff_pw_16" can't be undefined in a
subtraction expression
{standard input}:6540:non-relocatable subtraction expression, "_ff_pw_16"
minus "L00000000010$pb"
{standard input}:6540:symbol: "_ff_pw_16" can't be undefined in a
subtraction expression
{standard input}:6256:non-relocatable subtraction expression, "_ff_pw_16"
minus "L00000000009$pb"
{standard input}:6256:symbol: "_ff_pw_16" can't be undefined in a
subtraction expression
{standard input}:5830:non-relocatable subtraction expression, "_ff_pw_15"
minus "L00000000008$pb"
{standard input}:5830:symbol: "_ff_pw_15" can't be undefined in a
subtraction expression
{standard input}:5416:non-relocatable subtraction expression, "_ff_pw_15"
minus "L00000000007$pb"
{standard input}:5416:symbol: "_ff_pw_15" can't be undefined in a
subtraction expression
{standard input}:5178:non-relocatable subtraction expression, "_ff_pw_16"
minus "L00000000006$pb"
{standard input}:5178:symbol: "_ff_pw_16" can't be undefined in a
subtraction expression
{standard input}:4763:non-relocatable subtraction expression, "_ff_pw_16"
minus "L00000000005$pb"
{standard input}:4763:symbol: "_ff_pw_16" can't be undefined in a
subtraction expression
{standard input}:4712:non-relocatable subtraction expression, "_ff_pw_255"
minus "L00000000004$pb"
{standard input}:4712:symbol: "_ff_pw_255" can't be undefined in a
subtraction expression
{standard input}:4633:non-relocatable subtraction expression, "_ff_pw_255"
minus "L00000000003$pb"
{standard input}:4633:symbol: "_ff_pw_255" can't be undefined in a
subtraction expression
{standard input}:4361:non-relocatable subtraction expression, "_ff_pb_FC"
minus "L00000000002$pb"
{standard input}:4361:symbol: "_ff_pb_FC" can't be undefined in a
subtraction expression
{standard input}:3753:non-relocatable subtraction expression, "_vector128"
minus "L00000000001$pb"
{standard input}:3753:symbol: "_vector128" can't be undefined in a
subtraction expression
/usr/bin/gcc-4.2 -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -I.
-I"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.5"
-O2 -DHAVE_LRINTF -I/opt/local/include -arch i386 -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-
compare -fomit-frame-pointer -I/opt/local/include/dirac
-I/opt/local/include/schroedinger-1.0 -I/opt/local/include/liboil-0.3 -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-
strings -Wundef -O3 -fno-math-errno -c -o
libavcodec/x86/cavsdsp_mmx.o libavcodec/x86/cavsdsp_mmx.c
gmake: *** [libavcodec/x86/dsputil_mmx.o] Error 1
gmake: *** Waiting for unfinished jobs....
Error: Status 1 encountered during processing.
$
}}}
(This and other complete error logs attached).
When building ffmpeg-devel @19723 with no flags the error is the same type
(`can't find a register in class 'GENERAL_REGS' while reloading 'asm'`)
though on a different file (`libavcodec/x86/h264dsp_mmx.c:2058`). It is
the same with +no_gpl.
Installed XCode and gcc is the one packaged with the 10.6 DVD (`i686
-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)`). In case
it might matter, the journaled HFS+ is case sensitive.
--
Ticket URL: <http://trac.macports.org/ticket/20938#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list