Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #405144

Bug#1121208: ncursesw6-config: refers to non-existing -ltinfow

From Thomas Dickey <dickey@invisible-island.net>
Newsgroups linux.debian.bugs.rc
Subject Bug#1121208: ncursesw6-config: refers to non-existing -ltinfow
Date 2025-11-22 20:30 +0100
Message-ID <LU1sZ-eY1M-1@gated-at.bofh.it> (permalink)
References <LU03T-eWYF-3@gated-at.bofh.it> <LU03T-eWYF-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Nov 22, 2025 at 06:48:47PM +0100, Chris Hofstaedtler wrote:
> Package: libncurses-dev
> Version: 6.5+20251115-2
> Severity: serious
> Tags: ftbfs
> Control: affects -1 src:util-linux
> X-Debbugs-CC: svenjoac@gmx.de
> 
> Hi,
> 
> `ncursesw6-config --libs` newly prints this:
>   -lncursesw -ltinfow
> 
> instead of:
>   -lncursesw -ltinfo
> 
> This makes util-linux FTBFS, like this:
> 
> 
> libtool: link: gcc -fsigned-char -fno-common -Wall -Wextra -Waddress-of-packed-member -Wdiscarded-qualifiers -Wimplicit-function-declaration -Wmissing-declarations -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wno-missing-field-initializers -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wsign-compa re -Wstrict-prototypes -Wtype-limits -Wuninitialized -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wvla -Walloca -Werror=sequence-point -I./libsmartcols/src -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/util-linux-2.41.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z -Wl,relro
>  -Wl,-z -Wl,now -specs=/usr/share/debhelper/dh_package_notes/debian-package-notes.specs -o .libs/irqtop sys-utils/irqtop-irqtop.o sys-utils/irqtop-irq-common.o lib/irqtop-monotonic.o  ./.libs/libcommon.a ./.libs/libsmartcols.so -lncursesw -ltinfow
> /usr/bin/ld: cannot find -ltinfow: No such file or directory
> collect2: error: ld returned 1 exit status
> 
> Indeed I cannot find a libtinfow.so anywhere. Previous util-linux 
> build logs show `-lncursesw -ltinfo`, which worked.

That appears to be from

https://lists.gnu.org/archive/html/bug-ncurses/2025-10/msg00019.html

   Date: Sat, 4 Oct 2025 09:16:38 -0500
   From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
   To: bug-ncurses@gnu.org
   Subject: [PATCH 17/21] misc/ncurses-config.in: Revise shell variable
           definitions for clarity.

   * Rename `THIS` to `CURSES_LIB`.  Update expansion sites.
   * Populate `TINFO_LIB` with the catenation of `@TINFO_NAME@` and
     `@ABI_SUFFIX@`, in parallel with `CURSES_LIB`'s definition.

The latter comment refers to this:

-TINFO_LIB="@TINFO_ARG_SUFFIX@"
+TINFO_LIB="@TINFO_NAME@@ABI_SUFFIX@"

I'll undo that.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net

Back to linux.debian.bugs.rc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1121208: ncursesw6-config: refers to non-existing -ltinfow Chris Hofstaedtler <zeha@debian.org> - 2025-11-22 19:00 +0100
  Processed: ncursesw6-config: refers to non-existing -ltinfow "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-11-22 19:00 +0100
  Bug#1121208: ncursesw6-config: refers to non-existing -ltinfow Thomas Dickey <dickey@invisible-island.net> - 2025-11-22 20:30 +0100
  Bug#1121208: marked as done (ncursesw6-config: refers to  non-existing -ltinfow) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-11-23 15:50 +0100

csiph-web