Opened 19 years ago
Closed 19 years ago
#3478 closed defect (fixed)
MPlayer upgrade fails to build
Reported by: | paulbeard@… | Owned by: | blb@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
I ran port -cuva upgrade this morning and the build of MPlayer failed to complete. It built fine a week or so ago.
In file included from tv.c:38: frequencies.h:107: error: array type has incomplete element type make[1]: * [tv.o] Error 1 make: * [libmpdemux/libmpdemux.a] Error 2 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_multimedia_MPlay er/work/MPlayer-1.0pre7" && make all" returned error 2 Command output: open.c: In function 'dvd_parse_chapter_range': open.c:573: warning: passing argument 2 of 'strtol' from incompatible pointer type open.c: In function 'dvd_aid_from_lang': open.c:634: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness open.c: In function 'dvd_sid_from_lang': open.c:673: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness cc -c -I../libvo -I../../libvo -O4 -faltivec -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN - DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I.. -I../ loader -I/opt/local/include -I../libavcodec -I../libavformat -o parse_es.o parse_es.c cc -c -I../libvo -I../../libvo -O4 -faltivec -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN - DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I.. -I../ loader -I/opt/local/include -I../libavcodec -I../libavformat -o stream.o stream.c stream.c: In function 'stream_fill_buffer': stream.c:199: warning: pointer targets in passing argument 2 of 's->streaming_ctrl->streaming_read' differ in signedness stream.c:207: warning: pointer targets in passing argument 1 of 'cue_vcd_read' differ in signedness stream.c:231: warning: pointer targets in passing argument 2 of 's->fill_buffer' differ in signedness cc -c -I../libvo -I../../libvo -O4 -faltivec -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN - DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I.. -I../ loader -I/opt/local/include -I../libavcodec -I../libavformat -o stream_file.o stream_file.c stream_file.c: In function 'seek_forward': stream_file.c:59: warning: pointer targets in passing argument 2 of 's->fill_buffer' differ in signedness cc -c -I../libvo -I../../libvo -O4 -faltivec -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN - DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I.. -I../ loader -I/opt/local/include -I../libavcodec -I../libavformat -o stream_netstream.o stream_netstream.c cc -c -I../libvo -I../../libvo -O4 -faltivec -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN - DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I.. -I../ loader -I/opt/local/include -I../libavcodec -I../libavformat -o stream_vcd.o stream_vcd.c In file included from stream_vcd.c:23: vcd_read_darwin.h: In function 'vcd_get_track_end': vcd_read_darwin.h:83: warning: return makes integer from pointer without a cast cc -c -I../libvo -I../../libvo -O4 -faltivec -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN - DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I.. -I../ loader -I/opt/local/include -I../libavcodec -I../libavformat -o stream_null.o stream_null.c cc -c -I../libvo -I../../libvo -O4 -faltivec -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN - DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I.. -I../ loader -I/opt/local/include -I../libavcodec -I../libavformat -o stream_ftp.o stream_ftp.c stream_ftp.c: In function 'fill_buffer': stream_ftp.c:231: warning: vectorised memset disabled due to use of -faltivec without -maltivec cc -c -I../libvo -I../../libvo -O4 -faltivec -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN - DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I.. -I../ loader -I/opt/local/include -I../libavcodec -I../libavformat -o stream_vstream.o stream_vstream.c cc -c -I../libvo -I../../libvo -O4 -faltivec -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN - DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include -I.. -I../ loader -I/opt/local/include -I../libavcodec -I../libavformat -o tv.o tv.c In file included from tv.c:38: frequencies.h:107: error: array type has incomplete element type make[1]: * [tv.o] Error 1 make: * [libmpdemux/libmpdemux.a] Error 2
This should now be fixed in the latest revision of the port. Thanks for the report.