Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124927 - sys-apps/coreutils-5.94-r1 ignores USE="-acl"
Summary: sys-apps/coreutils-5.94-r1 ignores USE="-acl"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-04 03:27 UTC by Torsten Kaiser
Modified: 2006-03-04 14:17 UTC (History)
0 users

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 Torsten Kaiser 2006-03-04 03:27:09 UTC
The ebuild of coreutils-5.94-r1 ignorese the acl useflag.

From coreutils-5.93:
        # Apply the ACL/SELINUX patches.
        if use selinux ; then
                EPATCH_MULTI_MSG="Applying SELINUX patches ..." \
                EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"/selinux
                ( cd "${PATCHDIR}" ; epatch selinux/GLUE* ) || die "glue failed"
        elif use acl ; then
                EPATCH_MULTI_MSG="Applying ACL patches ..." \
                EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"/acl
        fi

From coreutils-5.94-r1:
        # Apply the ACL/SELINUX patches.
        if use selinux ; then
                EPATCH_MULTI_MSG="Applying SELINUX patches ..." \
                EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"/selinux
                ( cd "${PATCHDIR}" ; epatch selinux/GLUE* ) || die "glue failed"
        else
                EPATCH_MULTI_MSG="Applying ACL patches ..." \
                EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"/acl
        fi

The "elif use acl ; then" was replaced by a lone "else"
This will build any non-selinux system with acl, but --depclean will happylie remove sys-apps/acl if the acl useflag is missing.
This will break the complete system, as things like ls and mv will no longer work.

Changing the mentioned line back, will build programs not depending on libacl.so.1
Comment 1 Luca Barbato gentoo-dev 2006-03-04 14:17:46 UTC
added this bit, vapier, please doublecheck