Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486408 - gnome-base/libgnomeprint-2.18.8 fails with bison-3
Summary: gnome-base/libgnomeprint-2.18.8 fails with bison-3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks: bison-3-breakage
  Show dependency tree
 
Reported: 2013-09-29 01:58 UTC by Patrick Lauer
Modified: 2014-04-29 11:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2013-09-29 01:58:52 UTC
mv -f .deps/art_rgba_svp.Tpo .deps/art_rgba_svp.Plo
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2 -DG_LOG_DOMAIN=\"GnomePrint\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGNOME_PRINT_DATA_DIR=\"/usr/share/libgnomeprint/2.18.8\" -DGNOME_PRINT_MODULES_DIR=\"/usr/lib64/libgnomeprint/2.18.8/modules\" -O2 -pipe -march=native -MT grammar.tab.lo -MD -MP -MF .deps/grammar.tab.Tpo -c grammar.tab.c  -fPIC -DPIC -o .libs/grammar.tab.o
mv -f .deps/gnome-font-face.Tpo .deps/gnome-font-face.Plo
./grammar.y: In function ‘set_value_from_string’:
./grammar.y:34:2: warning: ‘g_value_array_get_type’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:62): Use 'GArray' instead [-Wdeprecated-declarations]
  else if (G_VALUE_HOLDS (v, G_TYPE_VALUE_ARRAY)) {
  ^
./grammar.y:35:3: warning: ‘g_value_array_new’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:69): Use 'GArray' instead [-Wdeprecated-declarations]
   GValueArray *va = g_value_array_new (0);
   ^
./grammar.y:46:4: warning: ‘g_value_array_append’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:82): Use 'GArray' instead [-Wdeprecated-declarations]
    g_value_array_append (va, &vd);
    ^
./grammar.y:54:3: warning: ‘g_value_array_free’ is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:72): Use 'GArray' instead [-Wdeprecated-declarations]
   g_value_array_free (va);
   ^
./grammar.y: In function ‘_gnome_print_filter_parse__parse’:
./grammar.y:169:18: error: ‘graph’ undeclared (first use in this function)
     ((graph_t *) graph)->error = g_error_new (
                  ^
./grammar.y:169:18: note: each undeclared identifier is reported only once for each function it appears in
./grammar.y: In function ‘_gnome_print_filter_parse_launch’:
./grammar.y:217:2: error: too many arguments to function ‘_gnome_print_filter_parse__parse’
  yyparse (&g);
  ^
grammar.tab.c:63:25: note: declared here
 #define yyparse         _gnome_print_filter_parse__parse
                         ^
grammar.tab.c:1051:1: note: in expansion of macro ‘yyparse’
 yyparse (void)
 ^
make[3]: *** [grammar.tab.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/lex._gnome_print_filter_parse_yy.Tpo .deps/lex._gnome_print_filter_parse_yy.Plo
make[3]: Leaving directory `/var/tmp/portage/gnome-base/libgnomeprint-2.18.8/work/libgnomeprint-2.18.8/libgnomeprint'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-base/libgnomeprint-2.18.8/work/libgnomeprint-2.18.8/libgnomeprint'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-base/libgnomeprint-2.18.8/work/libgnomeprint-2.18.8'
make: *** [all] Error 2
emake failed
 * ERROR: gnome-base/libgnomeprint-2.18.8::gentoo failed (compile phase):
 *   compile failure
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-29 11:45:29 UTC
+  29 Apr 2014; Lars Wendler <polynomial-c@gentoo.org>
+  libgnomeprint-2.18.8.ebuild, +files/libgnomeprint-2.18.8-bison3.patch:
+  Fix compilation with >=sys-devel/bison-3.0 (bug #486408) with kind permission
+  from gnome team.
+