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

Bug 589160

Summary: dev-util/buildbot-0.8.12-r2 will not build print "MISSING BB REFERENCE: bb:%s:%s" % (cls.ref_type, target)
Product: Gentoo Linux Reporter: deference
Component: Current packagesAssignee: Markos Chandras (RETIRED) <hwoarang>
Status: RESOLVED WONTFIX    
Severity: normal CC: deference
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

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.