Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211665 - app-admin/eselect-1.0.11 fails to build, can't find module named docutils.core
Summary: app-admin/eselect-1.0.11 fails to build, can't find module named docutils.core
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 265541 266214 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-27 18:46 UTC by Marco Napetti
Modified: 2009-05-01 00:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Napetti 2008-02-27 18:46:58 UTC
app-admin/eselect-1.0.11 fails to build:
>>> Emerging (1 of 1) app-admin/eselect-1.0.11 to /
 * eselect-1.0.11.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                 [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking eselect-1.0.11.tar.bz2 ;-) ...                                [ ok ]
>>> Unpacking source...
>>> Unpacking eselect-1.0.11.tar.bz2 to /var/tmp/portage/app-admin/eselect-1.0.11/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11 ...
 * econf: updating eselect-1.0.11/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating eselect-1.0.11/config/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for bash... /bin/bash
checking for GNU sed... /bin/sed
checking for portageq... /usr/lib64/portage/bin/portageq
checking for paludis... no
checking for greadlink... no
checking for readlink... yes
checking for readlink... /bin/readlink
checking for rst2html... no
checking for rst2html.py... /usr/bin/rst2html.py
checking whether dodgy modules should be installed... nope
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating man/Makefile
config.status: creating misc/Makefile
config.status: creating bin/Makefile
config.status: creating libs/Makefile
config.status: creating modules/Makefile
Making all in doc
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/doc'
Making all in man
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/man'
Making all in misc
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/misc'
Making all in bin
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/bin'
Building eselect...
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/bin'
Making all in libs
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/libs'
cp default.eselect.in default.eselect
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/libs'
Making all in modules
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11/modules'
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.0.11/work/eselect-1.0.11'
/usr/bin/rst2html.py < README > README.html
Traceback (most recent call last):
  File "/usr/bin/rst2html.py", line 19, in <module>
    from docutils.core import publish_cmdline, default_description
ImportError: No module named docutils.core
make: *** [README.html] Error 1
 * 
 * ERROR: app-admin/eselect-1.0.11 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2106:  Called die
 * The specific snippet of code:
 *           make html || die "failed to build html";
 *  The die message:
 *   failed to build html
 * 

emerge --info:
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.7-r1, 2.6.24-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Wed, 27 Feb 2008 16:00:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.4.4-r6, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.eliteitminds.com ftp://mirror.scarlet-internet.nl/pub/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/kde /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl addbookmarks alias alsa amd64 amr amuled apache2 audiofile autoreplace avi bash-completion berkdb bitmap-fonts bluetooth boost branding browserplugin bzip2 cdb cdda cddb cdinstall cdio cdparanoia cdr cli clucene codecs connectionstatus contactnotes cpudetection cracklib crypt css ctype cups curl dbus decibel dga divx4linux dlloader doc dri dts dv dvb dvd dvdr dvdread dxr3 edl emul-linux-x86 encode exif faad fame ffmpeg firefox flac fortran ftp gadu gcj gd gdbm ggi gif gimp gimpprint glitz gphoto2 gpm groupwise gstreamer gtk hal highlight history hou iconv idn ieee1394 imagemagick imap imlib insecure-drivers ipv6 irc isdnlog ithreads jack java javascript jingle jpeg jpeg2k kde kdeenablefinal latex latin1 lcd ldap libcaca live lm_sensors lzo mad matroska messenger midi mikmod mime mjpeg mmx mmxext monkey moodbar mozbranding mozdevelop mozilla mp3 mpeg mplayer mppe-mppc msn mudflap musepack musicbrainz mysql mysqli mythtv ncurses netmeeting networkmanager nls nodrm nowin nowlistening nptl nptlonly nsplugin objc objc++ objc-gc odbc offensive ogg oggvorbis opengl openmp pam pcre pdf perl php png postgres ppds pppd python qt qt3 qt3support qt4 quicktime rdesktop readline reflection remotereplytolist samba sametime scanner sdl sensord session slp smp sms sndfile sou sound speex spl sqlite sse sse2 ssl statistics subversion svg taglib tcpd telepathy texteffect tga theora threads tidy tiff tokenizer translator truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos visualization vnc vorbis wavpack webdav webpresence wifi winpopup xanim xcb xcomposite xine xinerama xml xmlreader xmlwriter xorg xv xvid xvmc yahoo zeroconf zip 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cachedav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="tda10046" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon vesa"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always
Comment 1 Marco Napetti 2008-02-27 18:50:39 UTC
disabling "doc" use flag app-admin/eselect-1.0.11 builds fine.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-27 18:56:18 UTC
Re-emerge dev-python/docutils and/or run python-updater.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-10 08:12:17 UTC
*** Bug 265541 has been marked as a duplicate of this bug. ***
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-15 20:24:46 UTC
*** Bug 266214 has been marked as a duplicate of this bug. ***
Comment 5 Anthony Ettinger 2009-05-01 00:58:59 UTC
Neither re emerging docutils or running python-updater fixes the problem for me.

It fails whenever "doc" flag is set, removing that is counter productive.

It seems to stem from eselect needing the "doc" flag...but there are other packages I can't build until I can get past this error:

$ emerge eselect


Traceback (most recent call last):
  File "/usr/bin/rst2html.py", line 17, in <module>
    from docutils.core import publish_cmdline, default_description
ImportError: No module named docutils.core
make: *** [README.html] Error 1

It was suggested I remove python 2.4 ( currently using 2.6 ).

$ python-updater 
* Couldn't determine any previous Python version(s).
* Use -o OLD_PYTHON_VERSION to specify your old python version.