Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690836 - app-emulation/libpod fails to build due to missing listxattr()
Summary: app-emulation/libpod fails to build due to missing listxattr()
Status: RESOLVED DUPLICATE of bug 699550
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-27 23:55 UTC by David Sardari
Modified: 2019-11-10 18:01 UTC (History)
0 users

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


Attachments
Output of emerge --info '=app-emulation/libpod-1.4.4::gentoo' (emerge_info_on_ebuild.txt,5.55 KB, text/plain)
2019-07-27 23:55 UTC, David Sardari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Sardari 2019-07-27 23:55:37 UTC
Created attachment 584856 [details]
Output of emerge --info '=app-emulation/libpod-1.4.4::gentoo'

Trying to emerge libpod fails with the following message:

>>> Install libpod-1.4.4 into /var/tmp/portage/app-emulation/libpod-1.4.4/image category app-emulation
make -j9 -l8 DESTDIR=/var/tmp/portage/app-emulation/libpod-1.4.4/image PREFIX=/usr install 
Makefile:32: Podman is being compiled without the systemd build tag. Install libsystemd for journald support
mkdir -p "/var/tmp/portage/app-emulation/libpod-1.4.4/work/libpod-1.4.4/src/github.com/containers/libpod/_output/src/github.com/containers"
ln -sf "/var/tmp/portage/app-emulation/libpod-1.4.4/work/libpod-1.4.4/src/github.com/containers/libpod" "/var/tmp/portage/app-emulation/libpod-1.4.4/work/libpod-1.4.4/src/github.com/containers/libpod/_output/src/github.com/containers"
ln -sf "/var/tmp/portage/app-emulation/libpod-1.4.4/work/libpod-1.4.4/src/github.com/containers/libpod/vendor/github.com/varlink" "/var/tmp/portage/app-emulation/libpod-1.4.4/work/libpod-1.4.4/src/github.com/containers/libpod/_output/src/github.com/varlink"
touch .gopathok
install -Z -d -m 755 /var/tmp/portage/app-emulation/libpod-1.4.4/image/usr/bin
install -Z -m 755 bin/podman /var/tmp/portage/app-emulation/libpod-1.4.4/image/usr/bin/podman
install -Z -d -m 755 /var/tmp/portage/app-emulation/libpod-1.4.4/image/usr/bin
install -Z -m 755 bin/podman-remote /var/tmp/portage/app-emulation/libpod-1.4.4/image/usr/bin/podman-remote
install-xattr: listxattr() failed: No such file or directory
make: *** [Makefile:284: install.bin] Error 1
make: *** Waiting for unfinished jobs....
install-xattr: listxattr() failed: No such file or directory
make: *** [Makefile:279: install.remote] Error 1
 * ERROR: app-emulation/libpod-1.4.4::gentoo failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/libpod-1.4.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/libpod-1.4.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/libpod-1.4.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/libpod-1.4.4/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/libpod-1.4.4/work/libpod-1.4.4/src/github.com/containers/libpod'
 * S: '/var/tmp/portage/app-emulation/libpod-1.4.4/work/libpod-1.4.4/src/github.com/containers/libpod'



# emerge -pqv '=app-emulation/libpod-1.4.4::gentoo'
[ebuild  N    ] app-emulation/libpod-1.4.4  USE="btrfs rootless (selinux) -apparmor -ostree"



Unfortunately, the complete build.log is too lage to be attached. How can I fix above error message?
Comment 1 Zac Medico gentoo-dev 2019-08-05 07:03:02 UTC
Hmm, I wonder if the absence of systemd triggers this. Have you tried any other versions of libpod, like =app-emulation/libpod-1.3.2-r1?
Comment 2 David Sardari 2019-08-06 07:00:09 UTC
I tried other versions of libpod and install-xattr. I need to point out that SELinux is enabled on my server.
Comment 3 David Sardari 2019-08-08 05:37:02 UTC
Installing libpod on my Laptop with Apparmor turned on instead of SELinux worked. Now, I'll do the same on my server. Hopefully, there won't be further problems.
Comment 4 Zac Medico gentoo-dev 2019-08-08 18:15:57 UTC
We should be able to get it working with SELinux, since it presumably works on Red Hat were SELinux is default.
Comment 5 David Sardari 2019-08-12 19:36:11 UTC
Apparmor profiles are missing although libpod is installed with the "apparmor" use flag.
Comment 6 David Sardari 2019-11-10 17:40:19 UTC
With =sys-apps/install-xattr-0.8, this has been resolved form me (see bug 699550).
Comment 7 Zac Medico gentoo-dev 2019-11-10 18:01:15 UTC

*** This bug has been marked as a duplicate of bug 699550 ***