Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 760857 - sys-apps/attr-2.4.48-r4: 32bit builds fails on filesystems with 64bit inodes
Summary: sys-apps/attr-2.4.48-r4: 32bit builds fails on filesystems with 64bit inodes
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: https://savannah.nongnu.org/bugs/inde...
Whiteboard:
Keywords:
Depends on:
Blocks: lfs-tracker
  Show dependency tree
 
Reported: 2020-12-20 10:31 UTC by Bruno
Modified: 2022-12-11 12:24 UTC (History)
2 users (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 Bruno 2020-12-20 10:31:32 UTC
sys-apps/attr uses 32bit filesystem APIs istead of 64bit ones when built for a 32bit platform.

On large XFS filesystems this fails due to 64bit inodes.

Reproducible: Always

Steps to Reproduce:
getfattr -R /bin/
getfattr: /bin//awk: Value too large for defined data type




It should use -D_FILE_OFFSET_BITS=64
Comment 1 Larry the Git Cow gentoo-dev 2020-12-20 16:29:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4078b6911244e4b8a42506913795000fd0d66303

commit 4078b6911244e4b8a42506913795000fd0d66303
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-12-20 16:26:49 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-12-20 16:29:46 +0000

    sys-apps/attr: enable LFS support
    
    Closes: https://bugs.gentoo.org/760857
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/attr/attr-2.4.48-r5.ebuild | 103 ++++++++++++++++++++++++++++++++++++
 sys-apps/attr/attr-9999.ebuild      |   1 +
 2 files changed, 104 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2022-12-11 12:24:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d13cccf7b996f4aed8b20e3bec8d4d3d45af7e6f

commit d13cccf7b996f4aed8b20e3bec8d4d3d45af7e6f
Author:     Mike Frysinger <vapier@gentoo.org>
AuthorDate: 2022-12-11 12:22:59 +0000
Commit:     Mike Frysinger <vapier@gentoo.org>
CommitDate: 2022-12-11 12:24:06 +0000

    sys-apps/attr: drop obsolete LFS flags #760857
    
    The upstream 2.5.0 release includes LFS support by default via a
    configure option, so there's no need to force compiler flags.
    
    Bug: https://bugs.gentoo.org/760857
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

 sys-apps/attr/attr-2.5.1-r2.ebuild | 9 +--------
 sys-apps/attr/attr-9999.ebuild     | 9 +--------
 2 files changed, 2 insertions(+), 16 deletions(-)