ports/155937: [patch] multimedia/libvpx incompatible with doxygen

Peter Jeremy peterjeremy at acm.org
Fri Mar 25 22:40:14 UTC 2011


>Number:         155937
>Category:       ports
>Synopsis:       [patch] multimedia/libvpx incompatible with doxygen
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 25 22:40:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
n/a
>Environment:
System: FreeBSD server.vk2pj.dyndns.org 8.2-STABLE FreeBSD 8.2-STABLE #9: Sun Feb 27 17:46:10 EST 2011 root at server.vk2pj.dyndns.org:/var/obj/usr/src/sys/server amd64

doxygen-1.7.3, php5-5.3.6

>Description:

	I am trying to build multimedia/libvpx (as part of kde4) and it's
	consistently failing on my main (amd64) box.  I've tried in an i386
	jail (with different ports) and it works.  Judging by the build log
	differences, the problem appears to be that it's detecting the
	presence of doxygen on the former host, trying to build doxygen
	documentation and failing (see below).  The fix appears to be to
	explicitly disable the documentation.

>How-To-Repeat:
	Install doxygen and then try to make libvpx with default options:
	$ make DISABLE_MAKE_JOBS=yes
	===>  License BSD accepted by the user
	===>  Found saved configuration for libvpx-0.9.5
	===>  Extracting for libvpx-0.9.5
	=> SHA256 Checksum OK for libvpx-v0.9.5.tar.bz2.
	===>   libvpx-0.9.5 depends on file: /usr/local/bin/perl5.10.1 - found
	===>  Patching for libvpx-0.9.5
	===>   libvpx-0.9.5 depends on file: /usr/local/bin/perl5.10.1 - found
	===>  Applying FreeBSD patches for libvpx-0.9.5
	===>   libvpx-0.9.5 depends on file: /usr/local/bin/bash - found
	===>   libvpx-0.9.5 depends on file: /usr/local/bin/yasm - found
	===>   libvpx-0.9.5 depends on executable: gmake - found
	===>   libvpx-0.9.5 depends on file: /usr/local/bin/perl5.10.1 - found
	===>  Configuring for libvpx-0.9.5
	Configuring selected codecs
	enabling vp8_encoder
	enabling vp8_decoder
	Configuring for target 'x86_64-linux-gcc'
	enabling x86_64
	enabling pic
	enabling runtime_cpu_detect
	enabling mmx
	enabling sse
	enabling sse2
	enabling sse3
	enabling ssse3
	using yasm
	enabling postproc
	Creating makefiles for x86_64-linux-gcc libs
	Creating makefiles for x86_64-linux-gcc examples
	Creating makefiles for x86_64-linux-gcc docs
	===>  Building for libvpx-0.9.5
	...
	mkdir -p nestegg/halloc/src/
	cc -O2 -pipe -fno-strict-aliasing -m64 -O3 -fPIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wcast-qual -Wno-unused -I. -I"/tank/obj/usr/ports/multimedia/libvpx/work/libvpx-v0.9.5" -I/tank/obj/usr/ports/multimedia/libvpx/work/libvpx-v0.9.5/vp8 -I/tank/obj/usr/ports/multimedia/libvpx/work/libvpx-v0.9.5/vp8 -M nestegg/halloc/src/halloc.c | sed -e 's;^\([a-zA-Z0-9_]*\)\.o;nestegg/halloc/src/\1.c.o nestegg/halloc/src/halloc.c.d;' > nestegg/halloc/src/halloc.c.d
	[DOXY] samples.dox
	[DOXY] vpxdec.dox
	[DOXY] vpxenc.dox
	[DOXY] simple_decoder.dox

	Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

	Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
	[DOXY] postproc.dox

	Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

	Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
	[DOXY] decode_to_md5.dox

	Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

	Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
	[DOXY] simple_encoder.dox

	Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

	Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
	[DOXY] twopass_encoder.dox

	Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

	Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
	[DOXY] force_keyframe.dox

	Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

	Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
	[DOXY] decode_with_drops.dox

	Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

	Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
	[DOXY] error_resilient.dox

	Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

	Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
	[DOXY] vp8_scalable_patterns.dox

	Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0

	Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
	gmake[1]: *** [vp8_scalable_patterns.dox] Error 255
	gmake: *** [.DEFAULT] Error 2
	*** Error code 1

	Stop in /usr/ports/multimedia/libvpx.
	*** Error code 1

	Stop in /usr/ports/multimedia/libvpx.
	make DISABLE_MAKE_JOBS=yes  25.40s user 10.02s system 38% cpu 1:31.80 total

>Fix:
Index: Makefile
===================================================================
RCS file: /usr/ncvs/ports/multimedia/libvpx/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	21 Nov 2010 04:41:29 -0000	1.4
+++ Makefile	25 Mar 2011 22:20:23 -0000
@@ -35,7 +35,7 @@
 		SHARED	"Enable shared-library support"	ON
 
 ALL_TARGET=
-CONFIGURE_ARGS+=	--enable-pic --disable-install-srcs --enable-vp8
+CONFIGURE_ARGS+=	--enable-pic --disable-install-srcs --enable-vp8 --disable-install-docs
 MAKE_ARGS+=	DIST_DIR=${PREFIX} verbose=yes
 
 .include <bsd.port.options.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list