Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296266 - merging eselect 1.2.8 returns the error "ImportError: No module named docutils.core"
Summary: merging eselect 1.2.8 returns the error "ImportError: No module named docutil...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-09 01:08 UTC by Ian Ballantyne
Modified: 2009-12-12 16:12 UTC (History)
0 users

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 Ian Ballantyne 2009-12-09 01:08:33 UTC
wallaroo linux # evta portage

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild     U ] sys-apps/portage-2.1.7.11 [2.1.6.13] USE="doc -build -epydoc -python3% (-selinux)" LINGUAS="-pl" 0 kB
[ebuild     U ]  app-admin/eselect-python-20090824 [20090606] 0 kB
[nomerge      ] app-editors/gvim-7.1.319  USE="acl bash-completion gpm nls perl python (-aqua) -cscope -gnome -gtk -motif -netbeans -nextaw -ruby"
[nomerge      ]  app-admin/eselect-1.2.8 [1.0.11-r1] USE="doc -bash-completion (-vim-syntax%)"
[blocks b     ]   app-admin/eselect-news ("app-admin/eselect-news" is blocking app-admin/eselect-1.2.8)
[uninstall    ]    app-admin/eselect-news-20080320
[ebuild     U ]  app-admin/eselect-1.2.8 [1.0.11-r1] USE="doc -bash-completion (-vim-syntax%)" 0 kB

Total: 3 packages (3 upgrades, 1 uninstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 3) app-admin/eselect-1.2.8
 * eselect-1.2.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking eselect-1.2.8.tar.bz2 to /var/tmp/portage/app-admin/eselect-1.2.8/work
>>> Source unpacked in /var/tmp/portage/app-admin/eselect-1.2.8/work
>>> Compiling source in /var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --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
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/ebuild-helpers/portageq
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 what package manager we shall use... portage
checking if target installation is in an offset prefix... nope
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
make -j2
Making all in doc
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/doc'
Making all in man
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/man'
Making all in misc
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/misc'
Making all in bin
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/bin'
Building eselect...
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/bin'
Making all in libs
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/libs'
cp default.eselect.in default.eselect
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/libs'
Making all in modules
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8/modules'
make[1]: Entering directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/var/tmp/portage/app-admin/eselect-1.2.8/work/eselect-1.2.8'
/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.2.8 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  195:  Called die
 * The specific snippet of code:
 *           make html || die "failed to build html";
 *  The die message:
 *   failed to build html
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-admin/eselect-1.2.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/eselect-1.2.8/temp/environment'.
 *



Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2009-12-10 00:53:45 UTC
Usually an ImportError like this means that you need to run python-updater.
Comment 2 Ian Ballantyne 2009-12-10 16:18:16 UTC
Ran python-updater, got the following...

wallaroo ~ # python-updater                                  
 * Starting Python Updater from 2.5 to 2.6 :
 *   Adding to list: =dev-libs/boost-1.37.0-r1
 *   Adding to list: =dev-libs/boost-1.35.0-r5
 *   Adding to list: =dev-libs/libxslt-1.1.24
 *   Adding to list: =dev-libs/libxml2-2.7.1
 *   Adding to list: =media-libs/alsa-lib-1.0.16-r1
 *   Adding to list: =media-libs/lcms-1.17
 *   Adding to list: =app-mobilephone/wammu-0.25
 *   Adding to list: =app-office/openoffice-2.4.1
 *   Adding to list: =app-office/koffice-libs-1.6.3
 *   Adding to list: =app-office/kivio-1.6.2
 *   Adding to list: =sys-apps/file-4.25
 *   Adding to list: =dev-util/scons-0.98.5
 *   Adding to list: =dev-java/antlr-2.7.7
 *   Adding to list: =dev-java/javatoolkit-0.3.0-r2
 *   Adding to list: =dev-java/java-config-1.3.7
 *   Adding to list: =dev-java/java-config-2.1.6-r1
 *   Adding to list: =sys-libs/libieee1284-0.2.11
 *   Adding to list: =sys-libs/cracklib-2.8.12
 *   Adding to list: =app-admin/gamin-0.1.9
 *   Adding to list: =app-emulation/virtualbox-bin-3.0.12
 *   Adding to list: =app-editors/gvim-7.1.319
 *   Adding to list: =kde-base/superkaramba-3.5.9
 *   Adding to list: =net-analyzer/net-snmp-5.4.1-r3
 *   Adding to list: =dev-python/wxpython-2.6.4.0-r1
 *   Adding to list: =dev-python/pyxf86config-0.3.34-r1
 *   Adding to list: =dev-python/pyxml-0.8.4-r1
 *   Adding to list: =dev-python/pygobject-2.14.1
 *   Adding to list: =dev-python/python-fchksum-1.7.1
 *   Adding to list: =dev-python/pygtk-2.12.1-r2
 *   Adding to list: =dev-python/setuptools-0.6_rc7-r1
 *   Adding to list: =dev-python/python-gammu-0.26
 *   Adding to list: =dev-python/numeric-24.2-r6
 *   Adding to list: =dev-python/pyopengl-2.0.1.09-r1
 *   Adding to list: =dev-python/pycairo-1.4.12
 *   Adding to list: =dev-python/pycrypto-2.0.1-r5
 *   Adding to list: =dev-python/docutils-0.4-r3
 *   Adding to list: =app-pda/libopensync-0.36
 *   Adding to list: =media-gfx/graphviz-2.20.2

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.                         


