> -----Original Message----- > From: Richard Purdie [mailto:[email protected]] > Sent: Friday, January 12, 2018 16:43 > To: Huang, Jie (Jackie) > Cc: [email protected] > Subject: Re: [OE-core] [PATCH 0/2 v2] glibc: fixes for nscd and libnss-db > > On Thu, 2018-01-04 at 01:31 +0000, Huang, Jie (Jackie) wrote: > > > > > > > > -----Original Message----- > > > From: Richard Purdie [mailto:[email protected]] > > > Sent: Wednesday, January 03, 2018 21:54 > > > To: Huang, Jie (Jackie); [email protected] > > > 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:
Sorry, I didn't noticed that make is gplv3. I change the dependency to RSUGGESTS and the test passed: $ oe-selftest -r bbtests.BitbakeTests.test_non_gplv3 2018-01-16 21:24:54,920 - oe-selftest - WARNING - meta-selftest layer not found in BBLAYERS, adding it 2018-01-16 21:25:05,010 - oe-selftest - INFO - Adding layer libraries: 2018-01-16 21:25:05,011 - oe-selftest - INFO - /buildarea2/jhuang0/git/yp/poky/meta/lib 2018-01-16 21:25:05,011 - oe-selftest - INFO - /buildarea2/jhuang0/git/yp/poky/meta-yocto-bsp/lib 2018-01-16 21:25:05,011 - oe-selftest - INFO - /buildarea2/jhuang0/git/yp/poky/meta-selftest/lib 2018-01-16 21:25:05,012 - oe-selftest - INFO - Running bitbake -p 2018-01-16 21:25:10,565 - oe-selftest - INFO - Adding: "include selftest.inc" in /buildarea2/jhuang0/yp/y_x64_180112/conf/local.conf 2018-01-16 21:25:10,566 - oe-selftest - INFO - Adding: "include bblayers.inc" in bblayers.conf 2018-01-16 21:25:10,566 - oe-selftest - INFO - test_non_gplv3 (bbtests.BitbakeTests) 2018-01-16 21:46:22,538 - oe-selftest - INFO - ... ok 2018-01-16 21:46:22,539 - oe-selftest - INFO - ---------------------------------------------------------------------- 2018-01-16 21:46:22,539 - oe-selftest - INFO - Ran 1 test in 1271.974s 2018-01-16 21:46:22,539 - oe-selftest - INFO - OK 2018-01-16 21:46:22,539 - oe-selftest - INFO - RESULTS: 2018-01-16 21:46:22,539 - oe-selftest - INFO - RESULTS - bbtests.BitbakeTests.test_non_gplv3 - Testcase 1119: PASSED 2018-01-16 21:46:22,540 - oe-selftest - INFO - SUMMARY: 2018-01-16 21:46:22,540 - oe-selftest - INFO - oe-selftest () - Ran 1 test in 1271.975s 2018-01-16 21:46:22,540 - oe-selftest - INFO - oe-selftest - OK - All required tests passed Thanks, Jackie > > $ 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 [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
