Bug#880241: sagenb-export: FTBFS: Test failures

Ximin Luo infinity0 at debian.org
Tue Nov 7 12:51:00 UTC 2017


Control: reassign -1 src:testpath
Control: retitle -1 testpath does not install .egg-info or .dist-info, making it invisible to pip
Control: affects -1 sagenb-export

The sagenb-export FTBFS is caused by the python "testpath" module not installing a .egg-info file (or .dist-info directory) which makes it invisible to pip. It then tries downloading testpath from the internet, causing the below error.

Upstream testpath uses their own custom tool "flit" to generate a .dist-info directory - which you can see the contents of by running `pip install testpath` then looking in ~/.local/lib/python2.7/site-packages/testpath-0.3.1.dist-info/.

An alternative to packaging flit and then modifying testpath to use flit, would be to simply add ~/.local/lib/python2.7/site-packages/testpath-0.3.1.dist-info/METADATA to our Debian packaging and install it in /usr/lib/pythonX.Y/dist-packages/testpath-0.3.1.egg-info, etc

X

On Mon, 30 Oct 2017 20:32:00 +0100 Lucas Nussbaum <lucas at debian.org> wrote:
> Source: sagenb-export
> Version: 3.2-3
> Severity: serious
> Tags: buster sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20171030 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part (hopefully):
> >     r = adapter.send(request, **kwargs)
> >   File "/<<PKGBUILDDIR>>/.tox/python3/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
> >     resp = super(CacheControlAdapter, self).send(request, **kw)
> >   File "/<<PKGBUILDDIR>>/.tox/python3/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
> >     timeout=timeout
> >   File "/<<PKGBUILDDIR>>/.tox/python3/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
> >     _stacktrace=sys.exc_info()[2])
> >   File "/<<PKGBUILDDIR>>/.tox/python3/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
> >     total -= 1
> > TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
> > 
> > python3 installed: bleach==2.0.0,decorator==4.1.2,entrypoints==0.2.3.post1,html5lib==0.999999999,ipykernel==4.6.1,ipython==5.5.0,ipython-genutils==0.2.0,Jinja2==2.9.6,jsonschema==2.5.1,jupyter-client==5.1.0,jupyter-core==4.3.0,MarkupSafe==1.0,mistune==0.8,nbconvert==5.3.1,nbformat==4.4.0,notebook==4.2.3,pandocfilters==1.4.2,pexpect==4.2.1,pickleshare==0.7.4,pkg-resources==0.0.0,pluggy==0.4.0,prompt-toolkit==1.0.14,py==1.4.34,Pygments==2.2.0,python-dateutil==2.6.1,pyzmq==16.0.2,simplegeneric==0.8.1,six==1.11.0,terminado==0.6,tornado==4.5.1,tox==2.5.0,traitlets==4.3.2,virtualenv==15.1.0,wcwidth==0.1.7,webencodings==0.5
> > ___________________________________ summary ____________________________________
> > ERROR:   python: InvocationError: /<<PKGBUILDDIR>>/.tox/python/bin/pip install /<<PKGBUILDDIR>>/.tox/dist/sagenb_export-3.2.zip (see /<<PKGBUILDDIR>>/.tox/python/log/python-1.log)
> > ERROR:   python3: InvocationError: /<<PKGBUILDDIR>>/.tox/python3/bin/pip install /<<PKGBUILDDIR>>/.tox/dist/sagenb_export-3.2.zip (see /<<PKGBUILDDIR>>/.tox/python3/log/python3-1.log)
> > debian/rules:30: recipe for target 'override_dh_auto_test' failed
> 
> The full build log is available from:
>    http://aws-logs.debian.net/2017/10/30/sagenb-export_3.2-3_unstable.log
> 
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
> 
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
> 
> 

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the debian-science-maintainers mailing list