These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=dev-libs/libxslt-1.1.24".


 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.                         


So I merged dev-libs/libxslt manually, and tried the updater again:
wallaroo ~ # python-updater
 * Starting Python Updater from 2.5 to 2.6 :
 *   Adding to list: =dev-libs/boost-1.37.0-r1
 *   Adding to list: =dev-libs/boost-1.35.0-r5
 *   Adding to list: =dev-libs/libxml2-2.7.1
 *   Adding to list: =media-libs/alsa-lib-1.0.16-r1
 *   Adding to list: =media-libs/lcms-1.17
 *   Adding to list: =app-mobilephone/wammu-0.25
 *   Adding to list: =app-office/openoffice-2.4.1
 *   Adding to list: =app-office/koffice-libs-1.6.3
 *   Adding to list: =app-office/kivio-1.6.2
 *   Adding to list: =sys-apps/file-4.25
 *   Adding to list: =dev-util/scons-0.98.5
 *   Adding to list: =dev-java/antlr-2.7.7
 *   Adding to list: =dev-java/javatoolkit-0.3.0-r2
 *   Adding to list: =dev-java/java-config-1.3.7
 *   Adding to list: =dev-java/java-config-2.1.6-r1
 *   Adding to list: =sys-libs/libieee1284-0.2.11
 *   Adding to list: =sys-libs/cracklib-2.8.12
 *   Adding to list: =app-admin/gamin-0.1.9
 *   Adding to list: =app-emulation/virtualbox-bin-3.0.12
 *   Adding to list: =app-editors/gvim-7.1.319
 *   Adding to list: =kde-base/superkaramba-3.5.9
 *   Adding to list: =net-analyzer/net-snmp-5.4.1-r3
 *   Adding to list: =dev-python/wxpython-2.6.4.0-r1
 *   Adding to list: =dev-python/pyxf86config-0.3.34-r1
 *   Adding to list: =dev-python/pyxml-0.8.4-r1
 *   Adding to list: =dev-python/pygobject-2.14.1
 *   Adding to list: =dev-python/python-fchksum-1.7.1
 *   Adding to list: =dev-python/pygtk-2.12.1-r2
 *   Adding to list: =dev-python/setuptools-0.6_rc7-r1
 *   Adding to list: =dev-python/python-gammu-0.26
 *   Adding to list: =dev-python/numeric-24.2-r6
 *   Adding to list: =dev-python/pyopengl-2.0.1.09-r1
 *   Adding to list: =dev-python/pycairo-1.4.12
 *   Adding to list: =dev-python/pycrypto-2.0.1-r5
 *   Adding to list: =dev-python/docutils-0.4-r3
 *   Adding to list: =app-pda/libopensync-0.36
 *   Adding to list: =media-gfx/graphviz-2.20.2

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=dev-libs/libxml2-2.7.1".


 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items


