[MacPorts] #21772: mplayer build error under xcode 3.2

MacPorts noreply at macports.org
Fri Oct 2 15:52:08 PDT 2009


#21772: mplayer build error under xcode 3.2
----------------------------+-----------------------------------------------
  Reporter:  chrisg@…       |       Owner:  macports-tickets@…                   
      Type:  defect         |      Status:  closed                               
  Priority:  Normal         |   Milestone:                                       
 Component:  ports          |     Version:  1.8.1                                
Resolution:  duplicate      |    Keywords:                                       
      Port:  mplayer        |  
----------------------------+-----------------------------------------------
Changes (by macsforever2000@…):

  * keywords:  mplayer xcode 3.2 =>
  * status:  new => closed
  * resolution:  => duplicate


Old description:

> --->  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 -j2 all " returned error 2
> Command output:                  from avcodec.h:30,
>                  from noise_bsf.c:21:
> /usr/include/secure/_string.h:50:1: warning: this is the location of the
> previous definition
> In file included from ../libavutil/common.h:61,
>                  from ../libavutil/avutil.h:40,
>                  from avcodec.h:30,
>                  from remove_extradata_bsf.c:21:
> ../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 avcodec.h:30,
>                  from remove_extradata_bsf.c:21:
> /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 -Wall -Wno-switch -Wpointer-arith
> -Wredundant-decls -O4   -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
> pthread.o pthread.c
> In file included from ../libavutil/common.h:61,
>                  from ../libavutil/avutil.h:40,
>                  from avcodec.h:30,
>                  from pthread.c:26:
> ../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 avcodec.h:30,
>                  from pthread.c:26:
> /usr/include/secure/_string.h:50:1: warning: this is the location of the
> previous definition
> pthread.c:46: warning: 'force_align_arg_pointer' attribute ignored
> rm -f libavcodec.a
> ar rc libavcodec.a allcodecs.o audioconvert.o bitstream.o
> bitstream_filter.o dsputil.o error_resilience.o eval.o faandct.o
> imgconvert.o jrevdct.o jfdctfst.o jfdctint.o mpeg12.o mpeg12data.o
> mpegvideo.o opt.o parser.o raw.o resample.o resample2.o simple_idct.o
> utils.o imgresample.o aasc.o ac3dec.o ac3tab.o ac3.o mdct.o fft.o
> ac3enc.o alac.o sp5xdec.o mjpegdec.o mjpeg.o apedec.o asv1.o atrac3.o
> avs.o bethsoftvideo.o bmp.o bmpenc.o c93.o cavs.o cavsdec.o cavsdsp.o
> golomb.o cinepak.o cljr.o cook.o cscd.o cyuv.o dca.o dnxhddec.o
> dnxhddata.o dsicinav.o dvbsubdec.o dvbsub.o dvdsubdec.o dvdsubenc.o dv.o
> dxa.o 8bps.o ffv1.o rangecoder.o huffyuv.o flac.o flacenc.o flashsv.o
> flashsvenc.o flicvideo.o h263dec.o h263.o mpegvideo_enc.o motion_est.o
> ratecontrol.o 4xm.o fraps.o gifdec.o lzw.o gif.o h261dec.o h261.o
> h261enc.o h264.o h264idct.o h264pred.o cabac.o idcinvideo.o imc.o
> indeo2.o indeo3.o interplayvideo.o dpcm.o jpeglsdec.o jpegls.o
> jpeglsenc.o kmvc.o ljpegenc.o mjpegenc.o loco.o mace.o mjpegbdec.o
> mmvideo.o mpegaudiodec.o mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o
> mpegaudioenc.o mpc.o mpeg12enc.o msmpeg4.o msmpeg4data.o msrle.o
> msvideo1.o lcldec.o nuv.o rtjpeg.o pnmenc.o pnm.o png.o pngdec.o pngenc.o
> ptx.o qdm2.o qdrw.o qpeg.o qtrle.o qtrleenc.o ra144.o ra288.o rawdec.o
> rawenc.o roqvideodec.o roqvideo.o roqvideoenc.o elbg.o roqaudioenc.o
> rpza.o rv10.o sgidec.o sgienc.o rle.o shorten.o smacker.o smc.o snow.o
> sonic.o svq1dec.o svq1.o svq1enc.o targa.o targaenc.o vp3.o xiph.o
> vp3dsp.o tiertexseqv.o tiff.o tiffenc.o lzwenc.o truemotion1.o
> truemotion2.o truespeech.o tscc.o tta.o txd.o s3tc.o ulti.o vc1.o
> vc1data.o vc1dsp.o vcr1.o vmdav.o vmnc.o vorbis_dec.o vorbis.o
> vorbis_data.o vorbis_enc.o vp5.o vp56.o vp56data.o vp6.o vqavideo.o
> wavpack.o wmadec.o wma.o wmaenc.o wnv1.o ws-snd1.o xan.o xl.o xsubdec.o
> lclenc.o zmbv.o zmbvenc.o pcm.o adpcm.o adx.o g726.o libmp3lame.o
> aac_parser.o aac_ac3_parser.o ac3_parser.o cavs_parser.o dca_parser.o
> dvbsub_parser.o dvdsub_parser.o h261_parser.o h263_parser.o h264_parser.o
> mjpeg_parser.o mpeg4video_parser.o mpegaudio_parser.o mpegvideo_parser.o
> pnm_parser.o vc1_parser.o dump_extradata_bsf.o h264_mp4toannexb_bsf.o
> imx_dump_header_bsf.o mjpega_dump_header_bsf.o mp3_header_compress_bsf.o
> mp3_header_decompress_bsf.o noise_bsf.o remove_extradata_bsf.o pthread.o
> ranlib libavcodec.a
>
> Error: Status 1 encountered during processing.

