Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge Gnome 3.2.1 fails, emake error yelp-xsl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dede
n00b
n00b


Joined: 18 Dec 2007
Posts: 6

PostPosted: Tue Aug 21, 2012 6:04 pm    Post subject: [SOLVED] emerge Gnome 3.2.1 fails, emake error yelp-xsl Reply with quote

Hi,

I'm trying to install Gnome on a fresh system and it fails with :
Code:
itstool -o "yelp-xsl.pot" yelp-xsl.xml.in
  File "/usr/bin/itstool", line 134
    ret = u''
            ^
SyntaxError: invalid syntax
make[3]: *** [yelp-xsl.pot] Error 1
.
.
.
 * ERROR: gnome-extra/yelp-xsl-3.4.2 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=gnome-extra/yelp-xsl-3.4.2'`,


and after emerge --info '=gnome-extra/yelp-xsl-3.4.2':
Code:
emerge --info '=gnome-extra/yelp-xsl-3.4.2'
Portage 2.1.11.10 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.15-r2, 3.3.8-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.3.8-gentoo-i686-Intel-R-_Core-TM-_i5-3570_CPU_@_3.40GHz-with-gentoo-2.2
Timestamp of tree: Tue, 21 Aug 2012 00:45:01 +0000
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.3
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
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://rsync11.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode evo exif fam firefox flac gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gudev hal hwdb iconv ipv6 jpeg lcms ldap libkms libnotify mad mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio python qt3support readline sdl session socialweb spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 x86 xa xcb xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="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" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Any suggestions how to install it?


Last edited by dede on Fri Aug 24, 2012 4:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5267

PostPosted: Tue Aug 21, 2012 7:04 pm    Post subject: Reply with quote

Seems itstool doesn't work if active python version is 3.x (it is in your case, right ?).
I wonder, if that changes once python 3.3 is out, though there are plans to move Gnome to python3 (but, IIRC, only since 3.8 ).
Back to top
View user's profile Send private message
dede
n00b
n00b


Joined: 18 Dec 2007
Posts: 6

PostPosted: Tue Aug 21, 2012 7:27 pm    Post subject: Reply with quote

Yes. The fresh system uses python 3.2. Now: how to install gnome?
Back to top
View user's profile Send private message
dede
n00b
n00b


Joined: 18 Dec 2007
Posts: 6

PostPosted: Fri Aug 24, 2012 4:22 pm    Post subject: Reply with quote

Quote:
Anyone know what this is? Class? Anyone? Anyone? Anyone seen this before? :?
Back to top
View user's profile Send private message
dede
n00b
n00b


Joined: 18 Dec 2007
Posts: 6

PostPosted: Fri Aug 24, 2012 4:55 pm    Post subject: Reply with quote

Solved.

I edit make.conf with USE_PYTHON="2.7" - did not work.

Also: python-updater brings some '/dev/fd/62 not found' errors, solved with ln -s /proc/self/fd /dev/fd (http://www.ducea.com/2009/02/18/linux-tips-bash-completion-devfd62-no-such-file-or-directory/), but it lists 3.2 as active version.

Right answer is https://forums.gentoo.org/viewtopic-p-6520134.html :

eselect python set python2.7 and now it emerges ...
Back to top
View user's profile Send private message
diablo465
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2013
Posts: 92

PostPosted: Wed Oct 23, 2013 10:37 pm    Post subject: Reply with quote

Thanks a lot, i have got exactly the same problem and solved now
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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