Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 253935

Summary: eselect-1.0.11-r1 fails to emerge, while building docs.
Product: Gentoo Hosted Projects Reporter: Daniel McMillan <nerdtekkie>
Component: eselectAssignee: Gentoo eselect Team <eselect>
Status: RESOLVED CANTFIX    
Severity: major CC: ks+bugs.gentoo.org
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log from the failed attempt at emerging eselect-1.0.11.r1
ebuild environment file from the failed emerge.

Description Daniel McMillan 2009-01-06 02:11:05 UTC
fails on creating the readme.html file.

Reproducible: Always

Actual Results:  
/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-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2078:  Called die
 * The specific snippet of code:
 *           make html || die "failed to build html";
 *  The die message:
 *   failed to build html


Expected Results:  
configure ran with no difficulties, it dies during the make steps.
Comment 1 Daniel McMillan 2009-01-06 02:12:55 UTC
Created attachment 177535 [details]
Build log from the failed attempt at emerging eselect-1.0.11.r1
Comment 2 Daniel McMillan 2009-01-06 02:13:46 UTC
Created attachment 177537 [details]
ebuild environment file from the failed emerge.
Comment 3 Zac Medico gentoo-dev 2009-01-06 02:24:28 UTC
Have you upgraded to a new python slot recently? If so, it looks like you need to run python-updater.
Comment 4 Daniel McMillan 2009-01-06 05:02:09 UTC
(In reply to comment #3)
> Have you upgraded to a new python slot recently? If so, it looks like you need
> to run python-updater.
> 

How do I do that.  Sorry not to familiar with the app.
Comment 5 Daniel McMillan 2009-01-06 05:03:24 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Have you upgraded to a new python slot recently? If so, it looks like you need
> > to run python-updater.
> > 
> 
> How do I do that.  Sorry not to familiar with the app.
> 

nevermind just a glitch on my system.  I emerged it and it ran fine.
Comment 6 Zac Medico gentoo-dev 2009-01-06 06:54:00 UTC
Ok, I'll just assume that you needed to run python-updater. That would reinstall docutils, which would solve the problem that you described.
Comment 7 Karl Skibinski 2009-02-11 22:34:27 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > Have you upgraded to a new python slot recently? If so, it looks like you need
> > > to run python-updater.
> > 
> > How do I do that.  Sorry not to familiar with the app.
> 
> nevermind just a glitch on my system.  I emerged it and it ran fine.

Which package did you emerge?
I tried to emerge portage:
emerge --ask --newuse portage
and get the known error message:


/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-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2155:  Called die
 * The specific snippet of code:
 *           make html || die "failed to build html";
 *  The die message:
 *   failed to build html
 * 

So I tried to run python-updater and I get:

 * Starting Python Updater from 2.4 to 2.5 :
 * check "soname" enabled.
 * check "pylibdir" enabled.
 * check "eclass" disabled.
 * check "manual" enabled.
 *   Adding to list: =dev-libs/boost-1.34.1-r2
 *     check: manual [Added to list manually]
 *   Adding to list: =dev-python/python-fchksum-1.7.1
 *     check: pylibdir [ Installed file under old python library directory ]
 *   Adding to list: =dev-python/pycrypto-2.0.1-r6
 *     check: pylibdir [ Installed file under old python library directory ]
 *   Adding to list: =dev-python/setuptools-0.6_rc7-r1
 *     check: pylibdir [ Installed file under old python library directory ]
 *   Adding to list: =dev-python/docutils-0.4-r3
 *     check: pylibdir [ Installed file under old python library directory ]
 *   Adding to list: =app-admin/gamin-0.1.9
 *     check: pylibdir [ Installed file under old python library directory ]
 *   Adding to list: =dev-java/java-config-1.3.7
 *     check: pylibdir [ Installed file under old python library directory ]
 *   Adding to list: =dev-java/antlr-2.7.7
 *     check: pylibdir [ Installed file under old python library directory ]

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

Calculating dependencies /
!!! All ebuilds that could satisfy ">=sys-libs/e2fsprogs-libs-1.41" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-libs/e2fsprogs-libs-1.41.4 (masked by: EAPI 2)
- sys-libs/e2fsprogs-libs-1.41.3-r1 (masked by: EAPI 2)

The current version of portage supports EAPI '1'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.

For more information, see MASKED PACKAGES section in the emerge man page or 
refer to the Gentoo Handbook.
(dependency required by "sys-apps/util-linux-2.14.1" [ebuild])

which tells me to update portage which failed in the first time. So how do I attack this situation?

Thx, Charly!
Comment 8 Zac Medico gentoo-dev 2009-02-12 00:23:53 UTC
You can temporarily disable the doc flag on eselect:

  echo app-admin/eselect -doc >> /etc/portage/package.use

Hopefully then you can update portage (and eselect) and run python-updater.