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

Bug#1045693: qtx11extras-opensource-src: Fails to build source after successful build



Source: qtx11extras-opensource-src
Version: 5.15.10-2
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 qtx11extras-opensource-src
> dpkg-buildpackage: info: source version 5.15.10-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Dmitry Shachnev <mitya57@debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --with pkgkde_symbolshelper
>    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 QMAKE_LFLAGS_DEBUG=-Wl,-z,relro QMAKE_STRIP=: 
> PREFIX=/usr ) && make -f Makefile distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> cd x11extras/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/src/x11extras/x11extras.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 QMAKE_LFLAGS_DEBUG=-Wl,-z,relro 
> QMAKE_STRIP=: PREFIX=/usr ) && make -f Makefile distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/x11extras'
> rm -f QtX11Extras.version
> rm -f .moc/moc_predefs.h
> rm -f .obj/qx11info_x11.o
> rm -f *~ core *.core
> rm -f ../../lib/libQt5X11Extras.so.5.15.10 
> rm -f ../../lib/libQt5X11Extras.so ../../lib/libQt5X11Extras.so.5 ../../lib/libQt5X11Extras.so.5.15 ../../lib/libQt5X11Extras.a
> rm -f /<<PKGBUILDDIR>>/include/QtX11Extras/QtX11ExtrasDepends /<<PKGBUILDDIR>>/src/x11extras/qdoc_wrapper.sh /<<PKGBUILDDIR>>/lib/cmake/Qt5X11Extras/Qt5X11ExtrasConfig.cmake /<<PKGBUILDDIR>>/lib/cmake/Qt5X11Extras/Qt5X11ExtrasConfigVersion.cmake ../../lib/libQt5X11Extras.prl ../../lib/libQt5X11Extras.la ../../lib/pkgconfig/Qt5X11Extras.pc
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/x11extras'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> cd tests/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/tests/tests.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 QMAKE_LFLAGS_DEBUG=-Wl,-z,relro QMAKE_STRIP=: 
> PREFIX=/usr ) && make -f Makefile distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/tests'
> cd auto/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/tests/auto/auto.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 QMAKE_LFLAGS_DEBUG=-Wl,-z,relro 
> QMAKE_STRIP=: PREFIX=/usr ) && make -f Makefile distclean
> cd manual/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/tests/manual/manual.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 QMAKE_LFLAGS_DEBUG=-Wl,-z,relro 
> QMAKE_STRIP=: PREFIX=/usr ) && make -f Makefile distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests/auto'
> cd cmake/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/tests/auto/cmake/cmake.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 QMAKE_LFLAGS_DEBUG=-Wl,-z,relro 
> QMAKE_STRIP=: PREFIX=/usr ) && make -f Makefile distclean
> cd qx11info/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/tests/auto/qx11info/qx11info.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 QMAKE_LFLAGS_DEBUG=-Wl,-z,relro 
> QMAKE_STRIP=: PREFIX=/usr ) && make -f Makefile distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests/manual'
> cd peeker/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/tests/manual/peeker/peeker.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 QMAKE_LFLAGS_DEBUG=-Wl,-z,relro 
> QMAKE_STRIP=: PREFIX=/usr ) && make -f Makefile distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/auto/cmake'
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/auto/cmake'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/auto/qx11info'
> rm -f .moc/moc_predefs.h
> rm -f .moc/tst_qx11info.moc
> rm -f .obj/tst_qx11info.o
> rm -f *~ core *.core
> make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/manual/peeker'
> rm -f .moc/moc_predefs.h
> rm -f tst_qx11info 
> rm -f .obj/main.o
> rm -f /<<PKGBUILDDIR>>/tests/auto/qx11info/target_wrapper.sh
> rm -f *~ core *.core
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/auto/qx11info'
> rm -f Makefile
> rm -f peeker 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/auto'
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/manual/peeker'
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/manual'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> rm -f Makefile
> rm -f .qmake.cache config.cache config.log mkspecs/modules/*.pri mkspecs/modules-inst/*.pri .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 qtx11extras-opensource-src using existing ./qtx11extras-opensource-src_5.15.10.orig.tar.xz
> dpkg-source: error: cannot represent change to doc/qtx11extras.qch: binary file contents changed
> dpkg-source: error: add doc/qtx11extras.qch in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to doc/qtx11extras/images/arrow_bc.png: binary file contents changed
> dpkg-source: error: add doc/qtx11extras/images/arrow_bc.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 doc/qtx11extras/images/bgrContent.png: binary file contents changed
> dpkg-source: error: add doc/qtx11extras/images/bgrContent.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 doc/qtx11extras/images/btn_next.png: binary file contents changed
> dpkg-source: error: add doc/qtx11extras/images/btn_next.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 doc/qtx11extras/images/btn_prev.png: binary file contents changed
> dpkg-source: error: add doc/qtx11extras/images/btn_prev.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 doc/qtx11extras/images/bullet_dn.png: binary file contents changed
> dpkg-source: error: add doc/qtx11extras/images/bullet_dn.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 doc/qtx11extras/images/bullet_sq.png: binary file contents changed
> dpkg-source: error: add doc/qtx11extras/images/bullet_sq.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 doc/qtx11extras/images/home.png: binary file contents changed
> dpkg-source: error: add doc/qtx11extras/images/home.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 doc/qtx11extras/images/ico_note.png: binary file contents changed
> dpkg-source: error: add doc/qtx11extras/images/ico_note.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 doc/qtx11extras/images/ico_note_attention.png: binary file contents changed
> dpkg-source: error: add doc/qtx11extras/images/ico_note_attention.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 doc/qtx11extras/images/ico_out.png: binary file contents changed
> dpkg-source: error: add doc/qtx11extras/images/ico_out.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 doc/qtx11extras/images/logo.png: binary file contents changed
> dpkg-source: error: add doc/qtx11extras/images/logo.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: file qtx11extras-opensource-src-5.15.10/doc/qtx11extras/qtx11extras.qhp.sha1 has no final newline (either original or modified version)
> dpkg-source: warning: newly created empty file 'src/x11extras/codeattributions.qdoc' 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/qtx11extras-opensource-src_5.15.10-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.


Reply to: