Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899954 - dev-libs/libgpg-error: Gaps in large file support
Summary: dev-libs/libgpg-error: Gaps in 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-03-06 19:59 UTC by Allen Webb
Modified: 2023-03-10 07:35 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-03-06 19:59:24 UTC
There is some potential missing large file support in libgpgp-error.

It looks like libgpg-error had an ABI breakage in 1.14 which was fixed in 1.15 related to large file support and they have local types to avoid future breakages when enabling large file support.

```
libgpg-error-1.46-r1: 18:38:03.960  * QA Notice: The following files were not built with LFS support:
libgpg-error-1.46-r1: 18:38:03.974  *   Please see https://issuetracker.google.com/201531268 for details.
libgpg-error-1.46-r1: 18:38:03.988  * fopen /usr/bin/yat2m
libgpg-error-1.46-r1: 18:38:04.002  * Full build files:
libgpg-error-1.46-r1: fopen /build/arm-generic/tmp/portage/dev-libs/libgpg-error-1.46-r1/work/libgpg-error-1.46-.arm/src/mkheader
libgpg-error-1.46-r1: fopen /build/arm-generic/tmp/portage/dev-libs/libgpg-error-1.46-r1/work/libgpg-error-1.46-.arm/doc/yat2m-for-build
libgpg-error-1.46-r1: fopen /build/arm-generic/tmp/portage/dev-libs/libgpg-error-1.46-r1/work/libgpg-error-1.46-.arm/doc/yat2m-yat2m.o
libgpg-error-1.46-r1: fopen /build/arm-generic/tmp/portage/dev-libs/libgpg-error-1.46-r1/work/libgpg-error-1.46-.arm/doc/yat2m
```

This resolves the issue for me:
```
diff --git a/dev-libs/libgpg-error/libgpg-error-1.46-r1.ebuild b/dev-libs/libgpg-error/libgpg-error-1.46-r1.ebuild
index b69790d61..fee1ef22d 100644
--- a/dev-libs/libgpg-error/libgpg-error-1.46-r1.ebuild
+++ b/dev-libs/libgpg-error/libgpg-error-1.46-r1.ebuild
@@ -10,7 +10,7 @@ EAPI=7
 # any subsequent ones linked within so you're covered for a while.)
 
 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc
-inherit autotools multilib-minimal toolchain-funcs prefix verify-sig
+inherit autotools flag-o-matic multilib-minimal toolchain-funcs prefix verify-sig
 
 DESCRIPTION="Contains error handling functions used by GnuPG software"
 HOMEPAGE="https://www.gnupg.org/related_software/libgpg-error"
@@ -60,6 +60,7 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+       append-lfs-flags
        local myeconfargs=(
                $(multilib_is_native_abi || echo --disable-languages)
                $(use_enable common-lisp languages)
```

Reproducible: Always