I have got the problems below installing mailman. My python version is 2.5.1-r2 net-mail/mailman-2.1.9: ----------------------- Traceback (most recent call last): File "bin/check_perms", line 383, in <module> checkarchives() File "bin/check_perms", line 206, in checkarchives print _('%(private)s must not be other-readable'), File "/var/tmp/portage/net-mail/mailman-2.1.9/image//usr/local/mailman/Mailman/i18n.py", line 90, in _ ValueError: unsupported format character 'n' (0x6e) at index 11 net-mail/mailman-2.1.9-r1 ------------------------- Traceback (most recent call last): File "bin/check_perms", line 382, in <module> checkall() File "bin/check_perms", line 196, in checkall os.path.walk(d, checkwalk, STATE) File "/usr/lib64/python2.5/posixpath.py", line 290, in walk func(arg, top, names) File "bin/check_perms", line 120, in checkwalk print _('%(path)s bad group (has: %(groupname)s, ' File "/var/tmp/portage/net-mail/mailman-2.1.9-r1/image//usr/lib/mailman/Mailman/i18n.py", line 90, in _ ValueError: unsupported format character 't' (0x74) at index 8 Reproducible: Always Steps to Reproduce: 1. emerge mailman 2. 3. Actual Results: Mailman seems to be installed, but running bin/check_perms results, again, in the problem specified above. Expected Results: Mailman correctly installed and working
Hi, doing some research I found this: http://mail.python.org/pipermail/mailman-users/2003-November/032774.html My LC_ALL and LANG variables were "es_ES.UTF-8", so changing it to "C" allowed mailman to be correctly merged.
emerge --info please
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r6 x86_64) ================================================================= System uname: 2.6.22-gentoo-r6 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Timestamp of tree: Sat, 22 Sep 2007 02:00:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.5.1-r2 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r4 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.10 sys-devel/binutils: 2.18 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/" LANG="es_ES.UTF-8" LC_ALL="es_ES.UTF-8" LINGUAS="es" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acct acl amd64 bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt dri fortran gdbm gif gnutls gpm iconv idn ipv6 isdnlog jpeg midi mmap mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session snmp spl sse sse2 ssl tcpd threads truetype truetype-fonts type1-fonts unicode vhosts vim-syntax xml xml2 xorg zlib" 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
We don't run check_perms on installation any more, so it should be fine now.