Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

"globalization" of USE="xattr" causes fail of recompile gcc

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
UlvHare
n00b
n00b
Posts: 24
Joined: Wed Sep 09, 2015 9:40 pm
Location: USSR

"globalization" of USE="xattr" causes fa

  • Quote

Post by UlvHare » Thu Oct 22, 2015 8:19 pm

After the recent mainstream putting +xattr to global profile I've tried to recompile my gcc (4.9.3). It failed with:

Code: Select all

Fixing .la files
   usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libgfortran.la
   usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/32/libgfortran.la
!!! Failed to copy extended attributes. In order to avoid this error,
!!! set FEATURES="-xattr" in make.conf.
!!! copy /var/tmp/portage/sys-devel/gcc-4.9.3/image/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1 -> /usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1 failed.
!!! Filesystem containing file '/usr/libexec/gcc/x86_64-pc-linux-gnu/4.9.3/cc1#new' does not support extended attribute 'user.pax.flags'
Reinstalling portage with USE="-xattr" solved the problem.
Top
EmaRsk
Apprentice
Apprentice
Posts: 158
Joined: Tue Sep 07, 2004 9:14 am
Location: Italy

Re: "globalization" of USE="xattr" cause

  • Quote

Post by EmaRsk » Fri Oct 23, 2015 12:17 pm

UlvHare wrote:

Code: Select all

!!! Filesystem […] does not support extended attribute […]
Xattr capabilities are disabled in your filesystem (i.e. it's a kernel config issue).
Please, avoid some common spelling errors:
http://theoatmeal.com/comics/misspelling
Top
quad
n00b
n00b
Posts: 19
Joined: Tue Jan 23, 2007 9:17 pm

  • Quote

Post by quad » Sat Nov 14, 2015 7:54 pm

On my systems the extented attributes were built into the kernel, but I had to add the user_xattr mount option to the affected filesystem using /etc/fstab.

Code: Select all

$ zgrep XATTR /proc/config.gz 
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_REISERFS_FS_XATTR=y
CONFIG_TMPFS_XATTR=y
# CONFIG_SQUASHFS_XATTR is not set
# CONFIG_AUFS_XATTR is not set
CONFIG_CIFS_XATTR=y
$ mount | grep /usr
/dev/sda8 on /usr type reiserfs (rw,noatime,user_xattr)
You can fix the filesystem without rebooting with: mount -o remount,user_xattr /usr

After that, gcc was updated successfully.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic