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

Bug 428202

Summary: net-libs/telepathy-logger-qt-0.4.1 fails with sys-devel/bison-2.6
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: asturm, cruzki123, kredba
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=304104
Whiteboard: Fixed in 0.5.0
Package list:
Runtime testing required: ---
Attachments: build.log

Description Dennis Schridde 2012-07-26 16:00:52 UTC
In file included from /var/tmp/portage/net-libs/telepathy-logger-qt-0.4.1/work/telepathy-logger-qt-0.4.1/codegen/yystype.h:29:0,
                 from parser.y:20:
/var/tmp/portage/net-libs/telepathy-logger-qt-0.4.1/work/telepathy-logger-qt-0.4.1_build/codegen/parser.hpp:87:14: error: ‘CodeGen’ was not declared in this scope
/var/tmp/portage/net-libs/telepathy-logger-qt-0.4.1/work/telepathy-logger-qt-0.4.1_build/codegen/parser.hpp:87:23: error: ‘codegen’ was not declared in this scope
/var/tmp/portage/net-libs/telepathy-logger-qt-0.4.1/work/telepathy-logger-qt-0.4.1_build/codegen/parser.cpp: In function ‘int yyparse(CodeGen*)’:
/var/tmp/portage/net-libs/telepathy-logger-qt-0.4.1/work/telepathy-logger-qt-0.4.1_build/codegen/parser.cpp:1228:26: error: ‘int yyparse(CodeGen*)’ redeclared as different kind of symbol
/var/tmp/portage/net-libs/telepathy-logger-qt-0.4.1/work/telepathy-logger-qt-0.4.1_build/codegen/parser.hpp:87:5: error: previous declaration of ‘int yyparse’
In file included from /var/tmp/portage/net-libs/telepathy-logger-qt-0.4.1/work/telepathy-logger-qt-0.4.1/codegen/yystype.h:29:0,
                 from analyzer.l:20:
/var/tmp/portage/net-libs/telepathy-logger-qt-0.4.1/work/telepathy-logger-qt-0.4.1_build/codegen/parser.hpp:87:14: error: ‘CodeGen’ was not declared in this scope
/var/tmp/portage/net-libs/telepathy-logger-qt-0.4.1/work/telepathy-logger-qt-0.4.1_build/codegen/parser.hpp:87:23: error: ‘codegen’ was not declared in this scope
make[2]: *** [codegen/CMakeFiles/codegen.dir/parser.cpp.o] Error 1


Reproducible: Always
Comment 1 Dennis Schridde 2012-07-26 16:01:12 UTC
Created attachment 319310 [details]
build.log
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2012-07-26 20:10:04 UTC
Can you please test with bison-2.5.1?
Comment 3 Dennis Schridde 2012-07-26 22:41:45 UTC
(In reply to comment #2)
> Can you please test with bison-2.5.1?
Works with bison-2.5.1.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2012-07-26 22:45:09 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Can you please test with bison-2.5.1?
> Works with bison-2.5.1.

Thanks for the fast response.
Comment 5 Andreas Sturmlechner gentoo-dev 2012-08-05 12:29:42 UTC
It just failed here at the same point with bison-2.6.1
Comment 6 Johannes Huber (RETIRED) gentoo-dev 2012-08-05 12:56:01 UTC
(In reply to comment #5)
> It just failed here at the same point with bison-2.6.1

Yes thats expected, API changed in 2.6 and this is also true for 2.6.1.
Comment 7 Johannes Huber (RETIRED) gentoo-dev 2012-08-09 09:34:52 UTC
I restricted >=bison-2.6 for now, until there is a real solution by upstream.  

+  09 Aug 2012; Johannes Huber <johu@gentoo.org>
+  telepathy-logger-qt-0.4.0.ebuild, telepathy-logger-qt-0.4.1.ebuild:
+  Add missing build deps, restrict sys-devel/bison to <2.6 wrt bug #428202.
+  Update homepage.
Comment 8 Johannes Huber (RETIRED) gentoo-dev 2012-08-25 12:46:14 UTC
>=net-libs/telepathy-logger-qt-0.5.0 builds with bison-2.6 and with older too. This is in fixed CVS now. Please sync in some hours to get the changes.

+  25 Aug 2012; Johannes Huber <johu@gentoo.org>
+  +telepathy-logger-qt-0.5.0.ebuild:
+  Version bump, fixes bug #428202.