Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486416 - dev-util/kdevelop-pg-qt-1.0.0 fails with bison-3
Summary: dev-util/kdevelop-pg-qt-1.0.0 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 KDE team
URL: http://quickgit.kde.org/?p=kdevelop-p...
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks: bison-3-breakage
  Show dependency tree
 
Reported: 2013-09-29 04:01 UTC by Patrick Lauer
Modified: 2014-04-29 11:33 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 04:01:30 UTC
Building CXX object kdev-pg/CMakeFiles/kdev-pg-qt.dir/ASFormatter.o
cd /var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0_build/kdev-pg && /usr/bin/x86_64-pc-linux-gnu-g++  -DQT_STL -D_BSD_SOURCE  -DQT_NO_DEBUG -DNDEBUG -O2 -pipe -march=native  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -I/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0/include -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0/kdev-pg    --std=c++0x -fexceptions -o CMakeFiles/kdev-pg-qt.dir/kdev-pg-lexer.o -c /var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0_build/kdev-pg/kdev-pg-lexer.cc                                                                                        
cd /var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0_build/kdev-pg && /usr/bin/x86_64-pc-linux-gnu-g++  -DQT_STL -D_BSD_SOURCE  -DQT_NO_DEBUG -DNDEBUG -O2 -pipe -march=native  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -I/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0/include -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0/kdev-pg    --std=c++0x -fexceptions -o CMakeFiles/kdev-pg-qt.dir/ASFormatter.o -c /var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0/kdev-pg/ASFormatter.cpp
/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0/kdev-pg/kdev-pg-parser.yy: In function ‘int yyparse()’:
/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0/kdev-pg/kdev-pg-parser.yy:312:24: error: expected ‘;’ before ‘}’ token
     | /* empty */ { r = "\nlxSKIP\n" }
                        ^
/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0_build/kdev-pg/kdev-pg-lexer.cc: In function ‘yy_buffer_state* yy_scan_bytes(const char*, yy_size_t)’:
/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0_build/kdev-pg/kdev-pg-lexer.cc:3122:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for ( i = 0; i < _yybytes_len; ++i )
                   ^
make[2]: *** [kdev-pg/CMakeFiles/kdev-pg-qt.dir/kdev-pg-parser.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0_build/kdev-pg/kdev-pg-lexer.cc: At global scope:
/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0_build/kdev-pg/kdev-pg-lexer.cc:2679:17: warning: ‘void yyunput(int, char*)’ defined but not used [-Wunused-function]
     static void yyunput (int c, register char * yy_bp )
                 ^
make[2]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0_build'
make[1]: *** [kdev-pg/CMakeFiles/kdev-pg-qt.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-util/kdevelop-pg-qt-1.0.0/work/kdevelop-pg-qt-1.0.0_build'
make: *** [all] Error 2
 * ERROR: dev-util/kdevelop-pg-qt-1.0.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2013-10-18 21:10:13 UTC
Please report this upstream and link back here.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-29 10:37:29 UTC
Working patch available. See URL.
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2014-04-29 11:33:32 UTC
Thanks all. This is fixed in cvs now.

+
+  29 Apr 2014; Johannes Huber <johu@gentoo.org>
+  +files/kdevelop-pg-qt-1.0.0-bison3.patch, +kdevelop-pg-qt-1.0.0-r2.ebuild:
+  Revision bump adds upstream patch which fixes build with bison3 spotted by
+  Lars Wendler <polynomial-c@gentoo.org>, bug #486416.
+