Debian Bug report logs - #869098
python2.7 2.7.13-4 causes EOFError breakage in python-sphinx

version graph

Package: python-sphinx; Maintainer for python-sphinx is Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>; Source for python-sphinx is src:sphinx (PTS, buildd, popcon).

Affects: src:flycheck, src:lava-server, src:libtemplates-parser, src:libxmlada, src:libgnatcoll, src:libaws

Reported by: Neil Williams <codehelp@debian.org>

Date: Thu, 20 Jul 2017 14:42:01 UTC

Severity: important

Tags: buster, sid

Merged with 871331, 871342, 871360, 871363

Fixed in version sphinx/1.6.3-2

Done: Dmitry Shachnev <mitya57@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://github.com/sphinx-doc/sphinx/issues/4006

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#869098; Package python2.7. (Thu, 20 Jul 2017 14:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to Neil Williams <codehelp@debian.org>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>. (Thu, 20 Jul 2017 14:42:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Neil Williams <codehelp@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python2.7 2.7.13-4 causes EOFError breakage in python-sphinx
Date: Thu, 20 Jul 2017 15:40:52 +0100
Package: python2.7
Version: 2.7.13-4
Severity: serious
Justification: causes other packages to FTBFS

With 2.7.13-4 installed, I am unable to build documentation as sphinx
errors out:

sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
Running Sphinx v1.4.9
making output directory...
loading pickled environment... not yet created
loading intersphinx inventory from https://docs.python.org/2/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 91 source files that are out of date
updating environment: 91 added, 0 changed, 0 removed
reading sources... [100%] test-repositories .. writing-tests                                                                                  
waiting for workers...

Exception occurred:
  File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 97, in _join_one
    exc, result = pipe.recv()
EOFError
The full traceback has been saved in /tmp/sphinx-err-o8zX9U.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
^CError in atexit._run_exitfuncs:

The problem now is that lava-server and potentially other packages which build
documentation with python-sphinx will FTBFS with this version of python2.7
in unstable.

Downgrading python-sphinx to the version in Stretch makes no difference.

Downgrading python2.7 to the version in testing fixes the problem entirely.

$ sudo apt install python2.7=2.7.13-2 python2.7-minimal=2.7.13-2 libpython2.7-stdlib=2.7.13-2 libpython2.7-minimal=2.7.13-2

sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
Running Sphinx v1.4.9
making output directory...
loading pickled environment... not yet created
loading intersphinx inventory from https://docs.python.org/2/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 91 source files that are out of date
updating environment: 91 added, 0 changed, 0 removed
reading sources... [100%] test-repositories .. writing-tests                                                                                  
waiting for workers...
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] user-notifications .. writing-tests                                                                                  
waiting for workers...
generating indices... genindex
writing additional pages... search
copying images... [100%] images/micro-instance-lab.svg                                                                                        
copying static files... done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded.

Build finished. The HTML pages are in _build/html.

To reproduce, it should be enough to install lava-dev to get the correct
build dependencies, and try to rebuild lava-server. A quicker test would
be to get the lava-server source and run:

$ make -C doc/v2 clean
$ make -C doc/v2 html

in the top level directory.

One of the sphinx error logs:

# Sphinx version: 1.5.6
# Python version: 2.7.13+ (CPython)
# Docutils version: 0.13.1 release
# Jinja2 version: 2.9.6
# Last messages:
#   91 added, 0 changed, 0 removed
#   reading sources... [ 14%] actions-boot .. data-export
#   reading sources... [ 28%] debian .. explain_first_job
#   reading sources... [ 42%] first-devices .. ipxe
#   reading sources... [ 57%] lava-dashboard-image-reports .. migrate-lava
#   reading sources... [ 71%] migrating-admin-example .. pipeline-writer
#   reading sources... [ 85%] pipeline-writer-secondary .. tables
#   reading sources... [100%] test-repositories .. writing-tests
#   
#   waiting for workers...
# Loaded extensions:
#   sphinx.ext.coverage (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/coverage.pyc
#   sphinx.ext.viewcode (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/viewcode.pyc
#   sphinx.ext.todo (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/todo.pyc
#   sphinx.ext.autodoc (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.pyc
#   sphinx.ext.intersphinx (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/intersphinx.pyc
#   sphinx.ext.doctest (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/doctest.pyc
#   alabaster (0.7.8) from /usr/lib/python2.7/dist-packages/alabaster/__init__.pyc
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 296, in main
    app.build(opts.force_all, filenames)
  File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 333, in build
    self.builder.build_update()
  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 251, in build_update
    'out of date' % len(to_build))
  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 265, in build
    self.doctreedir, self.app))
  File "/usr/lib/python2.7/dist-packages/sphinx/environment/__init__.py", line 554, in update
    self._read_parallel(docnames, app, nproc=app.parallel)
  File "/usr/lib/python2.7/dist-packages/sphinx/environment/__init__.py", line 612, in _read_parallel
    tasks.join()
  File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 93, in join
    self._join_one()
  File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 98, in _join_one
    exc, result = pipe.recv()
EOFError



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 4.11.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python2.7 depends on:
pn  libpython2.7-stdlib  <none>
ii  mime-support         3.60
pn  python2.7-minimal    <none>

python2.7 recommends no packages.

Versions of packages python2.7 suggests:
ii  binutils       2.28-6
ii  python2.7-doc  2.7.13-4

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#869098; Package python2.7. (Thu, 20 Jul 2017 20:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. (Thu, 20 Jul 2017 20:15:03 GMT) (full text, mbox, link).


