Source: simple-image-filter
Version: 1.1.2-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
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 simple-image-filter
> dpkg-buildpackage: info: source version 1.1.2-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Lu YaNing <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cd src/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile 
> /<<PKGBUILDDIR>>/src/src.pro 'QMAKE_CFLAGS_RELEASE=-g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 
> 'QMAKE_CFLAGS_DEBUG=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_RELEASE=-g -O2 
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 
> 'QMAKE_CXXFLAGS_DEBUG=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
> -D_FORTIFY_SOURCE=2' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,-z,now' 
> 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro 
> -Wl,-z,now' QMAKE_STRIP=: PREFIX=/usr DEFINES+=VERSION=1.1.2 ) && make -f 
> Makefile distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f qrc_qrc.cpp
> rm -f moc_predefs.h
> rm -f moc_mainwidget.cpp moc_application.cpp moc_statusbarwidget.cpp 
> moc_pushbutton.cpp moc_imagethread.cpp moc_imageview.cpp moc_menu.cpp 
> moc_openimagebutton.cpp moc_scaledialog.cpp moc_dialog.cpp moc_combox.cpp 
> moc_lineedit.cpp moc_label.cpp moc_spinbox.cpp moc_transparencywidget.cpp 
> moc_toolbutton.cpp moc_shortcut.cpp moc_helpwidget.cpp
> rm -f ui_mainwidget.h ui_scaledialog.h ui_transparencywidget.h ui_helpwidget.h
> rm -f main.o mainwidget.o application.o statusbarwidget.o pushbutton.o 
> imagethread.o imageview.o imageapi.o menu.o openimagebutton.o scaledialog.o 
> dialog.o combox.o lineedit.o label.o spinbox.o transparencywidget.o 
> toolbutton.o shortcut.o helpwidget.o qrc_qrc.o moc_mainwidget.o 
> moc_application.o moc_statusbarwidget.o moc_pushbutton.o moc_imagethread.o 
> moc_imageview.o moc_menu.o moc_openimagebutton.o moc_scaledialog.o 
> moc_dialog.o moc_combox.o moc_lineedit.o moc_label.o moc_spinbox.o 
> moc_transparencywidget.o moc_toolbutton.o moc_shortcut.o moc_helpwidget.o
> rm -f *~ core *.core
> rm -f simple-image-filter 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> rm -f Makefile
> rm -f .qmake.stash
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building simple-image-filter using existing 
> ./simple-image-filter_1.1.2.orig.tar.gz
> dpkg-source: error: cannot represent change to 
> src/translations/simple-image-filter_zh_CN.qm: binary file contents changed
> dpkg-source: error: add src/translations/simple-image-filter_zh_CN.qm 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/simple-image-filter_1.1.2-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.

Reply via email to