Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902473 - dev-libs/libassuan: enable large file support
Summary: dev-libs/libassuan: enable large file support
Status: UNCONFIRMED
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-03-20 20:58 UTC by Allen Webb
Modified: 2023-03-21 12:25 UTC (History)
2 users (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-03-20 20:58:01 UTC
When building libassuan for ARM, there are cases where large-file support isn't enabled:

```
libassuan-2.5.5: 19:52:48.546  * QA Notice: The following files were not built with LFS support:
libassuan-2.5.5: 19:52:48.561  *   Please see https://issuetracker.google.com/201531268 for details.
libassuan-2.5.5: 19:52:48.575  * fstat,stat,fopen,__open_2,readdir,getrlimit /usr/lib/libassuan.so.0.8.5
libassuan-2.5.5: 19:52:48.590  * Full build files:
libassuan-2.5.5: stat,fopen /build/arm-generic/tmp/portage/dev-libs/libassuan-2.5.5/work/libassuan-2.5.5/src/.libs/libassuan_la-assuan-socket.o
libassuan-2.5.5: __open_2,readdir,getrlimit /build/arm-generic/tmp/portage/dev-libs/libassuan-2.5.5/work/libassuan-2.5.5/src/.libs/libassuan_la-system-posix.o
libassuan-2.5.5: fstat /build/arm-generic/tmp/portage/dev-libs/libassuan-2.5.5/work/libassuan-2.5.5/src/.libs/libassuan_la-assuan-pipe-server.o
libassuan-2.5.5: fstat,stat,fopen,__open_2,readdir,getrlimit /build/arm-generic/tmp/portage/dev-libs/libassuan-2.5.5/work/libassuan-2.5.5/src/.libs/libassuan.so.0.8.5
libassuan-2.5.5: fopen /build/arm-generic/tmp/portage/dev-libs/libassuan-2.5.5/work/libassuan-2.5.5/src/mkheader
libassuan-2.5.5: fopen /build/arm-generic/tmp/portage/dev-libs/libassuan-2.5.5/work/libassuan-2.5.5/tests/fdpassing.o
libassuan-2.5.5: fopen /build/arm-generic/tmp/portage/dev-libs/libassuan-2.5.5/work/libassuan-2.5.5/tests/fdpassing
```
Adding the large file support flags resolves the issue:

diff --git a/dev-libs/libassuan/libassuan-2.5.5.ebuild b/dev-libs/libassuan/libassuan-2.5.5.ebuild
index df93ec1f8..95afdc90c 100644
--- a/dev-libs/libassuan/libassuan-2.5.5.ebuild
+++ b/dev-libs/libassuan/libassuan-2.5.5.ebuild
@@ -3,7 +3,7 @@

 EAPI=7

-inherit libtool
+inherit libtool flag-o-matic

 DESCRIPTION="IPC library used by GnuPG and GPGME"
 HOMEPAGE="https://www.gnupg.org/related_software/libassuan/index.en.html"
@@ -34,6 +34,7 @@ src_prepare() {
 }

 src_configure() {
+       append-lfs-flags
        local myeconfargs=(
                --disable-static
                GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"