Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2010 20:51:41 GMT
From:      Ivan Klymenko <fidaj@ukr.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/143679: multimedia/gmerlin portupgrade error
Message-ID:  <201002082051.o18Kpf13063939@www.freebsd.org>
Resent-Message-ID: <201002082100.o18L05mu099724@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002082051.o18Kpf13063939>