Message #10 received at 869098@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: Neil Williams <codehelp@debian.org>, 869098@bugs.debian.org
Subject: Re: Bug#869098: python2.7 2.7.13-4 causes EOFError breakage in python-sphinx
Date: Thu, 20 Jul 2017 22:12:31 +0200
On 20.07.2017 16:40, Neil Williams wrote:
> Package: python2.7
> Version: 2.7.13-4
> Severity: serious
> Justification: causes other packages to FTBFS
> 
> With 2.7.13-4 installed, I am unable to build documentation as sphinx
> errors out:
> 
> sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
> Running Sphinx v1.4.9
> making output directory...
> loading pickled environment... not yet created
> loading intersphinx inventory from https://docs.python.org/2/objects.inv...
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 91 source files that are out of date
> updating environment: 91 added, 0 changed, 0 removed
> reading sources... [100%] test-repositories .. writing-tests                                                                                  
> waiting for workers...
> 
> Exception occurred:
>   File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 97, in _join_one
>     exc, result = pipe.recv()
> EOFError
> The full traceback has been saved in /tmp/sphinx-err-o8zX9U.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> ^CError in atexit._run_exitfuncs:
> 
> The problem now is that lava-server and potentially other packages which build
> documentation with python-sphinx will FTBFS with this version of python2.7
> in unstable.
> 
> Downgrading python-sphinx to the version in Stretch makes no difference.
> 
> Downgrading python2.7 to the version in testing fixes the problem entirely.
> 
> $ sudo apt install python2.7=2.7.13-2 python2.7-minimal=2.7.13-2 libpython2.7-stdlib=2.7.13-2 libpython2.7-minimal=2.7.13-2
> 
> sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
> Running Sphinx v1.4.9
> making output directory...
> loading pickled environment... not yet created
> loading intersphinx inventory from https://docs.python.org/2/objects.inv...
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 91 source files that are out of date
> updating environment: 91 added, 0 changed, 0 removed
> reading sources... [100%] test-repositories .. writing-tests                                                                                  
> waiting for workers...
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [100%] user-notifications .. writing-tests                                                                                  
> waiting for workers...
> generating indices... genindex
> writing additional pages... search
> copying images... [100%] images/micro-instance-lab.svg                                                                                        
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en) ... done
> dumping object inventory... done
> build succeeded.
> 
> Build finished. The HTML pages are in _build/html.
> 
> To reproduce, it should be enough to install lava-dev to get the correct
> build dependencies, and try to rebuild lava-server. A quicker test would
> be to get the lava-server source and run:
> 
> $ make -C doc/v2 clean
> $ make -C doc/v2 html
> 
> in the top level directory.
> 
> One of the sphinx error logs:
> 
> # Sphinx version: 1.5.6
> # Python version: 2.7.13+ (CPython)
> # Docutils version: 0.13.1 release
> # Jinja2 version: 2.9.6
> # Last messages:
> #   91 added, 0 changed, 0 removed
> #   reading sources... [ 14%] actions-boot .. data-export
> #   reading sources... [ 28%] debian .. explain_first_job
> #   reading sources... [ 42%] first-devices .. ipxe
> #   reading sources... [ 57%] lava-dashboard-image-reports .. migrate-lava
> #   reading sources... [ 71%] migrating-admin-example .. pipeline-writer
> #   reading sources... [ 85%] pipeline-writer-secondary .. tables
> #   reading sources... [100%] test-repositories .. writing-tests
> #   
> #   waiting for workers...
> # Loaded extensions:
> #   sphinx.ext.coverage (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/coverage.pyc
> #   sphinx.ext.viewcode (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/viewcode.pyc
> #   sphinx.ext.todo (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/todo.pyc
> #   sphinx.ext.autodoc (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.pyc
> #   sphinx.ext.intersphinx (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/intersphinx.pyc
> #   sphinx.ext.doctest (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/doctest.pyc
> #   alabaster (0.7.8) from /usr/lib/python2.7/dist-packages/alabaster/__init__.pyc
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 296, in main
>     app.build(opts.force_all, filenames)
>   File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 333, in build
>     self.builder.build_update()
>   File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 251, in build_update
>     'out of date' % len(to_build))
>   File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 265, in build
>     self.doctreedir, self.app))
>   File "/usr/lib/python2.7/dist-packages/sphinx/environment/__init__.py", line 554, in update
>     self._read_parallel(docnames, app, nproc=app.parallel)
>   File "/usr/lib/python2.7/dist-packages/sphinx/environment/__init__.py", line 612, in _read_parallel
>     tasks.join()
>   File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 93, in join
>     self._join_one()
>   File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 98, in _join_one
>     exc, result = pipe.recv()
> EOFError

I haven't seen that yet.  As a work around, please consider build-depending on
python3-sphinx instead.  That's part of the bigger goal to make python2 a little
bit more obsolete.

Matthias



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#869098; Package python2.7. (Thu, 20 Jul 2017 20:27:03 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. (Thu, 20 Jul 2017 20:27:03 GMT) (full text, mbox, link).


Message #15 received at 869098@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: Neil Williams <codehelp@debian.org>, 869098@bugs.debian.org
Subject: Re: Bug#869098: python2.7 2.7.13-4 causes EOFError breakage in python-sphinx
Date: Thu, 20 Jul 2017 22:23:31 +0200
On 20.07.2017 16:40, Neil Williams wrote:
> Package: python2.7
> Version: 2.7.13-4
> Severity: serious
> Justification: causes other packages to FTBFS
> 
> With 2.7.13-4 installed, I am unable to build documentation as sphinx
> errors out:

please could you check if it builds with the debug interpreter?





Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#869098; Package python2.7. (Fri, 21 Jul 2017 07:39:03 GMT) (full text, mbox, link).


Acknowledgement sent to Neil Williams <codehelp@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Fri, 21 Jul 2017 07:39:03 GMT) (full text, mbox, link).


Message #20 received at 869098@bugs.debian.org (full text, mbox, reply):

From: Neil Williams <codehelp@debian.org>
To: Matthias Klose <doko@debian.org>
Cc: 869098@bugs.debian.org
Subject: Re: Bug#869098: python2.7 2.7.13-4 causes EOFError breakage in python-sphinx
Date: Fri, 21 Jul 2017 08:36:44 +0100
[Message part 1 (text/plain, inline)]
On Thu, 20 Jul 2017 22:12:31 +0200
Matthias Klose <doko@debian.org> wrote:

