[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1045828: texlive-extra: Fails to build source after successful build



Source: texlive-extra
Version: 2022.20230122-4
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@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 texlive-extra
> dpkg-buildpackage: info: source version 2022.20230122-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Hilmar Preusse <hille42@web.de>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> for i in texlive-bibtex-extra texlive-extra-utils texlive-font-utils texlive-formats-extra texlive-plain-generic texlive-latex-extra texlive-fonts-extra texlive-music texlive-games texlive-pstricks texlive-publishers texlive-humanities texlive-science texlive-fonts-extra-doc texlive-humanities-doc texlive-latex-extra-doc texlive-science-doc texlive-pstricks-doc texlive-publishers-doc texlive-fonts-extra-links ; do \
>   rm -f debian/$i.{README.Debian,links,links.generated} ; \
>   rm -f debian/$i.{postinst,postrm,preinst,prerm} ; \
>   rm -f debian/$i.{maps,hyphens,formats,info} ; \
>   rm -f debian/$i.{lintian-overrides} ; \
> done
> rm -rf tex4ht-java texmf-dist/tex4ht/bin/tex4ht.jar
> rm -f texmf-dist/tex/latex/pax.jar
> # texlive contains some .orig files we need to keep otherwise
> # the copy will fail due to the files occurring in the tlpdb
> dh_clean -X.orig -X.bak
> rm -f configure-stamp
> rm -f build-stamp
> rm -f install-stamp
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building texlive-extra using existing ./texlive-extra_2022.20230122.orig-tex4ht.tar.xz
> dpkg-source: info: building texlive-extra using existing ./texlive-extra_2022.20230122.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of directory texmf-dist/source/latex/pax/lib
> dpkg-source: warning: ignoring deletion of file texmf-dist/source/latex/pax/lib/pdfbox.jar, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file texmf-dist/source/latex/pax/lib/commons-logging.jar, use --include-removal to override
> dpkg-source: error: cannot represent change to texmf-dist/scripts/pax/pax.jar: binary file contents changed
> dpkg-source: error: add texmf-dist/scripts/pax/pax.jar in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to texmf-dist/source/latex/pax/build/pax/Constants.class: binary file contents changed
> dpkg-source: error: add texmf-dist/source/latex/pax/build/pax/Constants.class in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to texmf-dist/source/latex/pax/build/pax/Entry.class: binary file contents changed
> dpkg-source: error: add texmf-dist/source/latex/pax/build/pax/Entry.class in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to texmf-dist/source/latex/pax/build/pax/EntryWriteException.class: binary file contents changed
> dpkg-source: error: add texmf-dist/source/latex/pax/build/pax/EntryWriteException.class in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to texmf-dist/source/latex/pax/build/pax/PDFAnnotExtractor.class: binary file contents changed
> dpkg-source: error: add texmf-dist/source/latex/pax/build/pax/PDFAnnotExtractor.class in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to texmf-dist/source/latex/pax/build/pax/StringVisitor.class: binary file contents changed
> dpkg-source: error: add texmf-dist/source/latex/pax/build/pax/StringVisitor.class in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> 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/texlive-extra_2022.20230122-4_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.


Reply to: