[OE-core] [PATCH] rpm: remove depend on dbus for rpm native

Richard Purdie richard.purdie at linuxfoundation.org
Wed Aug 15 09:41:52 UTC 2018


On Wed, 2018-08-15 at 11:38 +0200, Alexander Kanavin wrote:
> 2018-08-15 11:24 GMT+02:00  <changqing.li at windriver.com>:
> > for clean compile:
> > during do_configure, since do_package not executed,  so .m4 files
> > provide by autoconf-archive-native will not under
> > recipe_sysroot_native,
> > 
> > for second time configure:
> > .m4 already copy under recipe_sysroot_native when run do_package
> > last time
> > 
> > so if there is code related .m4 of autoconf-archive-native in the
> > configure.ac
> > there will be differences and may cause problem.
> 
> I'm sorry, but this does not make sense. do_populate_sysroot is
> executed only once, for all of the tasks. Can you provide steps to
> reproduce the issue please?

It does actually make sense. do_package tasks have a dependency on rpm-
native. rpm-native would only be added to the sysroot at do_package
time. It won't be removed if configure reruns though. It seems rpm-
native will add the m4 files as bitbake can't tell real runtime
dependencies (libs) from data files in advance.

Cheers,

Richard



More information about the Openembedded-core mailing list