> On 20.07.2017 16:40, Neil Williams wrote:
> > Package: python2.7
> > Version: 2.7.13-4
> > Severity: serious
> > Justification: causes other packages to FTBFS
> > 
> > With 2.7.13-4 installed, I am unable to build documentation as
> > sphinx errors out:
> > 
> > sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
> > Running Sphinx v1.4.9
> > making output directory...
> > loading pickled environment... not yet created
> > loading intersphinx inventory from
> > https://docs.python.org/2/objects.inv... building [mo]: targets for
> > 0 po files that are out of date building [html]: targets for 91
> > source files that are out of date updating environment: 91 added, 0
> > changed, 0 removed reading sources... [100%] test-repositories ..
> > writing-tests waiting for workers...
> > 
> > Exception occurred:
> >   File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py",
> > line 97, in _join_one exc, result = pipe.recv()
> > EOFError
> > The full traceback has been saved in /tmp/sphinx-err-o8zX9U.log, if
> > you want to report the issue to the developers. Please also report
> > this if it was a user error, so that a better error message can be
> > provided next time. A bug report can be filed in the tracker at
> > <https://github.com/sphinx-doc/sphinx/issues>. Thanks! ^CError in
> > atexit._run_exitfuncs:
> > 
> > The problem now is that lava-server and potentially other packages
> > which build documentation with python-sphinx will FTBFS with this
> > version of python2.7 in unstable.
> > 
> > Downgrading python-sphinx to the version in Stretch makes no
> > difference.
> > 
> > Downgrading python2.7 to the version in testing fixes the problem
> > entirely.
> > 
> > $ sudo apt install python2.7=2.7.13-2 python2.7-minimal=2.7.13-2
> > libpython2.7-stdlib=2.7.13-2 libpython2.7-minimal=2.7.13-2
> > 
> > sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
> > Running Sphinx v1.4.9
> > making output directory...
> > loading pickled environment... not yet created
> > loading intersphinx inventory from
> > https://docs.python.org/2/objects.inv... building [mo]: targets for
> > 0 po files that are out of date building [html]: targets for 91
> > source files that are out of date updating environment: 91 added, 0
> > changed, 0 removed reading sources... [100%] test-repositories ..
> > writing-tests waiting for workers...
> > looking for now-outdated files... none found
> > pickling environment... done
> > checking consistency... done
> > preparing documents... done
> > writing output... [100%] user-notifications ..
> > writing-tests waiting for workers...
> > generating indices... genindex
> > writing additional pages... search
> > copying images... [100%]
> > images/micro-instance-lab.svg copying static files... done
> > copying extra files... done
> > dumping search index in English (code: en) ... done
> > dumping object inventory... done
> > build succeeded.
> > 
> > Build finished. The HTML pages are in _build/html.
> > 
> > To reproduce, it should be enough to install lava-dev to get the
> > correct build dependencies, and try to rebuild lava-server. A
> > quicker test would be to get the lava-server source and run:
> > 
> > $ make -C doc/v2 clean
> > $ make -C doc/v2 html
> > 
> > in the top level directory.
> > 
> > One of the sphinx error logs:
> > 
> > # Sphinx version: 1.5.6
> > # Python version: 2.7.13+ (CPython)
> > # Docutils version: 0.13.1 release
> > # Jinja2 version: 2.9.6
> > # Last messages:
> > #   91 added, 0 changed, 0 removed
> > #   reading sources... [ 14%] actions-boot .. data-export
> > #   reading sources... [ 28%] debian .. explain_first_job
> > #   reading sources... [ 42%] first-devices .. ipxe
> > #   reading sources... [ 57%] lava-dashboard-image-reports ..
> > migrate-lava #   reading sources... [ 71%]
> > migrating-admin-example .. pipeline-writer #   reading sources...
> > [ 85%] pipeline-writer-secondary .. tables #   reading sources...
> > [100%] test-repositories .. writing-tests #   
> > #   waiting for workers...
> > # Loaded extensions:
> > #   sphinx.ext.coverage (1.5.6)
> > from /usr/lib/python2.7/dist-packages/sphinx/ext/coverage.pyc #
> > sphinx.ext.viewcode (1.5.6)
> > from /usr/lib/python2.7/dist-packages/sphinx/ext/viewcode.pyc #
> > sphinx.ext.todo (1.5.6)
> > from /usr/lib/python2.7/dist-packages/sphinx/ext/todo.pyc #
> > sphinx.ext.autodoc (1.5.6)
> > from /usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.pyc #
> > sphinx.ext.intersphinx (1.5.6)
> > from /usr/lib/python2.7/dist-packages/sphinx/ext/intersphinx.pyc
> > #   sphinx.ext.doctest (1.5.6)
> > from /usr/lib/python2.7/dist-packages/sphinx/ext/doctest.pyc #
> > alabaster (0.7.8)
> > from /usr/lib/python2.7/dist-packages/alabaster/__init__.pyc
> > Traceback (most recent call last): File
> > "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 296, in
> > main app.build(opts.force_all, filenames) File
> > "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 333,
> > in build self.builder.build_update() File
> > "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py",
> > line 251, in build_update 'out of date' % len(to_build)) File
> > "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py",
> > line 265, in build self.doctreedir, self.app)) File
> > "/usr/lib/python2.7/dist-packages/sphinx/environment/__init__.py",
> > line 554, in update self._read_parallel(docnames, app,
> > nproc=app.parallel) File
> > "/usr/lib/python2.7/dist-packages/sphinx/environment/__init__.py",
> > line 612, in _read_parallel tasks.join() File
> > "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line
> > 93, in join self._join_one() File
> > "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line
> > 98, in _join_one exc, result = pipe.recv() EOFError  
> 
> I haven't seen that yet.  As a work around, please consider
> build-depending on python3-sphinx instead.  That's part of the bigger
> goal to make python2 a little bit more obsolete.

We can use python3-sphinx as a workaround (as long as
python3-sphinx-bootstrap-theme is also installed, of course).

$ make SPHINXBUILD="/usr/share/sphinx/scripts/python3/sphinx-build" -C doc/v2 html

That works nicely. Depending on how the debugging goes on this bug, I
will upload lava-server with this change in debian/rules etc. to prevent
a FTBFS bug in lava-server complicating things.

We are planning on moving to python3-only, probably during 2018 and
certainly before django LTS becomes python3 only but that's not until
April 2019. However, there is a lot of legacy code to remove before
that can happen.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#869098; Package python2.7. (Fri, 21 Jul 2017 07:45:06 GMT) (full text, mbox, link).


Acknowledgement sent to Neil Williams <codehelp@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Fri, 21 Jul 2017 07:45:06 GMT) (full text, mbox, link).


