Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168715 - dev-python/paste-1.2.1 failed: could not build documentation
Summary: dev-python/paste-1.2.1 failed: could not build documentation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 212591 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-28 12:32 UTC by Andrey Golovizin
Modified: 2008-04-25 14:51 UTC (History)
2 users (show)

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


Attachments
paste-1.6.build.log (paste-1.6.build.log,24.51 KB, text/plain)
2008-04-20 14:14 UTC, Xavian-Anderson Macpherson
Details
portage.info_2008.04.20.09:59:20 (portage.info_2008.04.20.09:59:20,18.15 KB, text/plain)
2008-04-20 17:05 UTC, Xavian-Anderson Macpherson
Details
paste-1.6.build.log (paste-1.6.build.log,24.51 KB, text/plain)
2008-04-21 19:04 UTC, Xavian-Anderson Macpherson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Golovizin 2007-02-28 12:32:12 UTC
* Generating docs as requested...
running pudge
generating documentation
copying: /usr/lib64/python2.4/site-packages/pudge/template/pythonpaste.org/layout.css -> docs/html/layout.css
copying: /usr/lib64/python2.4/site-packages/pudge/template/pythonpaste.org/pudge.css -> docs/html/pudge.css
copying: /usr/lib64/python2.4/site-packages/pudge/template/pythonpaste.org/rst.css -> docs/html/rst.css
Traceback (most recent call last):
  File "setup.py", line 144, in ?
    entry_points="""
  File "/usr/lib64/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib64/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/usr/lib64/python2.4/site-packages/buildutils/command/pudge.py", line 177, in run
    self.execute(generate, (), msg='generating documentation')
  File "/usr/lib64/python2.4/distutils/cmd.py", line 358, in execute
    util.execute(func, args, msg, dry_run=self.dry_run)
  File "/usr/lib64/python2.4/distutils/util.py", line 298, in execute
    apply(func, args)
  File "/usr/lib64/python2.4/site-packages/buildutils/command/pudge.py", line 166, in generate
    g.generate()
  File "/usr/lib64/python2.4/site-packages/pudge/generator.py", line 85, in generate
    self.time_func(None, self.generate_index)
  File "/usr/lib64/python2.4/site-packages/pudge/generator.py", line 338, in time_func
    return func(*args, **kw)
  File "/usr/lib64/python2.4/site-packages/pudge/generator.py", line 193, in generate_index
    self.expand_template('package-index.html', 'module-index')
  File "/usr/lib64/python2.4/site-packages/pudge/generator.py", line 141, in expand_template
    encoding='utf-8')
  File "//usr/lib64/python2.4/site-packages/kid/__init__.py", line 272, in write
    raise_template_error(module=self.__module__)
  File "//usr/lib64/python2.4/site-packages/kid/__init__.py", line 270, in write
    return serializer.write(self, file, encoding, fragment, format)
  File "//usr/lib64/python2.4/site-packages/kid/serialization.py", line 121, in write
    for text in self.generate(stream, encoding, fragment, format):
  File "//usr/lib64/python2.4/site-packages/kid/serialization.py", line 630, in generate
    for ev, item in self.apply_filters(stream, format):
  File "//usr/lib64/python2.4/site-packages/kid/serialization.py", line 163, in format_stream
    for ev, item in stream:
  File "//usr/lib64/python2.4/site-packages/kid/parser.py", line 219, in _coalesce
    for ev, item in stream:
  File "//usr/lib64/python2.4/site-packages/kid/serialization.py", line 478, in inject_meta_tags
    for ev, item in stream:
  File "//usr/lib64/python2.4/site-packages/kid/parser.py", line 177, in _track
    for p in stream:
  File "//usr/lib64/python2.4/site-packages/kid/filter.py", line 24, in apply_matches
    for ev, item in stream:
  File "//usr/lib64/python2.4/site-packages/kid/parser.py", line 177, in _track
    for p in stream:
  File "//usr/lib64/python2.4/site-packages/kid/parser.py", line 219, in _coalesce
    for ev, item in stream:
  File "//usr/lib64/python2.4/site-packages/kid/parser.py", line 177, in _track
    for p in stream:
  File "/usr/lib64/python2.4/site-packages/pudge/template/pythonpaste.org/layout.py", line 260, in __layout
  File "//usr/lib64/python2.4/site-packages/kid/parser.py", line 177, in _track
    for p in stream:
  File "/usr/lib64/python2.4/site-packages/pudge/template/base/package-index.py", line 55, in _pull
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 110, in modules
    for m in m.modules(recursive=1, visible_only=0):
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 346, in modules
    real_modules=real_modules):
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 337, in modules
    exclude_names=self.browser.exclude_modules):
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 360, in all
    for m in self.members.values():
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 298, in members
    members = self._load_members()
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 386, in _load_members
    for name, value in self.filtered_members():
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 452, in filtered_members
    self._fill_modules_and_packages(members)
  File "/usr/lib64/python2.4/site-packages/pudge/browser.py", line 441, in _fill_modules_and_packages
    module = safeimport('%s.%s' % (qname, modname))
  File "/usr/lib64/python2.4/pydoc.py", line 286, in safeimport
    raise ErrorDuringImport(path, sys.exc_info())
TypeError: __init__() takes exactly 3 arguments (2 given)

!!! ERROR: dev-python/paste-1.2.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3325:   Called src_compile
  paste-1.2.1.ebuild, line 41:   Called die

!!! generating docs failed
!!! 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/dev-python/paste-1.2.1/temp/build.log'.


Reproducible: Always
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-02-28 13:58:14 UTC
hmm, interesting.
Could you please post the output of 'ls /var/db/pkg/dev-python/'? Thanks.
Comment 2 Andrey Golovizin 2007-02-28 16:33:19 UTC
beautifulsoup-3.0.3
bicyclerepair-0.9
buildutils-0.1.2
celementtree-1.0.5
chardet-1.0
cheetah-2.0_rc7
cherrypy-3.0.1
dbus-python-0.71
dnspython-1.3.3
docutils-0.4
egenix-mx-base-2.0.5
elementtree-1.2.6
epydoc-2.1-r2
flup-0.5_p2307
formencode-0.6
fpconst-0.7.1
gnome-python-2.16.2
gnome-python-extras-2.14.0-r1
gnosis-utils-1.2.0
gnuplot-py-1.7
gst-python-0.10.6
id3-py-1.2
imaging-1.1.5
ipython-0.7.3-r3
kid-0.9.5
logging-0.4.7
matplotlib-0.90.0
mysql-python-1.2.1_p2
nevow-0.9.0
numarray-1.3.1
numeric-24.2-r4
numpy-1.0.1-r1
paramiko-1.6.3
pexpect-0.999
pmw-1.2
psycopg-1.1.21
psycopg-2.0.5.1
pudge-0.1.2
pycairo-1.2.6
pychecker-0.8.14
pycrypto-2.0.1-r5
pycurl-7.15.5.1
pyfort-8.5.3
pygame-1.6.2
pygobject-2.12.3
pygoogle-0.6
pygtk-2.10.3
pylibacl-0.2.1
pylucene-2.0.0-r1
pyopengl-2.0.0.44
pyopenssl-0.6
pyorbit-2.14.1
pyparsing-1.4.5
PyQt-3.17
PyQt4-4.1.1
pyrex-0.9.4.1
pysqlite-2.3.1
pysyck-0.61.2
pytables-0.9.1
python-bibtex-1.2.3
python-dateutil-1.1
python-docs-2.4.3
python-docs-2.5
python-fchksum-1.7.1
python-xlib-0.12-r1
pytz-2005m
pyx-0.9
pyxattr-0.2
pyxml-0.8.4
pyyaml-3.03
qscintilla-1.5.1
routes-1.6.2
scientificpython-2.6
setuptools-0.6_rc5
sip-4.5.2-r1
soappy-0.11.3
sqlalchemy-0.3.5
sqlobject-0.8.0
stripogram-1.4
twisted-2.5.0
twisted-conch-0.8.0
twisted-web-0.7.0
webpy-0.2
wxpython-2.6.1.0
xmpppy-0.4.0
Comment 3 Juan Colino 2007-03-24 15:50:46 UTC
(In reply to comment #1)
> hmm, interesting.
> Could you please post the output of 'ls /var/db/pkg/dev-python/'? Thanks.
> 
I had the same problem.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-03-07 15:25:45 UTC
*** Bug 212591 has been marked as a duplicate of this bug. ***
Comment 5 Jack Lloyd 2008-03-07 15:30:15 UTC
It's possible this is due to lack of dev-python/ctypes (possibly; another
paste-1.2.1 build failure with USE=doc, but a different backtrace), bug 212591
has further details.
Comment 6 Xavian-Anderson Macpherson 2008-03-28 01:44:10 UTC
It was suggested that the installation of ctypes might remedy this. I can state that ctypes being installed has no bearing on this, and the build still fails.

Shingoshi
Comment 7 Xavian-Anderson Macpherson 2008-03-28 10:06:55 UTC
This is likely a completely separate issue, but I thought I would nonetheless present it here for consideration.

I got this while trying to install dev-python/paste:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-8820.log"

open_wr:   /root/.gconf/.testing.writeability
unlink:    /root/.gconf/.testing.writeability
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state.tmp

Does this mean that paste was actually being installed, but only failed due to the sandbox. Because if so, that means I've installed something since my last post which fixed the documentation issue, but now I'm dealing with this one. If someone can tell me how to fix this, it may be that the solution to the documentation issue can be more easily resolved.

Shingoshi
Comment 8 Xavian-Anderson Macpherson 2008-03-28 18:50:09 UTC
This is likely a completely separate issue, but I thought I would nonetheless present it here for consideration.

I got this while trying to install dev-python/paste:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-8820.log"

open_wr:   /root/.gconf/.testing.writeability
unlink:    /root/.gconf/.testing.writeability
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state
open_wr:   /root/.gconfd/saved_state.tmp

Does this mean that paste was actually being installed, but only failed due to the sandbox. Because if so, that means I've installed something since my last post which fixed the documentation issue, but now I'm dealing with this one. If someone can tell me how to fix this, it may be that the solution to the documentation issue can be more easily resolved.

Shingoshi
Comment 9 Xavian-Anderson Macpherson 2008-03-28 18:53:49 UTC
Sorry about the double entries above. My system is severely compromised, and prone to transient errors. It often repeats my inputs without my realizing it.

Shingoshi
Comment 10 Ali Polatel (RETIRED) gentoo-dev 2008-04-18 12:14:48 UTC
I've just bumped paste to version 1.6. It works fine here, closing this. Please reopen if it's still not fixed for you. Thanks for reporting :)
Comment 11 Xavian-Anderson Macpherson 2008-04-20 14:14:24 UTC
Created attachment 150396 [details]
paste-1.6.build.log

Please explain how to fix this.
Comment 12 Xavian-Anderson Macpherson 2008-04-20 17:05:24 UTC
Created attachment 150432 [details]
portage.info_2008.04.20.09:59:20

portage.info_2008.04.20.09:59:20
Comment 13 Xavian-Anderson Macpherson 2008-04-21 19:04:02 UTC
Created attachment 150519 [details]
paste-1.6.build.log

Same thing happens for me with this new build.
Comment 14 Xavian-Anderson Macpherson 2008-04-25 14:51:40 UTC
Since I've had no further responses to my last post (regarding the sandbox issue), I'm going to resubmit a new bug report against paste-1.6.

Shingoshi