Then this needs to be submitted for master first, we have a strict policy
for that.

Alex

On Fri, 3 Jul 2020 at 09:36, Rasmus Villemoes <[email protected]>
wrote:

> Commit 992cec44 (coreutils: Move stdbuf into an own package
> coreutils-stdbuf) breaks package-qa when the single-binary
> PACKAGECONFIG is used:
>
> ERROR: coreutils-8.31-r0 do_package_qa: QA Issue: /usr/bin/stdbuf
> contained in package coreutils-stdbuf requires /usr/bin/coreutils, but no
> providers found in RDEPENDS_coreutils-stdbuf? [file-rdeps]
> ERROR: coreutils-8.31-r0 do_package_qa: QA run found fatal errors. Please
> consider fixing them.
> ERROR: Logfile of failure stored in:
> /mnt/ext4/projects/deif/pdsystems/yocto/tmp-glibc/work/ppce300c3-oe-linux/coreutils/8.31-r0/temp/log.do_package_qa.5594
> ERROR: Task
> (/mnt/ext4/projects/deif/pdsystems/yocto/meta-poky/meta/recipes-core/coreutils/coreutils_8.31.bb:do_package_qa)
> failed with exit code '1'
>
> With that PACKAGECONFIG, /usr/bin/stdbuf is just a simple "script"
> containing the single line
>
>   #!/usr/bin/coreutils --coreutils-prog-shebang=stdbuf
>
> Since there's no point splitting stdbuf to its own package when all
> the functionality is in the single big coreutils binary anyway, fix
> this by not creating the separate stdbuf package for the single-binary
> case.
>
> Signed-off-by: Rasmus Villemoes <[email protected]>
> ---
> The same issue exists in master, which has been bumped to 8.32, but
> other than that the patch should apply cleanly there as well.
>
>  meta/recipes-core/coreutils/coreutils_8.31.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/coreutils/coreutils_8.31.bb
> b/meta/recipes-core/coreutils/coreutils_8.31.bb
> index 57b2c1bdba..80e8161367 100644
> --- a/meta/recipes-core/coreutils/coreutils_8.31.bb
> +++ b/meta/recipes-core/coreutils/coreutils_8.31.bb
> @@ -58,9 +58,9 @@ base_bindir_progs = "cat chgrp chmod chown cp date dd
> echo false hostname kill l
>
>  sbindir_progs= "chroot"
>
> -PACKAGE_BEFORE_PN_class-target += "coreutils-stdbuf"
> +PACKAGE_BEFORE_PN_class-target += "${@bb.utils.contains('PACKAGECONFIG',
> 'single-binary', '', 'coreutils-stdbuf', d)}"
>  FILES_coreutils-stdbuf = "${bindir}/stdbuf
> ${libdir}/coreutils/libstdbuf.so"
> -RDEPENDS_coreutils_class-target += "coreutils-stdbuf"
> +RDEPENDS_coreutils_class-target += "${@bb.utils.contains('PACKAGECONFIG',
> 'single-binary', '', 'coreutils-stdbuf', d)}"
>
>  # Let aclocal use the relative path for the m4 file rather than the
>  # absolute since coreutils has a lot of m4 files, otherwise there might
> --
> 2.23.0
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140252): 
https://lists.openembedded.org/g/openembedded-core/message/140252
Mute This Topic: https://lists.openembedded.org/mt/75275273/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to