Kdenlive 0.7.7 on a Powermac G5 - problem with ffmpeg-devel and opencv

Hi, I'm now trying to build Kdenlive through Macports on MacOSX 10.5.8 (Leopard) on a Powermac G5 Quad (PPC).
The problem is in compiling ffmpeg-devel, the output is:

sudo port install ffmpeg-devel
---> Computing dependencies for ffmpeg-devel
---> Fetching ffmpeg-devel
---> Verifying checksum(s) for ffmpeg-devel
---> Extracting ffmpeg-devel
---> Applying patches to ffmpeg-devel
---> Configuring ffmpeg-devel
---> Building ffmpeg-devel
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" && gmake -j4 all " returned error 2
Command output: /usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libdiracenc.d -MT libavcodec/libdiracenc.o -c -o libavcodec/libdiracenc.o libavcodec/libdiracenc.c
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libdirac_libschro.d -MT libavcodec/libdirac_libschro.o -c -o libavcodec/libdirac_libschro.o libavcodec/libdirac_libschro.c
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libfaac.d -MT libavcodec/libfaac.o -c -o libavcodec/libfaac.o libavcodec/libfaac.c
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libfaad.d -MT libavcodec/libfaad.o -c -o libavcodec/libfaad.o libavcodec/libfaad.c
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libmp3lame.d -MT libavcodec/libmp3lame.o -c -o libavcodec/libmp3lame.o libavcodec/libmp3lame.c
In file included from libavcodec/libfaad.c:31:
/opt/local/include/faad.h:32: warning: ignoring #pragma message
libavcodec/libfaad.c: In function 'faac_decode_frame':
libavcodec/libfaad.c:184: warning: passing argument 2 of 's->NeAACDecInit' discards qualifiers from pointer target type
libavcodec/libfaad.c:195: warning: cast discards qualifiers from pointer target type
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libschroedingerdec.d -MT libavcodec/libschroedingerdec.o -c -o libavcodec/libschroedingerdec.o libavcodec/libschroedingerdec.c
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libschroedinger.d -MT libavcodec/libschroedinger.o -c -o libavcodec/libschroedinger.o libavcodec/libschroedinger.c
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libschroedingerenc.d -MT libavcodec/libschroedingerenc.o -c -o libavcodec/libschroedingerenc.o libavcodec/libschroedingerenc.c
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libtheoraenc.d -MT libavcodec/libtheoraenc.o -c -o libavcodec/libtheoraenc.o libavcodec/libtheoraenc.c
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libvorbis.d -MT libavcodec/libvorbis.o -c -o libavcodec/libvorbis.o libavcodec/libvorbis.c
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libx264.d -MT libavcodec/libx264.o -c -o libavcodec/libx264.o libavcodec/libx264.c
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libxvidff.d -MT libavcodec/libxvidff.o -c -o libavcodec/libxvidff.o libavcodec/libxvidff.c
/usr/bin/gcc-4.0 -DHAVE_AV_CONFIG_H -I. -I"/opt/local/var/macports/build/_opt_mports_trunk_dports_multimedia_ffmpeg-devel/work/trunk" -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O2 -DHAVE_LRINTF -I/opt/local/include -arch ppc -std=c99 -fomit-frame-pointer -maltivec -mabi=altivec -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 -fno-tree-vectorize -MMD -MF libavcodec/libxvid_rc.d -MT libavcodec/libxvid_rc.o -c -o libavcodec/libxvid_rc.o libavcodec/libxvid_rc.c
libavcodec/libx264.c: In function 'encode_nals':
libavcodec/libx264.c:75: warning: implicit declaration of function 'x264_nal_encode'
libavcodec/libx264.c: In function 'X264_init':
libavcodec/libx264.c:190: error: 'x264_param_t' has no member named 'b_bframe_pyramid'
libavcodec/libxvidff.c: In function 'ff_xvid_encode_init':
libavcodec/libxvidff.c:232: warning: passing argument 1 of 'av_tempfile' discards qualifiers from pointer target type
libavcodec/libxvidff.c: In function 'xvid_ff_2pass_after':
libavcodec/libxvidff.c:711: warning: initialization discards qualifiers from pointer target type
gmake: *** [libavcodec/libx264.o] Error 1
gmake: *** Waiting for unfinished jobs....
libavcodec/libxvid_rc.c: In function 'ff_xvid_rate_control_init':
libavcodec/libxvid_rc.c:43: warning: passing argument 1 of 'av_tempfile' discards qualifiers from pointer target type

Error: Status 1 encountered during processing.

Any ideas to solve this problem?
Thanks! Matteo

same problem on Macbook Pro, Macos 10.6.2 Snow Leopard, Intel.

[edit] The problem is: b_bframe_pyramid has been renamed to i_bframe_pyramid in the latest x264.
Files affected: libavcodec/libx264.c

I have changed all "b_bframe_pyramid" ocurrencies to "i_bframe_pyramid" on libx264.c and then i could install ffmpeg-devel :)

more info http://trac.macports.org/ticket/24225

GREAT!!! It works perfectly... =)
Thanks for your help!
Matteo

OK, next step: now the error is on copiling opencv... this is the output:

