#21686 closed defect (fixed)
MPlayer install failure osx 10.5.8
Reported by: | jwilson128@… | Owned by: | ecronin (Eric Cronin) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | stefan.van.der.eijk@…, hamid.ohadi@…, szymon@…, ridai.govinda@…, ekrivdyuk@…, zquestz (Josh Ellithorpe), kdeepak@…, SiggyF, khalsah@… | |
Port: | MPlayer |
Description
I've researched this as much as I could and can't come up with anything - any help here would be much appreciated.
MPlayer install is failing. Below is the error result.
Macbook-Pro:Desktop macpro$ sudo port clean mplayer Password: ---> Cleaning MPlayer Macbook-Pro:Desktop macpro$ sudo port install mplayer +macosx Warning: Implicit variants should not be explicitly set or unset. macosx will be ignored. ---> Computing dependencies for MPlayer ---> Fetching MPlayer ---> Verifying checksum(s) for MPlayer ---> Extracting MPlayer ---> Applying patches to MPlayer ---> Configuring MPlayer ---> Building MPlayer 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_MPlayer/work/MPlayer-1.0rc2" && /usr/bin/make -j1 all " returned error 2 Command output: /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i386 -mtune=i386 -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -c -o ao_mpegpes.o ao_mpegpes.c /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i386 -mtune=i386 -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -c -o ao_null.o ao_null.c /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i386 -mtune=i386 -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -c -o ao_pcm.o ao_pcm.c /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i386 -mtune=i386 -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -c -o ao_openal.o ao_openal.c ar r libao2.a audio_out.o ao_mpegpes.o ao_null.o ao_pcm.o ao_openal.o ar: creating archive libao2.a ranlib libao2.a /usr/bin/make -C input /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i386 -mtune=i386 -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -c -o input.o input.c /usr/bin/gcc-4.0 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=i386 -mtune=i386 -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -c -o ar.o ar.c In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:29, from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32, from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125, from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20, from ar.c:27: /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/xmmintrin.h:35:3: error: #error "SSE instruction set not enabled" In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32, from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125, from /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20, from ar.c:27: /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:216: error: syntax error before '__m128' /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:218: error: syntax error before 'sd' /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:220: error: syntax error before '}' token /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:264: error: array type has incomplete element type make[1]: *** [ar.o] Error 1 make: *** [input/libinput.a] Error 2
Change History (19)
comment:1 follow-up: 2 Changed 15 years ago by mf2k (Frank Schima)
Keywords: | mPlayer removed |
---|---|
Owner: | changed from macports-tickets@… to ecronin@… |
comment:2 Changed 15 years ago by jwilson128@…
Replying to macsforever2000@…:
What version of Xcode are you running?
I upgraded to the latest before this installation - 3.1.4.
comment:3 follow-up: 4 Changed 15 years ago by franconi@…
Very same error here: MacOSX 10.5.8 and XCode 3.1.4. cheers --e.
comment:4 follow-up: 19 Changed 15 years ago by jon.w@…
Very same error here: MacOSX 10.5.8 and XCode 3.1.4.
Same with me: 10.5.8, XCode 3.1.4 (MacPorts base version 1.8.1).
comment:15 Changed 15 years ago by SiggyF
It looks like the configure script (not autoconf based) assumes we're running on a i386. This is used for -march. The i386 doesn't have sse support.
comment:16 Changed 15 years ago by SiggyF
The cpu is correctly detected but later set to i386 because the --target is set to i386-Darwin. I am not sure why target is set in the darwin rule, we are not cross-compiling are we?
Without the line
configure.args-append --target=${build_arch}-Darwin
it works.
comment:18 Changed 15 years ago by ecronin (Eric Cronin)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r60087. I'd suggest switching to mplayer-devel though
comment:19 Changed 15 years ago by jon.w@…
Replying to jon.w@…:
Very same error here: MacOSX 10.5.8 and XCode 3.1.4.
Same with me: 10.5.8, XCode 3.1.4 (MacPorts base version 1.8.1).
After deleting a heap of unrelated ports (mainly related to the gimp and fontforge ports), the update worked. I also tried installing the new MPlayer on a blank macports installation, and that worked, too. Not that I'd understand any of this strange behaviour, but it gives me the impression that an unrelated port was interfering... ???
What version of Xcode are you running?