[Geany-devel] Nightly build failed: Geany GTK 2.8 build test

Lex Trotman elextr at xxxxx
Sat Aug 29 23:40:29 UTC 2009


2009/8/30 Enrico Tröger <enrico.troeger at uvena.de>:
> On Sat, 29 Aug 2009 21:13:36 +1000, Lex wrote:
>
>>2009/8/29 Enrico Tröger <enrico.troeger at uvena.de>:
>>> On Thu, 27 Aug 2009 15:02:52 +0100, Nick wrote:
>>>
>>>>On Thu, 27 Aug 2009 14:08:29 +1000
>>>>Lex Trotman <elextr at gmail.com> wrote:
>>>>
>>>>> This seems to be due to G_GNUC_WARN_UNUSED_RESULT not being
>>>>> available until GTK 2.10 at line 330 in keybindings.c
>>>>
>>>>Oops, thanks. Hard to work out from the error messages...
>>>
>>> Well, we can change it...
>>> The script sending the error messages just takes the last 8 lines of
>>> the error log. IIRC in the case above, the real error message was 9
>>> lines above, so we could increase the included lines but then the
>>> next time it's again just line above :).
>>
>>Don't make the email longer!! As you say it will never contain the
>>problem unless all the errors were included.
>
> Yeah, it's just a super simple shell script, the actual code for the
> error message pasting is:
> lastmsgs=$(tail -n 8 /home/enrico/geany/$logfile)
>
> There is absolutely no smartness behind :).
>

Smartness is overrated, especially from computers :-)

>
>>> Anyway, if anyone wants to have more error lines included or other
>>> improvements, just tell me.
>>>
>>> And after all, exactly because of this, each error mail contains a
>>> link to quickly see the full error log.
>>
>>And in fact thats how I found it, the errors were clearly due to some
>>block problem like a missing brace so I just went to the first error &
>>found it.
>>I only went looking because it showed build.c, but that was just
>>because it was the first to include keybindings.h :-)
>>
>>Maybe the first few error lines as well as the last few?
>
> First 3 and last 6 or 7 messages?

Keep it simple, lines not messages, head -n 4 + tail -n 7 should be
enough. (head shorter because the offending file is *usually* near the
front of a block of errors)

Cheers
Lex

>
> Regards,
> Enrico
>
> --
> Get my GPG key from http://www.uvena.de/pub.asc
>
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
>



More information about the Devel mailing list