So then I merged dev-libs/libxml2 manually and tried python-updater again:
wallaroo ~ # python-updater
 * Starting Python Updater from 2.5 to 2.6 :
 *   Adding to list: =dev-libs/boost-1.37.0-r1
 *   Adding to list: =dev-libs/boost-1.35.0-r5
 *   Adding to list: =media-libs/alsa-lib-1.0.16-r1
 *   Adding to list: =media-libs/lcms-1.17
 *   Adding to list: =app-mobilephone/wammu-0.25
 *   Adding to list: =app-office/openoffice-2.4.1
 *   Adding to list: =app-office/koffice-libs-1.6.3
 *   Adding to list: =app-office/kivio-1.6.2
 *   Adding to list: =sys-apps/file-4.25
 *   Adding to list: =dev-util/scons-0.98.5
 *   Adding to list: =dev-java/antlr-2.7.7
 *   Adding to list: =dev-java/javatoolkit-0.3.0-r2
 *   Adding to list: =dev-java/java-config-1.3.7
 *   Adding to list: =dev-java/java-config-2.1.6-r1
 *   Adding to list: =sys-libs/libieee1284-0.2.11
 *   Adding to list: =sys-libs/cracklib-2.8.12
 *   Adding to list: =app-admin/gamin-0.1.9
 *   Adding to list: =app-emulation/virtualbox-bin-3.0.12
 *   Adding to list: =app-editors/gvim-7.1.319
 *   Adding to list: =kde-base/superkaramba-3.5.9
 *   Adding to list: =net-analyzer/net-snmp-5.4.1-r3
 *   Adding to list: =dev-python/wxpython-2.6.4.0-r1
 *   Adding to list: =dev-python/pyxf86config-0.3.34-r1
 *   Adding to list: =dev-python/pyxml-0.8.4-r1
 *   Adding to list: =dev-python/pygobject-2.14.1
 *   Adding to list: =dev-python/python-fchksum-1.7.1
 *   Adding to list: =dev-python/pygtk-2.12.1-r2
 *   Adding to list: =dev-python/setuptools-0.6_rc7-r1
 *   Adding to list: =dev-python/python-gammu-0.26
 *   Adding to list: =dev-python/numeric-24.2-r6
 *   Adding to list: =dev-python/pyopengl-2.0.1.09-r1
 *   Adding to list: =dev-python/pycairo-1.4.12
 *   Adding to list: =dev-python/pycrypto-2.0.1-r5
 *   Adding to list: =dev-python/docutils-0.4-r3
 *   Adding to list: =app-pda/libopensync-0.36
 *   Adding to list: =media-gfx/graphviz-2.20.2

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=media-libs/alsa-lib-1.0.16-r1".


So for now I'm giving up.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-12-11 05:43:48 UTC
Your system is very out-of-date.
You should update e.g. python-updater.
Comment 4 Ian Ballantyne 2009-12-11 15:06:07 UTC
My system is a bit out of date because I am avoiding everything KDE4 like the plague, it's the the Linux world's Vista. KDE 3 works well, and that's what I continue to use.

I have in the meantime found a workaround to get eselect built.  In /etc/portage/package.use, I made an entry:

app-admin/eselect -doc

and was able to get eselect built.

The issues with python-updater remain however.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-12-12 06:41:26 UTC
Which version of python-updater?
The newest version by default doesn't request specific versions of packages which need to be reinstalled, so it would want to reinstall media-libs/alsa-lib instead of =media-libs/alsa-lib-1.0.16-r1 which you have shown in comment #2.
Comment 6 Ian Ballantyne 2009-12-12 13:52:55 UTC
It is (now was) version 0.5.  I emerged it and now have 0.7.  I ran it again and got:

