On Thu, 2018-01-04 at 01:31 +0000, Huang, Jie (Jackie) wrote:
> 
> > 
> > -----Original Message-----
> > From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org]
> > Sent: Wednesday, January 03, 2018 21:54
> > To: Huang, Jie (Jackie); openembedded-core@lists.openembedded.org
> > Subject: Re: [OE-core] [PATCH 0/2 v2] glibc: fixes for nscd and
> > libnss-db
> > 
> > On Fri, 2017-12-22 at 02:08 +0000, Huang, Jie (Jackie) wrote:
> > > 
> > > Ping, I didn't see any objection on this, but it's not merged
> > > yet, do
> > > I miss anything?
> > When we test it we see:
> > 
> > WARNING: glibc-2.26-r0 do_package: glibc-extra-nss-2.26 was
> > registered as
> > shlib provider for libnss_db.so.2, changing it to libnss-db-2.26
> > because it was
> > built later
> Sorry, but I haven't seen this warning in our builds after this patch
> merged in our local branch for two weeks. Maybe we missed some cases
> in our test builds, so could you show me how to reproduce it? Thanks!
> 
> This patch is simply re-package libnss_db.so* from glibc-extra-nss
> into libnss-db, I don't understand why libnss_db.so* is still
> provided by both of them, did I miss anything when I do a re-
> packaging for a recipe?


I was able to reproduce this by starting with an existing build without
the patch, then applying the patch. The error shows once during the
rebuild and then not again. Its therefore probably less of an issue
(but does raise a question about why that is happening).

The new make dependency does cause an additional failure though:

$ oe-selftest -r bbtests.BitbakeTests.test_non_gplv3

2018-01-12 08:31:25,196 - oe-selftest - INFO - test_non_gplv3 
(bbtests.BitbakeTests)
2018-01-12 08:34:02,940 - oe-selftest - INFO -  ... FAIL
2018-01-12 08:34:02,941 - oe-selftest - INFO - 
======================================================================
2018-01-12 08:34:02,941 - oe-selftest - INFO - FAIL: test_non_gplv3 
(bbtests.BitbakeTests)
2018-01-12 08:34:02,941 - oe-selftest - INFO - 
----------------------------------------------------------------------
2018-01-12 08:34:02,941 - oe-selftest - INFO - Traceback (most recent call 
last):
  File "/media/build1/poky/meta/lib/oeqa/core/decorator/__init__.py", line 32, 
in wrapped_f
    return func(*args, **kwargs)
  File "/media/build1/poky/meta/lib/oeqa/selftest/cases/bbtests.py", line 237, 
in test_non_gplv3
    self.assertEqual(result.status, 0, "Bitbake failed, exit code %s, output 
%s" % (result.status, result.output))
AssertionError: 1 != 0 : Bitbake failed, exit code 1, output Parsing 
recipes...done.
Parsing of 829 .bb files complete (0 cached, 829 parsed). 1287 targets, 99 
skipped, 0 masked, 0 errors.
Removing 35 recipes from the core2-64 sysroot...done.
Removing 35 recipes from the qemux86-64 sysroot...done.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'make' (but 
/media/build1/poky/meta/recipes-core/glibc/glibc_2.26.bb RDEPENDS on or 
otherwise requires it)
make was skipped: it has an incompatible license: GPLv3 & LGPLv2
NOTE: Runtime target 'make' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['make']
ERROR: Required build target 'selftest-ed' has no buildable providers.
Missing or unbuildable dependency chain was: ['selftest-ed', 'virtual/libc', 
'make']


Cheers,

Richard
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to