Bug#1011714: gitless: FTBFS: ValueError: invalid argument: 'file || path'

2022-06-22 Thread Timo Röhling

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  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 '/<>'
> '/<>/debian/run-simple-test.sh'
> Using directory /tmp/gitless-test.jVerea
> + [ 1 -ne 1 ]
> + dir=/tmp/gitless-test.jVerea
> + : python3.10
> + : git
> + pwd
> + : /<>/gl.py
> + gl=python3.10 /<>/gl.py
> + [ -d /tmp/gitless-test.jVerea ]
> + cd /tmp/gitless-test.jVerea
> + python3.10 /<>/gl.py init
> Traceback (most recent call last):
>   File "/<>/gl.py", line 10, in 
> from gitless.cli import gl
>   File "/<>/gitless/cli/gl.py", line 13, in 
> import pygit2
>   File "/usr/lib/python3/dist-packages/pygit2/__init__.py", line 230, in 

> 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=ign=7=7=only=ftbfs-20220525=lu...@debian.org=1=1=1=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 │
⠈⠳⣄   ╰╯


signature.asc
Description: PGP signature


Bug#1011714: gitless: FTBFS: ValueError: invalid argument: 'file || path'

2022-05-26 Thread Lucas Nussbaum
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 '/<>'
> '/<>/debian/run-simple-test.sh'
> Using directory /tmp/gitless-test.jVerea
> + [ 1 -ne 1 ]
> + dir=/tmp/gitless-test.jVerea
> + : python3.10
> + : git
> + pwd
> + : /<>/gl.py
> + gl=python3.10 /<>/gl.py
> + [ -d /tmp/gitless-test.jVerea ]
> + cd /tmp/gitless-test.jVerea
> + python3.10 /<>/gl.py init
> Traceback (most recent call last):
>   File "/<>/gl.py", line 10, in 
> from gitless.cli import gl
>   File "/<>/gitless/cli/gl.py", line 13, in 
> import pygit2
>   File "/usr/lib/python3/dist-packages/pygit2/__init__.py", line 230, in 
> 
> 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=ign=7=7=only=ftbfs-20220525=lu...@debian.org=1=1=1=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
so that we can identify if something relevant changed in the meantime.