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

Bug#1047185: libaccounts-qt: Fails to build source after successful build



Source: libaccounts-qt
Version: 1.16-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 libaccounts-qt
> dpkg-buildpackage: info: source version 1.16-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Pino Toscano <pino@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean -- cleandocs
> 	make -j8 distclean cleandocs
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Makefile:329: warning: overriding recipe for target 'dist'
> Makefile:300: warning: ignoring old recipe for target 'dist'
> rm -r -f doc/html; rm -r -f doc/qch; rm -r -f doc/accounts.tags;
> cd Accounts/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/Accounts/Accounts.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 LIBDIR=/usr/lib/x86_64-linux-gnu ) && make -f Makefile distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/Accounts'
> rm -f .moc/moc_predefs.h
> rm -f .moc/moc_manager.cpp .moc/moc_account.cpp .moc/moc_account-service.cpp
> rm -f .obj/manager.o .obj/account.o .obj/account-service.o .obj/application.o .obj/auth-data.o .obj/error.o .obj/provider.o .obj/service.o .obj/service-type.o .obj/utils.o .obj/moc_manager.o .obj/moc_account.o .obj/moc_account-service.o
> rm -f accounts-qt5.pc
> rm -f *~ core *.core
> rm -f libaccounts-qt5.so.1.4.0 
> rm -f libaccounts-qt5.so libaccounts-qt5.so.1 libaccounts-qt5.so.1.4 libaccounts-qt5.a
> rm -f /<<PKGBUILDDIR>>/Accounts/accounts-qt5.pc /<<PKGBUILDDIR>>/Accounts/AccountsQt5Config.cmake /<<PKGBUILDDIR>>/Accounts/AccountsQt5ConfigVersion.cmake
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/Accounts'
> 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 LIBDIR=/usr/lib/x86_64-linux-gnu ) && make -f Makefile distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
> ( test -e Makefile.tst_libaccounts || /usr/lib/qt5/bin/qmake -o Makefile.tst_libaccounts /<<PKGBUILDDIR>>/tests/tst_libaccounts.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 LIBDIR=/usr/lib/x86_64-linux-gnu ) && make -f Makefile.tst_libaccounts distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/tests'
> rm -f .moc/moc_predefs.h
> rm -f .moc/tst_libaccounts.moc
> rm -f .obj/tst_libaccounts.o
> rm -f *~ core *.core
> rm -f accountstest 
> rm -f Makefile.tst_libaccounts
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> rm -f Makefile
> rm -f .qmake.stash
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building libaccounts-qt using existing ./libaccounts-qt_1.16.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: local changes detected, the modified files are:
>  libaccounts-qt-1.16/doc/accounts-qt.tags
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/libaccounts-qt_1.16-2.diff.Pu7lmt
> dpkg-source: info: Hint: make sure the version in debian/changelog matches the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> 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/libaccounts-qt_1.16-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: