mpeg4ip 1.5.0.1 fails to compile universal port
orville@cubic:audio$ sudo port build mpeg4ip/ +universal
---> Fetching mpeg4ip
---> Verifying checksum(s) for mpeg4ip
---> Extracting mpeg4ip
---> Applying patches to mpeg4ip
---> Configuring mpeg4ip
---> Building mpeg4ip
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_orville_Source_macports-trunk_dports_audio_mpeg4ip/work/mpeg4ip-1.5.0.1" && make " returned error 2
Command output: (cd .libs && rm -f libmp4v2.0.dylib && ln -s libmp4v2.0.0.0.dylib libmp4v2.0.dylib)
(cd .libs && rm -f libmp4v2.dylib && ln -s libmp4v2.0.0.0.dylib libmp4v2.dylib)
ar cru .libs/libmp4v2.a 3gp.o atom_amr.o atom_avc1.o atom_avcC.o atom_d263.o atom_damr.o atom_dref.o atom_elst.o atom_enca.o atom_encv.o atom_free.o atom_ftyp.o atom_hdlr.o atom_hinf.o atom_hnti.o atom_href.o atom_mdat.o atom_mdhd.o atom_meta.o atom_mp4s.o atom_mp4v.o atom_mvhd.o atom_ohdr.o atom_root.o atom_rtp.o atom_s263.o atom_sdp.o atom_smi.o atom_sound.o atom_standard.o atom_stbl.o atom_stdp.o atom_stsc.o atom_stsd.o atom_stsz.o atom_tfhd.o atom_tkhd.o atom_treftype.o atom_trun.o atom_udta.o atom_url.o atom_urn.o atom_video.o atom_vmhd.o descriptors.o isma.o mp4atom.o mp4container.o mp4.o mp4descriptor.o mp4file.o mp4file_io.o mp4info.o mp4meta.o mp4property.o mp4track.o mp4util.o ocidescriptors.o odcommands.o qosqualifiers.o rtphint.o
ranlib .libs/libmp4v2.a
creating libmp4v2.la
(cd .libs && rm -f libmp4v2.la && ln -s ../libmp4v2.la libmp4v2.la)
Making all in test
make[4]: Nothing to be done for `all'.
Making all in util
ccache /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include -I../../../lib/mp4v2 -I../../../lib/mp4av -I/opt/local/include -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch ppc -DUSE_MMX -DMPEG4IP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c -o mp4dump.o mp4dump.cpp
/bin/sh ../../../libtool --tag=CXX --mode=link ccache /usr/bin/g++-4.0 -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch ppc -DUSE_MMX -DMPEG4IP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -L/opt/local/lib -arch i386 -arch ppc -o mp4dump mp4dump.o ../../../lib/mp4v2/libmp4v2.la ../../../lib/gnu/libmpeg4ip_gnu.la
mkdir .libs
ccache /usr/bin/g++-4.0 -Wall -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -Wpointer-arith -Wsign-compare -O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386 -arch ppc -DUSE_MMX -DMPEG4IP -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -arch i386 -arch ppc -o .libs/mp4dump mp4dump.o -Wl,-bind_at_load -L/opt/local/lib ../../../lib/mp4v2/.libs/libmp4v2.dylib ../../../lib/gnu/.libs/libmpeg4ip_gnu.dylib
ld warning: in ../../../lib/mp4v2/.libs/libmp4v2.dylib, file is not of required architecture
ld warning: in ../../../lib/gnu/.libs/libmpeg4ip_gnu.dylib, file is not of required architecture
Undefined symbols for architecture ppc:
"_MP4Close", referenced from:
_main in mp4dump.o
"_MP4Read", referenced from:
_main in mp4dump.o
"_MP4Dump", referenced from:
_main in mp4dump.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc2mTMU7.out (No such file or directory)
make[4]: *** [mp4dump] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
Looks like someone beat me to it. Months ago.