#31151 closed defect (duplicate)
ffmpeg 0.7.3 fails to build +universal
Reported by: | domiman@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.2 |
Keywords: | lion | Cc: | andrew@…, fracai |
Port: | ffmpeg |
Description
latest change in ffmpeg (version upgrade) did fail on "port upgrade outdated" with "shell command failed" during building.
System Lion 10.7.1, Xcode 4.2 Preview 7 Log is attached in zip
Attachments (1)
Change History (12)
Changed 13 years ago by domiman@…
Attachment: | main.log.zip added |
---|
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Cc: | devans@… openmaintainer@… removed |
---|---|
Owner: | changed from macports-tickets@… to devans@… |
comment:2 Changed 13 years ago by dbevans (David B. Evans)
Status: | new → assigned |
---|
comment:4 Changed 13 years ago by dbevans (David B. Evans)
Unfortunately, I do not have a comparable Lion system available as yet for testing so I'll have so rely on input from others who do. From the log it looks like you are building on an i386 platform.
Builds fine for me on Snow Leopard (10.6.8, Xcode 4.1, x86_64).
Just for interest, I wonder if you have any different results with the current ffmpeg-devel version? Be aware, however, that ffmpeg-devel breaks the previous API and so may not work with other ports that depend on ffmpeg.
If anyone who has the same configuration as the reporter can confirm the problem or suggest a solution any input would be welcome.
comment:5 Changed 13 years ago by andrew@…
I can confirm that I'm seeing the same problem on my system, and my setup is similar, though not exactly the same. I'm running Lion 10.7.1, with both xcode 3, and xcode 4.1 installed. I haven't had a problem with ffmpeg until this particular update.
comment:6 Changed 13 years ago by domiman@…
@Devans, your comment brought me on the right track. The problem is with building ffmpeg +universal. My MacPorts is configured to build everything universal as I need most stuff also in 32bit. Cleaning ffmpeg and then "port upgrade ffmpeg -universal" did the trick.
So the subject of this ticket should be changed to "ffmpeg +universal fails on Lion + Xcode 4.2".
My previous ffmpeg was also -universal it seems. I probably anticipated problems like this when I build gimp2 and added the -universal flag to that install.
comment:7 Changed 13 years ago by andrew@…
I think the previous post is correct. I'm also building with +universal, set globally in my macports config.
comment:8 Changed 13 years ago by dbevans (David B. Evans)
Summary: | ffmpeg fails on Lion + Xcode 4.2 → ffmpeg 0.7.3 fails to build +universal |
---|
comment:9 Changed 13 years ago by dbevans (David B. Evans)
I agree, fails for me during i386 phase of universal build on SL as well.
:info:build /Developer/usr/bin/clang -I. -I"/opt/local/var/macports/build/_Volumes_wdc-320_opt_macports_trunk_dports_multime dia_ffmpeg/ffmpeg/work/ffmpeg-0.7.3-i386" -I/opt/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -DHAVE_AV_CONFIG_H -pipe -O2 -DHAVE_LRINTF -I/opt/local/include -arch i386 -std=c99 -fomit-frame-pointer -fPIC -I/opt /local/include/dirac -I/opt/local/include/schroedinger-1.0 -I/opt/local/include/orc-0.4 -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/op t/local/include/SDL -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wdisabled-optimization -Wpointer-ar ith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer- to-int-cast -O3 -fno-math-errno -fno-signed-zeros -mllvm -stack-alignment=16 -Qunused-arguments -MMD -c -o libavcodec/h264_ loopfilter.o libavcodec/h264_loopfilter.c :info:build fatal error: error in backend: Ran out of registers during register allocation! :info:build gmake: *** [libavcodec/h264_cabac.o] Error 1
comment:10 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Duplicate of #30137.
It is not useful to Cc openmaintainer.