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"