ports/175080: multimedia/mplayer2 does not compile without X11
Jose Perez
pr at aoek.com
Mon Jan 7 00:00:00 UTC 2013
>Number: 175080
>Category: ports
>Synopsis: multimedia/mplayer2 does not compile without X11
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 07 00:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Jose Perez
>Release: 9.1
>Organization:
>Environment:
FreeBSD myhostname 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Fri Dec 28 22:16:11 UTC 2012 root at myhostname:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Ports multimedia/mplayer2 does not compile if you config the port without X11 (make config).
The error reported is:
/usr/ports/multimedia/mplayer2# make
N - O - T - E
There are some knobs which *can* *not* be selected via the
OPTIONS framework. You might want to check the Makefile in
order to learn more about them.
===> License GPLv2 accepted by the user
===> Found saved configuration for mplayer2-2.0.20121103
===> mplayer2-2.0.20121103 depends on file: /usr/local/sbin/pkg - found
===> Extracting for mplayer2-2.0.20121103
=> SHA256 Checksum OK for mplayer2-2.0.20121103.tar.xz.
===> Patching for mplayer2-2.0.20121103
===> Applying FreeBSD patches for mplayer2-2.0.20121103
===> mplayer2-2.0.20121103 depends on executable: ffmpeg1 - found
===> mplayer2-2.0.20121103 depends on executable: rst2man - found
===> mplayer2-2.0.20121103 depends on file: /usr/local/include/linux/videodev2.h - found
===> mplayer2-2.0.20121103 depends on file: /usr/local/bin/python3.3 - found
===> mplayer2-2.0.20121103 depends on executable: gmake - found
===> mplayer2-2.0.20121103 depends on shared library: png15 - found
===> mplayer2-2.0.20121103 depends on shared library: freetype - found
===> mplayer2-2.0.20121103 depends on shared library: v4l2 - found
===> mplayer2-2.0.20121103 depends on shared library: ass - found
===> mplayer2-2.0.20121103 depends on shared library: iconv.3 - found
===> Configuring for mplayer2-2.0.20121103
Unknown parameter: --disable-fontconfig
===> Script "configure" failed unexpectedly.
Please report the problem to gblach at FreeBSD.org [maintainer] and attach the
"/usr/ports/multimedia/mplayer2/work/mplayer2-2.0.20121103/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg info -g -Ea).
*** [do-configure] Error code 1
Stop in /usr/ports/multimedia/mplayer2.
*** [build] Error code 1
Stop in /usr/ports/multimedia/mplayer2.
>How-To-Repeat:
cd /usr/ports/multimedia/mplayer2
make config -> deselect X11 option
make -> boooom
>Fix:
This is just a workaround to have the port build.
Remove the offending option --disable-fontconfig from the Makefile. You can use the attache diff file.
The port then builds, and does not require any X11-related port.
Nevertheless it still depends on fontconfig.
Patch attached with submission follows:
--- Makefile.orig 2013-01-06 23:18:48.000000000 +0000
+++ Makefile 2013-01-06 23:19:16.000000000 +0000
@@ -246,7 +246,7 @@
CONFIGURE_ARGS+= --disable-xinerama
.endif
.else #WITHOUT_X11
-CONFIGURE_ARGS+= --disable-x11 --disable-fontconfig
+CONFIGURE_ARGS+= --disable-x11
.endif
.if ${PORT_OPTIONS:MVDPAU}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list