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

Bug 511560

Summary: dev-util/xxdiff-4.0_beta1_p20110426 with sys-devel/bison-3* - resParser.y:384:48: error: 'resources' was not declared in this scope
Product: Gentoo Linux Reporter: Petr Zima <zima>
Component: [OLD] DevelopmentAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/p/xxdiff/bugs/229/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 479254    
Attachments: patch fixing the problem

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"