wallaroo ~ # python-updater
 * Starting Python Updater from 2.5 to 2.6 :
 *   Adding to list: dev-libs/boost:1.37
 *     check: manual [Added to list manually, see CHECKS in manpage for more information.]
 *   Adding to list: dev-libs/boost:0
 *     check: manual [Added to list manually, see CHECKS in manpage for more information.]
 *   Adding to list: media-libs/alsa-lib:0
 *   Adding to list: media-libs/lcms:0
 *   Adding to list: app-mobilephone/wammu:0
 *   Adding to list: app-office/openoffice:0
 *   Adding to list: app-office/koffice-libs:3.5
 *   Adding to list: app-office/kivio:3.5
 *   Adding to list: sys-apps/file:0
 *   Adding to list: dev-util/scons:0
 *   Adding to list: dev-java/antlr:0
 *   Adding to list: dev-java/javatoolkit:0
 *   Adding to list: dev-java/java-config:0
 *   Adding to list: dev-java/java-config:2
 *   Adding to list: sys-libs/libieee1284:0
 *   Adding to list: sys-libs/cracklib:0
 *   Adding to list: app-admin/gamin:0
 *   Adding to list: app-emulation/virtualbox-bin:0
 *   Adding to list: app-editors/gvim:0
 *   Adding to list: kde-base/superkaramba:3.5
 *   Adding to list: net-analyzer/net-snmp:0
 *   Adding to list: dev-python/wxpython:2.6
 *   Adding to list: dev-python/pyxf86config:0
 *   Adding to list: dev-python/pyxml:0
 *   Adding to list: dev-python/pygobject:2
 *   Adding to list: dev-python/python-fchksum:0
 *   Adding to list: dev-python/pygtk:2
 *   Adding to list: dev-python/setuptools:0
 *   Adding to list: dev-python/python-gammu:0
 *   Adding to list: dev-python/numeric:0
 *   Adding to list: dev-python/pyopengl:0
 *   Adding to list: dev-python/pycairo:0
 *   Adding to list: dev-python/pycrypto:0
 *   Adding to list: dev-python/docutils:0
 *   Adding to list: app-pda/libopensync:0
 *   Adding to list: media-gfx/graphviz:0
 * emerge -vD1 dev-libs/boost:1.37 dev-libs/boost:0 media-libs/alsa-lib:0 media-libs/lcms:0 app-mobilephone/wammu:0 app-office/openoffice:0 app-office/koffice-libs:3.5 app-office/kivio:3.5 sys-apps/file:0 dev-util/scons:0 dev-java/antlr:0 dev-java/javatoolkit:0 dev-java/java-config:0 dev-java/java-config:2 sys-libs/libieee1284:0 sys-libs/cracklib:0 app-admin/gamin:0 app-emulation/virtualbox-bin:0 app-editors/gvim:0 kde-base/superkaramba:3.5 net-analyzer/net-snmp:0 dev-python/wxpython:2.6 dev-python/pyxf86config:0 dev-python/pyxml:0 dev-python/pygobject:2 dev-python/python-fchksum:0 dev-python/pygtk:2 dev-python/setuptools:0 dev-python/python-gammu:0 dev-python/numeric:0 dev-python/pyopengl:0 dev-python/pycairo:0 dev-python/pycrypto:0 dev-python/docutils:0 app-pda/libopensync:0 media-gfx/graphviz:0

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "kde-base/superkaramba:3.5".


 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


So, sadly, the ebuilds for KDE 3.5.10 were removed from the tree. This is very frustrating for me.
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-12-12 16:12:18 UTC
Run:
emerge -vD1 dev-libs/boost:1.37 dev-libs/boost:0 media-libs/alsa-lib:0 media-libs/lcms:0 app-mobilephone/wammu:0 app-office/openoffice:0 app-office/koffice-libs:3.5 app-office/kivio:3.5 sys-apps/file:0 dev-util/scons:0 dev-java/antlr:0 dev-java/javatoolkit:0 dev-java/java-config:0 dev-java/java-config:2 sys-libs/libieee1284:0 sys-libs/cracklib:0 app-admin/gamin:0 app-emulation/virtualbox-bin:0 app-editors/gvim:0 net-analyzer/net-snmp:0 dev-python/wxpython:2.6 dev-python/pyxf86config:0 dev-python/pyxml:0 dev-python/pygobject:2 dev-python/python-fchksum:0 dev-python/pygtk:2 dev-python/setuptools:0 dev-python/python-gammu:0 dev-python/numeric:0 dev-python/pyopengl:0 dev-python/pycairo:0 dev-python/pycrypto:0 dev-python/docutils:0 app-pda/libopensync:0 media-gfx/graphviz:0

I'm closing this bug.