Bug#907381: python-sphinx: missing dependency on python-stemmer

2018-09-01 Thread Dmitry Shachnev
Control: reassign -1 src:bzr 2.7.0+bzr6622-11
Control: affects -1 - src:bzr
Control: retitle -1 bzr: FTBFS with Sphinx ≥ 1.7.7-1, needs build-dep on 
python-stemmer

Hi Adrian and bzr maintainers,

On Sat, Sep 01, 2018 at 08:05:34PM +0300, Adrian Bunk wrote:
> You already fixed ubuntu-packaging-guide, and this is the only one 
> I found in addition to bzr.
>
> So reassigning this bug to bzr sounds like an option.

Thanks, doing so then.

Note for bzr maintainers: search in non-English Sphinx projects has been
disabled for several releases. Now I finally re-enabled it, but projects
which use non-English language or html_search_language [1] need to depend
on python-stemmer or python3-stemmer.

[1]: 
http://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_search_language

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Bug#907381: python-sphinx: missing dependency on python-stemmer

2018-09-01 Thread Adrian Bunk
On Mon, Aug 27, 2018 at 01:31:36PM +0300, Dmitry Shachnev wrote:
> Hi Adrian!

Hi Dmitry!

> On Mon, Aug 27, 2018 at 11:20:20AM +0300, Adrian Bunk wrote:
> > Package: python-sphinx
> > Version: 1.7.7-1
> > Severity: serious
> > Control: affects -1 src:bzr
> >
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/bzr.html
> >
> > ...
> > Exception occurred:
> >   File "/usr/lib/python2.7/dist-packages/sphinx/search/es.py", line 14, in 
> > 
> > import Stemmer
> > ImportError: No module named Stemmer
> 
> I did not want to make pystemmer a hard dependency because this only affects
> non-English documentation.
> 
> Indeed it is my bad that I did not check what packages will be broken with
> this, but maybe you can estimate how many of them got broken now? If it is
> < 10 source packages, I would rather file bugs on them.

You already fixed ubuntu-packaging-guide, and this is the only one 
I found in addition to bzr.

So reassigning this bug to bzr sounds like an option.

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#907381: python-sphinx: missing dependency on python-stemmer

2018-08-27 Thread Dmitry Shachnev
Hi Adrian!

On Mon, Aug 27, 2018 at 11:20:20AM +0300, Adrian Bunk wrote:
> Package: python-sphinx
> Version: 1.7.7-1
> Severity: serious
> Control: affects -1 src:bzr
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/bzr.html
>
> ...
> Exception occurred:
>   File "/usr/lib/python2.7/dist-packages/sphinx/search/es.py", line 14, in 
> 
> import Stemmer
> ImportError: No module named Stemmer

I did not want to make pystemmer a hard dependency because this only affects
non-English documentation.

Indeed it is my bad that I did not check what packages will be broken with
this, but maybe you can estimate how many of them got broken now? If it is
< 10 source packages, I would rather file bugs on them.

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Bug#907381: python-sphinx: missing dependency on python-stemmer

2018-08-27 Thread Adrian Bunk
Package: python-sphinx
Version: 1.7.7-1
Severity: serious
Control: affects -1 src:bzr

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/bzr.html

...
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v1.7.7
loading translations [es]... done
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 6 source files that are out of date
updating environment: 6 added, 0 changed, 0 removed
reading sources... [ 16%] index
reading sources... [ 33%] mini-tutorial/index
reading sources... [ 50%] quick-reference/index
reading sources... [ 66%] user-guide/index
reading sources... [ 83%] user-guide/index-plain
reading sources... [100%] user-guide/version_info

looking for now-outdated files... none found
pickling environment... done
checking consistency... 
/build/1st/bzr-2.7.0+bzr6622/doc/es/user-guide/index-plain.txt: WARNING: 
document isn't included in any toctree
done
preparing documents... 
Exception occurred:
  File "/usr/lib/python2.7/dist-packages/sphinx/search/es.py", line 14, in 

import Stemmer
ImportError: No module named Stemmer
The full traceback has been saved in /tmp/sphinx-err-Y1IJ0z.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 
. Thanks!
make[3]: *** [Makefile:50: html] Error 2


python3-sphinx likely has a similar problem.