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

 
 

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

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

Submitted by:  Anthony G. Basile <blueness>
Submitted on:  Fri 06 Dec 2013 07:29:45 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Sergey Poznyakoff <gray>Open/Closed: Closed

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

Applied, thanks. Commit 48a546b0.

Sergey Poznyakoff <gray>
Project AdministratorIn charge of this item.
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>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 14 Feb 2014 09:01:58 AM UTCgrayStatusIn Progress=>Done
      Open/ClosedOpen=>Closed
    Fri 14 Feb 2014 08:53:05 AM UTCgrayStatusNone=>In Progress
      Assigned toNone=>gray
    Fri 06 Dec 2013 07:29:45 PM UTCbluenessAttached File-=>Added 0001-Fix-build-with-xattr-support.patch, #29799
      Carbon-Copy-=>Added -unavailable-
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup