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: [email protected]
> 
> 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" <[email protected]>
   To: [email protected]
   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 <[email protected]>
https://invisible-island.net

Attachment: signature.asc
Description: PGP signature

Reply via email to