---> Fetching opencv
---> Attempting to fetch OpenCV-2.0.0.tar.bz2 from http://garr.dl.sourceforge.net/opencvlibrary
---> Verifying checksum(s) for opencv
---> Extracting opencv
---> Configuring opencv
---> Building opencv
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_graphics_opencv/work/OpenCV-2.0.0" && /usr/bin/make -j4 all " returned error 2
Command output: libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasdq.lo -MD -MP -MF .deps/dlasdq.Tpo -c lapack/dlasdq.c -fno-common -DPIC -o .libs/dlasdq.o
libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasdt.lo -MD -MP -MF .deps/dlasdt.Tpo -c lapack/dlasdt.c -fno-common -DPIC -o .libs/dlasdt.o
mv -f .deps/dlasd4.Tpo .deps/dlasd4.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq1.lo -MD -MP -MF .deps/dlasq1.Tpo -c -o dlasq1.lo `test -f 'lapack/dlasq1.c' || echo './'`lapack/dlasq1.c
libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlaset.lo -MD -MP -MF .deps/dlaset.Tpo -c lapack/dlaset.c -fno-common -DPIC -o .libs/dlaset.o
libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq1.lo -MD -MP -MF .deps/dlasq1.Tpo -c lapack/dlasq1.c -fno-common -DPIC -o .libs/dlasq1.o
mv -f .deps/dlasdt.Tpo .deps/dlasdt.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq2.lo -MD -MP -MF .deps/dlasq2.Tpo -c -o dlasq2.lo `test -f 'lapack/dlasq2.c' || echo './'`lapack/dlasq2.c
mv -f .deps/dlaset.Tpo .deps/dlaset.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq3.lo -MD -MP -MF .deps/dlasq3.Tpo -c -o dlasq3.lo `test -f 'lapack/dlasq3.c' || echo './'`lapack/dlasq3.c
mv -f .deps/dlasdq.Tpo .deps/dlasdq.Plo
libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq2.lo -MD -MP -MF .deps/dlasq2.Tpo -c lapack/dlasq2.c -fno-common -DPIC -o .libs/dlasq2.o
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq4.lo -MD -MP -MF .deps/dlasq4.Tpo -c -o dlasq4.lo `test -f 'lapack/dlasq4.c' || echo './'`lapack/dlasq4.c
libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq3.lo -MD -MP -MF .deps/dlasq3.Tpo -c lapack/dlasq3.c -fno-common -DPIC -o .libs/dlasq3.o
mv -f .deps/dlasq1.Tpo .deps/dlasq1.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq5.lo -MD -MP -MF .deps/dlasq5.Tpo -c -o dlasq5.lo `test -f 'lapack/dlasq5.c' || echo './'`lapack/dlasq5.c
libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq4.lo -MD -MP -MF .deps/dlasq4.Tpo -c lapack/dlasq4.c -fno-common -DPIC -o .libs/dlasq4.o
lapack/dlasq2.c: In function 'dlasq2_':
lapack/dlasq2.c:13: internal compiler error: in memset_analyze_data_refs, at tree-ssa-loop-memset.c:138
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make[2]: *** [dlasq2.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I../3rdparty/include -DNDEBUG -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq5.lo -MD -MP -MF .deps/dlasq5.Tpo -c lapack/dlasq5.c -fno-common -DPIC -o .libs/dlasq5.o
mv -f .deps/dlasq3.Tpo .deps/dlasq3.Plo
mv -f .deps/dlasq5.Tpo .deps/dlasq5.Plo
mv -f .deps/dlasq4.Tpo .deps/dlasq4.Plo
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: mlt frei0r-plugins opencv libdv libsamplerate libsndfile flac sox file libao libid3tag libmad wavpack
Error: Status 1 encountered during processing.

Thanks for the help! Matteo

Nothing to say about this problem?? =( I'm searching in macports trac too, and I'm trying anything, but I didn't come to a solution...

Help! With the last svn revision (66545) the output is:

sudo port install kdenlive
---> Computing dependencies for kdenlive
---> Fetching opencv
---> Verifying checksum(s) for opencv
---> Extracting opencv
---> Applying patches to opencv
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_opencv/work/OpenCV-2.0.0" && /usr/bin/patch -p0 Command output: can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- work/OpenCV-2.0.0/configure.in.orig 2010-04-05 19:15:57.000000000 +0200
|+++ work/OpenCV-2.0.0/configure.in 2010-04-05 19:16:31.000000000 +0200
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored

In the end I didn't solve the opencv problem, but I compiled it directly from source with cmake: http://sourceforge.net/projects/opencvlibrary/

tar -xjf OpenCV-2.1.0.tar.bz2
mkdir opencv.build
cd opencv.build
cmake ../OpenCV-2.1.0
make -j 2
sudo make install

With this method there aren't problem to compile.
Then I removed the reference to opencv from frei0r-plugins portfile and with sudo port install kdenlive I've been able to finish kdenlive installation.

Now kdenlive runs perfectly, BUT it is totally unusable... VERY unstable, impossible to work with.
Bye bye, Matteo

I am not surprised there are endian and stability issues with ppc architecture. Once a person tested MLT extensively (except frei0r plugins) on ppc linux and make patches and concluded it was working rather well. That was about 3/4 year ago, if I recall correctly. He did say there were additional problems within Kdenlive. Basically, we need people who can help debug and submit patches for better PPC support.

P.S. openSUSE dropped ppc and Fedora 13 is dropping it now too decreasing our chances of getting patches.