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

Bug#815935: phoronix-test-suite: FTBFS with nonexistent $HOME



Source: phoronix-test-suite
Version: 3.8.0-1
Severity: serious
Tags: wheezy
Justification: fails to build from source

Hi,

phoronix-test-suite/wheezy FTBFS if $HOME does not exist (which is the
new behavior of pbuilder in sid/stretch).


I: Running cd /build/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" HOME="/nonexistent" dpkg-buildpackage -us -uc -rfakeroot
dpkg-buildpackage: source package phoronix-test-suite
dpkg-buildpackage: source version 3.8.0-1
dpkg-buildpackage: source changed by Alessio Treglia <alessio@debian.org>
 dpkg-source --before-build phoronix-test-suite-3.8.0
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b phoronix-test-suite-3.8.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building phoronix-test-suite using existing ./phoronix-test-suite_3.8.0.orig.tar.gz
dpkg-source: info: building phoronix-test-suite in phoronix-test-suite_3.8.0-1.debian.tar.gz
dpkg-source: info: building phoronix-test-suite in phoronix-test-suite_3.8.0-1.dsc
 debian/rules build
dh build
   dh_testdir
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory `/build/phoronix-test-suite-3.8.0'
./phoronix-test-suite dump-documentation

[NOTICE] mkdir(): No such file or directory in pts_file_io.php:28

[NOTICE] DOMDocument::save(/nonexistent/.phoronix-test-suite/user-config.xml): failed to open stream: No such file or directory in nye_XmlWriter.php:100

[NOTICE] file_put_contents(/nonexistent/.phoronix-test-suite/graph-config.json): failed to open stream: No such file or directory in pts_config.php:74

NOTICE: No Network Connectivity


NOTICE: The following PHP extensions are OPTIONAL but recommended:

GD       The PHP GD library is recommended for improved graph rendering.
CURL     PHP CURL is recommended for an enhanced download experience.


[NOTICE] file_put_contents(/nonexistent/.phoronix-test-suite/temp.pt2so): failed to open stream: No such file or directory in pts_storage_object.php:61

[...]

[NOTICE] copy(/nonexistent/.phoronix-test-suite/xsl/pts-user-config-viewer.xsl): failed to open stream: No such file or directory in pts_client.php:497

[NOTICE] copy(/nonexistent/.phoronix-test-suite/xsl/pts-logo.png): failed to open stream: No such file or directory in pts_client.php:498

WARNING: It appears that the Phoronix Test Suite is already running.
         For proper results, only run one instance at a time.


[NOTICE] disk_total_space(): No such file or directory in phodevi_disk.php:258
PHP Fatal error:  Call to a member function read_object() on a non-object in /build/phoronix-test-suite-3.8.0/pts-core/objects/client/pts_client.php on line 1305
make[1]: Leaving directory `/build/phoronix-test-suite-3.8.0'
   dh_auto_test
 fakeroot debian/rules binary
dh binary
   dh_testroot
   dh_prep
   dh_installdirs
   debian/rules override_dh_install
make[1]: Entering directory `/build/phoronix-test-suite-3.8.0'
cp pts-core/static/bash_completion \
                /build/phoronix-test-suite-3.8.0/debian/phoronix-test-suite/etc/bash_completion.d/phoronix-test-suite
cp pts-core/static/images/phoronix-test-suite.png \
                /build/phoronix-test-suite-3.8.0/debian/phoronix-test-suite/usr/share/icons/hicolor/48x48/apps/phoronix-test-suite.png
cp pts-core/static/images/openbenchmarking.png \
                /build/phoronix-test-suite-3.8.0/debian/phoronix-test-suite/usr/share/icons/hicolor/64x64/apps/openbenchmarking.png
cp pts-core/static/phoronix-test-suite.desktop \
                /build/phoronix-test-suite-3.8.0/debian/phoronix-test-suite/usr/share/applications/
rm -f /build/phoronix-test-suite-3.8.0/debian/phoronix-test-suite/usr/share/phoronix-test-suite/pts/etc/scripts/package-build-*
cp -r pts-core/ /build/phoronix-test-suite-3.8.0/debian/phoronix-test-suite/usr/share/phoronix-test-suite/
rm -f ESTDIRNSTALL_PREFIX/share/phoronix-test-suite/pts-core/static/phoronix-test-suite.desktop
sed 's:PTS_DIR=`pwd`:PTS_DIR='/usr\/share\/phoronix-test-suite':g' phoronix-test-suite \
            > /build/phoronix-test-suite-3.8.0/debian/phoronix-test-suite/usr/bin/phoronix-test-suite
make[1]: Leaving directory `/build/phoronix-test-suite-3.8.0'
   dh_installdocs
cp: cannot stat `documentation/phoronix-test-suite.pdf': No such file or directory
dh_installdocs: cp -a documentation/phoronix-test-suite.pdf debian/phoronix-test-suite/usr/share/doc/phoronix-test-suite returned exit code 1
make: *** [binary] Error 2


Reply to: