denyhosts will fail to run if threads is not present in USE flags : emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.18.8-linode19 i686) ================================================================= System uname: Linux-2.6.18.8-linode19-i686-Intel-R-_Xeon-R-_CPU_L5420_@_2.50GHz-with-gentoo-1.12.11.1 Timestamp of tree: Tue, 08 Sep 2009 06:45:03 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control /var/www/localhost/htdocs-ssl/LongRoom/admin/phpmyadmin/libraries" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect cvs distlocks fixpackages maketest parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en en_GB" MAKEOPTS="-j2" PKGDIR="/share/built-packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=45" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow apache2 bash-completion bzlib cracklib crypt doc imap java libwww maildir mmx mysql nls nptl nptlonly pam php readline sse ssl tcltk tcpd unicode vhosts x86 xml xml2 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="authz_host dir mime alias asis auth_basic authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd dir dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mime mime_magic negotiation proxy proxy_ajp proxy_connect proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY --- emerge -ptv python:2.6 These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] dev-lang/python-2.6.2-r1 USE="doc readline ssl xml -berkdb -build -examples -gdbm -ipv6 -ncurses -sqlite -threads -tk -ucs2 -wininst" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB --- eselect python list Available python interpreters: [1] python2.4 [2] python2.5 [3] python2.6 * sudo /etc/init.d/denyhosts start * Starting DenyHosts daemon ... Traceback (most recent call last): File "/usr/bin/denyhosts", line 120, in <module> setup_logging(prefs, enable_debug, verbose, daemon) File "/usr/lib/python2.6/site-packages/DenyHosts/util.py", line 33, in setup_logging info("DenyHosts launched with the following args:") File "/usr/lib/python2.6/logging/__init__.py", line 1030, in info self._log(INFO, msg, args, **kwargs) File "/usr/lib/python2.6/logging/__init__.py", line 1142, in _log record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra) File "/usr/lib/python2.6/logging/__init__.py", line 1117, in makeRecord rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func) File "/usr/lib/python2.6/logging/__init__.py", line 272, in __init__ from multiprocessing import current_process ImportError: No module named multiprocessing enabling threads in make.conf and recompiling python 2.6 r1 resolved the issue - thanks Arfrever!
This is no longer an issue. 10:20 <@Arfrever> darkside_: You want to know if this package should have this USE dependency? 10:21 <@darkside_> Arfrever: no, I know it should because of bug 284203. I just don't know how to express it 10:21 <+willikins> darkside_: https://bugs.gentoo.org/284203 "app-admin/denyhosts: missing dependency on dev-lang/python[threads]"; Gentoo Linux, Applications; NEW; krynnotaur@boldvoices.us:tanderson@g.o 10:24 <@Arfrever> darkside_: Can you reproduce this bug with >=2.6.5:2.6? 10:25 <@darkside_> Arfrever: i'll try and get back to you, its not critical to be done today 10:32 <@Arfrever> darkside_: http://bugs.python.org/issue7120 should be fixed in >=2.6.4:2.6. 10:34 <@darkside_> Arfrever: ok, so that bug probably isn't an issue anymore? 10:34 <@Arfrever> darkside_: Yes.