When I updated sphinx to 0.6.1 and re-emerged django (because of python update), I got this error: (...) /var/tmp/portage/dev-python/django-1.0.2-r1/work/Django-1.0.2-final/docs /var/tmp/portage/dev-python/django-1.0.2-r1/work/Django-1.0.2-final make -j2 html mkdir -p _build/html _build/doctrees sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v0.6.1 /var/tmp/portage/dev-python/django-1.0.2-r1/work/Django-1.0.2-final/docs/_ext/djangodocs.py:9: DeprecationWarning: The sphinx.builder module is deprecated; please import builders from the respective sphinx.builders submodules. import sphinx.builder Extension error: Could not import extension djangodocs (exception: No module named htmlwriter) Emerging with =sphinx-0.5.2 works fine. This issue is reported upstream. I think that a patch should be applied or django dependency should be simply changed to <dev-python/sphinx-0.6 or so until this is fixed. Reproducible: Always Steps to Reproduce: 1. emerge =dev-python/sphinx-0.6.1 2. USE="doc" emerge dev-python/django $ emerge --info Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.29-gentoo-r1-i686-AMD_Turion-tm-_64_Mobile_Technology_MK-36-with-gentoo-2.0.0 Timestamp of tree: Sat, 11 Apr 2009 09:15:01 +0000 app-shells/bash: 4.0_p17 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.6.1-r1 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -msse3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -msse3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://gentoo.po.opole.pl/ http://gentoo.po.opole.pl/ ftp://ftp.vectranet.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="pl_PL.UTF-8" LC_ALL="pl_PL.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="pl" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/roslin /usr/local/portage/layman/jokey /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi alsa avahi bash-completion berkdb branding bzip2 cairo cdr consolekit cups cxx dbus dvd dvdr encode exif fam ffmpeg flac fortran gif glib gnome gnutls gpm gstreamer gtk hal iconv jpeg jpeg2k libnotify libsamplerate lzo mad midi mikmod mmx mmxext mp3 mpeg mudflap nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl pam pcre perl png ppds python qt3support quicktime readline samba schroedinger sdl session sndfile spell sse sse2 sse3 ssl startup-notification svg tcpd theora threads tiff truetype unicode usb vim-syntax vorbis win32codecs wmf x264 x86 xcb xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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 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" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="via vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The patches in this ticket fix the problem: http://code.djangoproject.com/ticket/10539
Created attachment 194240 [details] ebuild for dev-python/django-1.1_beta1 with patch application Specified patch applicable for dev-python/django-1.1_beta1.
Created attachment 194242 [details, diff] patch for sphynx-0.6.1 compatibility
This bug seems to be fixed in dev-python/django-1.0.3.