Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 931675

Summary: mate-base/mate-session-manager-1.26.1 -- install-xattr: listxattr() failed: Operation not supported
Product: Gentoo Linux Reporter: Einstok Fair <einfair>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: einfair, genBTC
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=769359
https://bugs.gentoo.org/show_bug.cgi?id=814857
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info '=mate-base/mate-session-manager-1.26.1::gentoo'
emerge -pqv '=mate-base/mate-session-manager-1.26.1::gentoo'
/var/tmp/portage/mate-base/mate-session-manager-1.26.1/temp/build.log
/var/tmp/portage/mate-base/mate-session-manager-1.26.1/temp/environment

Description Einstok Fair 2024-05-10 14:41:39 UTC
at install phase ebuild says:

install-xattr: listxattr() failed: Operation not supported
 * ERROR: mate-base/mate-session-manager-1.26.1::gentoo failed (install phase):
 *   doexe failed



Reproducible: Always




looks similar to https://bugs.gentoo.org/show_bug.cgi?id=922723
Comment 1 Einstok Fair 2024-05-10 14:46:15 UTC
Created attachment 892663 [details]
emerge --info '=mate-base/mate-session-manager-1.26.1::gentoo'

emerge --info '=mate-base/mate-session-manager-1.26.1::gentoo'
Comment 2 Einstok Fair 2024-05-10 14:47:53 UTC
Created attachment 892664 [details]
emerge -pqv '=mate-base/mate-session-manager-1.26.1::gentoo'
Comment 3 Einstok Fair 2024-05-10 14:49:09 UTC
Created attachment 892665 [details]
/var/tmp/portage/mate-base/mate-session-manager-1.26.1/temp/build.log
Comment 4 Einstok Fair 2024-05-10 14:50:35 UTC
Created attachment 892666 [details]
/var/tmp/portage/mate-base/mate-session-manager-1.26.1/temp/environment
Comment 5 Einstok Fair 2024-05-10 15:09:08 UTC
https://bugs.gentoo.org/769359
Comment 6 genBTC 2024-05-10 15:29:02 UTC
Its not an issue with this mate-session-manager package at all. Its any.

Right now I am reading the C code in sys-apps/install-xattr.
The related bug 769359 seems to be more correct. I am investigating it on my end. 

What it says there is that the filesystem was detected as supporting xattr's, but using a symlink may break it. So still some confusion as to how you caused that for this one package.
Comment 7 Einstok Fair 2024-05-10 16:00:30 UTC
> Its not an issue with this mate-session-manager package at all.

but many other packages are successfully installed

> how you caused that

I run VM in virt-manager and mounted via virtiofs three directories:
/var/db/repos
/var/cache/distfiles
/var/cache/binpkgs
Comment 8 genBTC 2024-05-10 16:44:17 UTC
I was able to reproduce this.

The pattern of "doexe ${FILESDIR} " where FILESDIR is symlinked to a remote samba filesystem (inherently returns "Operation not supported" for xattrs), but the rest of the system does support xattrs - we get this:

To reproduce: 

cd /var/db/repos/gentoo/mate-base/mate-session-manager
ls files
mv files files.bak
#Where $remoteserver is a filesystem with no xattr support such as samba
ln -s $remoteserver/ files
cp -ar files.bak/* files/
ebuild mate-session-manager-1.26.1.ebuild install

install-xattr: listxattr() failed: Operation not supported
 * ERROR: mate-base/mate-session-manager-1.26.1::gentoo failed (install phase):
 *   doexe failed

Continuing research....
Comment 9 Einstok Fair 2024-05-10 17:58:20 UTC
net-dialup/ppp-2.5.0-r7

fails with the message
```
install-xattr: listxattr() failed: Operation not supported
 * ERROR: net-dialup/ppp-2.5.0-r7::gentoo failed (install phase):
 *   doman failed
```
Comment 10 Mike Gilbert gentoo-dev 2024-05-12 18:52:52 UTC

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