Opened 3 weeks ago

Closed 2 weeks ago

#19611 closed enhancement (fixed)

xterm overwrites ncurses files (terminfo)

Reported by: thomas Owned by: Bruce Dubbs
Priority: low Milestone: 12.2
Component: BOOK Version: git
Severity: minor Keywords:
Cc:

Description

When installing xterm, the install-ti target overwrites files which initially already have been installed by ncurses. Those files are in /usr/share/terminfo/*/*.

I came across as my build mechanism prepares a system environment depending on the 'required' and most of the 'recommended' and maybe some 'optional packages. When a pkg doesn't have xorg in its dependencies, xorg gets removed, and with it xterm. When removing all the files xterm had installed, some of ncurses' files are gone too, as xterm overwrites them. Afterwards, the terminal does not work properly anymore.

It shouldn't be an issue for the "end user" as they might never uninstall xterm once it got installed, but its kind of a "unsharpness".

Should we

  1. ignore that silently
  2. mention it at XTerm page
  3. do not exec make install-ti in xterm
  4. ???

What do you think?

Change History (4)

comment:1 by Xi Ruoyao, 3 weeks ago

I prefer 3 (unless it's causing some unwanted effect).

comment:2 by Bruce Dubbs, 2 weeks ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:3 by Bruce Dubbs, 2 weeks ago

From my log I get:

Installing ./terminfo
** using tic from ncurses 6.4.20230520
** tic -x ./terminfo
Completed installation of terminfo description.

So it seems it's something we already do in LFS. Option 3 seems best.

comment:4 by Bruce Dubbs, 2 weeks ago

Resolution: fixed
Status: assignedclosed

Fixed at commits

717c6c6fc2 Update to lxqt-qtplugin-1.4.1.
032cdc3144 Remove overwriting of terminfo data in xterm.
17c4d8d0b2 Update the gstreamer stack to 1.24.2.
Note: See TracTickets for help on using tickets.