Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644060 - dev-python/pyxattr - attr/xattr.h: No such file or directory
Summary: dev-python/pyxattr - attr/xattr.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard: Needs official upstream fix
Keywords:
Depends on:
Blocks: attr/xattr.h
  Show dependency tree
 
Reported: 2018-01-09 20:26 UTC by Toralf Förster
Modified: 2018-10-26 09:25 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.23 KB, text/plain)
2018-01-09 20:26 UTC, Toralf Förster
Details
dev-python:pyxattr-0.6.0:20180109-201910.log (dev-python:pyxattr-0.6.0:20180109-201910.log,3.35 KB, text/plain)
2018-01-09 20:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,8.86 KB, text/plain)
2018-01-09 20:26 UTC, Toralf Förster
Details
environment (environment,136.72 KB, text/plain)
2018-01-09 20:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.62 KB, application/x-bzip)
2018-01-09 20:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.95 KB, application/x-bzip)
2018-01-09 20:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-01-09 20:26:17 UTC
creating /var/tmp/portage/dev-python/pyxattr-0.6.0/work/pyxattr-0.6.0-python2_7/temp.linux-x86_64-2.7
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -fPIC -D_XATTR_VERSION="0.6.0" -D_XATTR_AUTHOR="Iustin Pop" -D_XATTR_EMAIL="iustin@k1024.org" -I/usr/include/python2.7 -c xattr.c -o /var/tmp/portage/dev-python/pyxattr-0.6.0/work/pyxattr-0.6.0-python2_7/temp.linux-x86_64-2.7/xattr.o -Wall -Wsign-compare
xattr.c:29:10: fatal error: attr/xattr.h: No such file or directory
 #include <attr/xattr.h>
          ^~~~~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_20180108-220304

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)




emerge -qpv dev-python/pyxattr
[ebuild   R   ] dev-python/pyxattr-0.5.5  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_5 -pypy -python3_4"
Comment 1 Toralf Förster gentoo-dev 2018-01-09 20:26:20 UTC
Created attachment 514008 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-09 20:26:23 UTC
Created attachment 514010 [details]
dev-python:pyxattr-0.6.0:20180109-201910.log
Comment 3 Toralf Förster gentoo-dev 2018-01-09 20:26:26 UTC
Created attachment 514012 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-01-09 20:26:30 UTC
Created attachment 514014 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-01-09 20:26:33 UTC
Created attachment 514016 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-09 20:26:36 UTC
Created attachment 514018 [details]
temp.tbz2
Comment 7 Mike Gilbert gentoo-dev 2018-01-09 20:30:12 UTC
What version of sys

*** This bug has been marked as a duplicate of bug 644048 ***
Comment 8 Mike Gilbert gentoo-dev 2018-01-10 18:48:03 UTC
I see, so dropping attr/xattr.h was intentional. We might need a tracker depending on how many packages break because of this.
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-01-31 12:34:54 UTC
(In reply to Mike Gilbert from comment #8)
> I see, so dropping attr/xattr.h was intentional. We might need a tracker
> depending on how many packages break because of this.

AFAIK this is the last bug being affected by attr/xattr.h removal. I sent a PR to upstream but they seem to not like how I solved the issue.
Comment 10 Larry the Git Cow gentoo-dev 2018-02-20 10:20:13 UTC
The bug has been referenced in the following commit(s):

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

commit 96c5b51c3554d8bf6aa703eb70b8e919742dba43
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-02-20 10:19:56 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-02-20 10:20:08 +0000

    dev-python/pyxattr: Fixed compilation against >=sys-apps/attr-2.4.48
    
    Permission kindly granted by robbat2
    
    Bug: https://bugs.gentoo.org/644060
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../pyxattr/files/pyxattr-0.6.0-xattr_header.patch | 53 +++++++++++++++++++
 dev-python/pyxattr/pyxattr-0.6.0-r1.ebuild         | 59 ++++++++++++++++++++++
 2 files changed, 112 insertions(+)}
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-10-26 09:25:21 UTC
Dunno why I didn't close this bug when 0.6.1 release was added.