Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285939 - dev-python/jinja2-2.1.1 fail to emerge with doc USE flag
Summary: dev-python/jinja2-2.1.1 fail to emerge with doc USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-22 13:03 UTC by DrChandra the Gentoo Person
Modified: 2009-09-22 16:49 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 DrChandra the Gentoo Person 2009-09-22 13:03:29 UTC
jinja2-2.1.1 will emerge OK with -doc, but not with doc turned on.



Reproducible: Always

Actual Results:  
[During emerge ...]
running build_ext
building 'jinja2._speedups' extension
creating build/temp.linux-i686-2.6
creating build/temp.linux-i686-2.6/jinja2
i686-pc-linux-gnu-gcc -pthread -DNDEBUG -O2 -march=i686 -pipe -fPIC -I/usr/include/python2.6 -c jinja2/_speedups.c -o build/temp.linux-i686-2.6/jinja2/_speedups.o
i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -O2 -march=i686 -pipe build/temp.linux-i686-2.6/jinja2/_speedups.o -L/usr/lib -lpython2.6 -o build/lib.linux-i686-2.6/jinja2/_speedups.so
 * Applying jinja2-2.0_no_docs.patch ...                                                                                                                                                                             [ ok ]
make -j2 html
mkdir -p _build/html _build/doctrees
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v0.6.1
Exception occurred:
  File "/usr/lib/python2.6/site-packages/sphinx/builders/html.py", line 104, in init_templates
    self.templates.init(self, self.theme)
TypeError: init() takes exactly 2 arguments (3 given)
The full traceback has been saved in /var/tmp/portage/dev-python/jinja2-2.1.1/temp/sphinx-err-otUWbY.log, if you want to report the issue to the author.
Please also report this if it was a user error, so that a better error message can be provided next time.
Send reports to sphinx-dev@googlegroups.com. Thanks!
make: *** [html] Error 1
 *
 * ERROR: dev-python/jinja2-2.1.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2970:  Called die
 * The specific snippet of code:
 *           PYTHONPATH=../ emake html || die "Error building docs";
 *  The die message:
 *   Error building docs
 *
 * 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/jinja2-2.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/jinja2-2.1.1/temp/environment'.
 *

>>> Failed to emerge dev-python/jinja2-2.1.1, Log file:

>>>  '/var/tmp/portage/dev-python/jinja2-2.1.1/temp/build.log'

 * GNU info directory index is up-to-date.


Expected Results:  
Successful emerge.

See bug 285937 for what led to this.

http://bugs.gentoo.org/show_bug.cgi?id=285937
Comment 1 DrChandra the Gentoo Person 2009-09-22 13:14:02 UTC
The sphinx package involved in this is dev-python/sphinx-0.6.1-r1.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-22 16:34:44 UTC
I updated dependencies of dev-python/jinja2-2.2.1.
Comment 3 Torsten Kaiser 2009-09-22 16:43:36 UTC
This error has been fixed in jinja2-2.1.1-r1 as Bug 277462

But Bug 285307 stabled the -r0 version that is still broken.

And updating the dependencys of jinja2-2.2.1 does not fix jinja2-2.1.1
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-22 16:49:48 UTC
(In reply to comment #3)

You can safely install dev-python/jinja2-2.2.1.
(We will request stabilization of dev-python/jinja2-2.2.1 soon.)