Message #25 received at 869098@bugs.debian.org (full text, mbox, reply):

From: Neil Williams <codehelp@debian.org>
To: Matthias Klose <doko@debian.org>
Cc: 869098@bugs.debian.org
Subject: Re: Bug#869098: python2.7 2.7.13-4 causes EOFError breakage in python-sphinx
Date: Fri, 21 Jul 2017 08:43:59 +0100
[Message part 1 (text/plain, inline)]
On Thu, 20 Jul 2017 22:23:31 +0200
Matthias Klose <doko@debian.org> wrote:

> On 20.07.2017 16:40, Neil Williams wrote:
> > Package: python2.7
> > Version: 2.7.13-4
> > Severity: serious
> > Justification: causes other packages to FTBFS
> > 
> > With 2.7.13-4 installed, I am unable to build documentation as
> > sphinx errors out:  
> 
> please could you check if it builds with the debug interpreter?
> 

$ make SPHINXBUILD="python -m pdb /usr/share/sphinx/scripts/python2/sphinx-build" -C doc/v2 html
make: Entering directory '/home/neil/code/lava/lava-server/doc/v2'
python -m pdb /usr/share/sphinx/scripts/python2/sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
> /usr/share/sphinx/scripts/python2/sphinx-build(9)<module>()
-> """
(Pdb) run
Restarting /usr/share/sphinx/scripts/python2/sphinx-build with arguments:
	-b html -d _build/doctrees -n -j 4 . _build/html
> /usr/share/sphinx/scripts/python2/sphinx-build(9)<module>()
-> """
(Pdb) continue
Running Sphinx v1.5.6
loading pickled environment... not yet created
loading intersphinx inventory from https://docs.python.org/2/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 91 source files that are out of date
updating environment: 91 added, 0 changed, 0 removed
reading sources... [100%] test-repositories .. writing-tests                                                                                  
waiting for workers...

Exception occurred:
  File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 98, in _join_one
    exc, result = pipe.recv()
EOFError
The full traceback has been saved in /tmp/sphinx-err-hrke62.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
The program exited via sys.exit(). Exit status:  1
> /usr/share/sphinx/scripts/python2/sphinx-build(9)<module>()
-> """
(Pdb) w
  /usr/lib/python2.7/bdb.py(400)run()
-> exec cmd in globals, locals
  <string>(1)<module>()
> /usr/share/sphinx/scripts/python2/sphinx-build(9)<module>()
-> """
(Pdb) p
*** SyntaxError: SyntaxError('unexpected EOF while parsing', ('<string>', 0, 0, ''))
(Pdb) where
  /usr/lib/python2.7/bdb.py(400)run()
-> exec cmd in globals, locals
  <string>(1)<module>()
> /usr/share/sphinx/scripts/python2/sphinx-build(9)<module>()
-> """
(Pdb) u
> <string>(1)<module>()
(Pdb) u
> /usr/lib/python2.7/bdb.py(400)run()
-> exec cmd in globals, locals
(Pdb) u
*** Oldest frame
(Pdb) d
> <string>(1)<module>()
(Pdb) d
> /usr/share/sphinx/scripts/python2/sphinx-build(9)<module>()
-> """
(Pdb) d
*** Newest frame
(Pdb) 

So, no, it doesn't build with -m pdb and the output from the debugger
is even less helpful than from sphinx.


$ cat /tmp/sphinx-err-hrke62.log
# Sphinx version: 1.5.6
# Python version: 2.7.13+ (CPython)
# Docutils version: 0.13.1 release
# Jinja2 version: 2.9.6
# Last messages:
#   91 added, 0 changed, 0 removed
#   reading sources... [ 14%] actions-boot .. data-export
#   reading sources... [ 28%] debian .. explain_first_job
#   reading sources... [ 42%] first-devices .. ipxe
#   reading sources... [ 57%] lava-dashboard-image-reports .. migrate-lava
#   reading sources... [ 71%] migrating-admin-example .. pipeline-writer
#   reading sources... [ 85%] pipeline-writer-secondary .. tables
#   reading sources... [100%] test-repositories .. writing-tests
#   
#   waiting for workers...
# Loaded extensions:
#   sphinx.ext.coverage (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/coverage.pyc
#   sphinx.ext.viewcode (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/viewcode.pyc
#   sphinx.ext.todo (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/todo.pyc
#   sphinx.ext.autodoc (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.pyc
#   sphinx.ext.intersphinx (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/intersphinx.pyc
#   sphinx.ext.doctest (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/doctest.pyc
#   alabaster (0.7.8) from /usr/lib/python2.7/dist-packages/alabaster/__init__.pyc
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 296, in main
    app.build(opts.force_all, filenames)
  File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 333, in build
    self.builder.build_update()
  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 251, in build_update
    'out of date' % len(to_build))
  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 265, in build
    self.doctreedir, self.app))
  File "/usr/lib/python2.7/dist-packages/sphinx/environment/__init__.py", line 554, in update
    self._read_parallel(docnames, app, nproc=app.parallel)
  File "/usr/lib/python2.7/dist-packages/sphinx/environment/__init__.py", line 612, in _read_parallel
    tasks.join()
  File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 93, in join
    self._join_one()
  File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 98, in _join_one
    exc, result = pipe.recv()
EOFError

Disabling the -j option also fixes the problem:

$ make SPHINXOPTS=''  -C doc/v2 html

Normally, the build would use 
SPHINXOPTS    = -n -j 4

With a couple of workarounds available, I'm happy for the severity of
this bug to be reduced, especially if it's going to be difficult to
debug. Let me know what you think.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#869098; Package python2.7. (Fri, 21 Jul 2017 11:21:02 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. (Fri, 21 Jul 2017 11:21:02 GMT) (full text, mbox, link).


