Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896316 - sys-apps/less: build with large file support
Summary: sys-apps/less: build with large file support
Status: RESOLVED FIXED
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-02-24 16:53 UTC by Allen Webb
Modified: 2023-07-17 22:04 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-02-24 16:53:48 UTC
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
Comment 1 Larry the Git Cow gentoo-dev 2023-07-17 22:04:47 UTC
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(-)