Mailinglist Archive: opensuse-packaging (130 mails)

< Previous Next >
Re: [opensuse-packaging] codelite build breaks for openSUSE <=11.1
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Thu, 04 Mar 2010 14:09:30 +0100
  • Message-id: <4B8FB10A.5000707@xxxxxxx>
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
#!/usr/bin/awk -f

BEGIN {
max_context = 2;
context[""] = 0;
}

function print_context()
{
for (i = 0; i < max_context; i++)
if (context[i])
print context[i];
}

function print_error()
{
print;
delete context;
next;
}

/: ((internal compiler |Internal )?error|sorry, unimplemented):| needs unknown
symbol | modversion changed |: undefined reference / {
print_error();
}

# we might not know what caused this error, better print some context
/^make.*: \*\*\*/ {
print_context();
print_error();
}

{
for (i = 0; i < max_context - 1; i++)
context[i] = context[i + 1];
context[max_context - 1] = $0;
}
< Previous Next >