Message #30 received at 869098@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: Neil Williams <codehelp@debian.org>, 869098@bugs.debian.org
Subject: Re: Bug#869098: python2.7 2.7.13-4 causes EOFError breakage in python-sphinx
Date: Fri, 21 Jul 2017 13:17:36 +0200
On 21.07.2017 09:43, Neil Williams wrote:
> On Thu, 20 Jul 2017 22:23:31 +0200
> Matthias Klose <doko@debian.org> wrote:
> 
>> On 20.07.2017 16:40, Neil Williams wrote:
>>> Package: python2.7
>>> Version: 2.7.13-4
>>> Severity: serious
>>> Justification: causes other packages to FTBFS
>>>
>>> With 2.7.13-4 installed, I am unable to build documentation as
>>> sphinx errors out:  
>>
>> please could you check if it builds with the debug interpreter?
>>
> 
> $ make SPHINXBUILD="python -m pdb /usr/share/sphinx/scripts/python2/sphinx-build" -C doc/v2 html
> make: Entering directory '/home/neil/code/lava/lava-server/doc/v2'
> python -m pdb /usr/share/sphinx/scripts/python2/sphinx-build -b html -d _build/doctrees  -n -j 4 . 

no, not debugging the standard interpreter, but using the debug interpreter,
calling python-dbg





Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#869098; Package python2.7. (Fri, 21 Jul 2017 12:51:08 GMT) (full text, mbox, link).


Acknowledgement sent to Neil Williams <codehelp@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Fri, 21 Jul 2017 12:51:08 GMT) (full text, mbox, link).


Message #35 received at 869098@bugs.debian.org (full text, mbox, reply):

From: Neil Williams <codehelp@debian.org>
To: Matthias Klose <doko@debian.org>
Cc: 869098@bugs.debian.org
Subject: Re: Bug#869098: python2.7 2.7.13-4 causes EOFError breakage in python-sphinx
Date: Fri, 21 Jul 2017 13:48:31 +0100
[Message part 1 (text/plain, inline)]
On Fri, 21 Jul 2017 13:17:36 +0200
Matthias Klose <doko@debian.org> wrote:

> On 21.07.2017 09:43, Neil Williams wrote:
> > On Thu, 20 Jul 2017 22:23:31 +0200
> > Matthias Klose <doko@debian.org> wrote:
> >   
> >> On 20.07.2017 16:40, Neil Williams wrote:  
> >>> Package: python2.7
> >>> Version: 2.7.13-4
> >>> Severity: serious
> >>> Justification: causes other packages to FTBFS
> >>>
> >>> With 2.7.13-4 installed, I am unable to build documentation as
> >>> sphinx errors out:    
> >>
> >> please could you check if it builds with the debug interpreter?
> >>  
> > 
> > $ make SPHINXBUILD="python -m
> > pdb /usr/share/sphinx/scripts/python2/sphinx-build" -C doc/v2 html
> > make: Entering directory '/home/neil/code/lava/lava-server/doc/v2'
> > python -m pdb /usr/share/sphinx/scripts/python2/sphinx-build -b
> > html -d _build/doctrees  -n -j 4 .   
> 
> no, not debugging the standard interpreter, but using the debug
> interpreter, calling python-dbg

Sorry.

I don't see a change:

$ make SPHINXBUILD='python-dbg /usr/bin/sphinx-build' -C doc/v2 html
make: Entering directory '/home/neil/code/lava/lava-server/doc/v2'
python-dbg /usr/bin/sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
Running Sphinx v1.5.6
loading pickled environment... not yet created
loading intersphinx inventory from https://docs.python.org/2/objects.inv...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 91 source files that are out of date
updating environment: 91 added, 0 changed, 0 removed
reading sources... [100%] test-repositories .. writing-tests                    
waiting for workers...

Exception occurred:
  File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 98, in _join_one
    exc, result = pipe.recv()
EOFError
The full traceback has been saved in /tmp/sphinx-err-gq8BHS.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
^CError in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/multiprocessing/util.py", line 328, in _exit_function
    p.join()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 148, in join
    res = self._popen.wait(timeout)
  File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
    return self.poll(0)
  File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
    pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/usr/lib/python2.7/multiprocessing/util.py", line 328, in _exit_function
    p.join()
  File "/usr/lib/python2.7/multiprocessing/process.py", line 148, in join
    res = self._popen.wait(timeout)
  File "/usr/lib/python2.7/multiprocessing/forking.py", line 154, in wait
    return self.poll(0)
  File "/usr/lib/python2.7/multiprocessing/forking.py", line 135, in poll
    pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt
[357925 refs]
Makefile:45: recipe for target 'html' failed
make: *** [html] Error 1


$ cat /tmp/sphinx-err-gq8BHS.log
# Sphinx version: 1.5.6
# Python version: 2.7.13+ (CPython)
# Docutils version: 0.13.1 release
# Jinja2 version: 2.9.6
# Last messages:
#   91 added, 0 changed, 0 removed
#   reading sources... [ 14%] actions-boot .. data-export
#   reading sources... [ 28%] debian .. explain_first_job
#   reading sources... [ 42%] first-devices .. ipxe
#   reading sources... [ 57%] lava-dashboard-image-reports .. migrate-lava
#   reading sources... [ 71%] migrating-admin-example .. pipeline-writer
#   reading sources... [ 85%] pipeline-writer-secondary .. tables
#   reading sources... [100%] test-repositories .. writing-tests
#   
#   waiting for workers...
# Loaded extensions:
#   sphinx.ext.coverage (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/coverage.pyc
#   sphinx.ext.viewcode (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/viewcode.pyc
#   sphinx.ext.todo (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/todo.pyc
#   sphinx.ext.autodoc (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.pyc
#   sphinx.ext.intersphinx (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/intersphinx.pyc
#   sphinx.ext.doctest (1.5.6) from /usr/lib/python2.7/dist-packages/sphinx/ext/doctest.pyc
#   alabaster (0.7.8) from /usr/lib/python2.7/dist-packages/alabaster/__init__.pyc
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 296, in main
    app.build(opts.force_all, filenames)
  File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 333, in build
    self.builder.build_update()
  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 251, in build_update
    'out of date' % len(to_build))
  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 265, in build
    self.doctreedir, self.app))
  File "/usr/lib/python2.7/dist-packages/sphinx/environment/__init__.py", line 554, in update
    self._read_parallel(docnames, app, nproc=app.parallel)
  File "/usr/lib/python2.7/dist-packages/sphinx/environment/__init__.py", line 612, in _read_parallel
    tasks.join()
  File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 93, in join
    self._join_one()
  File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 98, in _join_one
    exc, result = pipe.recv()
EOFError


-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

[Message part 2 (application/pgp-signature, inline)]

