Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 853271 - sys-firmware/edk2-ovmf[-binary]: missing BDEPEND on sys-apps/which (please try remove it)
Summary: sys-firmware/edk2-ovmf[-binary]: missing BDEPEND on sys-apps/which (please tr...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: which-hunt
  Show dependency tree
 
Reported: 2022-06-21 06:30 UTC by Sam James
Modified: 2022-06-21 06:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-21 06:30:15 UTC
Please see if you can patch out the which usage instead of adding the BDEPEND though.

```
 * QA Notice: command not found:
 *
 *      ./OvmfPkg/build.sh: line 234: which: command not found
 *      ./OvmfPkg/build.sh: line 234: which: command not found
```

```
$ grep -rsin "which" --include=*.sh
MdeModulePkg/Library/BrotliCustomDecompressLib/brotli/csharp/transpile.sh:1:if ! which mvn >/dev/null; then
MdeModulePkg/Library/BrotliCustomDecompressLib/brotli/csharp/transpile.sh:6:if ! which mono >/dev/null; then
MdeModulePkg/Library/BrotliCustomDecompressLib/brotli/csharp/transpile.sh:11:if ! which nuget >/dev/null; then
MdeModulePkg/Library/BrotliCustomDecompressLib/brotli/csharp/transpile.sh:16:if ! which mcs >/dev/null; then
MdeModulePkg/Library/BrotliCustomDecompressLib/brotli/scripts/.travis.sh:14:                    which ${CC} || brew install $(echo "${CC}" | sed 's/\-/@/') || brew link --overwrite $(echo "${CC}" | sed 's/\-/@/')
CryptoPkg/Library/OpensslLib/openssl/test/certs/setup.sh:235:# Name constraints subordinate CA. Adds www.good.net (which should be
CryptoPkg/Library/OpensslLib/openssl/test/certs/setup.sh:237:# (which should be allowed because parent allows *.good.com
CryptoPkg/Library/OpensslLib/openssl/test/certs/setup.sh:277:# hostname other.good.org which is not allowed by CA1.
CryptoPkg/Library/OpensslLib/openssl/util/opensslwrap.sh:16:    # and test/, which is now done elsewhere... The $PATH is adjusted
BaseTools/Source/C/BrotliCompress/brotli/csharp/transpile.sh:1:if ! which mvn >/dev/null; then
BaseTools/Source/C/BrotliCompress/brotli/csharp/transpile.sh:6:if ! which mono >/dev/null; then
BaseTools/Source/C/BrotliCompress/brotli/csharp/transpile.sh:11:if ! which nuget >/dev/null; then
BaseTools/Source/C/BrotliCompress/brotli/csharp/transpile.sh:16:if ! which mcs >/dev/null; then
BaseTools/Source/C/BrotliCompress/brotli/scripts/.travis.sh:14:                 which ${CC} || brew install $(echo "${CC}" | sed 's/\-/@/') || brew link --overwrite $(echo "${CC}" | sed 's/\-/@/')
OvmfPkg/build.sh:177:    elif  [ -x `which qemu-system-i386` ]; then
OvmfPkg/build.sh:179:    elif  [ -x `which qemu-system-x86_64` ]; then
OvmfPkg/build.sh:181:    elif  [ -x `which qemu` ]; then
OvmfPkg/build.sh:234:if  [[ ! -f `which build` || ! -f `which GenFv` ]];
OvmfPkg/build.sh:239:elif [[ ( -f `which build` ||  -f `which GenFv` )  && ! -d  $EDK_TOOLS_PATH/Source/C/bin ]];
OvmfPkg/AmdSev/Grub/grub.sh:66:    if which "$b" > /dev/null 2>&1; then
EmulatorPkg/build.sh:194:if  [[ ! -f `which build` || ! -f `which GenFv` ]];
EmulatorPkg/build.sh:199:elif [[ ( -f `which build` ||  -f `which GenFv` )  && ! -d  $EDK_TOOLS_PATH/Source/C/bin ]];
```
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-21 06:30:26 UTC
(edk2-ovmf-202105-r2, fwiw)