[pacman-dev] makepkg aborts when using unknown terminal
Eric Bélanger
snowmaniscool at gmail.com
Thu Jul 8 11:27:05 EDT 2010
Hi,
This problem is somewhat related to the terminal color problem so I
apologize if it's already taken care by these patches.
I use rxvt-unicode as my terminal. Since pacman 3.4, when building
packages with makechrootpkg, makepkg aborts with the following error:
tput: unknown terminal "rxvt-unicode"
This happens because I use a clean chroot in which rxvt-unicode isn't
installed so the terminal definition file
/usr/share/terminfo/r/rxvt-unicode isn't present. As a workaround, I
added a 'TERM=xterm' in the wrapper script I use.
It would be nice if, instead of aborting on unknown terminals, makepkg
would fallback to the dumb terminal. The dumb terminal currently
doesn's work as I believe it doesn't support colors. This change along
with the color patch would make makpkg more robust when handling
different and unusual terminals.
Personnally, I will keep my workaround as I like color. ;)
Eric
More information about the pacman-dev
mailing list