Added indication that 869098 affects src:lava-server Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Mon, 24 Jul 2017 14:33:05 GMT) (full text, mbox, link).


Added indication that 869098 affects src:libtemplates-parser Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Mon, 24 Jul 2017 14:42:04 GMT) (full text, mbox, link).


Set Bug forwarded-to-address to 'http://bugs.python.org/issue31016'. Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Mon, 24 Jul 2017 15:09:02 GMT) (full text, mbox, link).


Added indication that 869098 affects src:flycheck Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Sun, 06 Aug 2017 23:03:03 GMT) (full text, mbox, link).


Added tag(s) sid and buster. Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Mon, 07 Aug 2017 17:48:41 GMT) (full text, mbox, link).


Merged 869098 871331 871342 871360 871363 Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Mon, 07 Aug 2017 17:48:45 GMT) (full text, mbox, link).


Added indication that 869098 affects src:libaws, src:libgnatcoll, and src:libxmlada Request was from Adrian Bunk <bunk@debian.org> to control@bugs.debian.org. (Mon, 07 Aug 2017 17:48:47 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#869098; Package python2.7. (Thu, 14 Sep 2017 12:21:06 GMT) (full text, mbox, link).


Acknowledgement sent to Julian Andres Klode <jak@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>. (Thu, 14 Sep 2017 12:21:06 GMT) (full text, mbox, link).


Message #54 received at 869098@bugs.debian.org (full text, mbox, reply):

From: Julian Andres Klode <jak@debian.org>
To: Neil Williams <codehelp@debian.org>, 869098@bugs.debian.org
Subject: Re: Bug#869098: python2.7 2.7.13-4 causes EOFError breakage in python-sphinx
Date: Thu, 14 Sep 2017 14:18:22 +0200
On Thu, Jul 20, 2017 at 03:40:52PM +0100, Neil Williams wrote:
> Package: python2.7
> Version: 2.7.13-4
> Severity: serious
> Justification: causes other packages to FTBFS
> 
> With 2.7.13-4 installed, I am unable to build documentation as sphinx
> errors out:
> 
> sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
> Running Sphinx v1.4.9
> making output directory...
> loading pickled environment... not yet created
> loading intersphinx inventory from https://docs.python.org/2/objects.inv...
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 91 source files that are out of date
> updating environment: 91 added, 0 changed, 0 removed
> reading sources... [100%] test-repositories .. writing-tests                                                                                  
> waiting for workers...
> 
> Exception occurred:
>   File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 97, in _join_one
>     exc, result = pipe.recv()
> EOFError

Given that this is a regression in 2.7.13-4, can we please revert
unstable to 2.7.13-3 again (as 2.7.14~rc1+really2.7.13-1 or something).

Having an rc-buggy python in unstable that breaks reverse dependencies for two months
is not really acceptable

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev
                  |  Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline').  Thank you.



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#869098; Package python2.7. (Thu, 14 Sep 2017 12:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. (Thu, 14 Sep 2017 12:33:02 GMT) (full text, mbox, link).


Message #59 received at 869098@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: Julian Andres Klode <jak@debian.org>, 869098@bugs.debian.org, Neil Williams <codehelp@debian.org>
Subject: Re: Bug#869098: python2.7 2.7.13-4 causes EOFError breakage in python-sphinx
Date: Thu, 14 Sep 2017 14:31:30 +0200
Control: severity -1 important

On 14.09.2017 14:18, Julian Andres Klode wrote:
> On Thu, Jul 20, 2017 at 03:40:52PM +0100, Neil Williams wrote:
>> Package: python2.7
>> Version: 2.7.13-4
>> Severity: serious
>> Justification: causes other packages to FTBFS
>>
>> With 2.7.13-4 installed, I am unable to build documentation as sphinx
>> errors out:
>>
>> sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
>> Running Sphinx v1.4.9
>> making output directory...
>> loading pickled environment... not yet created
>> loading intersphinx inventory from https://docs.python.org/2/objects.inv...
>> building [mo]: targets for 0 po files that are out of date
>> building [html]: targets for 91 source files that are out of date
>> updating environment: 91 added, 0 changed, 0 removed
>> reading sources... [100%] test-repositories .. writing-tests                                                                                  
>> waiting for workers...
>>
>> Exception occurred:
>>   File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 97, in _join_one
>>     exc, result = pipe.recv()
>> EOFError
> 
> Given that this is a regression in 2.7.13-4, can we please revert
> unstable to 2.7.13-3 again (as 2.7.14~rc1+really2.7.13-1 or something).
> 
> Having an rc-buggy python in unstable that breaks reverse dependencies for two months
> is not really acceptable

ok, lowered the severity.  You can work around it by using python3-sphinx
(preferred solution anyway), or by dropping the -j parallel build.



Severity set to 'important' from 'serious' Request was from Matthias Klose <doko@debian.org> to 869098-submit@bugs.debian.org. (Thu, 14 Sep 2017 12:33:02 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#869098; Package python2.7. (Sun, 17 Sep 2017 08:51:06 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. (Sun, 17 Sep 2017 08:51:06 GMT) (full text, mbox, link).


Message #66 received at 869098@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: Julian Andres Klode <jak@debian.org>, 869098@bugs.debian.org, Neil Williams <codehelp@debian.org>
Subject: Re: Bug#869098: python2.7 2.7.13-4 causes EOFError breakage in python-sphinx
Date: Sun, 17 Sep 2017 10:48:27 +0200
Control: reassign -1 python-sphinx

On 14.09.2017 14:18, Julian Andres Klode wrote:
> On Thu, Jul 20, 2017 at 03:40:52PM +0100, Neil Williams wrote:
>> Package: python2.7
>> Version: 2.7.13-4
>> Severity: serious
>> Justification: causes other packages to FTBFS
>>
>> With 2.7.13-4 installed, I am unable to build documentation as sphinx
>> errors out:
>>
>> sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
>> Running Sphinx v1.4.9
>> making output directory...
>> loading pickled environment... not yet created
>> loading intersphinx inventory from https://docs.python.org/2/objects.inv...
>> building [mo]: targets for 0 po files that are out of date
>> building [html]: targets for 91 source files that are out of date
>> updating environment: 91 added, 0 changed, 0 removed
>> reading sources... [100%] test-repositories .. writing-tests                                                                                  
>> waiting for workers...
>>
>> Exception occurred:
>>   File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 97, in _join_one
>>     exc, result = pipe.recv()
>> EOFError
> 
> Given that this is a regression in 2.7.13-4, can we please revert
> unstable to 2.7.13-3 again (as 2.7.14~rc1+really2.7.13-1 or something).

... and now identified as an issue in sphinx. reassigning.

> Having an rc-buggy python in unstable that breaks reverse dependencies for two months
> is not really acceptable

the only thing here which is not really acceptable is your behaviour of finger
pointing.



Bug reassigned from package 'python2.7' to 'python-sphinx'. Request was from Matthias Klose <doko@debian.org> to 869098-submit@bugs.debian.org. (Sun, 17 Sep 2017 08:51:06 GMT) (full text, mbox, link).


No longer marked as found in versions python2.7/2.7.13-4. Request was from Matthias Klose <doko@debian.org> to 869098-submit@bugs.debian.org. (Sun, 17 Sep 2017 08:51:09 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#869098; Package python-sphinx. (Sun, 17 Sep 2017 09:39:06 GMT) (full text, mbox, link).


Acknowledgement sent to Julian Andres Klode <jak@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Sun, 17 Sep 2017 09:39:06 GMT) (full text, mbox, link).


Message #75 received at 869098@bugs.debian.org (full text, mbox, reply):

From: Julian Andres Klode <jak@debian.org>
To: Matthias Klose <doko@debian.org>
Cc: 869098@bugs.debian.org, Neil Williams <codehelp@debian.org>
Subject: Re: Bug#869098: python2.7 2.7.13-4 causes EOFError breakage in python-sphinx
Date: Sun, 17 Sep 2017 11:37:56 +0200
Control: forwarded -1 https://github.com/sphinx-doc/sphinx/issues/4006

On Sun, Sep 17, 2017 at 10:48:27AM +0200, Matthias Klose wrote:
> Control: reassign -1 python-sphinx
> 
> On 14.09.2017 14:18, Julian Andres Klode wrote:
> > On Thu, Jul 20, 2017 at 03:40:52PM +0100, Neil Williams wrote:
> >> Package: python2.7
> >> Version: 2.7.13-4
> >> Severity: serious
> >> Justification: causes other packages to FTBFS
> >>
> >> With 2.7.13-4 installed, I am unable to build documentation as sphinx
> >> errors out:
> >>
> >> sphinx-build -b html -d _build/doctrees  -n -j 4 . _build/html
> >> Running Sphinx v1.4.9
> >> making output directory...
> >> loading pickled environment... not yet created
> >> loading intersphinx inventory from https://docs.python.org/2/objects.inv...
> >> building [mo]: targets for 0 po files that are out of date
> >> building [html]: targets for 91 source files that are out of date
> >> updating environment: 91 added, 0 changed, 0 removed
> >> reading sources... [100%] test-repositories .. writing-tests                                                                                  
> >> waiting for workers...
> >>
> >> Exception occurred:
> >>   File "/usr/lib/python2.7/dist-packages/sphinx/util/parallel.py", line 97, in _join_one
> >>     exc, result = pipe.recv()
> >> EOFError
> > 
> > Given that this is a regression in 2.7.13-4, can we please revert
> > unstable to 2.7.13-3 again (as 2.7.14~rc1+really2.7.13-1 or something).
> 
> ... and now identified as an issue in sphinx. reassigning.

And here's the upstream commit fixing it, to provide some context:

https://github.com/sphinx-doc/sphinx/commit/2f8a342839bb36dd3622fb4ce3f874121b22c7ab

> 
> > Having an rc-buggy python in unstable that breaks reverse dependencies for two months
> > is not really acceptable
> 
> the only thing here which is not really acceptable is your behaviour of finger
> pointing.

I was merely suggesting that you do the same I'd do for my
packages - if there's an RC critical bug I can't find the
cause of for weeks, I'd move it to experimental, and
revert unstable to the last known good version. Especially
if it breaks building reverse deps.

One major annoyance for me personally was that this RC bug
interacted awfully with apt and apt-listbugs. apt-listbugs
pinned python2.7 to prevent the upgrade, and apt then wanted
to remove python2.7-dev and python2.7-dbg and friends every
single dist-upgrade. This is of course apt's stupidity. I
expect things get a bit better when we can pin by Source.

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev
                  |  Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline').  Thank you.



Changed Bug forwarded-to-address to 'https://github.com/sphinx-doc/sphinx/issues/4006' from 'http://bugs.python.org/issue31016'. Request was from Julian Andres Klode <jak@debian.org> to 869098-submit@bugs.debian.org. (Sun, 17 Sep 2017 09:39:06 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Dmitry Shachnev <mitya57@gmail.com> to control@bugs.debian.org. (Sun, 17 Sep 2017 14:15:03 GMT) (full text, mbox, link).


Message sent on to Neil Williams <codehelp@debian.org>:
Bug#869098. (Sun, 17 Sep 2017 14:15:06 GMT) (full text, mbox, link).


Message #82 received at 869098-submitter@bugs.debian.org (full text, mbox, reply):

From: Dmitry Shachnev <mitya57@gmail.com>
To: 869098-submitter@bugs.debian.org
Subject: Bug#869098 marked as pending
Date: Sun, 17 Sep 2017 14:12:21 +0000
tag 869098 pending
thanks

Hello,

Bug #869098 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:

    https://anonscm.debian.org/cgit/python-modules/packages/sphinx.git/commit/?id=954e0d0

---
commit 954e0d069ebbd8a027e1f9331530a4ae165dda82
Author: Dmitry Shachnev <mitya57@gmail.com>
Date:   Sun Sep 17 17:10:41 2017 +0300

    Backport upstream patch to fix crash with new python2.7.
    
    Closes: #869098.

diff --git a/debian/changelog b/debian/changelog
index 3e4d223..f145c0e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ sphinx (1.6.3-2) UNRELEASED; urgency=medium
 
   * Move sphinxcontrib-websupport from requirements to extras_require
     in setuptools metadata (no_require_websupport.diff).
+  * Backport upstream patch to fix crash with new python2.7
+    (upstream_fix_crash_on_parallel_build.diff; closes: #869098).
 
  -- Dmitry Shachnev <mitya57@debian.org>  Sat, 19 Aug 2017 18:30:31 +0300
 



Reply sent to Dmitry Shachnev <mitya57@debian.org>:
You have taken responsibility. (Sun, 17 Sep 2017 18:24:05 GMT) (full text, mbox, link).


Notification sent to Neil Williams <codehelp@debian.org>:
Bug acknowledged by developer. (Sun, 17 Sep 2017 18:24:05 GMT) (full text, mbox, link).


Message #87 received at 869098-close@bugs.debian.org (full text, mbox, reply):

From: Dmitry Shachnev <mitya57@debian.org>
To: 869098-close@bugs.debian.org
Subject: Bug#869098: fixed in sphinx 1.6.3-2
Date: Sun, 17 Sep 2017 18:20:00 +0000
Source: sphinx
Source-Version: 1.6.3-2

We believe that the bug you reported is fixed in the latest version of
sphinx, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 869098@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated sphinx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 17 Sep 2017 20:52:27 +0300
Source: sphinx
Binary: python-sphinx python3-sphinx sphinx-common sphinx-doc libjs-sphinxdoc
Architecture: source
Version: 1.6.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Description:
 libjs-sphinxdoc - JavaScript support for Sphinx documentation
 python-sphinx - documentation generator for Python projects (implemented in Pytho
 python3-sphinx - documentation generator for Python projects (implemented in Pytho
 sphinx-common - documentation generator for Python projects - common data
 sphinx-doc - documentation generator for Python projects - documentation
Closes: 869098 872863
Changes:
 sphinx (1.6.3-2) unstable; urgency=medium
 .
   * Move sphinxcontrib-websupport from requirements to extras_require
     in setuptools metadata (no_require_websupport.diff).
   * Backport upstream patch to fix crash with new python2.7
     (upstream_fix_crash_on_parallel_build.diff; closes: #869098).
   * dh_sphinxdoc: Add support for singlehtml builds (closes: #872863).
   * Upload to unstable.
Checksums-Sha1:
 66b44d45c72c921fe83f793bda0ccd5ffde2e879 3612 sphinx_1.6.3-2.dsc
 a5de7fcb75e0ad7a2e8b127fa91d352c7aa43bf8 36552 sphinx_1.6.3-2.debian.tar.xz
 b1cf957326571e892c116f2ca6ee4bf8c6d3e5aa 5333 sphinx_1.6.3-2_source.buildinfo
Checksums-Sha256:
 65f65ee49a1e27e994106a8b44247caf4adb3813f0ab4a0971c0c110d5ae569f 3612 sphinx_1.6.3-2.dsc
 17c6131aa020a8a514813ba24389585095a4c94da7ff20f1c969df1d77f12fb8 36552 sphinx_1.6.3-2.debian.tar.xz
 0739b167563ce0c97fe53d28efd0f042bf0336713c06568671246239609f3709 5333 sphinx_1.6.3-2_source.buildinfo
Files:
 f3fb031b652b65756deafbe4c573b14f 3612 python optional sphinx_1.6.3-2.dsc
 d4b1ad85312d81dd00c59d0af2b3ff7f 36552 python optional sphinx_1.6.3-2.debian.tar.xz
 9aea5a872f31ccc308eeb8d2842ad2a9 5333 python optional sphinx_1.6.3-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEbEPcK+5mZmLK5jNU1v5xA2P4XdMFAlm+ty8ACgkQ1v5xA2P4
XdO/ZhAArznsZHHZ914Ennzjmit+S3gnYX+edHi3qY5Zdhbx1QDjVnC0alissbHE
E3jfccdxVrM5NFlucK8bIrEvIzc9P30Go2qAWiWbiVRsfEXfpUYxw1H/l8UKbPIU
t6mp9q52ooCoPOFzwTf9eXDuoCogdwFBK0Ds5lWGQomYjT8Pqj2KyOAx9UlCQoCV
d7TPXr136/SmO6SnXQELMD+4FhUXy07nSPaKRpmr8ikJk4e1L+gf31ogZ2JZTLtz
mIBvBidrkoNrGbyz0YF8k9wiGoOFbDwC42JijC52kb37gZRTg77u58v/vt9SOyHB
/LoYUjIfUDfemLCcgSsrOhMSysHC5yTedp6QGyVAkNiVriKXcDfhPQYgoX1uvFjn
1A2EySdV2o3e0Ow+h93QquAi/7l6Qx8GzW1Ga6lk9Ubh+8mk2uGHls5z4kZhl+p3
DuDhdei5SsdSjl2AsnWHvTq7jn3f+CDX1IXj4hKAzQ3l9ZgLeJqMjQZzjrEpANFW
/XUQrFjaX6DrZSsU1hN19ePt7L33bCFU09pVL3wfAn/ngx0n3IiiC3p+Eq6K7Xc/
cIrlQ8iyZlLzxgwk5Wtgi3oCbRFOIw9Ot2fLN68bweHW/rnG2uWX6StKNboNgHkt
SQfNY5xr0tbKnobRBoBWvndVOST/0DYPGgGeH7BSjRBaAloophk=
=diKD
-----END PGP SIGNATURE-----




Reply sent to Dmitry Shachnev <mitya57@debian.org>:
You have taken responsibility. (Sun, 17 Sep 2017 18:24:05 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Sun, 17 Sep 2017 18:24:06 GMT) (full text, mbox, link).


Reply sent to Dmitry Shachnev <mitya57@debian.org>:
You have taken responsibility. (Sun, 17 Sep 2017 18:24:06 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Sun, 17 Sep 2017 18:24:06 GMT) (full text, mbox, link).


Reply sent to Dmitry Shachnev <mitya57@debian.org>:
You have taken responsibility. (Sun, 17 Sep 2017 18:24:07 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Sun, 17 Sep 2017 18:24:07 GMT) (full text, mbox, link).


Reply sent to Dmitry Shachnev <mitya57@debian.org>:
You have taken responsibility. (Sun, 17 Sep 2017 18:24:08 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Sun, 17 Sep 2017 18:24:08 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 21 Oct 2017 07:27:29 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 13 00:35:27 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.