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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
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: 2024-12-01 14:14 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
Comment 1 Larry the Git Cow gentoo-dev 2024-12-01 14:14:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9191ed55cb8501996d322eb7391035657325ce03

commit 9191ed55cb8501996d322eb7391035657325ce03
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-01 14:14:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-01 14:14:13 +0000

    net-libs/libtirpc: add 1.3.6
    
    Closes: https://bugs.gentoo.org/911863
    Closes: https://bugs.gentoo.org/943709
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libtirpc/Manifest              |  1 +
 net-libs/libtirpc/libtirpc-1.3.6.ebuild | 67 +++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)