[OE-core] Avahi broken?

Steve Sakoman sakoman at gmail.com
Fri Jan 27 18:24:52 UTC 2012


On Fri, Jan 27, 2012 at 10:17 AM, Steve Sakoman <sakoman at gmail.com> wrote:
> After a pull this morning I am getting:
>
> ERROR: Nothing PROVIDES '"base-passwd'
> ERROR: Required build target 'avahi' has no buildable providers.
> Missing or unbuildable dependency chain was: ['avahi', '"base-passwd']
>
> Note the extraneous double quote prepended to base-passwd
>
> Anyone else see this?
>
> I suspect it was introduced with the "useradd: Ensure dependencies are
> only added for target recipes, not native or nativesdk" patch which
> seems to have a missing close quote on the USERADDSETSCENEDEPS line.

I can confirm that adding a close quote to the above mentioned line
fixes the issue.

I'm sure gmail will munge this due to the long line, but here goes anyway:

diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index f935028..8eb6444 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -111,7 +111,7 @@ SYSROOTPOSTFUNC = "useradd_sysroot_sstate"
 SYSROOTPOSTFUNC_virtclass-native = ""
 SYSROOTPOSTFUNC_virtclass-nativesdk = ""

-USERADDSETSCENEDEPS = "base-passwd:do_populate_sysroot_setscene
shadow-native:do_populate_sysroot_setscene
shadow-sysroot:do_populate_sysroot_setscene
+USERADDSETSCENEDEPS = "base-passwd:do_populate_sysroot_setscene
shadow-native:do_populate_sysroot_setscene
shadow-sysroot:do_populate_sysroot_setscene"
 USERADDSETSCENEDEPS_virtclass-native = ""
 USERADDSETSCENEDEPS_virtclass-nativesdk = ""
 do_package_setscene[depends] = "${USERADDSETSCENEDEPS}"

Or via gitweb:

http://www.sakoman.com/cgi-bin/gitweb.cgi?p=poky.git;a=commitdiff;h=7b5786c226243b49e12113b414a76298e51c7c2c

Steve




More information about the Openembedded-core mailing list