Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648628 - app-arch/hardlink-0.3.0 : hardlink.c:89:58: fatal error: attr/xattr.h: No such file or directory
Summary: app-arch/hardlink-0.3.0 : hardlink.c:89:58: fatal error: attr/xattr.h: No suc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL: https://salsa.debian.org/jak/hardlink...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: attr/xattr.h
  Show dependency tree
 
Reported: 2018-02-23 17:53 UTC by Toralf Förster
Modified: 2019-04-25 11:40 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.16 KB, text/plain)
2018-02-23 17:53 UTC, Toralf Förster
Details
app-arch:hardlink-0.3.0:20180223-134935.log (app-arch:hardlink-0.3.0:20180223-134935.log,1.84 KB, text/plain)
2018-02-23 17:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,183.47 KB, text/plain)
2018-02-23 17:53 UTC, Toralf Förster
Details
environment (environment,38.75 KB, text/plain)
2018-02-23 17:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.34 KB, application/x-bzip)
2018-02-23 17:53 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,234 bytes, application/x-bzip)
2018-02-23 17:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,11.12 KB, application/x-bzip)
2018-02-23 17:54 UTC, Toralf Förster
Details
0001-attr-xattr.h-is-deprecated.-Use-sys-xattr.h-instead.patch (0001-attr-xattr.h-is-deprecated.-Use-sys-xattr.h-instead.patch,718 bytes, patch)
2018-05-15 08:04 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-02-23 17:53:43 UTC
Checking for libpcreposix...	OK
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall    -DHAVE_CONFIG_H  -o hardlink.o -c hardlink.c
hardlink.c:89:58: fatal error: attr/xattr.h: No such file or directory
compilation terminated.
make: *** [Makefile:48: hardlink.o] Error 1
 * ERROR: app-arch/hardlink-0.3.0::gentoo failed (compile phase):

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

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

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-arch/hardlink
[ebuild  N    ] app-arch/hardlink-0.3.0
Comment 1 Toralf Förster gentoo-dev 2018-02-23 17:53:46 UTC
Created attachment 520776 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-23 17:53:49 UTC
Created attachment 520778 [details]
app-arch:hardlink-0.3.0:20180223-134935.log
Comment 3 Toralf Förster gentoo-dev 2018-02-23 17:53:52 UTC
Created attachment 520780 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-02-23 17:53:55 UTC
Created attachment 520782 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-02-23 17:53:58 UTC
Created attachment 520784 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-02-23 17:54:01 UTC
Created attachment 520786 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-02-23 17:54:04 UTC
Created attachment 520788 [details]
temp.tbz2
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-15 08:04:30 UTC
Created attachment 531472 [details, diff]
0001-attr-xattr.h-is-deprecated.-Use-sys-xattr.h-instead.patch

Possible fix (which I also sent to upstream)
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-15 11:00:13 UTC
Patch was accepted by upstream. See URL.
Comment 10 Larry the Git Cow gentoo-dev 2019-04-25 11:40:53 UTC
The bug has been closed via the following commit(s):

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

commit cffb86da4495118b9bfd53d2cf8680358f746a6a
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-04-25 11:39:00 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-04-25 11:40:45 +0000

    app-arch/hardlink: Bump to version 0.3.2
    
    which also builds against >=sys-apps/attr-2.4.48
    
    Closes: https://bugs.gentoo.org/648628
    Package-Manager: Portage-2.3.64, Repoman-2.3.12
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 app-arch/hardlink/Manifest              |  1 +
 app-arch/hardlink/hardlink-0.3.2.ebuild | 39 +++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)