Bug#1044475: eclipse-jdt-ui: Fails to build source after successful build

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


Source: eclipse-jdt-ui
Version: 4.26-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 eclipse-jdt-ui
> dpkg-buildpackage: info: source version 4.26-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Emmanuel Bourg <ebourg at apache.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --buildsystem=eclipse_bundles
>    dh_auto_clean -O--buildsystem=eclipse_bundles
> 	rm -Rf debian/bundles.properties
> 	rm -Rf /org.eclipse.jdt.astview/target
> 	rm -Rf /org.eclipse.jdt.core.manipulation/target
> 	rm -Rf /org.eclipse.jdt.junit.core/target
> 	rm -Rf /org.eclipse.jdt.junit.runtime/target
> 	rm -Rf /org.eclipse.jdt.junit4.runtime/target
> 	rm -Rf /org.eclipse.jdt.ui/target
> 	rm -Rf /org.eclipse.ltk.core.refactoring/target
> 	rm -Rf /org.eclipse.ltk.ui.refactoring/target
> 	mh_clean
>    dh_autoreconf_clean -O--buildsystem=eclipse_bundles
>    dh_clean -O--buildsystem=eclipse_bundles
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building eclipse-jdt-ui using existing ./eclipse-jdt-ui_4.26.orig.tar.xz
> dpkg-source: warning: ignoring deletion of file org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/InlineTempTests.java.orig, use --include-removal to override
> dpkg-source: warning: file eclipse-jdt-ui-4.26/org.eclipse.jdt.astview/target/classes/about.html has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to org.eclipse.jdt.astview/target/classes/icons/d/add.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/add.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 org.eclipse.jdt.astview/target/classes/icons/d/add at 2x.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/add at 2x.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 org.eclipse.jdt.astview/target/classes/icons/d/clear.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/clear.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 org.eclipse.jdt.astview/target/classes/icons/d/clear at 2x.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/clear at 2x.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 org.eclipse.jdt.astview/target/classes/icons/d/collapseall.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/collapseall.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 org.eclipse.jdt.astview/target/classes/icons/d/collapseall at 2x.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/collapseall at 2x.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 org.eclipse.jdt.astview/target/classes/icons/d/expandall.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/expandall.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 org.eclipse.jdt.astview/target/classes/icons/d/expandall at 2x.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/expandall at 2x.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 org.eclipse.jdt.astview/target/classes/icons/d/refresh.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/refresh.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 org.eclipse.jdt.astview/target/classes/icons/d/refresh at 2x.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/refresh at 2x.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 org.eclipse.jdt.astview/target/classes/icons/d/setfocus.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/setfocus.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 org.eclipse.jdt.astview/target/classes/icons/d/setfocus at 2x.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/setfocus at 2x.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 org.eclipse.jdt.astview/target/classes/icons/d/synced.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/synced.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 org.eclipse.jdt.astview/target/classes/icons/d/synced at 2x.png: binary file contents changed
> dpkg-source: error: add org.eclipse.jdt.astview/target/classes/icons/d/synced at 2x.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 org.eclipse.jdt.astview/target/classes/icons/e/add.png: binary file contents changed
> [...]
> dpkg-source: warning: file eclipse-jdt-ui-4.26/org.eclipse.ltk.ui.refactoring/target/sources/org/eclipse/ltk/ui/refactoring/history/ISortableRefactoringHistoryControl.java has no final newline (either original or modified version)
> dpkg-source: warning: file eclipse-jdt-ui-4.26/org.eclipse.ltk.ui.refactoring/target/sources/org/eclipse/ltk/ui/refactoring/model/RefactoringSynchronizationActionProvider.java has no final newline (either original or modified version)
> dpkg-source: warning: file eclipse-jdt-ui-4.26/org.eclipse.ltk.ui.refactoring/target/sources/org/eclipse/ltk/ui/refactoring/resource/MoveResourcesWizard.java has no final newline (either original or modified version)
> dpkg-source: warning: file eclipse-jdt-ui-4.26/org.eclipse.ltk.ui.refactoring/target/sources/org/eclipse/ltk/ui/refactoring/resource/RenameResourceWizard.java has no final newline (either original or modified version)
> 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/eclipse-jdt-ui_4.26-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-java-maintainers mailing list