Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 387341

Summary: media-video/ogmrip-0.13.6 - ogmdvd-disc.h:71:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
Product: Gentoo Linux Reporter: Sven E. <dark>
Component: Current packagesAssignee: Olivier Rolland <billl>
Status: RESOLVED OBSOLETE    
Severity: normal CC: media-video, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Sven E. 2011-10-16 21:30:31 UTC
media-video/ogmrip-0.13.6 fails to build with build errors concerning glib headers.



Reproducible: Always

Steps to Reproduce:
1. emerge ogmrip
Actual Results:  
build failure

Expected Results:  
clean build

Error is:


/usr/include/glib-2.0/glib/ghash.h:140:10: note: expected 'gconstpointer' but argument is of type 'int'
ogmdvd-disc.c: At top level:
ogmdvd-disc.c:791:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-disc.c:807:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-disc.c:823:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
In file included from ogmdvd-labels.c:30:0:
ogmdvd-labels.h:26:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.h:27:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.h:28:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.h:29:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.h:30:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.h:31:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.h:32:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.h:33:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.h:34:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.h:35:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
make[2]: *** [ogmdvd-disc.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
ogmdvd-labels.c:251:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.c:275:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.c:299:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.c:327:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.c:355:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.c:379:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.c:404:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.c:440:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.c:463:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
ogmdvd-labels.c:492:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gchar'
make[2]: *** [ogmdvd-labels.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/ogmrip-0.13.6/work/ogmrip-0.13.6/libogmdvd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/ogmrip-0.13.6/work/ogmrip-0.13.6'
make: *** [all] Error 2
emake failed


Probably related to glib-2.30 and deprecated stuff.
Comment 1 Sven E. 2011-10-16 21:31:23 UTC
Created attachment 290005 [details]
build log
Comment 2 Jouni Rinne 2011-10-17 03:15:24 UTC
Yes, I can confirm that, it fails to build
Comment 3 Olivier Rolland 2011-10-19 08:14:41 UTC
OGMRip 0.13.6 does not support glib 2.30. Please, try OGMRip 0.13.7.
Comment 4 Sven E. 2011-10-21 17:48:16 UTC
(In reply to comment #3)
> OGMRip 0.13.6 does not support glib 2.30. Please, try OGMRip 0.13.7.

That would make sense iff that version was in the tree.

Since glib-2.30 is in the tree and not slotted, the 0.13.6 ebuild should be fixed.

Possibilities:

A) Dep on <glib-2.30 & put ebuild for newer ogmrip into tree
B) remove DISABLE_DEPRECATED flags for the time being
Comment 5 Olivier Rolland 2011-10-27 17:36:11 UTC
You can use the patch from bug #385121
Comment 6 Pacho Ramos gentoo-dev 2015-01-17 22:31:41 UTC
fixed in 1.0.1