Created attachment 915616 [details] emerge --info After: $ EMERGE_DEFAULT_OPTS="" echo "portage" | xargs emerge -p stty: 'standard input': Inappropriate ioctl for device These are the packages that would be merged, in order: Calculating dependencies ... done! Dependency resolution took 3.45 s (backtrack: 0/20). [ebuild R *] sys-apps/portage-9999::gentoo USE="gentoo-dev (ipc) native-extensions rsync-verify xattr -apidoc -build -doc (-selinux) -test" PYTHON_TARGETS="pypy3 python3_12 python3_13 -python3_10 -python3_11" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB stty: 'standard input': Inappropriate ioctl for device $ emerge --version Portage 3.0.66.1-30+g3e3bb8e67 (python 3.10.14-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-14, glibc-2.40-r7, 6.12.7-xanmod1-dist x86_64) Before: $ EMERGE_DEFAULT_OPTS="" echo "portage" | xargs emerge -p These are the packages that would be merged, in order: Calculating dependencies ... done! Dependency resolution took 3.32 s (backtrack: 0/20). [ebuild R *] sys-apps/portage-9999::gentoo USE="gentoo-dev (ipc) native-extensions rsync-verify xattr -apidoc -build -doc (-selinux) -test" PYTHON_TARGETS="pypy3 python3_12 python3_13 -python3_10 -python3_11" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB $ emerge --version Portage 3.0.66.1-29+gfe226b634 (python 3.10.14-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-14, glibc-2.40-r7, 6.12.7-xanmod1-dist x86_64)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=33dac2db0fbbe4bafc2343978f969a0f41f0d200 commit 33dac2db0fbbe4bafc2343978f969a0f41f0d200 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2025-01-01 00:26:51 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2025-01-01 00:32:21 +0000 get_term_size: Use curses if stdin is not a tty Use curses if stdin is not a tty, since stty fails in this case with the following error: stty: 'standard input': Inappropriate ioctl for device Bug: https://bugs.gentoo.org/947282 Signed-off-by: Zac Medico <zmedico@gentoo.org> lib/portage/output.py | 12 ++++++++++++ 1 file changed, 12 insertions(+)