]> code.ossystems Code Review - openembedded-core.git/commit
glibc-locale: Fix build error with PACKAGE_NO_GCONV = "1"
authorJason Wessel <jason.wessel@windriver.com>
Tue, 2 Jul 2019 20:16:08 +0000 (13:16 -0700)
committerArmin Kuster <akuster808@gmail.com>
Wed, 4 Sep 2019 15:22:03 +0000 (08:22 -0700)
commitf7a581264d0f73f0951253a887e380326ffd6180
tree2e249e8cb807bbf29af95b51cbdb3c2be9c064e0
parent273571804567a4520f1e17f5f8a28b85325d0eb2
glibc-locale: Fix build error with PACKAGE_NO_GCONV = "1"

When the PACKAGE_NO_GCONV is set to 1 an empty directory is left behind from the do_install rule:

=====
ERROR: glibc-locale-2.29-r0 do_package: QA Issue: glibc-locale: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/locale
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
glibc-locale: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: glibc-locale-2.29-r0 do_package: Fatal QA errors found, failing task.
=====

The simple fix is to prune the empty directory.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-core/glibc/glibc-locale.inc