Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511560 - dev-util/xxdiff-4.0_beta1_p20110426 with sys-devel/bison-3* - resParser.y:384:48: error: 'resources' was not declared in this scope
Summary: dev-util/xxdiff-4.0_beta1_p20110426 with sys-devel/bison-3* - resParser.y:384...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL: http://sourceforge.net/p/xxdiff/bugs/...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: bison-3-breakage
  Show dependency tree
 
Reported: 2014-05-26 19:11 UTC by Petr Zima
Modified: 2014-05-27 12:36 UTC (History)
0 users

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


Attachments
patch fixing the problem (xxdiff-4.0_beta1_p20110426-bison3.patch,3.14 KB, patch)
2014-05-26 19:13 UTC, Petr Zima
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Zima 2014-05-26 19:11:36 UTC
Build of xxdiff-4 using bison-3 fails with:
[...]
                      resParser.y:384:48: error: 'resources' was not declared in this scope
                    RESOURCES->setHordiffContext( $3 );
                                                ^
resParser.y:391:48: error: 'resources' was not declared in this scope
                    RESOURCES->setShowPaneMergedViewPercent( $3 );
                                                ^
resParser.y:398:48: error: 'resources' was not declared in this scope
                    RESOURCES->setMergedFilename( $3 );
                                                ^
Makefile:1075: recipe for target 'resParser_yacc.o' failed
make: *** [resParser_yacc.o] Error 1
                          ^

Reproducible: Always
Comment 1 Petr Zima 2014-05-26 19:13:33 UTC
Created attachment 377676 [details, diff]
patch fixing the problem

The bug is already in the upstream bugzilla (see URL), the attached patch fixes fixes the problem.
Comment 2 Petr Zima 2014-05-27 08:26:49 UTC
Adding to the tracker bug 479254.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-05-27 12:36:08 UTC
+*xxdiff-4.0_beta1_p20110426-r1 (27 May 2014)
+
+  27 May 2014; Samuli Suominen <ssuominen@gentoo.org>
+  +files/xxdiff-4.0_beta1_p20110426-bison3.patch,
+  +xxdiff-4.0_beta1_p20110426-r1.ebuild, xxdiff-4.0_beta1_p20110426.ebuild:
+  Restrict -r0 to <sys-devel/bison-3 and fix building in -r1 wrt #511560 by
+  "zimous"