Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589160 - dev-util/buildbot-0.8.12-r2 will not build print "MISSING BB REFERENCE: bb:%s:%s" % (cls.ref_type, target)
Summary: dev-util/buildbot-0.8.12-r2 will not build print "MISSING BB REFERENCE: bb:%s...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-19 19:22 UTC by deference
Modified: 2018-03-13 20:47 UTC (History)
1 user (show)

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


Attachments
build.log (build-buildbot.txt,73.92 KB, text/plain)
2016-07-19 19:22 UTC, deference
Details
emerge --info (emergeinfo-buildbot.txt,28.61 KB, text/plain)
2016-07-19 19:22 UTC, deference
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deference 2016-07-19 19:22:11 UTC
Created attachment 441116 [details]
build.log

[ebuild   R   ] dev-util/buildbot-0.8.12-r2  USE="doc* examples irc mail -manhole {-test}" PYTHON_TARGETS="python2_7"
Comment 1 deference 2016-07-19 19:22:53 UTC
Created attachment 441118 [details]
emerge --info
Comment 2 Mike Gilbert gentoo-dev 2016-07-19 21:12:07 UTC
Please include the package category in the bug summary field when filing bugs.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2017-01-06 01:12:10 UTC
 * Generation of documentation
  File "<string>", line 1
    from buildbot import version; print version
                                              ^
SyntaxError: invalid syntax
sphinx-build -b html -d _build/doctrees  -q -W . _build/html

Exception occurred:
  File "/usr/lib64/python3.4/site-packages/sphinx/application.py", line 325, in setup_extension
    mod = __import__(extension, None, None, ['setup'])
  File "/var/tmp/portage/dev-util/buildbot-0.8.12-r2/work/buildbot-0.8.12/docs/bbdocs/ext.py", line 87
    print "MISSING BB REFERENCE: bb:%s:%s" % (cls.ref_type, target)
                                         ^
SyntaxError: invalid syntax


This looks to be caused by having sphinx only installed to python3 while trying to build docs for a python2 app.

All this code is valid python would/should not generate any errors.

What version of sphinx is this?  what python is it installed to?
Comment 4 Brian Dolbec (RETIRED) gentoo-dev 2018-03-13 20:47:57 UTC
This version is no longer supported upstream and will be cleaned from gentoo soon.