patchGNU tar - Patches: patch #8252, Build system search for incorrect...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #8252: Build system search for incorrect headers/libraries when providing xattr support

Submitter:  Anthony G. Basile <blueness>
Submitted:  Fri 06 Dec 2013 07:29:45 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  gray Open/Closed:  Closed

Fri 14 Feb 2014 09:01:58 AM UTC, comment #1: 

Applied, thanks. Commit 48a546b0.

Sergey Poznyakoff <gray>
Group administrator
Fri 06 Dec 2013 07:29:45 PM UTC, original submission:  

The build system searches for <attr/xattr.h> and doesn't bother looking to see if setxattr(), getxattr() and friends are provided by the system libc.  Worse, on successfully finding <attr/xattr.h> it then proceeds to include it but then links nagainst libc for the *xattr() functions.
   
This patch has the build system look for <sys/xattr.h> first and if it success, links against libc.  On failing to find <sys/xattr.h>, it then search for <attr/xattr.h> and links against libattr.so.  This can happen, for instance, on a uClibc system where UCLIBC_HAS_XATTR is not set, but libattr.so is present.  Then the *xattr() functions must be provided by libattr.so.

See the Gentoo bug: https://bugs.gentoo.org/489170

Anthony G. Basile <blueness>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gray (Updated the item)
  • -email is unavailable- added by blueness (Submitted the item)
  • -email is unavailable- added by blueness (Downstream bug cc.)
  • -email is unavailable- added by blueness (Downstream bug cc.)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-14 gray StatusIn Progress Done
        Open/ClosedOpen Closed
    2014-02-14 gray StatusNone In Progress
        Assigned toNone gray
    2013-12-06 blueness Attached File- Added 0001-Fix-build-with-xattr-support.patch, #29799
        Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code