Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892237 - net-misc/dhcp: Build with large file support.
Summary: net-misc/dhcp: Build with 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-01-27 15:51 UTC by Allen Webb
Modified: 2023-01-27 21:37 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-01-27 15:51:52 UTC
dhcp does not build with large file support by default.

Adding `append-lfs-flags` isn't good enough to resolve the issue because this build doesn't use CPPFLAGS, but you can prepend those to CFLAGS:

src_configure() {
...
  append-lfs-flags
  CFLAGS="${CPPFLAGS} ${CFLAGS}"

  local myeconfargs=(
...
}

```
15:17:10.889  * QA Notice: The following files were not built with LFS support:
15:17:10.904  *   Please see https://issuetracker.google.com/201531268 for details.
15:17:10.918  * fopen,stat,fstat,readdir,open,mmap,fseeko,ftello /sbin/dhclient
15:17:10.922  * fopen,stat,fstat,readdir,open,mmap,fseeko,ftello /usr/bin/omshell
15:17:10.925  * fopen,stat,fstat,readdir,open,mmap,fseeko,ftello /usr/sbin/dhcpd
15:17:10.929  * fopen,stat,fstat,readdir,open,mmap,fseeko,ftello /usr/sbin/dhcrelay
15:17:10.943  * Full build files:
readdir /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/dir.o
fstat,stat,open,truncate,mmap /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/file.o
stat /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/socket.o
fopen,fseeko,ftello,fstat /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/stdio.o
stat,open /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/entropy.o
fopen /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/interfaceiter.o
open /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/keyboard.o
fopen /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/net.o
setrlimit,getrlimit /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/resource.o
stat /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/unix/fsaccess.o
stat,fstat /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/isc/log.o
fopen,stat,fstat,readdir,open,truncate,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/samples/nsprobe
fopen,stat,fstat,readdir,open,truncate,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/samples/resolve
fopen /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/samples/sample-async.o
fopen,stat,fstat,readdir,open,truncate,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/samples/sample-gai
fopen,stat,fstat,readdir,open,truncate,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/samples/sample-async
fopen,stat,fstat,readdir,open,truncate,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/samples/sample-update
fopen,stat,fstat,readdir,open,truncate,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/samples/sample-request
fopen /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/samples/nsprobe.o
fopen /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/dst_api.o
fopen /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/dst_parse.o
fopen /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/view.o
fopen,readdir /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/dns/gen
fopen /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/bind/bind-9.11.36/lib/irs/resconf.o
fopen,stat,fstat,readdir,open,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/dhcpctl/cltest2
fopen,stat,fstat,readdir,open,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/dhcpctl/omshell
fopen,stat,fstat,readdir,open,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/dhcpctl/cltest
fopen,stat,fstat,readdir,open,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/omapip/svtest
fopen,stat,fstat,readdir,open,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/server/dhcpd
fopen,stat,fstat,readdir,open,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/client/dhclient
fopen,stat,fstat,readdir,open,mmap,fseeko,ftello /build/arm-generic/tmp/portage/net-misc/dhcp-4.4.3_p1/work/dhcp-4.4.3-P1/relay/dhcrelay
```

Reproducible: Always