Source: elasticache
Version: 1.6.00-1
Severity: serious
Justification: fails to build from source

Current pbuilder changed the build environment to use a nonexistant
$HOME directory. Neither the build process nor the build tools should
have to access $HOME during the build. Also the (non-)existence of
something in $HOME must not influence the build process.

elasticache FTBFS in such a setup since it tries to 'cd' (with no args)
to the $HOME:

[...]
I: Running cd /build/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" 
HOME="/nonexistent" dpkg-buildpackage -us -uc -rfakeroot
dpkg-buildpackage: source package elasticache
dpkg-buildpackage: source version 1.6.00-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Ben Howard <ben.how...@ubuntu.com>
 dpkg-source --before-build elasticache-1.6.00
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --with_python2
   dh_testdir -O--with_python2
   dh_auto_clean -O--with_python2
        make -j1 clean
make[1]: Entering directory '/build/elasticache-1.6.00'
Makefile:77: warning: overriding recipe for target 'build'
Makefile:42: warning: ignoring old recipe for target 'build'
cd 
/bin/sh: 1: cd: can't cd to /nonexistent
Makefile:80: recipe for target 'clean' failed
make[1]: *** [clean] Error 2
make[1]: Leaving directory '/build/elasticache-1.6.00'
dh_auto_clean: make -j1 clean returned exit code 2
debian/rules:5: recipe for target 'clean' failed
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2


Andreas

Reply via email to