less is not built with large file support. Adding `inherit flag-o-matic` and `append-lfs-flags` (to source_configure()) resolves the issue. AFAICT this does not break any APIs. ``` less-608-r2: 16:12:19.850 * QA Notice: The following files were not built with LFS support: less-608-r2: 16:12:19.865 * Please see https://issuetracker.google.com/201531268 for details. less-608-r2: 16:12:19.880 * fopen /usr/bin/lesskey less-608-r2: 16:12:19.884 * fopen /usr/bin/less less-608-r2: 16:12:19.900 * Full build files: less-608-r2: fopen /build/arm-generic/tmp/portage/sys-apps/less-608-r2/work/less-608/lesskey_parse.o less-608-r2: fopen /build/arm-generic/tmp/portage/sys-apps/less-608-r2/work/less-608/lesskey less-608-r2: fopen /build/arm-generic/tmp/portage/sys-apps/less-608-r2/work/less-608/lesskey.o less-608-r2: fopen /build/arm-generic/tmp/portage/sys-apps/less-608-r2/work/less-608/less ``` Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4835fedb1257d15d871c885e19b8fecfff78abfd commit 4835fedb1257d15d871c885e19b8fecfff78abfd Author: Sam James <sam@gentoo.org> AuthorDate: 2023-07-17 22:02:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-07-17 22:03:32 +0000 sys-apps/less: fix tinfo linkage, add LFS Thanks to ionen and kerframil for doing the hard work here wrt tinfo, just doing the then-obvious patch as a result. Also, while at it, enable large file support. Closes: https://bugs.gentoo.org/896316 Closes: https://bugs.gentoo.org/910430 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/less/files/less-633-tinfow.patch | 52 +++++++++++++++++++ sys-apps/less/less-633-r2.ebuild | 86 +++++++++++++++++++++++++++++++ sys-apps/less/less-9999.ebuild | 8 ++- 3 files changed, 145 insertions(+), 1 deletion(-)