[MacPorts] #14174: Universal builds of smpeg and libsdl_mixer
broken
MacPorts
trac at macosforge.org
Sun Feb 3 20:51:11 PST 2008
#14174: Universal builds of smpeg and libsdl_mixer broken
--------------------------------------+-------------------------------------
Reporter: jpenguin at clovermail.net | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Changes (by jmpp at macports.org):
* priority: High => Normal
* milestone: => Port Bugs
Old description:
> I have 10.4.10 on Intel. I have installed universal versions of libsdl
> +quartz, freetype, zlib, libogg, libvorbis, pkgconfig, libpng, tiff,
> jpeg, libmikmod & libsdl_image.
>
> I nneed to install universal vesions of libsdl_mixer and smpeg which is a
> dependency of libsdl_mixer.
>
> {{{josh-dyes-computer:~ joshdye$ sudo port install smpeg +universal
> ---> Fetching smpeg
> ---> Verifying checksum(s) for smpeg
> ---> Extracting smpeg
> ---> Applying patches to smpeg
> ---> Configuring smpeg
> ---> Building smpeg with target all
> 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_smpeg/work/smpeg-0.4.4"
> && make all " returned error 2
> Command output: echo timestamp > MPEG.lo
> /bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
> -DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
> -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
> -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
> rtti -c MPEGring.cpp
> /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
> -I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
> i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
> -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-
> exceptions -fno-rtti -c MPEGring.cpp -o MPEGring.o
> echo timestamp > MPEGring.lo
> /bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
> -DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
> -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
> -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
> rtti -c MPEGlist.cpp
> /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
> -I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
> i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
> -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-
> exceptions -fno-rtti -c MPEGlist.cpp -o MPEGlist.o
> echo timestamp > MPEGlist.lo
> /bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
> -DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
> -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
> -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
> rtti -c MPEGstream.cpp
> /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
> -I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
> i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
> -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-
> exceptions -fno-rtti -c MPEGstream.cpp -o MPEGstream.o
> echo timestamp > MPEGstream.lo
> /bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
> -DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
> -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
> -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
> rtti -c MPEGsystem.cpp
> /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
> -I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
> i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
> -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-
> exceptions -fno-rtti -c MPEGsystem.cpp -o MPEGsystem.o
> echo timestamp > MPEGsystem.lo
> /bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
> -DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
> -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
> -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -c MPEGfilter.c
> /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
> -I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
> i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
> -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -c
> MPEGfilter.c -o MPEGfilter.o
> echo timestamp > MPEGfilter.lo
> /bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
> -DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
> -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
> -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
> rtti -c smpeg.cpp
> /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
> -I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
> i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
> -DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-
> exceptions -fno-rtti -c smpeg.cpp -o smpeg.o
> echo timestamp > smpeg.lo
> /bin/sh ./libtool --mode=link /usr/bin/g++-4.0 -O2 -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
> -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
> -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
> rtti -L/opt/local/lib -arch i386 -arch ppc -o libsmpeg.la -rpath
> /opt/local/lib -release 0.4 -version-info 1:3:1 MPEG.lo
> MPEGring.lo MPEGlist.lo MPEGstream.lo MPEGsystem.lo MPEGfilter.lo
> smpeg.lo audio/libaudio.la video/libvideo.la
> -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa
> mkdir .libs
> rm -fr .libs/libsmpeg.lax
> mkdir .libs/libsmpeg.lax
> rm -fr .libs/libsmpeg.lax/libaudio.a
> mkdir .libs/libsmpeg.lax/libaudio.a
> (cd .libs/libsmpeg.lax/libaudio.a && ar x
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_smpeg/work/smpeg-0.4.4/audio/.libs/libaudio.a)
> ar:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_smpeg/work/smpeg-0.4.4/audio/.libs/libaudio.a
> is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
> ar:
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_smpeg/work/smpeg-0.4.4/audio/.libs/libaudio.a:
> Inappropriate file type or format
> make[1]: *** [libsmpeg.la] Error 1
> }}}
>
> make: *** [all-recursive] Error 1}}}
New description:
I have 10.4.10 on Intel. I have installed universal versions of libsdl
+quartz, freetype, zlib, libogg, libvorbis, pkgconfig, libpng, tiff, jpeg,
libmikmod & libsdl_image.
I nneed to install universal vesions of libsdl_mixer and smpeg which is a
dependency of libsdl_mixer.
{{{
josh-dyes-computer:~ joshdye$ sudo port install smpeg +universal
---> Fetching smpeg
---> Verifying checksum(s) for smpeg
---> Extracting smpeg
---> Applying patches to smpeg
---> Configuring smpeg
---> Building smpeg with target all
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_smpeg/work/smpeg-0.4.4"
&& make all " returned error 2
Command output: echo timestamp > MPEG.lo
/bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
-DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
-DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
rtti -c MPEGring.cpp
/usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
-I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
-DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-
exceptions -fno-rtti -c MPEGring.cpp -o MPEGring.o
echo timestamp > MPEGring.lo
/bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
-DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
-DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
rtti -c MPEGlist.cpp
/usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
-I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
-DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-
exceptions -fno-rtti -c MPEGlist.cpp -o MPEGlist.o
echo timestamp > MPEGlist.lo
/bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
-DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
-DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
rtti -c MPEGstream.cpp
/usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
-I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
-DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-
exceptions -fno-rtti -c MPEGstream.cpp -o MPEGstream.o
echo timestamp > MPEGstream.lo
/bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
-DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
-DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
rtti -c MPEGsystem.cpp
/usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
-I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
-DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-
exceptions -fno-rtti -c MPEGsystem.cpp -o MPEGsystem.o
echo timestamp > MPEGsystem.lo
/bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
-DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
-DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -c MPEGfilter.c
/usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
-I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
-DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -c
MPEGfilter.c -o MPEGfilter.o
echo timestamp > MPEGfilter.lo
/bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -DPACKAGE=\"smpeg\"
-DVERSION=\"0.4.4\" -I. -I. -I/opt/local/include -O2 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
-DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
rtti -c smpeg.cpp
/usr/bin/g++-4.0 -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I.
-I/opt/local/include -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
i386 -arch ppc -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE
-DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-
exceptions -fno-rtti -c smpeg.cpp -o smpeg.o
echo timestamp > smpeg.lo
/bin/sh ./libtool --mode=link /usr/bin/g++-4.0 -O2 -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc
-I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DTHREADED_AUDIO
-DNDEBUG -I.. -DNOCONTROLS -I. -I./audio -I./video -fno-exceptions -fno-
rtti -L/opt/local/lib -arch i386 -arch ppc -o libsmpeg.la -rpath
/opt/local/lib -release 0.4 -version-info 1:3:1 MPEG.lo
MPEGring.lo MPEGlist.lo MPEGstream.lo MPEGsystem.lo MPEGfilter.lo smpeg.lo
audio/libaudio.la video/libvideo.la -L/opt/local/lib
-lSDLmain -lSDL -Wl,-framework,Cocoa
mkdir .libs
rm -fr .libs/libsmpeg.lax
mkdir .libs/libsmpeg.lax
rm -fr .libs/libsmpeg.lax/libaudio.a
mkdir .libs/libsmpeg.lax/libaudio.a
(cd .libs/libsmpeg.lax/libaudio.a && ar x
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_smpeg/work/smpeg-0.4.4/audio/.libs/libaudio.a)
ar:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_smpeg/work/smpeg-0.4.4/audio/.libs/libaudio.a
is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
ar:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_smpeg/work/smpeg-0.4.4/audio/.libs/libaudio.a:
Inappropriate file type or format
make[1]: *** [libsmpeg.la] Error 1
make: *** [all-recursive] Error 1
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14174#comment:3>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list