Very confusing error while compiling shells/bash version 5.1.4_1.
mkbuiltins.c appears in /usr/ports/shells/bash/work/bash-5.1/mkbuiltins
'yes' is available as /usr/bin/yes.
No other builds via
Compiling "normally" via
Replacing the ports tree via
I can find nothing in /usr/ports/UPDATING that appears to address this.
I'm guessing this is coming from an include? Is there a way to expand the
Code:
...
rm -f mkbuiltins.o
cc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -DHEREDOC_PIPESIZE=4096 yes -DDEFAULT_PATH_VALUE='"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"' -DSTANDARD_UTILS_PATH='"/sbin:/bin:/usr/sbin:/usr/bin"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing mkbuiltins.c
cc: error: no such file or directory: 'yes'
*** Error code 1
mkbuiltins.c appears in /usr/ports/shells/bash/work/bash-5.1/mkbuiltins
'yes' is available as /usr/bin/yes.
No other builds via
portmaster -a
appear to be effected.Compiling "normally" via
make
produces the same error.Replacing the ports tree via
rm -rf /usr/ports/* /var/db/portsnap/* && portsnap fetch extract
does not fix.I can find nothing in /usr/ports/UPDATING that appears to address this.
I'm guessing this is coming from an include? Is there a way to expand the
cc
command to at least see which file is throwing the error?