Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192294 - net-print/cups has automagic dependency on sys-apps/acl
Summary: net-print/cups has automagic dependency on sys-apps/acl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-12 13:07 UTC by Daniel Drake (RETIRED)
Modified: 2025-04-23 18:12 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 Daniel Drake (RETIRED) gentoo-dev 2007-09-12 13:07:31 UTC
Using cups-1.2.10-r1:

cups was built on a system where sys-apps/acl was installed, and cupsd linked against libacl.

sys-apps/acl was later removed by depclean, breaking cupsd.

The cups configure script includes some logic to optionally support acl. This should be adapted/reflected in the ebuild dependency tree to prevent this from happening.
Comment 1 Timo Gurr (RETIRED) gentoo-dev 2007-10-10 21:24:59 UTC
Thanks for reporting this Daniel. I wrote a little patch to fix the automagic dependency on sys-apps/acl and sys-apps/attr, it gets applied in cups-1.3.3 which is now in portage. Please test it and reopen if it's still an issue.
Comment 2 Larry the Git Cow gentoo-dev 2025-04-23 18:12:01 UTC
The bug has been referenced in the following commit(s):

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

commit c3e3f9b8414d0785093dcc844bc6755c864e3dcc
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2025-04-21 09:28:58 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2025-04-23 18:11:08 +0000

    net-print/cups: remove pointless dependency on sys-apps/attr
    
    This dates back to a completely inscrutable commit
    41e289137d3b5d3e7460458cbe77d8b4000b594a in gentoo-historical, dating
    back to 2007, in which USE=acl was initially added.
    
    > I wrote a little patch to fix the automagic dependency on sys-apps/acl
    > and sys-apps/attr
    
    cups does, genuinely, have an --enable-acl, which is, since that time,
    genuinely hooked up via USE and passed to econf. And... it appropriately
    depends on sys-apps/acl to implement it. Why did it also depend on attr
    as well?  Who knows. acl depends on attr internally (thus the dependency
    is already satisfied, and no slot dep) but doesn't and didn't expose it.
    Nor did cups attempt to directly link to attr.
    
    Maybe it was some kind of cargo-culted belief that acl and attr simply
    "always go together"?
    
    No revbump, this package won't be depcleaned anyway so forcing a rebuild
    is nearly as pointless has the 20-year-old dependency itself.
    
    Bug: https://bugs.gentoo.org/192294
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 net-print/cups/cups-2.4.11.ebuild | 1 -
 net-print/cups/cups-9999.ebuild   | 1 -
 2 files changed, 2 deletions(-)