Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293476 - sys-fs/ntfs3g needs a DEPEND on sys-apps/attr and to respect the ACL use flag
Summary: sys-fs/ntfs3g needs a DEPEND on sys-apps/attr and to respect the ACL use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 08:56 UTC by Nikos Chantziaras
Modified: 2010-02-09 08:53 UTC (History)
1 user (show)

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


Attachments
ebuild patch for ntfs3g-2009.11.14.ebuild (ntfs3g-2009.11.14.ebuild.patch,686 bytes, patch)
2009-11-17 08:57 UTC, Nikos Chantziaras
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikos Chantziaras 2009-11-17 08:56:24 UTC
Emerging ntfs3g without having sys-apps/attr installed results in a build failure:

  secaudit.c:262:24: error: attr/xattr.h: No such file or directory

"attr/xattr.h" is provided by sys-apps/attr.  This package seems to be required at build time and is not optional.  Most systems have it installed and I suppose that's why this dependency problem wasn't detected till now, but on one of my systems it is not (no other package pulled it in as a dep.)  Note that it seems to be a build-time dep only; emerging ntfs3g and then uninstalling attr doesn't break ntfs3g in any way I can see, including the "streams_interface=xattr" mount option.

Furthermore, ntfs3g does not respect the acl USE flag; the ebuild patch I'm attaching also fixes this problem.

This shouldn't need a rev-bump (I think) since it's a build-time fix and USE flag change only.
Comment 1 Nikos Chantziaras 2009-11-17 08:57:07 UTC
Created attachment 210493 [details, diff]
ebuild patch for ntfs3g-2009.11.14.ebuild
Comment 2 Andrii Yurchuk 2009-11-18 22:13:39 UTC
This is reproducible only with sys-fs/ntfs3g-2009.11.14. I currently have sys-fs/ntfs3g-2009.4.4-r1, which was installed earlier without any problems. sys-apps/attr is not installed in my system.
Comment 3 Nikos Chantziaras 2009-11-18 22:20:43 UTC
(In reply to comment #2)
> This is reproducible only with sys-fs/ntfs3g-2009.11.14.

And I was under the impression that I actually tested it, twice, with 2009.4.4 and confirmed that it also needed attr.  But now it doesn't which probably means I'm stupid :P

Only 2009.11.14 needs the dep.
Comment 4 Patrick McLean gentoo-dev 2009-11-18 22:42:00 UTC
Added a dep for sys-apps/attr and an acl USE flag to sys-fs/ntfs3g-2009.11.14.
Comment 5 Martin Väth 2010-02-09 08:47:20 UTC
This seems to be a bug *only* of ntfs3g-2009.11.14:

The newest version sys-fs/ntfs3g-2010.1.16 doesn't need sys-apps/attr either,
although it is listed in the ebuild as a dependency.