Bug 143679 - multimedia/gmerlin portupgrade error
Summary: multimedia/gmerlin portupgrade error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-08 21:00 UTC by Ivan Klymenko
Modified: 2010-03-22 17:30 UTC (History)
0 users

See Also:


Attachments
file.diff (439 bytes, patch)
2010-02-08 21:00 UTC, Ivan Klymenko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Klymenko 2010-02-08 21:00:05 UTC
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.

Fix: Use this patch...

Patch attached with submission follows:
How-To-Repeat: portupgrade -a
Comment 1 Edwin Groothuis freebsd_committer 2010-02-08 21:00:15 UTC
Class Changed
From-To: maintainer-update->change-request

Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool)
Comment 2 Edwin Groothuis freebsd_committer 2010-02-08 21:00:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->amdmi3

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 dfilter service freebsd_committer 2010-03-22 17:26:18 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"
Comment 4 Dmitry Marakasov freebsd_committer 2010-03-22 17:26:33 UTC
State Changed
From-To: open->closed

Committed. Thanks!