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.
Created attachment 290005 [details] build log
Yes, I can confirm that, it fails to build
OGMRip 0.13.6 does not support glib 2.30. Please, try OGMRip 0.13.7.
(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
You can use the patch from bug #385121
fixed in 1.0.1