#1046406 polyphone: Fails to build source after build due to qmake leaving files around

#1046406#5
Date:
2023-08-13 19:21:07 UTC
From:
To:
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:
The full build log is available from:
http://qa-logs.debian.net/2023/08/13/polyphone_2.2.0.20210109+dfsg1-3_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.

#1046406#10
Date:
2023-08-14 09:34:48 UTC
From:
To:
retitle 1046406 polyphone: Fails to build source after build due to qmake leaving files around
thanks

Lucas Nussbaum dixit:

AIUI the only reason this fails is due to the presence of the file
sources/qmake_qmake_qm_files.qrc under the top-level source directory
after the build, correct?

This file does not exist in the source tarball, so this is something
generated by qmake. It should follow that, logically, it’s also qmake’s
job to clean it up on debian/rules clean, right?

There does not seem¹ to be a corresponding bugreport in qmake yet.
Dear qmake maintainers, should I reassign this one or what would
you prefer?

① https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=qt5-qmake;dist=unstable

Thanks,
//mirabilos

#1046406#17
Date:
2023-08-14 10:06:15 UTC
From:
To:
qmake is dead and if this is a bug in qmake and not in the scripts in
polyphone, it will not be fixed. Feel free to work around it.

/Sune