Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot emerge dev-lang/v8
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
kvaso
n00b
n00b


Joined: 19 Apr 2011
Posts: 40

PostPosted: Fri Apr 05, 2013 6:39 am    Post subject: cannot emerge dev-lang/v8 Reply with quote

Hi,
I am trying to emerge newest stable dev-lang/v8, but I got this error:

Code:
 * Failed to set XATTR_PAX markings -me for:
 *      out/x64.release/mksnapshot
 * Executables may be killed by PaX kernels.
 * Failed to set XATTR_PAX markings -me for:
 *      out/x64.release/shell
 * Executables may be killed by PaX kernels.
 * ERROR: dev-lang/v8-3.16.14.9-r1 failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_compile
 *   environment, line 2773:  Called die
 * The specific snippet of code:
 *       pax-mark m out/${mytarget}/{cctest,d8,shell} || die
 *
 * If you need support, post the output of `emerge --info '=dev-lang/v8-3.16.14.9-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/v8-3.16.14.9-r1'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/v8-3.16.14.9-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/v8-3.16.14.9-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/v8-3.16.14.9-r1/work/v8-3.16.14.9'
 * S: '/var/tmp/portage/dev-lang/v8-3.16.14.9-r1/work/v8-3.16.14.9'


could you please help me what to do with it?

thanks a lot

emerge output log: http://pastebin.com/HSMV8zqx

emerge --info
Code:
Portage 2.1.11.55 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.7.10-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.7.10-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_M_620_@_2.67GHz-with-gentoo-2.1
KiB Mem:     5965952 total,   3907824 free
KiB Swap:    6706172 total,   6706172 free
Timestamp of tree: Fri, 05 Apr 2013 04:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp6.linux.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.wheel.sk/ ftp://gentoo.wheel.sk/pub/linux/gentoo/ ftp://mirror.ynet.sk/pub/gentoo/ http://mirror.ynet.sk/pub/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa amd64 apm atm bash-completion berkdb bzip2 cleartype cli consolekit corefonts cracklib crypt ctype cups curl cxx dbus device-mapper dri dv dvb dvd dvdr encode esd exif extras fbcon ffmpeg firefox flac fortran ftp gd gdbm gif gimp glut gnutls gpm gstreamer gtk gzip iconv icu imagemagick imap imlib ipv6 java java6 javascript jpeg jpeg2k lame latex libwww lm_sensors lock maildir matroska matrox mime mmx modules motif mozilla mp3 mp4 mpeg mplayer mtp mudflap multilib ncurses networkmanager nls nptl ogg openmp pam pcre png policykit qt4 quicktime raw rdesktop readline rss samba sasl session simplexml smp sockets socks5 spell sse sse2 ssl startup-notification svg symlink syslog taglib tcl tcpd threads thunar tiff tk truetype type1 udev unicode usb v4l v4l2 vhosts vorbis wavpack wifi x264 xine xinerama xml xmlrunner xpm xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
mikenerone
n00b
n00b


Joined: 11 Feb 2004
Posts: 20
Location: San Antonio, TX

PostPosted: Fri Apr 05, 2013 9:50 am    Post subject: Reply with quote

Same error here. Sorry, I've found no solution as yet.
Back to top
View user's profile Send private message
mikenerone
n00b
n00b


Joined: 11 Feb 2004
Posts: 20
Location: San Antonio, TX

PostPosted: Fri Apr 05, 2013 10:11 am    Post subject: Reply with quote

Ok, problem was that my /var/tmp/portage was on a tmpfs ramdisk. The setfattr fails on it and I couldn't make it work. CONFIG_TMPFS_XATTR is on in my kernel, so I'm not sure why. Also thought maybe it had to be mounted with the user_xattr option, but that doesn't appear to be valid for tmpfs.

Anyway, workaround was just to compile v8 with a different tmpdir (create the dir first, and make sure it's on a filesystem with extended attributes enabled in your kernel (other than tmpfs)):

Code:
PORTAGE_TMPDIR=/var/lib/tmpportage emerge -av1 v8


I'd appreciate it if anyone has a solution to a fully-working PORTAGE_TMPDIR on a tmpfs for an xattr case like this.
Back to top
View user's profile Send private message
pdr
Guru
Guru


Joined: 20 Mar 2004
Posts: 582

PostPosted: Fri Apr 05, 2013 11:38 am    Post subject: Reply with quote

I ran it with the temp override and still got the error (on an ext4 filesystem).
According to http://devmanual.gentoo.org/eclass-reference/pax-utils.eclass/index.html pax-mark is controlled via PAX_MARKINGS env var. So conceptually you could add

Code:
PAX_MARKINGS=PT emerge -1av v8


and get the job done - I think I'll wait until whatever it is doing wrong gets fixed.
Back to top
View user's profile Send private message
mikenerone
n00b
n00b


Joined: 11 Feb 2004
Posts: 20
Location: San Antonio, TX

PostPosted: Fri Apr 05, 2013 4:35 pm    Post subject: Reply with quote

pdr wrote:
I ran it with the temp override and still got the error (on an ext4 filesystem).

My overridden TMPDIR was also on ext4, and all PAX warning went away when I used it (i.e. the failure for v8, and warnings for chromium and nsplugins). Double-check CONFIG_EXT4_FS_XATTR is enabled in your kernel. If that still doesn't work, you might try remounting the device containing your temporary tmpdir with user_xattr turned on. E.g.:
Code:
mount -o remount,user_xattr /

That wasn't necessary on my system, but I can imagine how it might be different depending on enabled portage FEATURES.
Back to top
View user's profile Send private message
wlchase
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 81
Location: Texas

PostPosted: Fri Apr 05, 2013 7:51 pm    Post subject: Reply with quote

I went up to the next release by adding the ~amd64 keyword as

Code:
echo "dev-lang/v8 ~amd64" >> /etc/portage/package.keywords


and it went through OK. BUT...

Chromium barfed with a similar error! I have "keyworded" it and it is now compiling, but will take a while.

HTH!
Bill

ETA: Actually the Chromium compile then died, needing many packages to be added to the keyword file... back to another square.
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