[FS#3899] libncurses - add option to create a 3rd package with programs (libncurses-bin)

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Wed Jun 23 07:33:09 PDT 2021


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Avi H. D. (Strykar) 

Attached to Project - OpenWrt/LEDE Project
Summary - libncurses - add option to create a 3rd package with programs (libncurses-bin)
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - openwrt-21.02
Due in Version - Undecided
Due Date - Undecided
Details - Currently the ncurses package is split into libncurses and libncurses-dev.
There is no option to get the binaries, or progs as the ncurses package calls them for the target:
tic, infocmp, captoinfo, tset, reset, clear, tput, toe, tabs

May I please suggest adding another ifdef called Package/libncurses-bin or Package/libncurses-progs to the Makefile that builds and packages just the binaries from the ncurses package?

The use case for tput, reset and clear seem wide ranging.
My use case for this is adding terminfo for my terminal instead of spawning a different one just for openwrt devices:
infocmp xterm-kitty | ssh owrtdevice tic -x -o \~/.terminfo /dev/stdin

This currently fails ion x86_64 with:
$ infocmp -a xterm-kitty | ssh apu tic -x -o \~/.terminfo /dev/stdin
Error relocating /usr/bin/tic: _nc_set_writedir: symbol not found
Error relocating /usr/bin/tic: _nc_tic_expand: symbol not found
Error relocating /usr/bin/tic: _nc_check_termtype2: symbol not found
Error relocating /usr/bin/tic: _nc_write_entry: symbol not found
Error relocating /usr/bin/tic: _nc_syntax: symbol not found
Error relocating /usr/bin/tic: _nc_read_entry_source: symbol not found
Error relocating /usr/bin/tic: _nc_resolve_uses2: symbol not found
Error relocating /usr/bin/tic: _nc_write_object: symbol not found
Error relocating /usr/bin/tic: _nc_strict_bsd: symbol not found
Error relocating /usr/bin/tic: _nc_infotocap: symbol not found
Error relocating /usr/bin/tic: _nc_disable_period: symbol not found
Error relocating /usr/bin/tic: _nc_capcmp: symbol not found
Error relocating /usr/bin/tic: _nc_tic_written: symbol not found
Failed to compile terminfo using tic 

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3899

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list