Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919173 - sys-cluster/libqb: not built with large file support on 32-bit systems
Summary: sys-cluster/libqb: not built with large file support on 32-bit systems
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lfs-tracker
  Show dependency tree
 
Reported: 2023-12-04 17:54 UTC by Allen Webb
Modified: 2023-12-05 20:05 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-12-04 17:54:34 UTC
sys-cluster/libqb is not built with the large file support flags:

```
libqb-2.0.4: 16:45:34.827  * QA Notice: The following files were not built with LFS support:
libqb-2.0.4: 16:45:34.842  *   Please see https://issuetracker.google.com/201531268 for details.
libqb-2.0.4: 16:45:34.858  * fopen,stat /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/image/usr/bin/doxygen2man
libqb-2.0.4: 16:45:34.863  * mmap,__open_2,getrlimit,stat,open,lseek,fopen,ftruncate,posix_fallocate,mkstemp,truncate,__openat_2 /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/image/usr/lib/libqb.so.100.2.1
libqb-2.0.4: 16:45:34.867  * fopen,stat /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/image/usr/lib/debug/usr/bin/doxygen2man.debug
libqb-2.0.4: 16:45:34.871  * mmap,__open_2,getrlimit,stat,open,lseek,fopen,ftruncate,posix_fallocate,mkstemp,truncate,__openat_2 /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/image/usr/lib/debug/usr/lib/libqb.so.100.2.1.debug
libqb-2.0.4: 16:45:34.886  * Full build files:
libqb-2.0.4: fopen /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/examples/.libs/simplelog
libqb-2.0.4: fopen /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/examples/simplelog-simplelog.o
libqb-2.0.4: fopen,stat /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/doxygen2man/.libs/doxygen2man
libqb-2.0.4: fopen,stat /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/doxygen2man/doxygen2man-doxygen2man.o
libqb-2.0.4: ftruncate,posix_fallocate,mkstemp,open,mmap,truncate,__openat_2 /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/lib/.libs/libqb_la-unix.o
libqb-2.0.4: stat /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/lib/.libs/libqb_la-ipc_setup.o
libqb-2.0.4: open,__open_2,lseek /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/lib/.libs/libqb_la-log_blackbox.o
libqb-2.0.4: stat,mmap /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/lib/.libs/libqb_la-ipc_socket.o
libqb-2.0.4: mmap,__open_2,getrlimit,stat,open,lseek,fopen,ftruncate,posix_fallocate,mkstemp,truncate,__openat_2 /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/lib/.libs/libqb.so.100.2.1
libqb-2.0.4: getrlimit /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/lib/.libs/libqb_la-loop_poll.o
libqb-2.0.4: fopen /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/lib/.libs/libqb_la-log_file.o
libqb-2.0.4: __open_2 /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/lib/.libs/libqb_la-ringbuffer_helper.o
libqb-2.0.4: mmap /build/arm-generic/tmp/portage/sys-cluster/libqb-2.0.4/work/libqb-2.0.4/lib/.libs/libqb_la-ringbuffer.o
```

Adding flag-o-matic to the inherited eclasses and append-lfs-flags to src_configure resolves the issue.

There is some internal use of types like off_t or dirent, but I didn't see any on the API boundary:
https://github.com/ClusterLabs/libqb/blob/c7528139dc8a6999fea65d94f7b8fbb424a6bd06/tests/_failure_injection.c#L107C14-L107C27

Reproducible: Always