Opened 15 years ago

Closed 15 years ago

#21426 closed defect (duplicate)

mplayer build error on Snow Leopard

Reported by: fyodor.vassiley@… Owned by: ecronin (Eric Cronin)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: whcordis@…, veszig@…
Port: MPlayer

Description (last modified by tobypeterson)

# port clean --all mplayer
--->  Cleaning MPlayer

# port sync -d

# port install -dv mplayer
--->  Computing dependencies for MPlayer
--->  Fetching MPlayer
--->  Attempting to fetch stream_cddb_fix_20080120.diff from http://arn.se.distfiles.macports.org/MPlayer
--->  Attempting to fetch url_fix_20080120.diff from http://arn.se.distfiles.macports.org/MPlayer
--->  Attempting to fetch demux_mov_fix_20080129.diff from http://arn.se.distfiles.macports.org/MPlayer
--->  Attempting to fetch demux_audio_fix_20080129.diff from http://arn.se.distfiles.macports.org/MPlayer
--->  Attempting to fetch MPlayer-1.0rc2.tar.bz2 from http://www1.mplayerhq.hu/MPlayer/releases/
--->  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 -j2 all " returned error 2
Command output: /usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 demux_ty_osd.o demux_ty_osd.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 demux_viv.o demux_viv.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 demux_vqf.o demux_vqf.c
demux_viv.c:315:2: warning: #warning "Calculate PTS from picture header!"
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 demux_y4m.o demux_y4m.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 extension.o extension.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 mf.o mf.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 mp3_hdr.o mp3_hdr.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 mpeg_hdr.o mpeg_hdr.c
mf.c: In function 'open_mf':
mf.c:111: warning: format '%d' expects type 'int', but argument 5 has type 'long unsigned int'
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 mpeg_packetizer.o mpeg_packetizer.c
mpeg_packetizer.c: In function 'send_mpeg_pes_packet_ll':
mpeg_packetizer.c:59: warning: format '%lu' expects type 'long unsigned int', but argument 6 has type 'uint64_t'
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 parse_es.o parse_es.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 parse_mp4.o parse_mp4.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 video.o video.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 yuv4mpeg.o yuv4mpeg.c
video.c: In function 'video_read_properties':
video.c:362: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 yuv4mpeg_ratio.o yuv4mpeg_ratio.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 demux_gif.o demux_gif.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 demux_lavf.o demux_lavf.c
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 demux_ogg.o demux_ogg.c
demux_lavf.c: In function 'lavf_check_preferred_file':
demux_lavf.c:242: warning: initialization from incompatible pointer type
/usr/bin/gcc-4.2 -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -arch x86_64 -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 demux_avs.o demux_avs.c
ar r libmpdemux.a asfheader.o aviheader.o aviprint.o demuxer.o demux_aac.o demux_asf.o demux_audio.o demux_avi.o demux_demuxers.o demux_film.o demux_fli.o demux_lmlm4.o demux_mf.o demux_mkv.o ebml.o demux_mov.o demux_mpg.o demux_nsv.o demux_nuv.o demux_pva.o demux_rawaudio.o demux_rawvideo.o demux_realaud.o demux_real.o demux_roq.o demux_smjpeg.o demux_ts.o demux_ty.o demux_ty_osd.o demux_viv.o demux_vqf.o demux_y4m.o extension.o mf.o mp3_hdr.o mpeg_hdr.o mpeg_packetizer.o parse_es.o parse_mp4.o video.o yuv4mpeg.o yuv4mpeg_ratio.o demux_gif.o demux_lavf.o demux_ogg.o demux_avs.o
ar: creating archive libmpdemux.a
ranlib libmpdemux.a

Error: Status 1 encountered during processing.

How to see the Milestone and Version?

Attachments (1)

mplayer_debug_install.log (171.3 KB) - added by veszig@… 15 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by tobypeterson

Description: modified (diff)
Keywords: mplayer failed build removed

comment:2 Changed 15 years ago by whcordis@…

I'm seeing this exact error as well.

Install command: sudo port install Mplayer +binary_codecs +esd +faac +fribidi +osd +theora +x11 +x264 +xvid

10.6.1 with Xcode 3.2

This is after a complete rebuild of the entire tree.

comment:3 Changed 15 years ago by whcordis@…

Cc: whcordis@… added

Cc Me!

comment:4 Changed 15 years ago by veszig@…

Cc: veszig@… added

Cc Me!

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ecronin@…
Port: MPlayer added; mplayer removed

You won't get debug output unless you put -d before install. When you have full debug output, please check that this is really different to the numerous other open mplayer tickets.

Changed 15 years ago by veszig@…

Attachment: mplayer_debug_install.log added

comment:6 Changed 15 years ago by veszig@…

I've attached the full output of port -d install MPlayer. I don't think this is a duplicate bug.

comment:7 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

This is exactly the same error as #21033.

Note: See TracTickets for help on using tickets.