Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 902475 - dev-libs/libgcrypt: enable large file support
Summary: dev-libs/libgcrypt: enable 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-20 21:05 UTC by Allen Webb
Modified: 2023-03-21 12:24 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 21:05:31 UTC
libgcrypt has missing large file support when building for ARM:
```
libgcrypt-1.10.1-r3: 19:53:16.756  * QA Notice: The following files were not built with LFS support:
libgcrypt-1.10.1-r3: 19:53:16.771  *   Please see https://issuetracker.google.com/201531268 for details.
libgcrypt-1.10.1-r3: 19:53:16.785  * fopen /usr/bin/dumpsexp
libgcrypt-1.10.1-r3: 19:53:16.789  * fopen /usr/bin/hmac256
libgcrypt-1.10.1-r3: 19:53:16.792  * fopen,mmap,open,fstat,ftruncate /usr/lib/libgcrypt.so.20.4.1
libgcrypt-1.10.1-r3: 19:53:16.806  * Full build files:
libgcrypt-1.10.1-r3: mmap /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/src/.libs/libgcrypt_la-secmem.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/src/.libs/libgcrypt_la-hwfeatures.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/src/.libs/libgcrypt_la-hwf-arm.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/src/.libs/libgcrypt_la-fips.o
libgcrypt-1.10.1-r3: fopen,mmap,open,fstat,ftruncate /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/src/.libs/libgcrypt.so.20.4.1
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/src/dumpsexp-dumpsexp.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/src/hmac256-hmac256.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/src/dumpsexp
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/src/hmac256
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/doc/yat2m
libgcrypt-1.10.1-r3: __open_2 /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/testdrv.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/rsacvt.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-dsa
libgcrypt-1.10.1-r3: __open_2 /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/testdrv
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-ed25519
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-rsa-pss
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-rsa-15.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/fipsdrv
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-ed448
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-rsa-15
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/fipsdrv.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-ecdsa.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-ecdsa
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-ed448.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-ed25519.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/gchash
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-rsa-pss.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/gchash.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/rsacvt
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/tests/t-dsa.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/random/.libs/random.o
libgcrypt-1.10.1-r3: open,fstat,ftruncate /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/random/.libs/random-csprng.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/cipher/.libs/md.o
libgcrypt-1.10.1-r3: fopen /build/arm-generic/tmp/portage/dev-libs/libgcrypt-1.10.1-r3/work/libgcrypt-1.10.1-.arm/cipher/gost-s-box
```

It looks like there are some internal APIs which depend on off_t and thus change when large-file support is enabled, but as they should only be used internally enabling large file support is probably ok.

I added `append-lfs-flags` from `flag-o-matic` to `multilib_src_configure` to resolve the issue locally.

Reproducible: Always