Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 896086

Summary: dev-libs/protobuf: enable large file support
Product: Gentoo Linux Reporter: Allen Webb <allenwebb>
Component: Current packagesAssignee: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Status: UNCONFIRMED ---    
Severity: normal CC: allenwebb, cjk, jstein
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/33793
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 471102    

Description Allen Webb 2023-02-23 20:06:42 UTC
Protobuf does not build with large file support by default.

I filed an upstream feature request here:
https://github.com/protocolbuffers/protobuf/issues/12034

AFAICT large file support does not break the API boundary.

```
19:59:20.235  * QA Notice: The following files were not built with LFS support:
19:59:20.249  *   Please see https://issuetracker.google.com/201531268 for details.
19:59:20.263  * lseek,stat,__open_2 /usr/lib/libprotobuf.so.32.0.9
19:59:20.267  * lseek /usr/lib/libprotobuf-lite.so.32.0.9
19:59:20.271  * open,__open_2,fopen,fseeko,ftello /usr/lib/libprotoc.so.32.0.9
19:59:20.284  * Full build files:
lseek,stat,open /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/build/src/.libs/libprotobuf.so.32.0.9
open,fseeko,ftello,fopen /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/build/src/.libs/libprotoc.so.32.0.9
lseek /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/build/src/google/protobuf/io/.libs/zero_copy_stream_impl.o
open,fseeko,ftello,fopen /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/build/src/google/protobuf/compiler/.libs/command_line_interface.o
stat,open /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/build/src/google/protobuf/compiler/.libs/importer.o
open /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/build/src/google/protobuf/compiler/objectivec/.libs/objectivec_helpers.o
fseeko,ftello,fopen /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/build/src/google/protobuf/compiler/objectivec/.libs/objectivec_generator.o
lseek,stat,__open_2 /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/protobuf-21.9-.arm/src/.libs/libprotobuf.so.32.0.9
lseek /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/protobuf-21.9-.arm/src/.libs/libprotobuf-lite.so.32.0.9
open,__open_2,fopen,fseeko,ftello /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/protobuf-21.9-.arm/src/.libs/libprotoc.so.32.0.9
open,__open_2,fopen,fseeko,ftello /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/protobuf-21.9-.arm/src/.libs/libprotoc.so.32.0.9T
lseek /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/protobuf-21.9-.arm/src/google/protobuf/io/.libs/zero_copy_stream_impl.o
open,__open_2,fopen,fseeko,ftello /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/protobuf-21.9-.arm/src/google/protobuf/compiler/.libs/command_line_interface.o
stat,__open_2 /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/protobuf-21.9-.arm/src/google/protobuf/compiler/.libs/importer.o
__open_2 /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/protobuf-21.9-.arm/src/google/protobuf/compiler/objectivec/.libs/objectivec_helpers.o
fopen,fseeko,ftello /build/arm-generic/tmp/portage/dev-libs/protobuf-21.9/work/protobuf-21.9-.arm/src/google/protobuf/compiler/objectivec/.libs/objectivec_generator.o
```

Reproducible: Always