MPlayer-1.0rc2 at FreeBSD 7.0-RELEASE-p3 from ports.

Willy Picard picard at kti.ae.poznan.pl
Mon Aug 11 19:44:31 UTC 2008


Hi,

The mplayer port is still broken after the last ffmpeg update.  More precisely,
the mplayer-0.99.11_5 port with ffmpeg-2008.07.27_5 (on a i386 FreeBSD 7
machine) is broken. However, the fix given formerly by Jeremy Messenger (cf.
http://lists.freebsd.org/pipermail/freebsd-multimedia/2008-July/008856.html
solves the problem. Could the maintainer commit the patch?

Best regards,

Willy Picard

On Thu, Aug 07, 2008 at 05:30:51PM -0500, Jeremy Messenger wrote:
> On Thu, 07 Aug 2008 16:01:29 -0500, Andrey A. Belashkov  
> <virus at virus.org.ua> wrote:
> 
> > Hello.
> >
> > When i try to install mplayer from ports at FreeBSD 7.0-RELEASE-p3 i got
> > error:
> >
> > gmake -C libvo libvo.a
> > gmake[1]: Entering directory
> > `/usr/ports/multimedia/mplayer/work/MPlayer-1.0rc2/libvo'
> > cc -O2 -fno-strict-aliasing -pipe -O3 -ffast-math -fomit-frame-pointer
> > -I./libavcodec -I./libavformat
> >  -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
> > -I. -I. -I./libavutil -O2 -f
> > no-strict-aliasing -pipe -O3 -ffast-math -fomit-frame-pointer
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BIT
> > S=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
> > -I/usr/local/include/freetype2 -I/usr/local/include -I/usr
> > /local/include -I/usr/local/include/freetype2 -I/usr/local/include
> > -D_THREAD_SAFE -I/usr/local/includ
> > e/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0
> > -I/usr/local/include/cairo -I
> > /usr/local/include/pango-1.0 -I/usr/local/include
> > -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib
> > -2.0/include -I/usr/local/include/freetype2
> > -I/usr/local/include/pixman-1   -I../libavcodec -I../liba
> > vformat -Wdisabled-optimization -Wno-pointer-sign
> > -Wdeclaration-after-statement -I. -I.. -I../libavut
> > il -O2 -fno-strict-aliasing -pipe -O3 -ffast-math -fomit-frame-pointer
> > -D_LARGEFILE_SOURCE -D_FILE_O
> > FFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H
> > -I/usr/local/include/freetype2 -I/usr/local/inclu
> > de -I/usr/local/include -I/usr/local/include/freetype2
> > -I/usr/local/include -D_THREAD_SAFE -I/usr/loc
> > al/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
> > -I/usr/local/include/atk-1.0 -I/usr/local/include
> > /cairo -I/usr/local/include/pango-1.0 -I/usr/local/include
> > -I/usr/local/include/glib-2.0 -I/usr/local
> > /lib/glib-2.0/include -I/usr/local/include/freetype2
> > -I/usr/local/include/pixman-1     -c -o vo_yuv4m
> > peg.o vo_yuv4mpeg.c
> > In file included from /usr/local/include/libavutil/rational.h:32,
> >                  from vo_yuv4mpeg.c:46:
> > /usr/local/include/libavutil/common.h:124: error: redefinition of
> > 'av_log2'
> > ../libavutil/common.h:98: error: previous definition of 'av_log2' was
> > here
> > /usr/local/include/libavutil/common.h:140: error: redefinition of
> > 'av_log2_16bit'
> > ../libavutil/common.h:116: error: previous definition of 'av_log2_16bit'
> > was here
> > /usr/local/include/libavutil/common.h:153: error: redefinition of
> > 'mid_pred'
> > ../libavutil/common.h:131: error: previous definition of 'mid_pred' was
> > here
> > /usr/local/include/libavutil/common.h:200: error: redefinition of
> > 'av_clip'
> > ../libavutil/common.h:178: error: previous definition of 'av_clip' was
> > here
> > /usr/local/include/libavutil/common.h:212: error: redefinition of
> > 'av_clip_uint8'
> > ../libavutil/common.h:190: error: previous definition of 'av_clip_uint8'
> > was here
> > /usr/local/include/libavutil/common.h:223: error: redefinition of
> > 'av_clip_int16'
> > ../libavutil/common.h:201: error: previous definition of 'av_clip_int16'
> > was here
> > /usr/local/include/libavutil/common.h:248: error: redefinition of
> > 'ff_get_fourcc'
> > ../libavutil/common.h:212: error: previous definition of 'ff_get_fourcc'
> > was here
> > /usr/local/include/libavutil/common.h:327: error: redefinition of
> > 'read_time'
> > ../libavutil/common.h:291: error: previous definition of 'read_time' was
> > here
> > In file included from /usr/local/include/libavutil/rational.h:32,
> >                  from vo_yuv4mpeg.c:46:
> > /usr/local/include/libavutil/common.h:383:1: warning: "STOP_TIMER"
> > redefined
> > In file included from ../libavutil/avutil.h:40,
> >                  from ../libswscale/swscale.h:30,
> >                  from vo_yuv4mpeg.c:43:
> > ../libavutil/common.h:349:1: warning: this is the location of the
> > previous definition
> > In file included from vo_yuv4mpeg.c:46:
> > /usr/local/include/libavutil/common.h:383:1: warning: "STOP_TIMER"
> > redefined
> > In file included from ../libavutil/avutil.h:40,
> >                  from ../libswscale/swscale.h:30,
> >                  from vo_yuv4mpeg.c:43:
> > ../libavutil/common.h:349:1: warning: this is the location of the
> > previous definition
> > In file included from vo_yuv4mpeg.c:46:
> > /usr/local/include/libavutil/rational.h:37: error: redefinition of
> > 'struct AVRational'
> > /usr/local/include/libavutil/rational.h:40: error: redefinition of
> > typedef 'AVRational'
> > ../libavutil/rational.h:39: error: previous declaration of 'AVRational'
> > was here
> > /usr/local/include/libavutil/rational.h:48: error: redefinition of
> > 'av_cmp_q'
> > ../libavutil/rational.h:47: error: previous definition of 'av_cmp_q' was
> > here
> > /usr/local/include/libavutil/rational.h:60: error: redefinition of
> > 'av_q2d'
> > ../libavutil/rational.h:59: error: previous definition of 'av_q2d' was
> > here
> > gmake[1]: *** [vo_yuv4mpeg.o] Error 1
> > gmake[1]: Leaving directory
> > `/usr/ports/multimedia/mplayer/work/MPlayer-1.0rc2/libvo'
> > gmake: *** [libvo/libvo.a] Error 2
> > *** Error code 2
> >
> > Stop in /usr/ports/multimedia/mplayer.
> > *** Error code 1
> >
> > Stop in /usr/ports/multimedia/mplayer.
> >
> > How i can fix this? ports is up to date.
> 
> http://lists.freebsd.org/pipermail/freebsd-multimedia/2008-July/008856.html
> 
> Cheers,
> Mezz
> 
> 
> -- 
> mezz7 at cox.net  -  mezz at FreeBSD.org
> FreeBSD GNOME Team
> http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 

-- 
Willy Picard                        e-mail: picard at kti.ae.poznan.pl
Dept. of Information Technology     www:    http://www.kti.ae.poznan.pl/
The Poznan University of Economics  tel:    +48 61 848 05 49
Mansfelda 4, 60-854 Poznan, Poland  fax:    +48 61 848 38 40


More information about the freebsd-ports mailing list