Bug#1048239: sonic-pi: Fails to build source after successful build
Source: sonic-pi
Version: 3.2.2~repack-8
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 sonic-pi
> dpkg-buildpackage: info: source version 3.2.2~repack-8
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Valentin Vidic <vvidic@debian.org>
> dpkg-source --before-build .
> debian/rules clean
> dh clean --buildsystem=cmake --sourcedirectory=app/gui/qt --builddirectory=app/gui/qt
> dh_auto_clean -O--buildsystem=cmake -O--sourcedirectory=app/gui/qt -O--builddirectory=app/gui/qt
> cd app/gui/qt && make -j8 clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>/app/gui/qt'
> make -f CMakeFiles/Makefile2 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/app/gui/qt'
> make -f CMakeFiles/sonic-pi.dir/build.make CMakeFiles/sonic-pi.dir/clean
> make -f CMakeFiles/sonic-pi_autogen.dir/build.make CMakeFiles/sonic-pi_autogen.dir/clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/app/gui/qt'
> /usr/bin/cmake -P CMakeFiles/sonic-pi_autogen.dir/cmake_clean.cmake
> make[3]: Entering directory '/<<PKGBUILDDIR>>/app/gui/qt'
> /usr/bin/cmake -P CMakeFiles/sonic-pi.dir/cmake_clean.cmake
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/app/gui/qt'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/app/gui/qt'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/app/gui/qt'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/app/gui/qt'
> dh_autoreconf_clean -O--buildsystem=cmake -O--sourcedirectory=app/gui/qt -O--builddirectory=app/gui/qt
> debian/rules override_dh_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> if [ -e app/gui/qt/Makefile ]; then \
> make -C app/gui/qt/Makefile clean; \
> fi ;
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make[2]: *** app/gui/qt/Makefile: Not a directory. Stop.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [debian/rules:38: override_dh_clean] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:10: clean] Error 2
> dpkg-buildpackage: error: debian/rules clean 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/sonic-pi_3.2.2~repack-8_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: