Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910070 - sys-devel/gettext-0.22-r1 fails to honor --disable-attr
Summary: sys-devel/gettext-0.22-r1 fails to honor --disable-attr
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-08 19:36 UTC by Andreas K. Hüttel
Modified: 2023-07-09 03:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log, catalyst mips2_softfloat stage1 build (gettext-0.22-r1.log.xz,69.13 KB, application/x-xz)
2023-07-08 19:37 UTC, Andreas K. Hüttel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2023-07-08 19:36:23 UTC
The attached log is from a stage1 build. Even though we have USE=-xattr and --disable-attr is passed, the build links with -lattr

This seems to work since libattr is present *outside* ROOT=/tmp/stage1root , but the binaries in the captured stage1 are nonfunctional since they rely on a nonexistent library...
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2023-07-08 19:37:39 UTC
Created attachment 865287 [details]
build log, catalyst mips2_softfloat stage1 build
Comment 2 Larry the Git Cow gentoo-dev 2023-07-08 19:46:47 UTC
The bug has been referenced in the following commit(s):

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

commit 13dad060bb8e0f2c5d8940617551a788efd91c6f
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2023-07-08 19:45:43 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2023-07-08 19:46:36 +0000

    package.use.force: force xattr on for gettext, bug 910070
    
    Bug: https://bugs.gentoo.org/910070
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 profiles/base/package.use.force | 5 +++++
 1 file changed, 5 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2023-07-09 03:40:51 UTC
The bug has been referenced in the following commit(s):

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

commit e89144f2c9ac889fa99bff752ea2065bf1a735fb
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2023-07-09 03:32:43 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2023-07-09 03:40:44 +0000

    p/prefix/{darwin,sunos}: mask sys-apps/attr and USE=xattr.
    
    The required headers are not available on macOS or Solaris.
    
    Bug: https://bugs.gentoo.org/910070
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 profiles/prefix/darwin/package.mask | 8 +++++++-
 profiles/prefix/darwin/use.mask     | 6 +++++-
 profiles/prefix/sunos/package.mask  | 8 ++++++++
 profiles/prefix/sunos/use.mask      | 6 +++++-
 4 files changed, 25 insertions(+), 3 deletions(-)