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

Bug#925122: qtbase-opensource-src-gles: fails to clean after build



Source: qtbase-opensource-src-gles
Version: 5.11.3+dfsg-1
Severity: important

Hi,

qtbase-opensource-src-gles (and qtbase-opensource-src) fail to build
twice in a row. The first build succeeds, but the subsequent
'fakeroot debian/rules clean' fails with

[...]
make[3]: Entering directory '/build/qtbase-opensource-src-gles-5.11.3+dfsg/tests'
cd auto/ && ( test -e Makefile || /build/qtbase-opensource-src-gles-5.11.3+dfsg/bin/qmake -o Makefile /build/qtbase-opensource-src-gles-5.11.3+dfsg/tests/auto/auto.pro ) && /usr/bin/make -f Makefile distclean
Project ERROR: QtDBus is enabled but session bus is not available. Please check the installation.
make[3]: *** [Makefile:55: sub-auto-distclean] Error 3
make[3]: Leaving directory '/build/qtbase-opensource-src-gles-5.11.3+dfsg/tests'
make[2]: *** [Makefile:108: sub-tests-distclean] Error 2
make[2]: Leaving directory '/build/qtbase-opensource-src-gles-5.11.3+dfsg'
make[1]: *** [debian/rules:121: override_dh_auto_clean] Error 2
make[1]: Leaving directory '/build/qtbase-opensource-src-gles-5.11.3+dfsg'
make: *** [debian/rules:65: clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2

See Bug#915625: "dbus-run-session does not work under fakeroot"
https://bugs.debian.org/915625
for some more details on the underlying issue with fakeroot and dbus.

The easiest solution should be to declare
  Rules-Requires-Root: no
if that is safe to do for these packages.

Alternatively generate all Makefiles at build-time, s.t. they are available
during clean (and the dbus interaction has been resolved without fakeroot).


Andreas

Attachment: qtbase-opensource-src-gles_5.11.3+dfsg-1_twice.log.gz
Description: application/gzip


Reply to: