Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911863 - net-libs/libtirpc builds without large file support
Summary: net-libs/libtirpc builds without large file support
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lfs-tracker
  Show dependency tree
 
Reported: 2023-08-07 14:04 UTC by Allen Webb
Modified: 2023-08-08 14:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Allen Webb 2023-08-07 14:04:47 UTC
When building libtirpc for ARM (32-bit), large file support is not enabled:

15:36:57.183  * QA Notice: The following files were not built with LFS support:
15:36:57.259  *   Please see https://issuetracker.google.com/201531268 for details.
15:36:57.339  * fopen,getrlimit /build/arm-generic/tmp/portage/net-libs/libtirpc-1.3.3/image/usr/lib/libtirpc.so.3.0.0
15:36:57.423  * Full build files:
fopen /build/arm-generic/tmp/portage/net-libs/libtirpc-1.3.3/work/libtirpc-1.3.3-.arm/src/.libs/libtirpc_la-getnetconfig.o
fopen,getrlimit /build/arm-generic/tmp/portage/net-libs/libtirpc-1.3.3/work/libtirpc-1.3.3-.arm/src/.libs/libtirpc.so.3.0.0
fopen /build/arm-generic/tmp/portage/net-libs/libtirpc-1.3.3/work/libtirpc-1.3.3-.arm/src/.libs/libtirpc_la-bindresvport.o
getrlimit /build/arm-generic/tmp/portage/net-libs/libtirpc-1.3.3/work/libtirpc-1.3.3-.arm/src/.libs/libtirpc_la-rpc_generic.o
fopen /build/arm-generic/tmp/portage/net-libs/libtirpc-1.3.3/work/libtirpc-1.3.3-.arm/src/.libs/libtirpc_la-getpublickey.o
fopen /build/arm-generic/tmp/portage/net-libs/libtirpc-1.3.3/work/libtirpc-1.3.3-.arm/src/.libs/libtirpc_la-netnamer.o

A quick fix is:

diff --git a/net-libs/libtirpc/libtirpc-1.3.3.ebuild b/net-libs/libtirpc/libtirpc-1.3.3.ebuild
index e1e98387b..1ee887d8b 100644
--- a/net-libs/libtirpc/libtirpc-1.3.3.ebuild
+++ b/net-libs/libtirpc/libtirpc-1.3.3.ebuild
@@ -33,6 +33,8 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+       append-lfs-flags
+
        # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs
        # https://github.com/gentoo/gentoo/pull/28355
        # mold needs this too but right now tc-ld-is-mold is also not available

Reproducible: Always