Hi Lucas,

This step in the build log looks suspicious:

sed -i 's|env python|env python3|' \
       
/<<PKGBUILDDIR>>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py

Two notes:

- The PKGBUILDDIR pattern looks like a template variable that was
not replaced. The << >> parts seem to be messing with the shell.

That explains the "can't read" errors.

- That step probably isn't even needed at all these days. Our #!
shebang lines all say "python3" in newer versions... oh..

Another note is that 3.12.0 is a very old version. Newer versions have
the python3 shebangs. That's probably related.

Let me know if there's anything I can do to help.



On Fri, Oct 27, 2023 at 12:51 PM Lucas Nussbaum <lu...@debian.org> wrote:
>
> Source: git-cola
> Version: 3.12.0-2
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20231027 ftbfs-trixie
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
>
> Relevant part (hopefully):
> > make[2]: Entering directory '/<<PKGBUILDDIR>>/share/doc/git-cola'
> > mkdir -p /<<PKGBUILDDIR>>/debian/git-cola/usr/share/doc/git-cola
> > install -m 644 *.html 
> > /<<PKGBUILDDIR>>/debian/git-cola/usr/share/doc/git-cola
> > install -m 644 *.rst /<<PKGBUILDDIR>>/debian/git-cola/usr/share/doc/git-cola
> > sphinx-build -b html -d _build/doctrees  -a . _build/html
> > Running Sphinx v5.3.0
> > loading pickled environment... done
> > building [mo]: all of 0 po files
> > building [html]: all source files
> > updating environment: 0 added, 0 changed, 0 removed
> > looking for now-outdated files... none found
> > preparing documents... done
> > writing output... [ 20%] git-cola
> > writing output... [ 40%] git-dag
> > writing output... [ 60%] index
> > writing output... [ 80%] relnotes
> > writing output... [100%] thanks
> >
> > generating indices... genindex done
> > writing additional pages... search done
> > copying static files... done
> > copying extra files... done
> > dumping search index in English (code: en)... done
> > dumping object inventory... done
> > Renaming directory '_sources' -> 'sources'
> > Renaming directory '_static' -> 'static'
> > build succeeded.
> >
> > The HTML pages are in _build/html.
> > mkdir -p /<<PKGBUILDDIR>>/debian/git-cola/usr/share/doc/git-cola/html
> > rsync -r --delete --delete-excluded --exclude=.buildinfo 
> > --exclude=.gitignore _build/html/ 
> > /<<PKGBUILDDIR>>/debian/git-cola/usr/share/doc/git-cola/html/
> > make[2]: Leaving directory '/<<PKGBUILDDIR>>/share/doc/git-cola'
> > make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> > sed -i 's|env python|env python3|' \
> >       
> > /<<PKGBUILDDIR>>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py
> > sed: can't read 
> > /<<PKGBUILDDIR>>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py:
> >  No such file or directory
> > make: *** [debian/rules:37: install] Error 2
>
>
> The full build log is available from:
> http://qa-logs.debian.net/2023/10/27/git-cola_3.12.0-2_unstable.log
>
> All bugs filed during this archive rebuild are listed at:
> https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lu...@debian.org
> or:
> https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&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 mark 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.
>


--
David

Reply via email to