[Debian-astro-maintainers] Bug#1043820: adql: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 14:17:53 BST 2023


Source: adql
Version: 1.5-2
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 adql
> dpkg-buildpackage: info: source version 1.5-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Ole Streicher <olebole at debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --with javahelper
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ant -f buildADQL.xml -DPOSTGRES=/usr/share/java/postgresql.jar -DJUNIT-API=/usr/share/java/junit4.jar clean
> Buildfile: /<<PKGBUILDDIR>>/buildADQL.xml
>      [echo] ADQL LIBRARY VERSION = 1.3
> 
> clean:
>    [delete] Deleting: /<<PKGBUILDDIR>>/adql.jar
>    [delete] Deleting: /<<PKGBUILDDIR>>/adqlParser_1.3.jar
>   [symlink] Removing symlink: adqlParser.jar
> 
> BUILD SUCCESSFUL
> Total time: 0 seconds
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    jh_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building adql using existing ./adql_1.5.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file src/adql/parser/TokenMgrError.java, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/adql/parser/SimpleCharStream.java, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/adql/parser/Token.java, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/adql/parser/ADQLParser.java, use --include-removal to override
> dpkg-source: warning: file adql-1.5/javadoc/adql/member-search-index.js has no final newline (either original or modified version)
> dpkg-source: warning: file adql-1.5/javadoc/adql/module-search-index.js has no final newline (either original or modified version)
> dpkg-source: warning: file adql-1.5/javadoc/adql/package-search-index.js has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to javadoc/adql/resources/glass.png: binary file contents changed
> dpkg-source: error: add javadoc/adql/resources/glass.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to javadoc/adql/resources/x.png: binary file contents changed
> dpkg-source: error: add javadoc/adql/resources/x.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file adql-1.5/javadoc/adql/script-dir/jquery-ui.min.css has no final newline (either original or modified version)
> dpkg-source: warning: file adql-1.5/javadoc/adql/script-dir/jquery-ui.min.js has no final newline (either original or modified version)
> dpkg-source: warning: file adql-1.5/javadoc/adql/tag-search-index.js has no final newline (either original or modified version)
> dpkg-source: warning: file adql-1.5/javadoc/adql/type-search-index.js has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to testClasses/adql/db/TestDBChecker$1.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/db/TestDBChecker$1.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 testClasses/adql/db/TestDBChecker$UDFToto.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/db/TestDBChecker$UDFToto.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 testClasses/adql/db/TestDBChecker$WrongUDFToto.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/db/TestDBChecker$WrongUDFToto.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 testClasses/adql/db/TestDBChecker.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/db/TestDBChecker.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 testClasses/adql/db/TestFunctionDef$1.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/db/TestFunctionDef$1.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 testClasses/adql/db/TestFunctionDef.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/db/TestFunctionDef.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 testClasses/adql/db/TestSTCS.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/db/TestSTCS.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 testClasses/adql/parser/TestADQLParser.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/parser/TestADQLParser.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 testClasses/adql/parser/TestIdentifierItem.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/parser/TestIdentifierItem.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 testClasses/adql/parser/TestUnknownTypes.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/parser/TestUnknownTypes.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 testClasses/adql/query/TestADQLObjectPosition$1.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/query/TestADQLObjectPosition$1.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 testClasses/adql/query/TestADQLObjectPosition.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/query/TestADQLObjectPosition.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 testClasses/adql/query/TestADQLQuery$1.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/query/TestADQLQuery$1.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 testClasses/adql/query/TestADQLQuery.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/query/TestADQLQuery.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 testClasses/adql/query/TestIdentifierField.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/query/TestIdentifierField.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 testClasses/adql/query/constraint/TestIN$1.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/query/constraint/TestIN$1.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 testClasses/adql/query/constraint/TestIN.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/query/constraint/TestIN.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 testClasses/adql/query/from/TestCrossJoin.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/query/from/TestCrossJoin.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 testClasses/adql/query/from/TestInnerJoin.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/query/from/TestInnerJoin.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 testClasses/adql/query/from/TestSQLServer_InnerJoin.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/query/from/TestSQLServer_InnerJoin.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 testClasses/adql/query/operand/function/geometry/TestCentroidFunction.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/query/operand/function/geometry/TestCentroidFunction.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 testClasses/adql/search/TestSimpleReplaceHandler$1.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/search/TestSimpleReplaceHandler$1.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 testClasses/adql/search/TestSimpleReplaceHandler$2.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/search/TestSimpleReplaceHandler$2.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 testClasses/adql/search/TestSimpleReplaceHandler.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/search/TestSimpleReplaceHandler.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 testClasses/adql/translator/TestJDBCTranslator$AJDBCTranslator.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/translator/TestJDBCTranslator$AJDBCTranslator.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 testClasses/adql/translator/TestJDBCTranslator.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/translator/TestJDBCTranslator.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 testClasses/adql/translator/TestMySQLTranslator.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/translator/TestMySQLTranslator.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 testClasses/adql/translator/TestPgSphereTranslator.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/translator/TestPgSphereTranslator.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 testClasses/adql/translator/TestPostgreSQLTranslator$1.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/translator/TestPostgreSQLTranslator$1.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 testClasses/adql/translator/TestPostgreSQLTranslator.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/translator/TestPostgreSQLTranslator.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 testClasses/adql/translator/TestSQLServerTranslator.class: binary file contents changed
> dpkg-source: error: add testClasses/adql/translator/TestSQLServerTranslator.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 29
> 
> 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/adql_1.5-2_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 Debian-astro-maintainers mailing list