misc/176272: multimedia/mplayer fails to build with clang

Anatoly Borodin anatoly.borodin at gmail.com
Tue Feb 19 18:40:01 UTC 2013


>Number:         176272
>Category:       misc
>Synopsis:       multimedia/mplayer fails to build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 19 18:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Anatoly Borodin
>Release:        9.1-STABLE
>Organization:
>Environment:
FreeBSD hp.home 9.1-STABLE FreeBSD 9.1-STABLE #0: Sun Feb 17 23:40:54 CET 2013     anatoly.borodin at gmail.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
The last src commit:
## SVN ## r246914 | jilles | 2013-02-17 14:25:42 +0000 (Sun, 17 Feb 2013) | 2 lines

The last ports commit:
## SVN ## r312556 | ale | 2013-02-19 11:59:40 +0000 (Tue, 19 Feb 2013) | 4 lines

multimedia/mplayer produces errors during the build.

# make showconfig
===> The following configuration options are available for mplayer-1.1.r20120721_2:
     DEBUG=off: Include debug symbols in mplayer's binaries
     RTCPU=on: Allow runtime CPU detection
     OCFLAGS=on: Use optimized compiler flags
     OTCHAIN=off: Use gcc 4.6+ toolchain on legacy systems
     IPV6=on: Include inet6 network support
     X11=on: Enable X11 support for mplayer's video output
     X11XV=on: X11 video drivers: XV
     X11DGA=on: X11 video drivers: DGA
     X11GL=on: X11 video drivers: OpenGL
     X11XIN=on: X11 video drivers: Xinerama
     X11VM=on: X11 VidMode support
     X11XVMC=on: Enable XvMC acceleration
     VDPAU=off: Enable Nvidia VDPAU acceleration
     GUI=on: Enable GTK2 graphical user interface with X11
     SDL=on: Enable SDL video output
     SKINS=on: Force dependency on mplayer-skins
     RTC=on: Add support for kernel real time clock timing
     ARTS=off: Enable KDE sound system support
     ESOUND=off: Enable GNOME esound support
     JACK=off: Enable JackIt audio server support
     NAS=off: Enable NAS sound server support
     OPENAL=on: Enable OpenAL sound support
     PULSE=on: Enable PulseAudio
     LIBUNGIF=on: Enable gif support
     OPENJPEG=on: Enable JPEG2000 support
     MNG=on: Enable MNG input support
     AALIB=on: Enable aalib support
     LIBCACA=on: Enable libcaca support
     SVGALIB=off: Enable svgalib support
     LIBDV=on: Enable libdv support
     MAD=on: Enable mad MPEG audio engine support
     AMR_NB=on: AMR Narrow Band encoder (opencore)
     AMR_WB=on: AMR Wide Band encoder (opencore)
     GSM=on: GSM audio codec
     LADSPA=on: Enable LADSPA plugin support
     SPEEX=on: Enable speex audio codec support
     THEORA=on: Enable ogg theora video support
     VPX=on: Enable VP8 video via libvpx
     SCHROEDINGER=on: Dirac codec via libschroedinger
     WIN32=on: Enable win32 codec set on the IA32 arch
     REALPLAYER=off: Enable real player plugin
     LIVEMEDIA=on: Enable LIVE555 streaming support
     SMB=on: Enable Samba input support
     BLURAY=on: Build with libbluray support
     FRIBIDI=on: Enable FriBiDi support
     LIRC=off: Enable lirc support
     LIBCDIO=on: Enable libcdio support
     CDPARANOIA=on: Enable cdparanoia support
     LIBLZO=on: Enable external liblzo library
     JOYSTICK=off: Enable joystick support
     V4L=on: Enable Video4Linux TV support
     LIBRTMP=on: Enable RTMPDump Streaming Media support
     ENCA=on: Enable enca charset detection
===> Use 'make config' to modify these settings


# cat /etc/make.conf
CPUTYPE?=native

WRKDIRPREFIX=/usr/obj
PACKAGES=/storage/packages
DISTDIR=/storage/distfiles
KDE4_PREFIX=${LOCALBASE}

DISABLE_VULNERABILITIES=yes

RANDOMIZE_MASTER_SITES=yes

#FETCH_CMD=wget -c -t 10 -T 15

APACHE_PORT=www/apache22
OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10
QT4_OPTIONS=CUPS PHONON QGTKSTYLE
WITH_BDB_VER=5
WITH_ENCODING=all
WITH_MSWINDOWS_LICENSE=yes
WITH_MYSQL_VER=55
WITH_TCL_VER=86
WITH_TK_VER=86
WITH_UNICODE=yes
WITH_VIM_OPTIONS=yes
WITH_WX_VER=2.8

# added by use.perl 2013-02-08 02:05:09
PERL_VERSION=5.14.2

>How-To-Repeat:
# cd /usr/ports/multimedia/mplayer; script build_log_all.txt make; script build_log_short.txt make

See the log files here:

https://gist.github.com/anatolyborodin/c439fb35791dc894bc34/raw/20391257b317354f8b29b0784fc30aa126d88643/build_log_all.txt.gz (the biggest one)

https://gist.github.com/anatolyborodin/c439fb35791dc894bc34/raw/df47fbfddf5c289bd6d5daddc80835aa4ce99bfc/build_log_short.txt.gz
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list