New description:

 {{{
 --->  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 -j2 all " returned error 2
 Command output:                  from avcodec.h:30,
                  from noise_bsf.c:21:
 /usr/include/secure/_string.h:50:1: warning: this is the location of the
 previous definition
 In file included from ../libavutil/common.h:61,
                  from ../libavutil/avutil.h:40,
                  from avcodec.h:30,
                  from remove_extradata_bsf.c:21:
 ../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 avcodec.h:30,
                  from remove_extradata_bsf.c:21:
 /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 -Wall -Wno-switch -Wpointer-arith
 -Wredundant-decls -O4   -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
 pthread.o pthread.c
 In file included from ../libavutil/common.h:61,
                  from ../libavutil/avutil.h:40,
                  from avcodec.h:30,
                  from pthread.c:26:
 ../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 avcodec.h:30,
                  from pthread.c:26:
 /usr/include/secure/_string.h:50:1: warning: this is the location of the
 previous definition
 pthread.c:46: warning: 'force_align_arg_pointer' attribute ignored
 rm -f libavcodec.a
 ar rc libavcodec.a allcodecs.o audioconvert.o bitstream.o
 bitstream_filter.o dsputil.o error_resilience.o eval.o faandct.o
 imgconvert.o jrevdct.o jfdctfst.o jfdctint.o mpeg12.o mpeg12data.o
 mpegvideo.o opt.o parser.o raw.o resample.o resample2.o simple_idct.o
 utils.o imgresample.o aasc.o ac3dec.o ac3tab.o ac3.o mdct.o fft.o ac3enc.o
 alac.o sp5xdec.o mjpegdec.o mjpeg.o apedec.o asv1.o atrac3.o avs.o
 bethsoftvideo.o bmp.o bmpenc.o c93.o cavs.o cavsdec.o cavsdsp.o golomb.o
 cinepak.o cljr.o cook.o cscd.o cyuv.o dca.o dnxhddec.o dnxhddata.o
 dsicinav.o dvbsubdec.o dvbsub.o dvdsubdec.o dvdsubenc.o dv.o dxa.o 8bps.o
 ffv1.o rangecoder.o huffyuv.o flac.o flacenc.o flashsv.o flashsvenc.o
 flicvideo.o h263dec.o h263.o mpegvideo_enc.o motion_est.o ratecontrol.o
 4xm.o fraps.o gifdec.o lzw.o gif.o h261dec.o h261.o h261enc.o h264.o
 h264idct.o h264pred.o cabac.o idcinvideo.o imc.o indeo2.o indeo3.o
 interplayvideo.o dpcm.o jpeglsdec.o jpegls.o jpeglsenc.o kmvc.o ljpegenc.o
 mjpegenc.o loco.o mace.o mjpegbdec.o mmvideo.o mpegaudiodec.o
 mpegaudiodecheader.o mpegaudio.o mpegaudiodata.o mpegaudioenc.o mpc.o
 mpeg12enc.o msmpeg4.o msmpeg4data.o msrle.o msvideo1.o lcldec.o nuv.o
 rtjpeg.o pnmenc.o pnm.o png.o pngdec.o pngenc.o ptx.o qdm2.o qdrw.o qpeg.o
 qtrle.o qtrleenc.o ra144.o ra288.o rawdec.o rawenc.o roqvideodec.o
 roqvideo.o roqvideoenc.o elbg.o roqaudioenc.o rpza.o rv10.o sgidec.o
 sgienc.o rle.o shorten.o smacker.o smc.o snow.o sonic.o svq1dec.o svq1.o
 svq1enc.o targa.o targaenc.o vp3.o xiph.o vp3dsp.o tiertexseqv.o tiff.o
 tiffenc.o lzwenc.o truemotion1.o truemotion2.o truespeech.o tscc.o tta.o
 txd.o s3tc.o ulti.o vc1.o vc1data.o vc1dsp.o vcr1.o vmdav.o vmnc.o
 vorbis_dec.o vorbis.o vorbis_data.o vorbis_enc.o vp5.o vp56.o vp56data.o
 vp6.o vqavideo.o wavpack.o wmadec.o wma.o wmaenc.o wnv1.o ws-snd1.o xan.o
 xl.o xsubdec.o lclenc.o zmbv.o zmbvenc.o pcm.o adpcm.o adx.o g726.o
 libmp3lame.o aac_parser.o aac_ac3_parser.o ac3_parser.o cavs_parser.o
 dca_parser.o dvbsub_parser.o dvdsub_parser.o h261_parser.o h263_parser.o
 h264_parser.o mjpeg_parser.o mpeg4video_parser.o mpegaudio_parser.o
 mpegvideo_parser.o pnm_parser.o vc1_parser.o dump_extradata_bsf.o
 h264_mp4toannexb_bsf.o imx_dump_header_bsf.o mjpega_dump_header_bsf.o
 mp3_header_compress_bsf.o mp3_header_decompress_bsf.o noise_bsf.o
 remove_extradata_bsf.o pthread.o
 ranlib libavcodec.a

 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 Duplicate of #21033.

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


More information about the macports-tickets mailing list