From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 8 21:00:06 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBAA2106568D for ; Mon, 8 Feb 2010 21:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DB2438FC1F for ; Mon, 8 Feb 2010 21:00:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o18L05de099725 for ; Mon, 8 Feb 2010 21:00:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o18L05mu099724; Mon, 8 Feb 2010 21:00:05 GMT (envelope-from gnats) Resent-Date: Mon, 8 Feb 2010 21:00:05 GMT Resent-Message-Id: <201002082100.o18L05mu099724@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ivan Klymenko Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C3DE1065676 for ; Mon, 8 Feb 2010 20:51:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3B3AE8FC28 for ; Mon, 8 Feb 2010 20:51:42 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o18Kpfkk063941 for ; Mon, 8 Feb 2010 20:51:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o18Kpf13063939; Mon, 8 Feb 2010 20:51:41 GMT (envelope-from nobody) Message-Id: <201002082051.o18Kpf13063939@www.freebsd.org> Date: Mon, 8 Feb 2010 20:51:41 GMT From: Ivan Klymenko To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/143679: multimedia/gmerlin portupgrade error X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2010 21:00:07 -0000 >Number: 143679 >Category: ports >Synopsis: multimedia/gmerlin portupgrade error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Feb 08 21:00:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Ivan Klymenko >Release: FreeBSD 8.0-STABLE >Organization: individual >Environment: FreeBSD nonamehost 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun Feb 7 00:13:05 EET 2010 ivan@nonamehost:/usr/obj/usr/src/sys/mk8 amd64 >Description: error when portupgrade -a: .. bglv.c:39: error: 'VISUAL_GL_ATTRIBUTE_LAST' undeclared here (not in a function) bglv.c:41: error: 'VISUAL_GL_ATTRIBUTE_NONE' undeclared here (not in a function) bglv.c:41: error: array index in initializer not of integer type bglv.c:41: error: (near initialization for 'bg_attributes') bglv.c:42: error: 'VISUAL_GL_ATTRIBUTE_BUFFER_SIZE' undeclared here (not in a function) bglv.c:42: error: array index in initializer not of integer type bglv.c:42: error: (near initialization for 'bg_attributes') bglv.c:43: error: 'VISUAL_GL_ATTRIBUTE_LEVEL' undeclared here (not in a function) bglv.c:43: error: array index in initializer not of integer type bglv.c:43: error: (near initialization for 'bg_attributes') bglv.c:44: error: 'VISUAL_GL_ATTRIBUTE_RGBA' undeclared here (not in a function) bglv.c:44: error: array index in initializer not of integer type bglv.c:44: error: (near initialization for 'bg_attributes') bglv.c:45: error: 'VISUAL_GL_ATTRIBUTE_DOUBLEBUFFER' undeclared here (not in a function) bglv.c:45: error: array index in initializer not of integer type bglv.c:45: error: (near initialization for 'bg_attributes') bglv.c:46: error: 'VISUAL_GL_ATTRIBUTE_STEREO' undeclared here (not in a function) bglv.c:46: error: array index in initializer not of integer type bglv.c:46: error: (near initialization for 'bg_attributes') bglv.c:47: error: 'VISUAL_GL_ATTRIBUTE_AUX_BUFFERS' undeclared here (not in a function) bglv.c:47: error: array index in initializer not of integer type bglv.c:47: error: (near initialization for 'bg_attributes') bglv.c:48: error: 'VISUAL_GL_ATTRIBUTE_RED_SIZE' undeclared here (not in a function) bglv.c:48: error: array index in initializer not of integer type bglv.c:48: error: (near initialization for 'bg_attributes') bglv.c:49: error: 'VISUAL_GL_ATTRIBUTE_GREEN_SIZE' undeclared here (not in a function) bglv.c:49: error: array index in initializer not of integer type bglv.c:49: error: (near initialization for 'bg_attributes') bglv.c:50: error: 'VISUAL_GL_ATTRIBUTE_BLUE_SIZE' undeclared here (not in a function) bglv.c:50: error: array index in initializer not of integer type bglv.c:50: error: (near initialization for 'bg_attributes') bglv.c:51: error: 'VISUAL_GL_ATTRIBUTE_ALPHA_SIZE' undeclared here (not in a function) bglv.c:51: error: array index in initializer not of integer type bglv.c:51: error: (near initialization for 'bg_attributes') bglv.c:52: error: 'VISUAL_GL_ATTRIBUTE_DEPTH_SIZE' undeclared here (not in a function) bglv.c:52: error: array index in initializer not of integer type bglv.c:52: error: (near initialization for 'bg_attributes') bglv.c:53: error: 'VISUAL_GL_ATTRIBUTE_STENCIL_SIZE' undeclared here (not in a function) bglv.c:53: error: array index in initializer not of integer type bglv.c:53: error: (near initialization for 'bg_attributes') bglv.c:54: error: 'VISUAL_GL_ATTRIBUTE_ACCUM_RED_SIZE' undeclared here (not in a function) bglv.c:54: error: array index in initializer not of integer type bglv.c:54: error: (near initialization for 'bg_attributes') bglv.c:55: error: 'VISUAL_GL_ATTRIBUTE_ACCUM_GREEN_SIZE' undeclared here (not in a function) bglv.c:55: error: array index in initializer not of integer type bglv.c:55: error: (near initialization for 'bg_attributes') bglv.c:56: error: 'VISUAL_GL_ATTRIBUTE_ACCUM_BLUE_SIZE' undeclared here (not in a function) bglv.c:56: error: array index in initializer not of integer type bglv.c:56: error: (near initialization for 'bg_attributes') bglv.c:57: error: 'VISUAL_GL_ATTRIBUTE_ACCUM_ALPHA_SIZE' undeclared here (not in a function) bglv.c:57: error: array index in initializer not of integer type bglv.c:57: error: (near initialization for 'bg_attributes') bglv.c: In function 'check_widget': bglv.c:137: error: 'VISUAL_WIDGET_TYPE_COLORPALETTE' undeclared (first use in this function) bglv.c:137: error: (Each undeclared identifier is reported only once bglv.c:137: error: for each function it appears in.) bglv.c:165: error: 'VISUAL_WIDGET_TYPE_NOTEBOOK' undeclared (first use in this function) bglv.c:169: warning: implicit declaration of function 'VISUAL_UI_NOTEBOOK' bglv.c:169: error: invalid type argument of '->' bglv.c:226: error: 'VISUAL_WIDGET_TYPE_COLORBUTTON' undeclared (first use in this function) bglv.c: In function 'bg_lv_get_info': bglv.c:393: error: 'VisVideoAttributeOptions' undeclared (first use in this function) bglv.c:393: error: 'vidoptions' undeclared (first use in this function) bglv.c:394: warning: ISO C90 forbids mixed declarations and code bglv.c:460: error: 'VisPluginInfo' has no member named 'license' bglv.c:460: error: 'VisPluginInfo' has no member named 'license' bglv.c:463: error: 'VisPluginInfo' has no member named 'license' bglv.c:477: warning: implicit declaration of function 'visual_actor_get_video_attribute_options' bglv.c: In function 'update_lv': bglv.c:569: error: 'VisBuffer' undeclared (first use in this function) bglv.c:569: error: expected ';' before 'buffer' bglv.c:573: warning: implicit declaration of function 'visual_buffer_init' bglv.c:573: error: 'buffer' undeclared (first use in this function) bglv.c:576: warning: implicit declaration of function 'visual_audio_samplepool_input' bglv.c:576: error: 'VisAudio' has no member named 'samplepool' bglv.c:578: error: 'VISUAL_AUDIO_SAMPLE_RATE_44100' undeclared (first use in this function) bglv.c:579: error: 'VISUAL_AUDIO_SAMPLE_FORMAT_S16' undeclared (first use in this function) bglv.c:580: error: 'VISUAL_AUDIO_SAMPLE_CHANNEL_STEREO' undeclared (first use in this function) bglv.c: In function 'set_parameter_lv': bglv.c:805: warning: implicit declaration of function 'visual_color_set' bglv.c: In function 'bg_lv_load': bglv.c:833: error: 'VisVideoAttributeOptions' undeclared (first use in this function) bglv.c:833: error: 'vidoptions' undeclared (first use in this function) mv -f .deps/album_xml.Tpo .deps/album_xml.Plo *** Error code 1 mv -f .deps/bggavl.Tpo .deps/bggavl.Plo 1 error *** Error code 1 1 error *** Error code 1 1 error *** Error code 1 Stop in /usr/ports/multimedia/gmerlin. *** Error code 1 Stop in /usr/ports/multimedia/gmerlin. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100208-56691-u7t8o1-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gmerlin-0.4.1_1 UPGRADE_PORT_VER=0.4.1_1 make ** Fix the problem and try again. ---> Skipping 'multimedia/gmerlin-avdecoder' (gmerlin-avdecoder-1.0.1_1) because a requisite package 'gmerlin-0.4.1_1' (multimedia/gmerlin) failed (specify -k to force) port multimedia/gmerlin compiled with the option WITH_LIBVISUAL=true. not correctly identifies ways to libvisual-0.4 if in system is installed older version libvisual. >How-To-Repeat: portupgrade -a >Fix: Use this patch... Patch attached with submission follows: --- configure.orig 2010-02-08 22:28:15.000000000 +0200 +++ configure 2010-02-08 22:27:12.000000000 +0200 @@ -18512,7 +18512,7 @@ LV_REQUIRED="0.4.0" have_LV=false # Check whether --enable-libvisual was given. -if test "${enable_libvisual+set}" = set; then +if test "${enable_libvisual+set}" != set; then enableval=$enable_libvisual; case "${enableval}" in yes) test_lv=true ;; no) test_lv=false ;; >Release-Note: >Audit-Trail: >Unformatted: