Control: reassign -1 src:python-pygit2
Control: retitle -1 python-pygit2: import fails if /usr/lib/ssl/certs does not 
exist

Looks like python-pygit2 needs the OpenSSL certificate paths set up
properly to function. The problem disappears if the openssl package
is installed.

On Thu, 26 May 2022 08:12:19 +0200 Lucas Nussbaum <lu...@debian.org> wrote:
Source: gitless
Version: 0.8.8-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> '/<<PKGBUILDDIR>>/debian/run-simple-test.sh'
> Using directory /tmp/gitless-test.jVerea
> + [ 1 -ne 1 ]
> + dir=/tmp/gitless-test.jVerea
> + : python3.10
> + : git
> + pwd
> + : /<<PKGBUILDDIR>>/gl.py
> + gl=python3.10 /<<PKGBUILDDIR>>/gl.py
> + [ -d /tmp/gitless-test.jVerea ]
> + cd /tmp/gitless-test.jVerea
> + python3.10 /<<PKGBUILDDIR>>/gl.py init
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/gl.py", line 10, in <module>
>     from gitless.cli import gl
>   File "/<<PKGBUILDDIR>>/gitless/cli/gl.py", line 13, in <module>
>     import pygit2
>   File "/usr/lib/python3/dist-packages/pygit2/__init__.py", line 230, in 
<module>
>     settings = Settings()
>   File "/usr/lib/python3/dist-packages/pygit2/settings.py", line 55, in 
__init__
>     self._initialize_tls_certificate_locations()
>   File "/usr/lib/python3/dist-packages/pygit2/settings.py", line 61, in 
_initialize_tls_certificate_locations
>     self.set_ssl_cert_locations(
>   File "/usr/lib/python3/dist-packages/pygit2/settings.py", line 191, in 
set_ssl_cert_locations
>     option(_pygit2.GIT_OPT_SET_SSL_CERT_LOCATIONS, cert_file, cert_dir)
> ValueError: invalid argument: 'file || path'
> make[1]: *** [debian/rules:9: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/gitless_0.8.8-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature

Reply via email to