[OE-core] [PATCH] pango: Avoid build failure if no modules were installed

Burton, Ross ross.burton at intel.com
Fri Apr 26 11:43:05 UTC 2013


On 26 April 2013 12:35, Phil Blundell <pb at pbcl.net> wrote:
> If pango is configured --with-included-modules then the modules
> directory may not exist.  This leads to python traceback spew and
> a build failure when trying to run do_split_packages().
>
> Fix this by passing recursive=True to do_split_packages(), which has
> the side-effect of making it ignore nonexistent directories.

I thought I fixed this:

commit 348897358736c28240c084affaca5b4e2fbe499a
Author: Ross Burton <ross.burton at intel.com>
Date:   Thu Dec 6 12:53:14 2012 +0000

    package.bbclass: make do_split_packages handle non-existent root directories

    This function has different behaviour if the split directory doesn't exist
    depending on the recursive argument: non-recursive uses
os.listdirs which throws
    an exception, recursive uses os.walk which doesn't.

    do_split_packages should silently handle non-existent directories
because it's
    mainly used for plugin directories, which may end up being empty
though changing
    the distro configuration (for example, connman without wifi distro feature).

    So, add an early exit if the split root doesn't exist.

    (From OE-Core rev: 937101e3fdd6afd00f6f8a8be411a67110c4ae78)

Presumably this patch is from Danny or earlier, as this shouldn't
happen in Dylan.

For that reason, NACK for master/dylan.  If you are continuing to use
Danny then I can merge it there for 1.3.2?

Ross




More information about the Openembedded-core mailing list