Build fails on Ubuntu 20.04 platforms with "make: command: Command not found" #18836
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
Since 7832879 went in yesterday, building Podman is failing on Ubuntu bionic (20.04) platforms with the following error:
If I locally revert the change to the Makefile, or if I replace line 24 in the Makefile with
SHELL := $(shell command -v bash;)
then the make completes fine.Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
make: command: Command not found
Describe the results you expected
a completed build
podman info output
(can't build podman)
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
No response
Additional information
This looks similar to a problem that was fixed in containers/skopeo#1733 whereby
command
being a shell builtin somehow breaks the ability ofmake
to find it. It's not a problem in Ubuntu 22.04, or on Red Hat. It can be fixed by adding a;
after the call. I'll make a PR for considerationThe text was updated successfully, but these errors were encountered: