Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252840 - sys-apps/portage-2.2_rc20 epydoc emerge fails
Summary: sys-apps/portage-2.2_rc20 epydoc emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 210077 254662
  Show dependency tree
 
Reported: 2008-12-28 19:10 UTC by Chris Mayo
Modified: 2009-01-12 20:09 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 Chris Mayo 2008-12-28 19:10:16 UTC
USE="epydoc" emerge portage-2.2_rc20 fails with python-2.6.1 and epydoc-2.1-r2.

It works with epydoc-3.0.1.


Traceback (most recent call last):
  File "/usr/bin/epydoc", line 7, in <module>
    cli()
  File "//usr/lib64/python2.6/site-packages/epydoc/cli.py", line 113, in cli
    if options['action'] == 'html': _html(docmap, options)
  File "//usr/lib64/python2.6/site-packages/epydoc/cli.py", line 593, in _html
    from epydoc.html import HTMLFormatter
  File "//usr/lib64/python2.6/site-packages/epydoc/html.py", line 181, in <module>
    from epydoc.colorize import colorize_re
  File "//usr/lib64/python2.6/site-packages/epydoc/colorize.py", line 63, in <module>
    import sys, sre_parse, sre, re
  File "/usr/lib64/python2.6/sre.py", line 7, in <module>
    DeprecationWarning, 2)
  File "/usr/lib64/python2.6/warnings.py", line 29, in _show_warning
    file.write(formatwarning(message, category, filename, lineno, line))
TypeError: _formatwarning() takes exactly 4 arguments (5 given)
 * 
 * ERROR: sys-apps/portage-2.2_rc20 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2464:  Called die
 * The specific snippet of code:
 *           PYTHONPATH="${S}/pym:${PYTHONPATH}" epydoc -o "${WORKDIR}"/api -qqqqq --no-frames --show-imports $epydoc_opts --name "${PN}" --url "${HOMEPAGE}" ${my_modules} || die "epydoc failed";
 *  The die message:
 *   epydoc failed
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-12-29 01:08:38 UTC
Thanks for the report, assigning to maintainers.
Comment 2 Zac Medico gentoo-dev 2008-12-29 03:14:15 UTC
This is fixed in svn r12362:12364. Note that the same TypeError is triggered for any deprecation warning, such as in bug 244450.
Comment 3 Zac Medico gentoo-dev 2009-01-12 20:09:07 UTC
This is fixed in 2.1.6.5 and 2.2_rc21.