Bug#1022364: qutebrowser: FTBFS: dh_usrlocal: error: debian/qutebrowser/usr/local/bin/qutebrowser is not a directory

2022-10-24 Thread Axel Beckert
Hi Yannick,

Yannick Roehlly wrote:
> Isn't this linked to https://github.com/pypa/pip/issues/10978 ?

Yes, looks related. But as far as I can see, it indeed seems to be a
Debian-specific issue as some people in there already commented.

Interesting though that Fedora seems to have similar issues. :-)

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#1022364: qutebrowser: FTBFS: dh_usrlocal: error: debian/qutebrowser/usr/local/bin/qutebrowser is not a directory

2022-10-24 Thread Yannick Roehlly
Hi,

Isn't this linked to https://github.com/pypa/pip/issues/10978 ?

Yannick



Bug#1022364: qutebrowser: FTBFS: dh_usrlocal: error: debian/qutebrowser/usr/local/bin/qutebrowser is not a directory

2022-10-24 Thread Axel Beckert
Hi Lucas,

Lucas Nussbaum wrote:
> > > Actually the following override in debian/rules would fix it and the
> > > resulting .deb has no debdiff to 2.5.2-1 as in unstable/testing, but
> > > I'd first like to understand what actually goes wrong instead of
> > > fixing symptoms:
> > > 
> > >   override_dh_usrlocal:
> > >   rm -rvf debian/qutebrowser/usr/local/
> > 
> > I'm quite sure the culprit lies hidden somewhere in an
> > python3-setuptools upstream release between probably 65.3.0 (seems to
> > have worked for the past 5 weeks unless Lucas' rebuilds happen more
> > seldom, in which case 59.6.0 would be the last known working version)
> > and 65.5.0 (clearly broken, installs qutebrowser and only that file
> > into /usr/bin/ _and_ /usr/local/bin/).
> 
> I attached the two previous build logs for qutebrowser (17/09 and
> 13/08). It might be useful to identify the culprit.

Yeah, already looked at them on buildd.d.o:

Downgrading python3-setuptools to 59.6.0-1.2 solves the issue as well.
But that's already no more in testing.

Currently trying to figure out with qutebrowser upstream if this is
caused by a change in setuptools or Debian's patches against
setuptools. We're currently suspecting a change in Debian's patches
against setuptools because setuptools seems to ignore --prefix=/usr
now according to a short test of mine.

And we're trying to understand if this is a bug in qutebrowser's
setup.py respectively qutebrowser's misc/Makefile or in Debian's
python3-setuptools.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Bug#1022364: qutebrowser: FTBFS: dh_usrlocal: error: debian/qutebrowser/usr/local/bin/qutebrowser is not a directory

2022-10-23 Thread Axel Beckert
Control: tag -1 + pending

Hi again,

Axel Beckert wrote:
> > >dh_usrlocal -O--buildsystem=pybuild -O--link-doc=qutebrowser
> > > dh_usrlocal: error: debian/qutebrowser/usr/local/bin/qutebrowser is not a 
> > > directory
> 
> This is clearly the one which makes the build stop at the end.
> 
> Looks like something suddenly installs the qutebrowser binary _also_
> into /usr/local/bin/. I so far just have no idea yet what or why.
> 
> Actually the following override in debian/rules would fix it and the
> resulting .deb has no debdiff to 2.5.2-1 as in unstable/testing, but
> I'd first like to understand what actually goes wrong instead of
> fixing symptoms:
> 
>   override_dh_usrlocal:
>   rm -rvf debian/qutebrowser/usr/local/

I'm quite sure the culprit lies hidden somewhere in an
python3-setuptools upstream release between probably 65.3.0 (seems to
have worked for the past 5 weeks unless Lucas' rebuilds happen more
seldom, in which case 59.6.0 would be the last known working version)
and 65.5.0 (clearly broken, installs qutebrowser and only that file
into /usr/bin/ _and_ /usr/local/bin/).

Since the upstream changelog is rather terse about potential huge
changes like e.g. …

* #3576: Updated version of ``validate_pyproject``.
* #3617: Merge with pypa/distutils@6852b20 including fix for
  pypa/distutils#181.

… I have no idea which of the changes actually could have triggered
this issue.

So I'm going with the above mentioned hardball fix.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Processed: Re: Bug#1022364: qutebrowser: FTBFS: dh_usrlocal: error: debian/qutebrowser/usr/local/bin/qutebrowser is not a directory

2022-10-23 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 + pending
Bug #1022364 [src:qutebrowser] qutebrowser: FTBFS: dh_usrlocal: error: 
debian/qutebrowser/usr/local/bin/qutebrowser is not a directory
Added tag(s) pending.

-- 
1022364: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022364
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1022364: qutebrowser: FTBFS: dh_usrlocal: error: debian/qutebrowser/usr/local/bin/qutebrowser is not a directory

