[opensuse-packaging] codelite build breaks for openSUSE <=11.1
Hi, I just tried to update codelite package in my home repository. But build fails for openSUSE <= 11.1 but for 11.2 and build is successful. http://tinyurl.com/ycpdr5a Any hint how to fix build for oS <= 11.1? -- Pozdrawiam / Best regards, Mariusz Fik, openSUSE Community Member
On 3/3/2010 at 16:16, Mariusz Fik
wrote: Hi, I just tried to update codelite package in my home repository. But build fails for openSUSE <= 11.1 but for 11.2 and build is successful. http://tinyurl.com/ycpdr5a
Any hint how to fix build for oS <= 11.1?
Mariusz, The fact that your makefile is using parallel build (-j 4) helped it to hide the error a bit from you and it's not at the end.... Extracted this error for you: g++ -DON_64_BIT -O3 -DREGEXP_UNICODE -c cscopedbbuilderthread.cpp -fPIC -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -fno-strict-aliasing -DASTYLE_LIB -DYY_NEVER_INTERACTIVE=1 -DGTK -DSCI_LEXER -DLINK_LEXERS -D__WX__ -DINSTALL_DIR=\"/usr/share/codelite\" -DPLUGINS_DIR=\"/usr/lib64/codelite\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I. -I../sdk/codelite_indexer/network -I../sdk/wxsqlite3/include -I../sdk/wxsqlite3/sqlite3/include -I../sdk/wxscintilla/include -I../sdk/wxscintilla/src/scintilla/include -I../sdk/wxscintilla/src/scintilla/src -I../Interfaces -I../Debugger -I../Plugin -I../CodeLite -o Release_gcc_unicode/cscopedbbuilderthread.o In file included from cscope.h:28, from cscopedbbuilderthread.cpp:30: ../Interfaces/plugin.h:31:27: error: wx/aui/auibar.h: No such file or directory In file included from cscope.h:28, from cscopedbbuilderthread.cpp:30: ../Interfaces/plugin.h:291: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type ../Interfaces/plugin.h:291: error: 'wxAuiToolBar' declared as a 'virtual' field ../Interfaces/plugin.h:291: error: expected ';' before '*' token In file included from cscopedbbuilderthread.cpp:30: cscope.h:47: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type cscope.h:47: error: 'wxAuiToolBar' declared as a 'virtual' field cscope.h:47: error: expected ';' before '*' token make[1]: *** [Release_gcc_unicode/cscopedbbuilderthread.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from cscope.h:28, from cscope.cpp:34: ../Interfaces/plugin.h:291: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type ../Interfaces/plugin.h:291: error: 'wxAuiToolBar' declared as a 'virtual' field ../Interfaces/plugin.h:291: error: expected ';' before '*' token In file included from cscope.cpp:34: cscope.h:47: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type cscope.h:47: error: 'wxAuiToolBar' declared as a 'virtual' field cscope.h:47: error: expected ';' before '*' token cscope.cpp:94: error: expected constructor, destructor, or type conversion before '*' token make[1]: *** [Release_gcc_unicode/cscope.o] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/codelite-2.3.0.3833/cscope' And there is the problem: error: wx/aui/auibar.h: No such file or directory in openSUSE 11.1 there is wxGTK 2.8.8.1, whereas openSUSE 11.2 has wxGTK 2.8.10.1. In order to solve this, you can link wxGTK from openSUSE 11.2 to your home project. Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 3.3.2010 17:10, Dominique Leuenberger wrote:
The fact that your makefile is using parallel build (-j 4) helped it to hide the error a bit from you and it's not at the end....
BTW, we use the attached script for blaming people who break something in the kernel git. I would be nice to have something like that in the buildservice web interface, now that the buildservice uses parallel make. The output looks like this: $ osc rbl home:Fisiu CodeLite openSUSE_11.1 x86_64 | \ bin/grep-for-errors ../Interfaces/plugin.h:31:27: error: wx/aui/auibar.h: No such file or directory ../Interfaces/plugin.h:291: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type ../Interfaces/plugin.h:291: error: 'wxAuiToolBar' declared as a 'virtual' field ../Interfaces/plugin.h:291: error: expected ';' before '*' token gizmos.h:51: error: ISO C++ forbids declaration of 'wxAuiToolBar' with no type gizmos.h:51: error: 'wxAuiToolBar' declared as a 'virtual' field gizmos.h:51: error: expected ';' before '*' token gizmos.h:71: error: 'wxAuiToolBarEvent' has not been declared gizmos.cpp:173: error: expected constructor, destructor, or type conversion befo re '*' token gizmos.cpp:143: warning: 'void WriteFile(const wxString&, const wxString&)' defi ned but not used gizmos.cpp:154: warning: 'void WriteNamespacesDeclaration(const wxArrayString&, wxString&)' defined but not used make[1]: *** [Release_gcc_unicode/gizmos.o] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/codelite-2.3.0.3833/Gizmos' make: *** [Gizmos] Error 2 g++ -DON_64_BIT -O3 -DREGEXP_UNICODE -c debuggergdb.cpp -fPIC -Wall -I/usr/ lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_B ITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -fno-strict-aliasing -DASTYLE_LIB -DY Y_NEVER_INTERACTIVE=1 -DGTK -DSCI_LEXER -DLINK_LEXERS -D__WX__ -DINSTALL_DIR=\"/ usr/share/codelite\" -DPLUGINS_DIR=\"/usr/lib64/codelite\" -I/usr/include/gtk -2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I /usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/ usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I. -I.. /sdk/codelite_indexer/network -I../sdk/wxsqlite3/include -I../sdk/wxsqlite3/sqli te3/include -I../sdk/wxscintilla/include -I../sdk/wxscintilla/src/scintilla/incl ude -I../sdk/wxscintilla/src/scintilla/src -I../Interfaces -I../Debugger -I../Pl ugin -I../CodeLite -o Release_gcc_unicode/debuggergdb.o make: *** Waiting for unfinished jobs.... Michal
Dnia środa, 3 marca 2010 o 17:10:29 Dominique Leuenberger napisał(a):
in openSUSE 11.1 there is wxGTK 2.8.8.1, whereas openSUSE 11.2 has wxGTK 2.8.10.1. In order to solve this, you can link wxGTK from openSUSE 11.2 to your home project. I did it as You wrote and it works like a charm :) Many thanks, -- Pozdrawiam / Best regards, Mariusz Fik, openSUSE Community Member
participants (3)
-
Dominique Leuenberger
-
Mariusz Fik
-
Michal Marek