Differences between revisions 6 and 7
Revision 6 as of 2011-03-15 17:53:55
Size: 1810
Editor: JakubWilk
Comment: Remove non-wiki markup.
Revision 7 as of 2013-01-18 06:54:02
Size: 1976
Editor: PaulWise
Comment:
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:

Build log linting is implemented and running here:

https://buildd.debian.org/~brlink/

Code is available here:

https://buildd.debian.org/~brlink/gitbundle

For aeons, build logs were solely under the evil yoke of the buildd admins. Now we want to share the fun, mostly with automatic string processors. So, what can we do with build logs? Per default, they can be splitted into two separate categories:

Successful builds

Success is great, but sometimes it's the wrong kind of success, so we might want to add a bit of automatic checking here. There were some efforts to change this (for example http://people.debian.org/~dannf/check-implicit-pointer-functions), but there are still some things on the todo list:

  • Check for other compiler-warnings that are sure signs of a problem
  • Check the list of changes at the end of the build log if any "weird" changes popped up, best done by comparing the build log to the .debs in the archive)
  • Check builds in dirty chroots (like Sesse suggested), possibly doing one build in a dirty and one in a clean chroot on the Grid5000 by Lucas and then diff the Depends line
  • Check for -lstdc++, suggest using g++ as a linker instead.

Failed builds

Failure is also great, otherwise the Ubuntu people wouldn't look so happy. So, what can we do with failed build logs?

  • Filter out ICEs, so that we can either kick the buildd admin to update the installed gcc or file bugs against gcc
  • Check logs for signs of a broken chroot (missing /proc, can't create new devices, ...)
  • Filter out those packages that fail due to an uninstallable (but available) build-dep. Then couple the list of uninstallable packages with the EDOS installability data and get a free list of give-back candidates
  • Filter out linking issues.

Status

At the moment, filtering the failed builds is almost done. Some code is still needed to determine give-back candidates from edos, expect it soonish.

Build log linting is implemented and running here:

https://buildd.debian.org/~brlink/

Code is available here:

https://buildd.debian.org/~brlink/gitbundle