Bug#884208: dewalls FTBFS with nonexisting $HOME

2017-12-12 Thread Wookey
On 2017-12-12 19:23 +0200, Adrian Bunk wrote:
> Source: dewalls
> Version: 1.0.0+ds1-1
> Severity: serious
> 
> https://buildd.debian.org/status/package.php?p=dewalls=sid

Yes. I noticed that. It uses qbs and it seems that it writes to a
config directory in $HOME/.config/QtProject/qbs by default. (And I
forgot to check an sbuild build in a clean no-home chroot).

There is a --settings-dir option to override this, although it has to
be set on all the qbs and qbs-config commands, which is a bit tedious.

I could override $HOME to make it work, but I guess that is poor form
in builds as it's supposed to be set to non-existant to catch this
sort of breakage.

Confirmed that --settings-dir works with all prvious config cleaned out. 

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/


signature.asc
Description: PGP signature


Bug#884208: dewalls FTBFS with nonexisting $HOME

2017-12-12 Thread Adrian Bunk
Source: dewalls
Version: 1.0.0+ds1-1
Severity: serious

https://buildd.debian.org/status/package.php?p=dewalls=sid

...
dh build-arch 
   dh_update_autotools_config -a
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<>/dewalls-1.0.0+ds1'
qbs-setup-toolchains --detect
Trying to detect gcc...
Profile 'gcc' created for '/usr/bin/gcc'.
Trying to detect clang...
clang not found.
Making profile 'gcc' the default.
QT_SELECT=5 qbs-setup-qt /usr/bin/qmake default
Creating profile 'default'.
Setting up Qt profile 'default' failed: Cannot create directory 
'/sbuild-nonexistent/.config/QtProject/qbs/1.8.1/profiles/default/modules/Qt'.
debian/rules:24: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 1