I am trying to run `make install-missing-packages` on Cirrus CI. When I do, it fails with: xargs: can't open /dev/tty: Device not configured The `install-missing-packages` target includes a line with `${XARGS} -o` where `-o` means `Reopen stdin as /dev/tty in the child process` (see xargs(1)). I'm not sure why `-o` is in there, what else might be expecting it... but when I removed it, it worked fine: sed -i '' -e 's:${XARGS} -o:${XARGS}:' /usr/ports/Mk/bsd.port.mk or this patch: --- bsd.port.mk 2022-10-29 04:59:04.058879000 -0700 +++ bsd.port.mk-fixed 2022-10-29 04:59:58.919773000 -0700 @@ -4323,7 +4323,7 @@ install-missing-packages: @_dirs=$$(${MISSING-DEPENDS-LIST}); \ ${ECHO_CMD} "$${_dirs}" | ${SED} "s%${PORTSDIR}/%%g" | \ - ${SU_CMD} "${XARGS} -o ${PKG_BIN} install -A" + ${SU_CMD} "${XARGS} ${PKG_BIN} install -A" ################################################################ # Everything after here are internal targets and really
I started a review at https://reviews.freebsd.org/D37211