Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
install-xattr: setxattr() failed: Operation not permitted
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1256

PostPosted: Sun Dec 03, 2017 2:13 pm    Post subject: install-xattr: setxattr() failed: Operation not permitted Reply with quote

Quote:
checking for a BSD-compatible install... install-xattr: setxattr() failed: Operation not permitted

Code:
>>> Emerging (1 of 1) media-sound/mpd-0.20.12::pg_overlay
 * mpd-0.20.12.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                            [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.14.3-gentoo/build
 * Found sources for kernel version:
 *     4.14.3-gentoo
 * Checking for suitable kernel configuration options...                                                                                              [ ok ]
 * If you will be starting mpd via /etc/init.d/mpd, please make
 *              sure that MPD's pid_file is _set_.
>>> Unpacking source...
>>> Unpacking mpd-0.20.12.tar.xz to /tmp/portage/media-sound/mpd-0.20.12/work
>>> Source unpacked in /tmp/portage/media-sound/mpd-0.20.12/work
>>> Preparing source in /tmp/portage/media-sound/mpd-0.20.12/work/mpd-0.20.12 ...
 * Applying mpd-0.18.conf.patch ...                                                                                                                   [ ok ]
 * Running eautoreconf in '/tmp/portage/media-sound/mpd-0.20.12/work/mpd-0.20.12' ...
 * Running aclocal -I m4 ...                                                                                                                          [ ok ]
 * Running autoconf --force ...                                                                                                                       [ ok ]
 * Running autoheader ...                                                                                                                             [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...                                                                                [ ok ]
 * Running elibtoolize in: mpd-0.20.12/
>>> Source prepared.
>>> Configuring source in /tmp/portage/media-sound/mpd-0.20.12/work/mpd-0.20.12 ...
 * econf: updating mpd-0.20.12/build/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating mpd-0.20.12/build/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/mpd-0.20.12 --htmldir=/usr/share/doc/mpd-0.20.12/html --libdir=/usr/lib64 --enable-database --disable-roar --disable-documentation --enable-dsd --enable-largefile --disable-osx --disable-shine-encoder --disable-solaris-output --enable-tcp --enable-un --disable-werror --docdir=/usr/share/doc/mpd-0.20.12 --enable-shout --enable-vorbis-encoder --enable-httpd-output --disable-lame-encoder --disable-twolame-encoder --disable-wave-encoder --enable-eventfd --enable-signalfd --enable-libmpdclient --disable-expat --disable-upnp --disable-adplug --enable-alsa --disable-ao --disable-audiofile --enable-zlib --enable-bzip2 --disable-cdio-paranoia --enable-curl --disable-smbclient --disable-nfs --disable-debug --enable-ffmpeg --disable-fifo --enable-flac --disable-fluidsynth --disable-gme --enable-id3 --enable-inotify --disable-ipv6 --disable-iso9660 --disable-jack --disable-soundcloud --disable-libwrap --disable-lsr --disable-soxr --disable-mad --disable-mikmod --disable-mms --disable-modplug --disable-mpc --disable-mpg123 --disable-openal --disable-opus --disable-oss --disable-pipe-output --enable-pulse --disable-recorder-output --disable-sidplay --disable-sndfile --enable-sqlite --disable-systemd_daemon --enable-vorbis --enable-wavpack --disable-wildmidi --enable-zzip --enable-icu --disable-aac --without-zeroconf --with-systemdsystemunitdir= --with-systemduserunitdir= --enable-database --enable-daemon --disable-debug --enable-dsd --disable-fifo --disable-httpd-output --enable-inotify --enable-largefile --disable-soundcloud --enable-icu --enable-iconv --disable-systemd-daemon --enable-id3 --enable-sqlite --disable-lsr --enable-soxr --enable-cue --enable-zlib --enable-bzip2 --enable-zzip --enable-flac --enable-wavpack --enable-pulse --with-boost --with-systemdsystemunitdir= --with-systemduserunitdir= --without-systemdsystemunitdir --without-systemduserunitdir
checking for a BSD-compatible install... install-xattr: setxattr() failed: Operation not permitted
/usr/bin/install -c

whlle in tmpfs
Code:
/tmp/mpd-0.20.12 $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/mpd-0.20.12 --htmldir=/usr/share/doc/mpd-0.20.12/html --libdir=/usr/lib64 --enable-database --disable-roar --disable-documentation --enable-dsd --enable-largefile --disable-osx --disable-shine-encoder --disable-solaris-output --enable-tcp --enable-un --disable-werror --docdir=/usr/share/doc/mpd-0.20.12 --enable-shout --enable-vorbis-encoder --enable-httpd-output --disable-lame-encoder --disable-twolame-encoder --disable-wave-encoder --enable-eventfd --enable-signalfd --enable-libmpdclient --disable-expat --disable-upnp --disable-adplug --enable-alsa --disable-ao --disable-audiofile --enable-zlib --enable-bzip2 --disable-cdio-paranoia --enable-curl --disable-smbclient --disable-nfs --disable-debug --enable-ffmpeg --disable-fifo --enable-flac --disable-fluidsynth --disable-gme --enable-id3 --enable-inotify --disable-ipv6 --disable-iso9660 --disable-jack --disable-soundcloud --disable-libwrap --disable-lsr --disable-soxr --disable-mad --disable-mikmod --disable-mms --disable-modplug --disable-mpc --disable-mpg123 --disable-openal --disable-opus --disable-oss --disable-pipe-output --enable-pulse --disable-recorder-output --disable-sidplay --disable-sndfile --enable-sqlite --disable-systemd_daemon --enable-vorbis --enable-wavpack --disable-wildmidi --enable-zzip --enable-icu --disable-aac --without-zeroconf --with-systemdsystemunitdir= --with-systemduserunitdir= --enable-database --enable-daemon --disable-debug --enable-dsd --disable-fifo --disable-httpd-output --enable-inotify --enable-largefile --disable-soundcloud --enable-icu --enable-iconv --disable-systemd-daemon --enable-id3 --enable-sqlite --disable-lsr --enable-soxr --enable-cue --enable-zlib --enable-bzip2 --enable-zzip --enable-flac --enable-wavpack --enable-pulse --with-boost --with-systemdsystemunitdir= --with-systemduserunitdir= --without-systemdsystemunitdir --without-systemduserunitdir
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p

is it only mpd bug, or we have problems, Houston?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54673
Location: 56N 3W

PostPosted: Sun Dec 03, 2017 9:42 pm    Post subject: Reply with quote

Perfect Gentleman,

Code:
setxattr() failed: Operation not permitted
Not all filesystems support extended attributes.
Some that do need a mount option to turn it on.

From my 2008 netbook.
fstab:
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sdb1               /boot           ext2            noauto,noatime          1 2
/dev/sdb3               /               ext3            noatime,user_xattr      0 1
/dev/sdb2               none            swap            sw                      0 0

Note the user_xattr mount option.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1256

PostPosted: Mon Dec 04, 2017 3:19 am    Post subject: Reply with quote

NeddySeagoon,
the issue is that i have that setup for couple years, and don't remember having that error before. moreover as you can see the error occurs in configure section not install. also there is no errors when packages are being installed.
other rig with the same sofware has the same issue. i think the problem is that both rigs use SMACK by default.
Code:
~ $ zgrep -i smack /proc/config.gz
CONFIG_SECURITY_SMACK=y
# CONFIG_SECURITY_SMACK_BRINGUP is not set
# CONFIG_SECURITY_SMACK_APPEND_SIGNALS is not set
CONFIG_DEFAULT_SECURITY_SMACK=y
CONFIG_DEFAULT_SECURITY="smack"

the third doesn't use SMACK and doesn't have that issue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum