From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: Re: [ptxdist] [APPLIED] util-linux: Fix missing ncurses dependencies
Date: Wed, 15 Apr 2026 15:52:19 +0200 [thread overview]
Message-ID: <20260415135219.922334-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20260413143012.417716-1-ada@thorsis.com>
Thanks, applied as 77f79b7a834736fde1474959a37babc6097a5e65.
Michael
[sent from post-receive hook]
On Wed, 15 Apr 2026 15:52:18 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> util-linux has an internal static library called lib_tcolors which
> depends on ncurses. With the modular build approach introduced with
> v2.41 some builds fail if tools are enabled which require that (e.g.
> dmesg, lsblk, …), but no other tool is enabled which selects the ncurses
> dependency.
>
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20260413143012.417716-1-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/util-linux.in b/rules/util-linux.in
> index fd07a25c5f4a..ff68e5377141 100644
> --- a/rules/util-linux.in
> +++ b/rules/util-linux.in
> @@ -33,6 +33,7 @@ config UTIL_LINUX_LIBFDISK
> config UTIL_LINUX_FDISKS
> select UTIL_LINUX_LIBFDISK
> select UTIL_LINUX_LIBSMARTCOLS
> + select UTIL_LINUX_LIBTCOLORS
> select UTIL_LINUX_USES_NCURSES
> bool
>
> @@ -44,6 +45,10 @@ config UTIL_LINUX_USES_NCURSESW
> depends on UTIL_LINUX_USES_NCURSES
> default NCURSES_WIDE_CHAR
>
> +config UTIL_LINUX_LIBTCOLORS
> + bool
> + select UTIL_LINUX_USES_NCURSES
> +
> config UTIL_LINUX_USES_PAM
> bool
>
> @@ -241,6 +246,7 @@ config UTIL_LINUX_LSBLK
> select UTIL_LINUX_LIBBLKID
> select UTIL_LINUX_LIBMOUNT
> select UTIL_LINUX_LIBSMARTCOLS
> + select UTIL_LINUX_LIBTCOLORS
> prompt "lsblk"
> help
> The lsblk command lists information about all available or the
> @@ -339,6 +345,7 @@ config UTIL_LINUX_CHMEM
>
> config UTIL_LINUX_DMESG
> bool
> + select UTIL_LINUX_LIBTCOLORS
> depends on !BUSYBOX_DMESG || ALLYES
> prompt "dmesg"
> help
> @@ -423,6 +430,7 @@ comment "BusyBox' ipcs is selected!"
>
> config UTIL_LINUX_IRQTOP
> bool
> + select UTIL_LINUX_LIBTCOLORS
> select UTIL_LINUX_USES_NCURSES
> prompt "irqtop"
> help
> @@ -653,6 +661,7 @@ config UTIL_LINUX_COLUMN
>
> config UTIL_LINUX_HEXDUMP
> bool
> + select UTIL_LINUX_LIBTCOLORS
> depends on !BUSYBOX_HEXDUMP
> prompt "hexdump"
> help
prev parent reply other threads:[~2026-04-15 13:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-13 14:30 [ptxdist] [PATCH] " Alexander Dahl via ptxdist
2026-04-15 13:52 ` Michael Olbrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260415135219.922334-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ada@thorsis.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox