[pacman-dev] makepkg aborts when using unknown terminal

Dan McGee dpmcgee at gmail.com
Thu Jul 8 12:50:03 EDT 2010


On Thu, Jul 8, 2010 at 10:27 AM, Eric Bélanger <snowmaniscool at gmail.com> wrote:
> 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.  ;)

http://mailman.archlinux.org/pipermail/pacman-dev/2010-June/011263.html


More information about the pacman-dev mailing list