This is a clone of https://bugs.gentoo.org/show_bug.cgi?id=392925 Building smokekde fails because of a segfault in smokegen The backtrace is Core was generated by `/usr/bin/smokegen -config /var/tmp/portage/kde-base/smokekde-4.7.4/work/smokekd'. Program terminated with signal 11, Segmentation fault. #0 0xb7703c6e in TypeCompiler::visitPtrOperator (this=0xbf868cec, node=0xbd51934c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:194 194 if (token_text(m_session->token_stream->kind(node->op))[0] == '*') { (gdb) bt #0 0xb7703c6e in TypeCompiler::visitPtrOperator (this=0xbf868cec, node=0xbd51934c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:194 #1 0xb72f9282 in Visitor::visit (this=0xbf868cec, node=0xbd51934c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #2 0xb7706437 in visitNodes<PtrOperatorAST*> (nodes=0xbd51938c, v=0xbf868cec) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.h:131 #3 TypeCompiler::run (this=0xbf868cec, ptr_ops=0xbd51938c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:106 #4 0xb7706627 in TypeCompiler::run (this=0xbf868cec, declarator=0xbd51931c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:69 #5 0xb7706e9c in TypeCompiler::run (this=0xbf868cec, node=0xbd5192c4, declarator=0xbd51931c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:63 #6 0xb770a194 in NameCompiler::visitTemplateArgument (this=0xbf86900c, node=0xbd5193ac) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/name_compiler.cpp:188 #7 0xb72f9282 in Visitor::visit (this=0xbf86900c, node=0xbd5193ac) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #8 0xb770962e in visitNodes<TemplateArgumentAST*> (nodes=<optimized out>, v=<optimized out>) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.h:131 #9 NameCompiler::visitUnqualifiedName (this=0xbf86900c, node=0xbd5192a8) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/name_compiler.cpp:162 #10 0xb72f9282 in Visitor::visit (this=0xbf86900c, node=0xbd5192a8) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #11 0xb72f7e8a in DefaultVisitor::visitName (this=0xbf86900c, node=0xbd519290) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/default_visitor.cpp:239 #12 0xb72f9282 in Visitor::visit (this=0xbf86900c, node=0xbd519290) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #13 0xb7709f3f in NameCompiler::internal_run (this=0xbf86900c, node=0xbd519290) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/name_compiler.cpp:123 #14 0xb7703d52 in TypeCompiler::visitName (this=0xbc5d8f70, node=0xbd519290) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:241 #15 0xb72f9282 in Visitor::visit (this=0xbc5d8f70, node=0xbd519290) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #16 0xb77033d7 in TypeCompiler::visitClassSpecifier (this=0xbc5d8f70, node=0xbd5195a8) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:165 #17 0xb72f9282 in Visitor::visit (this=0xbc5d8f70, node=0xbd5195a8) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #18 0xb7706e84 in TypeCompiler::run (this=0xbc5d8f70, node=0xbd5195a8, declarator=0x0) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/type_compiler.cpp:60 #19 0xb76ee9e0 in GeneratorVisitor::visitSimpleDeclaration (this=0xbf8694f4, node=0xbd519640) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/generatorvisitor.cpp:746 #20 0xb72f9282 in Visitor::visit (this=0xbf8694f4, node=0xbd519640) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #21 0xb76eb4e8 in visitTemplateDeclaration (node=<optimized out>, this=0xbf8694f4) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/generatorvisitor.cpp:836 #22 GeneratorVisitor::visitTemplateDeclaration (this=0xbf8694f4, node=0xbd519664) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/generatorvisitor.cpp:829 #23 0xb72f9282 in Visitor::visit (this=0xbf8694f4, node=0xbd519664) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #24 0xb72f8faf in visitNodes<DeclarationAST*> (v=0xbf8694f4, nodes=0xbd51a55c) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.h:131 #25 0xb72f8952 in DefaultVisitor::visitLinkageBody (this=0xbf8694f4, node=0xbd518d14) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/default_visitor.cpp:221 #26 0xb72f9282 in Visitor::visit (this=0xbf8694f4, node=0xbd518d14) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #27 0xb72f7ed7 in DefaultVisitor::visitNamespace (this=0xbf8694f4, node=0xbd518cfc) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/default_visitor.cpp:244 #28 0xb76ed0a2 in GeneratorVisitor::visitNamespace (this=0xbf8694f4, node=0xbd518cfc) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/generatorvisitor.cpp:635 #29 0xb72f9282 in Visitor::visit (this=0xbf8694f4, node=0xbd518cfc) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #30 0xb72f8faf in visitNodes<DeclarationAST*> (v=0xbf8694f4, nodes=0xbda666f4) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.h:131 #31 0xb72f8902 in DefaultVisitor::visitTranslationUnit (this=0xbf8694f4, node=0xbc488c98) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/default_visitor.cpp:394 #32 0xb72f9282 in Visitor::visit (this=0xbf8694f4, node=0xbc488c98) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/parser/visitor.cpp:113 #33 0xb76e781a in main (argc=-1217292792, argv=0xbf869664) at /usr/src/debug/kde-base/smokegen-4.7.4/smokegen-4.7.4/main.cpp:229 (gdb)
I take it that this crash happens when building akonadi. It has already been fixed in master and the KDE/4.7 branch (Unfortunately it was too late for the 4.7.4 release). *** This bug has been marked as a duplicate of bug 283677 ***