[MacPorts] #21158: Error while building mplayer on snow leopard

MacPorts noreply at macports.org
Sun Sep 6 15:52:20 PDT 2009


#21158: Error while building mplayer on snow leopard
----------------------------------+-----------------------------------------
 Reporter:  silversens@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.8.0                                
 Keywords:                        |        Port:  mplayer                              
----------------------------------+-----------------------------------------
Description changed by toby@…:

Old description:

> Mplayer won't build on snow leopard, here is the ouput
>
> --->  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:                  from ../libavutil/common.h:37,
>                  from ../libavutil/avutil.h:40,
>                  from ../libavcodec/avcodec.h:30,
>                  from ../libavcodec/dsputil.h:33,
>                  from i386/cputest.c:24:
> /usr/include/secure/_string.h:50:1: warning: this is the location of the
> previous definition
> /usr/bin/gcc-4.2 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
> -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
> after-statement -I. -I.. -I../libavutil -arch i386 -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
> i386/dsputil_mmx.o i386/dsputil_mmx.c
> In file included from ../libavutil/common.h:61,
>                  from ../libavutil/avutil.h:40,
>                  from ../libavcodec/avcodec.h:30,
>                  from ../libavcodec/dsputil.h:33,
>                  from i386/dsputil_mmx.c:25:
> ../libavutil/internal.h:117:1: warning: "memcpy" redefined
> In file included from /usr/include/string.h:148,
>                  from ../libavutil/common.h:37,
>                  from ../libavutil/avutil.h:40,
>                  from ../libavcodec/avcodec.h:30,
>                  from ../libavcodec/dsputil.h:33,
>                  from i386/dsputil_mmx.c:25:
> /usr/include/secure/_string.h:50:1: warning: this is the location of the
> previous definition
> i386/dsputil_mmx.c: In function 'transpose4x4':
> i386/dsputil_mmx.c:649: error: can't find a register in class
> 'GENERAL_REGS' while reloading 'asm'
> i386/dsputil_mmx.c:649: error: 'asm' operand has impossible constraints
> i386/dsputil_mmx.c: In function 'dsputil_init_mmx':
> i386/dsputil_mmx.c:3748: warning: assignment from incompatible pointer
> type
> i386/dsputil_mmx.c:3750: warning: assignment from incompatible pointer
> type
> i386/dsputil_mmx.c:3756: warning: assignment from incompatible pointer
> type
> i386/dsputil_mmx.c:3758: warning: assignment from incompatible pointer
> type
> make[1]: *** [i386/dsputil_mmx.o] Error 1
> make: *** [libavcodec/libavcodec.a] Error 2
>
> Error: Status 1 encountered during processing.

New description:

 Mplayer won't build on snow leopard, here is the ouput

 {{{
 --->  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:                  from ../libavutil/common.h:37,
                  from ../libavutil/avutil.h:40,
                  from ../libavcodec/avcodec.h:30,
                  from ../libavcodec/dsputil.h:33,
                  from i386/cputest.c:24:
 /usr/include/secure/_string.h:50:1: warning: this is the location of the
 previous definition
 /usr/bin/gcc-4.2 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I..
 -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-
 after-statement -I. -I.. -I../libavutil -arch i386 -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
 i386/dsputil_mmx.o i386/dsputil_mmx.c
 In file included from ../libavutil/common.h:61,
                  from ../libavutil/avutil.h:40,
                  from ../libavcodec/avcodec.h:30,
                  from ../libavcodec/dsputil.h:33,
                  from i386/dsputil_mmx.c:25:
 ../libavutil/internal.h:117:1: warning: "memcpy" redefined
 In file included from /usr/include/string.h:148,
                  from ../libavutil/common.h:37,
                  from ../libavutil/avutil.h:40,
                  from ../libavcodec/avcodec.h:30,
                  from ../libavcodec/dsputil.h:33,
                  from i386/dsputil_mmx.c:25:
 /usr/include/secure/_string.h:50:1: warning: this is the location of the
 previous definition
 i386/dsputil_mmx.c: In function 'transpose4x4':
 i386/dsputil_mmx.c:649: error: can't find a register in class
 'GENERAL_REGS' while reloading 'asm'
 i386/dsputil_mmx.c:649: error: 'asm' operand has impossible constraints
 i386/dsputil_mmx.c: In function 'dsputil_init_mmx':
 i386/dsputil_mmx.c:3748: warning: assignment from incompatible pointer
 type
 i386/dsputil_mmx.c:3750: warning: assignment from incompatible pointer
 type
 i386/dsputil_mmx.c:3756: warning: assignment from incompatible pointer
 type
 i386/dsputil_mmx.c:3758: warning: assignment from incompatible pointer
 type
 make[1]: *** [i386/dsputil_mmx.o] Error 1
 make: *** [libavcodec/libavcodec.a] Error 2

 Error: Status 1 encountered during processing.
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/21158#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list