[yocto] [PATCH 0/1] Autobuilder fixes and added functionality

Paul Eggleton paul.eggleton at linux.intel.com
Wed Jan 5 03:56:08 PST 2011


On Tuesday 04 January 2011 00:58:43 Beth Flanagan wrote:
> Some minor fixes to the Autobuilder. I've reverted to Buildbot 0.8.2 for the
> time being, as well as fixed some issues with poky-autobuild-generate-
> sources-tarball.
> 
> There is also a nasty issue when you have easy_install installed on a
> system. The BB installer will attempt to install via easy_install, however,
> if the install directory does not exist, it fails to install. I now create
> the install directories beforehand.
> 
> This is actually something that should be fixed on the BB side, and when I
> have some time I'll look at it.
> 
> I've also added a --installbase option which does away with having to set
> all of the --(*)dir= options when you are trying to relocate the install
> from ~.

FYI I've attempted to install the autobuilder on my Fedora build box, however I ran into a few issues:

1) If you git clone poky-autobuilder into your home directory the install script falls over because it tries to create that same named directory by default. Of course you can override this path or clone it somewhere else but it would be nice if it could work out of the box.

2) The install script doesn't handle Python 2.7, but only due to paths. I have a patch for this which I'll post when your latest patches are merged.

3) BuildBot 0.8.2 unfortunately suffers from buildbot bug #1697 on my system, making it not very useful (as you can't view any of the build logs through the web interface). It's fixed in 0.8.3. More details:

   http://trac.buildbot.net/ticket/1697

4) Looking through the logs locally I found some disturbing output from poky, I guess I may have missed some configuration option, or otherwise something else is going badly wrong:

----- snip -----
NOTE: package quilt-native-0.48-r0: task do_fetch: Started
ERROR: Error, lockfile path is not writable!: /
NOTE: package gnu-config-native-0.1+cvs20080123-r1: task do_fetch: Started
NOTE: package m4-native-1.4.15-r0: task do_fetch: Started
ERROR: Error, lockfile path is not writable!: /
NOTE: package autoconf-native-2.65-r2: task do_fetch: Started
ERROR: Error, lockfile path is not writable!: /
NOTE: package automake-native-1.11.1-r1: task do_fetch: Started
ERROR: Error, lockfile path is not writable!: /
NOTE: package libtool-native-2.4-r0: task do_fetch: Started
ERROR: Error, lockfile path is not writable!: /
NOTE: package zlib-native-1.2.5-r0: task do_fetch: Started
ERROR: Error, lockfile path is not writable!: /
NOTE: package unifdef-native-2.6.18+git-r0: task do_unpack: Started
NOTE: package ncurses-native-5.7-r0: task do_fetch: Started
ERROR: Error, lockfile path is not writable!: /
ERROR: Function 'Unknown fetch Error: 1' failed
NOTE: package quilt-native-0.48-r0: task Unknown fetch Error: 1: Failed
----- snip -----

(Interesting also that the function / task names are being replaced with the result message, is this expected behaviour from poky?)

5) I did try with 0.8.3 earlier (i.e. without your patch), but I suspect I was hit by the git poller problem that 0.8.3p1 is supposed to fix as there were a lot of strange bitbake parsing errors. I also found that I needed to have python-jinja2 and python-setuptools installed, whereas with your latest patch using 0.8.2 it seemed to be installing local copies of these (along with twisted).

Cheers,
Paul



More information about the yocto mailing list