Shellckeck found errors in one or more shellscripts provided by sys-libs/glibc. Kindly refer to the findings below and the shellcheck wiki for further details: ------------------------------------------------ script: /usr/portage/sys-libs/glibc/glibc-2.31-r7.ebuild:1446 LC_ALL=C \ ./ld-*.so --library-path . ${x} > /dev/null \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: To assign the output of a command, use var=$(cmd) . (https://github.com/koalaman/shellcheck/wiki/SC2037) ------------------------------------------------ script: /usr/portage/sys-libs/glibc/glibc-2.32-r8.ebuild:1458 LC_ALL=C \ ./ld-*.so --library-path . ${x} > /dev/null \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: To assign the output of a command, use var=$(cmd) . (https://github.com/koalaman/shellcheck/wiki/SC2037) ------------------------------------------------ script: /usr/portage/sys-libs/glibc/glibc-2.30-r9.ebuild:1418 LC_ALL=C \ ./ld-*.so --library-path . ${x} > /dev/null \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: To assign the output of a command, use var=$(cmd) . (https://github.com/koalaman/shellcheck/wiki/SC2037) ------------------------------------------------ script: /usr/portage/sys-libs/glibc/glibc-2.19-r2.ebuild:1262 LC_ALL=C \ ./ld-*.so --library-path . ${x} > /dev/null \ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: To assign the output of a command, use var=$(cmd) . (https://github.com/koalaman/shellcheck/wiki/SC2037) This is an automated bug report. Conservative settings were used to minimize false-positives but there's still a chance that the above list contains non-issues. Running shellcheck again with default settings could detect other possible issues. References: [1] this script: https://github.com/heeplr/gentoo-shellbug [2] shellcheck: https://www.shellcheck.net/
I don't think this one is valid. We genuinely do want to throw away the output, it's just a sanity check to make sure the just-built glibc works.