* [Buildroot] [PATCH 1/1] package/lsof: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB
@ 2026-01-15 18:00 Bernd Kuhls
2026-01-16 21:03 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-01-15 18:00 UTC (permalink / raw)
To: buildroot
Package lsof requires libtirpc rpcdb option enabled with non-glibc
toolchains since the bump of libtirpc to version 1.3.7 with buildroot
commit 3f3d6e43de9b4aac7df8545fd811171256f878d3 which includes upstream
commit:
https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=7cea8ad66aecc21e6caae330b5d31075af399193
Fixes:
https://autobuild.buildroot.net/results/59e/59e0cc2692a8a7d587f5a4da90ec268237141dab/
/home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/14.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld:
print.c:(.text+0x166): undefined reference to `getrpcbynumber'
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/lsof/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/lsof/Config.in b/package/lsof/Config.in
index 48ceb39a99..424778d3d7 100644
--- a/package/lsof/Config.in
+++ b/package/lsof/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LSOF
bool "lsof"
depends on BR2_USE_MMU # fork()
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
+ select BR2_PACKAGE_LIBTIRPC_RPCDB if BR2_PACKAGE_LIBTIRPC
help
lsof (LiSt Open Files)
The lsof tool lists information about files opened by
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/lsof: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB
2026-01-15 18:00 [Buildroot] [PATCH 1/1] package/lsof: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB Bernd Kuhls
@ 2026-01-16 21:03 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-16 21:03 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot
On Thu, Jan 15, 2026 at 07:00:56PM +0100, Bernd Kuhls wrote:
> Package lsof requires libtirpc rpcdb option enabled with non-glibc
> toolchains since the bump of libtirpc to version 1.3.7 with buildroot
> commit 3f3d6e43de9b4aac7df8545fd811171256f878d3 which includes upstream
> commit:
> https://git.linux-nfs.org/?p=steved/libtirpc.git;a=commit;h=7cea8ad66aecc21e6caae330b5d31075af399193
>
> Fixes:
> https://autobuild.buildroot.net/results/59e/59e0cc2692a8a7d587f5a4da90ec268237141dab/
>
> /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/14.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld:
> print.c:(.text+0x166): undefined reference to `getrpcbynumber'
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to master, thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-16 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-15 18:00 [Buildroot] [PATCH 1/1] package/lsof: fix build failure due to missing BR2_PACKAGE_LIBTIRPC_RPCDB Bernd Kuhls
2026-01-16 21:03 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox