From nobody@FreeBSD.org  Mon Feb  8 20:51:42 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 4C3DE1065676
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <fidaj@ukr.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: multimedia/gmerlin portupgrade error
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         143679
>Category:       ports
>Synopsis:       multimedia/gmerlin portupgrade error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 08 21:00:05 UTC 2010
>Closed-Date:    Mon Mar 22 17:26:35 UTC 2010
>Last-Modified:  Mon Mar 22 17:30:07 UTC 2010
>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:
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Mon Feb 8 21:00:15 UTC 2010 
Class-Changed-Why:  
Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143679 
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Feb 8 21:00:19 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143679 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Mon Mar 22 17:26:33 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143679 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/143679: commit references a PR
Date: Mon, 22 Mar 2010 17:26:18 +0000 (UTC)

 amdmi3      2010-03-22 17:26:09 UTC
 
   FreeBSD ports repository
 
   Modified files:
     multimedia/gmerlin   Makefile 
   Log:
   - Fix build in presence of graphics/libvisual
   
   PR:             143679
   Submitted by:   Ivan Klymenko <fidaj@ukr.net>
   
   Revision  Changes    Path
   1.9       +2 -1      ports/multimedia/gmerlin/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