2022-10-23 Thread Axel Beckert
Control: tag -1 + confirmed

Hi Lucas,

Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.

Thanks for the bug report. Can reproduce it here.

> Relevant part (hopefully):
[…]
> > I: dh_python3 pydist:302: Cannot find package that provides dataclasses. 
> > Please add package that provides it to Build-Depends or add "dataclasses 
> > python3-dataclasses" line to debian/py3dist-overrides or add proper 
> > dependency to Depends by hand and ignore this info.
> > I: dh_python3 pydist:302: Cannot find package that provides dataclasses. 
> > Please add package that provides it to Build-Depends or add "dataclasses 
> > python3-dataclasses" line to debian/py3dist-overrides or add proper 
> > dependency to Depends by hand and ignore this info.

I first thought that this is the relevant hint. But it also showed up
in previous successful builds, e.g. 2.5.2-1, so it was a red herring:
https://buildd.debian.org/status/fetch.php?pkg=qutebrowser=all=2.5.2-1=1655941699=0

> >dh_usrlocal -O--buildsystem=pybuild -O--link-doc=qutebrowser
> > dh_usrlocal: error: debian/qutebrowser/usr/local/bin/qutebrowser is not a 
> > directory

This is clearly the one which makes the build stop at the end.

Looks like something suddenly installs the qutebrowser binary _also_
into /usr/local/bin/. I so far just have no idea yet what or why.

Actually the following override in debian/rules would fix it and the
resulting .deb has no debdiff to 2.5.2-1 as in unstable/testing, but
I'd first like to understand what actually goes wrong instead of
fixing symptoms:

  override_dh_usrlocal:
rm -rvf debian/qutebrowser/usr/local/

Regards, Axel
-- 
 ,''`.  |  Axel Beckert , https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-|  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Processed: Re: Bug#1022364: qutebrowser: FTBFS: dh_usrlocal: error: debian/qutebrowser/usr/local/bin/qutebrowser is not a directory

2022-10-23 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 + confirmed
Bug #1022364 [src:qutebrowser] qutebrowser: FTBFS: dh_usrlocal: error: 
debian/qutebrowser/usr/local/bin/qutebrowser is not a directory
Added tag(s) confirmed.

-- 
1022364: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022364
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1022364: qutebrowser: FTBFS: dh_usrlocal: error: debian/qutebrowser/usr/local/bin/qutebrowser is not a directory

2022-10-23 Thread Lucas Nussbaum
Source: qutebrowser
Version: 2.5.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20221023 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 '/<>'
> dh_installchangelogs doc/changelog.asciidoc
> make[1]: Leaving directory '/<>'
>dh_installman -O--buildsystem=pybuild -O--link-doc=qutebrowser
>dh_python3 -O--buildsystem=pybuild -O--link-doc=qutebrowser
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/scripts/dictcli.py
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/scripts/hist_importer.py
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/scripts/hostblock_blame.py
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/scripts/importer.py
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/scripts/keytester.py
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/scripts/mkvenv.py
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/scripts/opengl_info.py
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/add-nextcloud-bookmarks
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/add-nextcloud-cookbook
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/getbib
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/openfeeds
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/qute-bitwarden
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/qute-keepass
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/qute-keepassxc
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/qute-lastpass
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/qute-pass
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/readability
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/ripbang
> I: dh_python3 tools:114: replacing shebang in 
> debian/qutebrowser/usr/share/qutebrowser/userscripts/tor_identity
> I: dh_python3 pydist:302: Cannot find package that provides dataclasses. 
> Please add package that provides it to Build-Depends or add "dataclasses 
> python3-dataclasses" line to debian/py3dist-overrides or add proper 
> dependency to Depends by hand and ignore this info.
> I: dh_python3 pydist:302: Cannot find package that provides dataclasses. 
> Please add package that provides it to Build-Depends or add "dataclasses 
> python3-dataclasses" line to debian/py3dist-overrides or add proper 
> dependency to Depends by hand and ignore this info.
>dh_installsystemduser -O--buildsystem=pybuild -O--link-doc=qutebrowser
>dh_installmenu -O--buildsystem=pybuild -O--link-doc=qutebrowser
>dh_lintian -O--buildsystem=pybuild -O--link-doc=qutebrowser
>dh_icons -O--buildsystem=pybuild -O--link-doc=qutebrowser
>dh_perl -O--buildsystem=pybuild -O--link-doc=qutebrowser
>dh_usrlocal -O--buildsystem=pybuild -O--link-doc=qutebrowser
> dh_usrlocal: error: debian/qutebrowser/usr/local/bin/qutebrowser is not a 
> directory
> make: *** [debian/rules:6: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/qutebrowser_2.5.2-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na=ign=7=7=only=ftbfs-20221023=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.