On 08/04/2014 05:46 PM, Roger Cahn wrote: > > Hello all, > > I encounter some problems with python compiling and man errors. > > 1- Python : > > I can't emerge some python packages (ie pyorbit, libmpeg2, > libbonobo-python, etc...). > Even the installed python packages can't emerge anymore. > Here is the error message for libgnome-python-2.28.1-r1 > (USE="-examples" PYTHON_TARGETS="-python2_7%") > > *ERROR: dev-python/libgnome-python-2.28.1-r1::gentoo failed (configure > phase): > * No supported Python implementation in PYTHON_TARGETS. > * > * Call stack: > * ebuild.sh, line 93: Called src_configure > * environment, line 4118: Called gnome-python-common-r1_src_configure > * environment, line 2078: Called python_parallel_foreach_impl > 'gnome2_src_configure' '--disable-allbindings' '--enable-gnome' > '--enable-gnomeui' > * environment, line 3947: Called _python_obtain_impls > * environment, line 702: Called _python_validate_useflags > * environment, line 758: Called die > * The specific snippet of code: > * die "No supported Python implementation in PYTHON_TARGETS." > * > > Is it a locale problem ? > > Here is my /etc/env.d/02locale > > LANG=fr_FR.utf8 > LC_ALL="" > > When i run locale, i get : > > $ locale > LANG=fr_FR.UTF-8 > LC_CTYPE="fr_FR.UTF-8" > LC_NUMERIC="fr_FR.UTF-8" > LC_TIME="fr_FR.UTF-8" > LC_COLLATE="fr_FR.UTF-8" > LC_MONETARY="fr_FR.UTF-8" > LC_MESSAGES="fr_FR.UTF-8" > LC_PAPER="fr_FR.UTF-8" > LC_NAME="fr_FR.UTF-8" > LC_ADDRESS="fr_FR.UTF-8" > LC_TELEPHONE="fr_FR.UTF-8" > LC_MEASUREMENT="fr_FR.UTF-8" > LC_IDENTIFICATION="fr_FR.UTF-8" > LC_ALL= > > 2- man does not work anymore ; i get the error message : > > ie : $man emerge (sorry, it's in french) > > *man emerge > sh: most : commande introuvable > Erreur pendant l'ex�cution du formatage ou de l'affichage. > Le syst�me retourne pour (cd "/usr/share/man" && (echo ".ll 11.1i"; > echo ".nr LL 11.1i"; echo ".pl 1100i"; /bin/bzip2 -c -d > '/usr/share/man/man1/emerge.1.bz2'; echo ".\\\""; echo ".pl > \n(nlu+10") | /usr/bin/gtbl | /usr/bin/nroff -mandoc | most) l'erreur 127. > Il n'y a pas de page de manuel pour emerge. > * > I recompiled the sys-apps/man package with success but the error is > still there. > > My configuration : > > $emerge --info > > Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, > glibc-2.19-r1, 3.14.14-gentoo x86_64) > ================================================================= > System uname: > Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-gentoo-2.2 > KiB Mem: 4051020 total, 1896448 free > KiB Swap: 2048280 total, 2048280 free > Timestamp of tree: Sun, 03 Aug 2014 08:15:01 +0000 > ld GNU ld (GNU Binutils) 2.23.2 > app-shells/bash: 4.2_p45 > dev-java/java-config: 2.2.0 > dev-lang/python: 2.7.7, 3.3.5-r1 > dev-util/cmake: 2.8.12.2-r1 > dev-util/pkgconfig: 0.28-r1 > sys-apps/baselayout: 2.2 > sys-apps/openrc: 0.12.4 > sys-apps/sandbox: 2.6-r1 > sys-devel/autoconf: 2.13, 2.69 > sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.13.4 > sys-devel/binutils: 2.23.2 > sys-devel/gcc: 4.7.3-r1 > sys-devel/gcc-config: 1.7.3 > sys-devel/libtool: 2.4.2-r1 > sys-devel/make: 3.82-r4 > sys-kernel/linux-headers: 3.13 (virtual/os-headers) > sys-libs/glibc: 2.19-r1 > Repositories: gentoo > ACCEPT_KEYWORDS="amd64" > ACCEPT_LICENSE="* -@EULA" > CBUILD="x86_64-pc-linux-gnu" > CFLAGS="-O2 -march=native -pipe" > CHOST="x86_64-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" > CONFIG_PROTECT_MASK="/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/splash /etc/terminfo" > CXXFLAGS="-O2 -march=native -pipe" > DISTDIR="/usr/portage/distfiles" > EMERGE_DEFAULT_OPTS="--autounmask=n" > FCFLAGS="-O2 -pipe" > FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles > merge-sync news parallel-fetch preserve-libs protect-owned sandbox > sfperms strict unknown-features-warn unmerge-logs unmerge-orphans > userfetch userpriv usersandbox usersync" > FFLAGS="-O2 -pipe" > GENTOO_MIRRORS="http://distfiles.gentoo.org" > LANG="fr_FR.utf8" > LC_ALL="" > LDFLAGS="-Wl,-O1 -Wl,--as-needed" > MAKEOPTS="-j2" > PKGDIR="/usr/portage/packages" > PORTAGE_CONFIGROOT="/" > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times > --omit-dir-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.europe.gentoo.org/gentoo-portage" > USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 > cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd > dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk > iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg > multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png > policykit ppds qt3support qt4 readline sdl session spell sse sse2 ssl > startup-notification svg tcpd tiff truetype udev udisks unicode upower > usb vorbis wxwidgets x264 xcb xml 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" > 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 author" CAMERAS="canon 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" > LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb > ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console > presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" > PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" > PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" > 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, > PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, > USE_PYTHON > > > $eselect python list > > Available Python interpreters: > [1] python2.7 * > [2] python3.3 > > Thank you for your help. > > Cheers, > Roger > > > > > > > > > > > As far as your first problem goes, libgnome-python requires python2_7: grep COMPAT libgnome-python-2.28.1-r1.ebuild PYTHON_COMPAT=( python2_7 ) The output you supplied indicates that python2_7 is disabled for this particular package, i.e. 'PYTHON_TARGETS="-python2_7%". The default base profile on my stytem has: grep ^PYTHON_TARGETS /usr/portage/profiles/base/make.defaults PYTHON_TARGETS="python2_7 python3_3" emerge --info output on your system seems to be the same as well. Looks like on your system, you have python2_7 disabled somewhere. Do you have PYTHON_TARGETS redefined in /etc/portage/make.conf? For the package in question you need to have python2_7 enabled. As for your second problem, as has already been pointed out, you seem to be using a PAGER that is not currently found on your system. Here's the man debugging output I get on my system: man -d emerge 2>&1|sed '/bzip2/,$!d' (cd "/usr/share/man" && (echo ".pl 11i"; /bin/bzip2 -c -d '/usr/share/man/man1/emerge.1.bz2') | /usr/bin/gtbl | /usr/bin/nroff -mandoc | /usr/bin/less) Hope this helps.