Bug#1054806: git-cola: FTBFS: sed: can't read /<>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py: No such file or directory
On Sat, Oct 28, 2023 at 12:13 AM László Böszörményi (GCS) wrote: > > Hi David, > > On Sat, Oct 28, 2023 at 6:39 AM David Aguilar wrote: > > This step in the build log looks suspicious: > > > > sed -i 's|env python|env python3|' \ > > > > /<>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py > Yes, this is the culprit and already fixed locally. > > > Another note is that 3.12.0 is a very old version. Newer versions have > > the python3 shebangs. That's probably related. > Then newer versions also have a new dependency that is not (yet) > packaged for Debian. I don't have time for that as if I remember > correctly it is something uncommon. I think I will let git-cola go. > > Regards, > Laszlo/GCS Sorry for the inconvenience. I always strive to avoid breaking Debian. We shouldn't have any new dependencies -- that might've been an oversight (adding a dependency on rst.linker) which was fixed some time ago. I believe a related issue was that rst.linker did not work offline (which was bad for Debian), so we dropped it. https://github.com/git-cola/git-cola/issues/1251 Git Cola itself will only ever depend on packages already available in Debian, forevermore. Thank you Laszlo, David
Bug#1054806: git-cola: FTBFS: sed: can't read /<>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py: No such file or directory
Hi David, On Sat, Oct 28, 2023 at 6:39 AM David Aguilar wrote: > This step in the build log looks suspicious: > > sed -i 's|env python|env python3|' \ > > /<>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py Yes, this is the culprit and already fixed locally. > Another note is that 3.12.0 is a very old version. Newer versions have > the python3 shebangs. That's probably related. Then newer versions also have a new dependency that is not (yet) packaged for Debian. I don't have time for that as if I remember correctly it is something uncommon. I think I will let git-cola go. Regards, Laszlo/GCS
Bug#1054806: git-cola: FTBFS: sed: can't read /<>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py: No such file or directory
Hi, On 27/10/23 at 21:34 -0700, David Aguilar wrote: > Hi Lucas, > > This step in the build log looks suspicious: > > sed -i 's|env python|env python3|' \ > > /<>/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. It's only replaced in the output log (to ease diff'ing two logs), not in the original invocation; so that's not the cause Lucas
Bug#1054806: git-cola: FTBFS: sed: can't read /<>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py: No such file or directory
Hi Lucas, This step in the build log looks suspicious: sed -i 's|env python|env python3|' \ /<>/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 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 '/<>/share/doc/git-cola' > > mkdir -p /<>/debian/git-cola/usr/share/doc/git-cola > > install -m 644 *.html > > /<>/debian/git-cola/usr/share/doc/git-cola > > install -m 644 *.rst /<>/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 /<>/debian/git-cola/usr/share/doc/git-cola/html > > rsync -r --delete --delete-excluded --exclude=.buildinfo > > --exclude=.gitignore _build/html/ > > /<>/debian/git-cola/usr/share/doc/git-cola/html/ > > make[2]: Leaving directory '/<>/share/doc/git-cola' > > make[1]: Leaving directory '/<>' > > sed -i 's|env python|env python3|' \ > > > > /<>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py > > sed: can't read > > /<>/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=ign=7=7=only=ftbfs-20231027=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 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
Bug#1054806: git-cola: FTBFS: sed: can't read /<>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py: No such file or directory
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 '/<>/share/doc/git-cola' > mkdir -p /<>/debian/git-cola/usr/share/doc/git-cola > install -m 644 *.html /<>/debian/git-cola/usr/share/doc/git-cola > install -m 644 *.rst /<>/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 /<>/debian/git-cola/usr/share/doc/git-cola/html > rsync -r --delete --delete-excluded --exclude=.buildinfo --exclude=.gitignore > _build/html/ /<>/debian/git-cola/usr/share/doc/git-cola/html/ > make[2]: Leaving directory '/<>/share/doc/git-cola' > make[1]: Leaving directory '/<>' > sed -i 's|env python|env python3|' \ > > /<>/debian/git-cola/usr/lib/python3*/site-packages/cola/widgets/spellcheck.py > sed: can't read > /<>/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=ign=7=7=only=ftbfs-20231027=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 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.