Gentoo Archives: gentoo-user

From: Roger Cahn <rcahn@×××××××××××××.fr>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Python and man problems
Date: Mon, 04 Aug 2014 14:46:49
Message-Id: 53DF9CCD.6000003@club-internet.fr
1 Hello all,
2
3 I encounter some problems with python compiling and man errors.
4
5 1- Python :
6
7 I can't emerge some python packages (ie pyorbit, libmpeg2,
8 libbonobo-python, etc...).
9 Even the installed python packages can't emerge anymore.
10 Here is the error message for libgnome-python-2.28.1-r1
11 (USE="-examples" PYTHON_TARGETS="-python2_7%")
12
13 *ERROR: dev-python/libgnome-python-2.28.1-r1::gentoo failed (configure
14 phase):
15 * No supported Python implementation in PYTHON_TARGETS.
16 *
17 * Call stack:
18 * ebuild.sh, line 93: Called src_configure
19 * environment, line 4118: Called gnome-python-common-r1_src_configure
20 * environment, line 2078: Called python_parallel_foreach_impl
21 'gnome2_src_configure' '--disable-allbindings' '--enable-gnome'
22 '--enable-gnomeui'
23 * environment, line 3947: Called _python_obtain_impls
24 * environment, line 702: Called _python_validate_useflags
25 * environment, line 758: Called die
26 * The specific snippet of code:
27 * die "No supported Python implementation in PYTHON_TARGETS."
28 *
29
30 Is it a locale problem ?
31
32 Here is my /etc/env.d/02locale
33
34 LANG=fr_FR.utf8
35 LC_ALL=""
36
37 When i run locale, i get :
38
39 $ locale
40 LANG=fr_FR.UTF-8
41 LC_CTYPE="fr_FR.UTF-8"
42 LC_NUMERIC="fr_FR.UTF-8"
43 LC_TIME="fr_FR.UTF-8"
44 LC_COLLATE="fr_FR.UTF-8"
45 LC_MONETARY="fr_FR.UTF-8"
46 LC_MESSAGES="fr_FR.UTF-8"
47 LC_PAPER="fr_FR.UTF-8"
48 LC_NAME="fr_FR.UTF-8"
49 LC_ADDRESS="fr_FR.UTF-8"
50 LC_TELEPHONE="fr_FR.UTF-8"
51 LC_MEASUREMENT="fr_FR.UTF-8"
52 LC_IDENTIFICATION="fr_FR.UTF-8"
53 LC_ALL=
54
55 2- man does not work anymore ; i get the error message :
56
57 ie : $man emerge (sorry, it's in french)
58
59 *man emerge
60 sh: most : commande introuvable
61 Erreur pendant l'ex�cution du formatage ou de l'affichage.
62 Le syst�me retourne pour (cd "/usr/share/man" && (echo ".ll 11.1i"; echo
63 ".nr LL 11.1i"; echo ".pl 1100i"; /bin/bzip2 -c -d
64 '/usr/share/man/man1/emerge.1.bz2'; echo ".\\\""; echo ".pl \n(nlu+10")
65 | /usr/bin/gtbl | /usr/bin/nroff -mandoc | most) l'erreur 127.
66 Il n'y a pas de page de manuel pour emerge.
67 *
68 I recompiled the sys-apps/man package with success but the error is
69 still there.
70
71 My configuration :
72
73 $emerge --info
74
75 Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3,
76 glibc-2.19-r1, 3.14.14-gentoo x86_64)
77 =================================================================
78 System uname:
79 Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-gentoo-2.2
80 KiB Mem: 4051020 total, 1896448 free
81 KiB Swap: 2048280 total, 2048280 free
82 Timestamp of tree: Sun, 03 Aug 2014 08:15:01 +0000
83 ld GNU ld (GNU Binutils) 2.23.2
84 app-shells/bash: 4.2_p45
85 dev-java/java-config: 2.2.0
86 dev-lang/python: 2.7.7, 3.3.5-r1
87 dev-util/cmake: 2.8.12.2-r1
88 dev-util/pkgconfig: 0.28-r1
89 sys-apps/baselayout: 2.2
90 sys-apps/openrc: 0.12.4
91 sys-apps/sandbox: 2.6-r1
92 sys-devel/autoconf: 2.13, 2.69
93 sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.13.4
94 sys-devel/binutils: 2.23.2
95 sys-devel/gcc: 4.7.3-r1
96 sys-devel/gcc-config: 1.7.3
97 sys-devel/libtool: 2.4.2-r1
98 sys-devel/make: 3.82-r4
99 sys-kernel/linux-headers: 3.13 (virtual/os-headers)
100 sys-libs/glibc: 2.19-r1
101 Repositories: gentoo
102 ACCEPT_KEYWORDS="amd64"
103 ACCEPT_LICENSE="* -@EULA"
104 CBUILD="x86_64-pc-linux-gnu"
105 CFLAGS="-O2 -march=native -pipe"
106 CHOST="x86_64-pc-linux-gnu"
107 CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
108 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
109 /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
110 /etc/sandbox.d /etc/splash /etc/terminfo"
111 CXXFLAGS="-O2 -march=native -pipe"
112 DISTDIR="/usr/portage/distfiles"
113 EMERGE_DEFAULT_OPTS="--autounmask=n"
114 FCFLAGS="-O2 -pipe"
115 FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles
116 merge-sync news parallel-fetch preserve-libs protect-owned sandbox
117 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans
118 userfetch userpriv usersandbox usersync"
119 FFLAGS="-O2 -pipe"
120 GENTOO_MIRRORS="http://distfiles.gentoo.org"
121 LANG="fr_FR.utf8"
122 LC_ALL=""
123 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
124 MAKEOPTS="-j2"
125 PKGDIR="/usr/portage/packages"
126 PORTAGE_CONFIGROOT="/"
127 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
128 --omit-dir-times --compress --force --whole-file --delete --stats
129 --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
130 --exclude=/packages"
131 PORTAGE_TMPDIR="/var/tmp"
132 PORTDIR="/usr/portage"
133 PORTDIR_OVERLAY=""
134 SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
135 USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo
136 cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr
137 emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6
138 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib
139 ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds
140 qt3support qt4 readline sdl session spell sse sse2 ssl
141 startup-notification svg tcpd tiff truetype udev udisks unicode upower
142 usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64"
143 ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
144 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
145 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
146 APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias
147 auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
148 authz_dbm authz_default authz_groupfile authz_host authz_owner
149 authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir
150 disk_cache env expires ext_filter file_cache filter headers include info
151 log_config logio mem_cache mime mime_magic negotiation rewrite setenvif
152 speling status unique_id userdir usertrack vhost_alias"
153 CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon
154 braindump author" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface
155 irq load memory rrdtool swap syslog" ELIBC="glibc"
156 GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt
157 gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore
158 rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx"
159 INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
160 cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
161 LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
162 LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5"
163 PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3"
164 RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia"
165 XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p
166 iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark
167 dhcpmac delude chaos account"
168 Unset: CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND,
169 PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
170 USE_PYTHON
171
172
173 $eselect python list
174
175 Available Python interpreters:
176 [1] python2.7 *
177 [2] python3.3
178
179 Thank you for your help.
180
181 Cheers,
182 Roger

Replies

Subject Author
Re: [gentoo-user] Python and man problems Kerin Millar <kerframil@×××××××××××.uk>
Re: [gentoo-user] Python and man problems Alexander Kapshuk <alexander.kapshuk@×××××.com>