Bug#1048248: lhs2tex: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:20:50 BST 2023


Source: lhs2tex
Version: 1.24-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
> --------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package lhs2tex
> dpkg-buildpackage: info: source version 1.24-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Clint Adams <clint at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh_testdir
> dh_testroot
> rm -f build-stamp config.status
> # Add here commands to clean up after the build process.
> if [ -f Makefile ] && [ -f config.mk ] ; then /usr/bin/make clean ; fi
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> /bin/rm -f lhs2TeX src/Main.tex src/TeXCommands.tex src/TeXParser.tex src/Typewriter.tex src/Math.tex src/MathPoly.tex src/MathCommon.tex src/NewCode.tex src/Directives.tex src/HsLexer.tex src/FileNameUtils.tex src/Parser.tex src/FiniteMap.tex src/Auxiliaries.tex src/StateT.tex src/Document.tex src/Verbatim.tex src/Value.tex src/License.tex src/State.tex src/Version.tex sorts.tt sorts.math id.math cata.math spec.math src/Main.o src/TeXCommands.o src/TeXParser.o src/Typewriter.o src/Math.o src/MathPoly.o src/MathCommon.o src/NewCode.o src/Directives.o src/HsLexer.o src/FileNameUtils.o src/Parser.o src/FiniteMap.o src/Auxiliaries.o src/StateT.o src/Document.o src/Verbatim.o src/Value.o src/License.o src/State.o src/Version.o *.hi *.dvi *.ps
> /bin/rm -f *.d *.dd *.ld *.ldd
> /bin/rm -f lhs2TeX.sty lhs2TeX.fmt
> /bin/rm -f Lhs2TeX.tex lhs2TeX.sty.tex lhs2TeX.fmt.tex Makefile.tex 
> cd doc; /usr/bin/make clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> rm -f HelloWorldInput.tex HelloWorldDialogue.tex HelloWorld.tex HackageInstallation.tex CabalInstallation.tex InstallationInstructions.tex ConfigureCall.tex SearchPath.tex MkTeXLsrCall.tex HelloWorldBirdInput.tex HelloWorldBirdSpecInput.tex HelloWorldCodeInput.tex HelloWorldSpecInput.tex ZipPolyIn.tex ZipPoly.tex ZipPolyTT.tex CompleteDirectives.tex IncludeSyntax.tex PolyPrelude.tex IncludePrelude.tex FormatSyntax.tex FormatGreekIn.tex FormatGreekOut.tex FormatIdentifierExamples.tex PlusDefinition.tex FormatIdentifierRedefs.tex FormatIdentifierWrong.tex FormatElem.tex FormatArrow.tex FormatArrow2.tex FormatStar.tex FormatId.tex FormatRecurse.tex CardIn.tex Card.tex ParensExampleIn.tex ParensExample.tex ParensExample2In.tex ParensExample2.tex GroupSyntax.tex GroupExampleIn.tex GroupExample.tex 
> ImplicitIn.tex Implicit.tex ImplicitUnderscoreIn.tex ImplicitUnderscore.tex RepAlgIn.tex RepAlg.tex AccidentalIn.tex Accidental.tex AccidentalCIn.tex AccidentalC.tex SepLatSyntax.tex Indent1In.tex Indent1.tex Indent2In.tex Indent2.tex HsIndent.tex Indent2aIn.tex Indent2a.tex Indent3In.tex Indent3.tex AlignColumnSyntax.tex SaveRestoreIn.tex SaveRestore.tex SaveRestoreNo.tex LetSyntax.tex IfSyntax.tex SpacingOps.tex SpacingOpsCond.tex InlineTeXSyntax.tex AGExampleIn.tex AGExample.tex GHExampleIn.tex GHExample.tex CalcExampleIn.tex CalcExample.tex InteractiveGhciIn.tex InteractiveGhci.tex InteractiveHugsIn.tex InteractiveHugs.tex InteractivePreIn.tex InteractivePre.tex Zip.tex ZipTT.tex ZipStupid.tex ZipMath.tex Variable.tex  RawSearchPath.lhs
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> # Remove generated files
> for EXT in aux log out ptb tex toc; do \
> 	rm -f doc/Guide2.$EXT; \
> done
> # Don't rebuild the guide as ghci does not work on all architectures..
> # rm -f doc/Guide2.dontbuild doc/Guide2.pdf
> rm -f doc/*.sty doc/*.tex doc/.out doc/.script doc/RawSearchPath.lhs
> rm -f lhs2TeX.1 Version.lhs config.guess config.log config.mk config.sub
> rm -f doc/InteractiveHugs.lhs doc/InteractivePre.lhs
> dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building lhs2tex using existing ./lhs2tex_1.24.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file doc/RawSearchPath.lhs, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/InteractiveHugs.lhs, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/InteractivePre.lhs, use --include-removal to override
> dpkg-source: error: cannot represent change to src/Auxiliaries.hi: binary file contents changed
> dpkg-source: error: add src/Auxiliaries.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/Auxiliaries.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/Directives.hi: binary file contents changed
> dpkg-source: error: add src/Directives.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/Directives.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/Document.hi: binary file contents changed
> dpkg-source: error: add src/Document.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/Document.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/FileNameUtils.hi: binary file contents changed
> dpkg-source: error: add src/FileNameUtils.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/FileNameUtils.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/FiniteMap.hi: binary file contents changed
> dpkg-source: error: add src/FiniteMap.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/FiniteMap.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/HsLexer.hi: binary file contents changed
> dpkg-source: error: add src/HsLexer.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/HsLexer.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/License.hi: binary file contents changed
> dpkg-source: error: add src/License.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/License.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/Main.hi: binary file contents changed
> dpkg-source: error: add src/Main.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/Main.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/Math.hi: binary file contents changed
> dpkg-source: error: add src/Math.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/Math.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/MathCommon.hi: binary file contents changed
> dpkg-source: error: add src/MathCommon.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/MathCommon.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/MathPoly.hi: binary file contents changed
> dpkg-source: error: add src/MathPoly.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/MathPoly.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/NewCode.hi: binary file contents changed
> dpkg-source: error: add src/NewCode.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/NewCode.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/Parser.hi: binary file contents changed
> dpkg-source: error: add src/Parser.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/Parser.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/State.hi: binary file contents changed
> dpkg-source: error: add src/State.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/State.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/StateT.hi: binary file contents changed
> dpkg-source: error: add src/StateT.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/StateT.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/TeXCommands.hi: binary file contents changed
> dpkg-source: error: add src/TeXCommands.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/TeXCommands.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/TeXParser.hi: binary file contents changed
> dpkg-source: error: add src/TeXParser.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/TeXParser.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/Typewriter.hi: binary file contents changed
> dpkg-source: error: add src/Typewriter.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/Typewriter.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/Value.hi: binary file contents changed
> dpkg-source: error: add src/Value.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/Value.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/Verbatim.hi: binary file contents changed
> dpkg-source: error: add src/Verbatim.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/Verbatim.ld' will not be represented in diff
> dpkg-source: error: cannot represent change to src/Version.hi: binary file contents changed
> dpkg-source: error: add src/Version.hi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: newly created empty file 'src/Version.ld' will not be represented in diff
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/lhs2tex_1.24-1_unstable.log

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.



More information about the Pkg-haskell-maintainers mailing list