ceph / calamari

Web-based monitoring and management for Ceph
Other
349 stars 178 forks source link

Make calamari-clients package on debian wheezy fails #264

Closed rahs closed 9 years ago

rahs commented 9 years ago
root@orca:~/calamari# git clone https://github.com/ceph/calamari-clients.git
Cloning into 'calamari-clients'...
remote: Counting objects: 16650, done.
remote: Total 16650 (delta 0), reused 0 (delta 0), pack-reused 16650
Receiving objects: 100% (16650/16650), 28.92 MiB | 7.33 MiB/s, done.
Resolving deltas: 100% (9743/9743), done.
root@orca:~/calamari# cd calamari-clients/vagrant/wheezy-package/
root@orca:~/calamari/calamari-clients/vagrant/wheezy-package# vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'wheezy64'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: wheezy-package_default_1425279390286_26415
==> default: Clearing any previously set forwarded ports...
==> default: Fixed port collision for 22 => 2206. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==> default: Forwarding ports...
    default: 22 => 2200 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2200
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Mounting shared folders...
    default: /git => /root/calamari
    default: /vagrant => /root/calamari/calamari-clients/vagrant/wheezy-package
    default: /srv/salt => /root/calamari/calamari-clients/vagrant/salt/roots
==> default: Running provisioner: salt...
Copying salt minion config to vm.
Checking if salt-minion is installed
salt-minion was not found.
Checking if salt-call is installed
salt-call was not found.
Bootstrapping Salt... (this may take a while)
Salt successfully configured and installed!
run_overstate set to false. Not running state.overstate.
run_highstate set to false. Not running state.highstate.
root@orca:~/calamari/calamari-clients/vagrant/wheezy-package# vagrant ssh
sudo salt-call state.highstateLinux debian-7 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
You have mail.
Last login: Sun Oct 20 04:50:52 2013 from 10.0.2.2
vagrant@debian-7:~$ sudo salt-call state.highstate
[INFO    ] Loading fresh modules for state activity
[INFO    ] Fetching file from saltenv 'base', ** done ** 'top.sls'
[INFO    ] Creating module dir '/var/cache/salt/minion/extmods/modules'
[INFO    ] Syncing modules for environment 'base'
[INFO    ] Loading cache from salt://_modules, for base)
[INFO    ] Caching directory '_modules/' for environment 'base'
[INFO    ] Creating module dir '/var/cache/salt/minion/extmods/states'
[INFO    ] Syncing states for environment 'base'
[INFO    ] Loading cache from salt://_states, for base)
[INFO    ] Caching directory '_states/' for environment 'base'
[INFO    ] Creating module dir '/var/cache/salt/minion/extmods/grains'
[INFO    ] Syncing grains for environment 'base'
[INFO    ] Loading cache from salt://_grains, for base)
[INFO    ] Caching directory '_grains/' for environment 'base'
[INFO    ] Creating module dir '/var/cache/salt/minion/extmods/renderers'
[INFO    ] Syncing renderers for environment 'base'
[INFO    ] Loading cache from salt://_renderers, for base)
[INFO    ] Caching directory '_renderers/' for environment 'base'
[INFO    ] Creating module dir '/var/cache/salt/minion/extmods/returners'
[INFO    ] Syncing returners for environment 'base'
[INFO    ] Loading cache from salt://_returners, for base)
[INFO    ] Caching directory '_returners/' for environment 'base'
[INFO    ] Creating module dir '/var/cache/salt/minion/extmods/outputters'
[INFO    ] Syncing outputters for environment 'base'
[INFO    ] Loading cache from salt://_outputters, for base)
[INFO    ] Caching directory '_outputters/' for environment 'base'
[INFO    ] Creating module dir '/var/cache/salt/minion/extmods/utils'
[INFO    ] Syncing utils for environment 'base'
[INFO    ] Loading cache from salt://_utils, for base)
[INFO    ] Caching directory '_utils/' for environment 'base'
[INFO    ] Loading fresh modules for state activity
[INFO    ] Fetching file from saltenv 'base', ** done ** 'deb_repackage_deps.sls'
[INFO    ] Fetching file from saltenv 'base', ** done ** 'git_clone.sls'
[INFO    ] Fetching file from saltenv 'base', ** done ** 'setvars'
[INFO    ] Fetching file from saltenv 'base', ** done ** 'copyin_build_product.sls'
[INFO    ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://setvars'
[INFO    ] Fetching file from saltenv 'base', ** done ** 'make_deb.sls'
[INFO    ] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://setvars'
[INFO    ] Running state [deb_repackage_deps] at time 07:01:56.635652
[INFO    ] Executing state pkg.installed for deb_repackage_deps
[INFO    ] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
[INFO    ] Executing command ['apt-cache', '-q', 'policy', 'build-essential'] in directory '/root'
[INFO    ] Executing command ['apt-cache', '-q', 'policy', 'devscripts'] in directory '/root'
[INFO    ] Executing command ['apt-cache', '-q', 'policy', 'git'] in directory '/root'
[INFO    ] Executing command ['apt-cache', '-q', 'policy', 'debhelper'] in directory '/root'
[INFO    ] Executing command 'apt-get -q update' in directory '/root'
[INFO    ] Executing command ['apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'build-essential', 'devscripts', 'git', 'debhelper'] in directory '/root'
[INFO    ] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root'
[INFO    ] Installed Packages:
build-essential changed from absent to 11.5
c++-compiler changed from absent to 1
libparse-debcontrol-perl changed from absent to 2.005-3
libencode-locale-perl changed from absent to 1.03-1
libnet-ssleay-perl changed from absent to 1.48-1+b1
libsys-hostname-long-perl changed from absent to 1.4-2
libxml-sax-expat-perl changed from absent to 0.40-2
libcroco3 changed from absent to 0.6.6-2
libmime-tools-perl changed from absent to 5.503-1
libtie-ixhash-perl changed from absent to 1.21-2
git-man changed from absent to 1:1.7.10.4-1+wheezy1
libmail-sendmail-perl changed from absent to 0.79.16-1
libdata-uuid-perl changed from absent to 1
libconvert-binhex-perl changed from absent to 1.119+pristine-3
libapt-pkg-perl changed from absent to 0.1.26+b1
python2.6-magic changed from absent to 1
debian-maintainers changed from absent to 1
git changed from absent to 1:1.7.10.4-1+wheezy1
liberror-perl changed from absent to 0.17-1
libexporter-lite-perl changed from absent to 0.02-2
libio-pty-perl changed from absent to 1:1.08-1+b2
diffstat changed from absent to 1.55-3
libsocket-perl changed from 1 to 2.002-1
patchutils changed from absent to 0.3.2-1.1
libmime-perl changed from absent to 1
libjson-perl changed from absent to 2.53-1
python-magic changed from absent to 5.11-2+deb7u7
libnet-ip-perl changed from absent to 1.25-3
debian-keyring changed from absent to 2013.04.21
git-core changed from absent to 1
libglib2.0-data changed from absent to 2.33.12+really2.32.4-5
intltool-debian changed from absent to 0.35.0+20060710.1
libunistring0 changed from absent to 0.9.3-5
libipc-run-perl changed from absent to 0.92-1
liburi-perl changed from absent to 1.60-1
mailtools changed from absent to 1
libnet-http-perl changed from absent to 6.03-2
libio-tty-perl changed from absent to 1
python2.7-magic changed from absent to 1
libfcgi-perl changed from absent to 0.74-1+b1
libcurl3-gnutls changed from absent to 7.26.0-1+wheezy12
libfile-listing-perl changed from absent to 6.04-1
libtask-weaken-perl changed from absent to 1.03-1
libdistro-info-perl changed from absent to 0.10
liblwp-mediatypes-perl changed from absent to 6.02-1
libio-stringy-perl changed from absent to 2.110-5
equivs changed from absent to 2.0.9
libsub-name-perl changed from absent to 0.05-1+b2
libxml-namespacesupport-perl changed from absent to 1.09-3
c++abi2-dev changed from absent to 1
wdiff changed from absent to 1.1.2-1
libwww-robotrules-perl changed from absent to 6.01-1
libhtml-template-perl changed from absent to 2.91-1
html2text changed from absent to 1.3.2a-15
libnet-dns-perl changed from absent to 0.66-2+b2
libxml-sax-perl changed from absent to 0.99+dfsg-2
libmailtools-perl changed from absent to 2.09-1
hardening-includes changed from absent to 2.2
g++-4.7 changed from absent to 4.7.2-5
libxml-simple-perl changed from absent to 2.20-1
libglib2.0-0 changed from absent to 2.33.12+really2.32.4-5
shared-mime-info changed from absent to 1.0-1+b1
libasprintf-dev changed from absent to 1
libsoap-lite-perl changed from absent to 0.714-1
libhttp-negotiate-perl changed from absent to 6.00-2
libio-socket-ssl-perl changed from absent to 1.76-2
libfont-afm-perl changed from absent to 1.20-1
libemail-valid-perl changed from absent to 0.190-1
libmail-perl changed from absent to 1
libclone-perl changed from absent to 0.31-1+b2
file changed from 5.11-2 to 5.11-2+deb7u7
lintian changed from absent to 2.5.10.4
libparse-debianchangelog-perl changed from absent to 1.2.0-1
libwww-perl changed from absent to 6.04-1
libclass-accessor-perl changed from absent to 0.34-1
libio-socket-ip-perl changed from absent to 0.16-2
libhttp-date-perl changed from absent to 6.02-1
libdigest-hmac-perl changed from absent to 1.03+dfsg-1
libhttp-daemon-perl changed from absent to 6.01-1
distro-info-data changed from absent to 0.17~deb7u1
gettext changed from absent to 0.18.1.1-9
git-completion changed from absent to 1
libossp-uuid16 changed from absent to 1.6.2-1.3
g++ changed from absent to 4:4.7.2-1
libxml-sax-base-perl changed from absent to 1.07-1
dput changed from absent to 0.9.6.3+nmu2
libhtml-format-perl changed from absent to 2.10-1
libarchive-zip-perl changed from absent to 1.30-6
libossp-uuid-perl changed from absent to 1.6.2-1.3
libmagic1 changed from 5.11-2 to 5.11-2+deb7u7
libhtml-parser-perl changed from absent to 3.69-2
libhttp-message-perl changed from absent to 6.03-1
libcrypt-ssleay-perl changed from absent to 0.58-1
debhelper changed from absent to 9.20120909
libstdc++-dev changed from absent to 1
devscripts changed from absent to 2.12.6+deb7u2
libio-string-perl changed from absent to 1.08-2
libgettextpo0 changed from absent to 0.18.1.1-9
libstdc++6-4.7-dev changed from absent to 4.7.2-5
libhtml-form-perl changed from absent to 6.03-1
libnet-domain-tld-perl changed from absent to 1.69-1
libhttp-cookies-perl changed from absent to 6.00-2
libxml-parser-perl changed from absent to 2.41-1+b1
libclass-inspector-perl changed from absent to 1.27-1
strace changed from absent to 4.5.20-2.3
autopoint changed from absent to 0.18.1.1-9
libhtml-tree-perl changed from absent to 5.02-1
libjson-xs-perl changed from absent to 2.320-1+b1
liblwp-protocol-https-perl changed from absent to 6.03-1
libcommon-sense-perl changed from absent to 3.6-1
libgettextpo-dev changed from absent to 1
libhtml-tagset-perl changed from absent to 3.20-2
po-debconf changed from absent to 1.0.16+nmu2

[INFO    ] Loading fresh modules for state activity
[INFO    ] Completed state [deb_repackage_deps] at time 07:03:49.689232
[INFO    ] Running state [/git/calamari-clients] at time 07:03:49.689627
[INFO    ] Executing state git.latest for /git/calamari-clients
[INFO    ] Executing command "git clone /git/calamari-clients '/home/vagrant/clients' " as user 'vagrant' in directory '/home/vagrant'
[INFO    ] Executing command 'git rev-parse HEAD' as user 'vagrant' in directory '/home/vagrant/clients'
[INFO    ] Repository /git/calamari-clients cloned to /home/vagrant/clients
[INFO    ] {'new': '/git/calamari-clients', 'revision': 'b1fe77cb8cab5b76431b60e592e9a34ad63eae4d'}
[INFO    ] Completed state [/git/calamari-clients] at time 07:03:51.286149
[INFO    ] Running state [cp /git/calamari-clients*tar.gz /home/vagrant/clients] at time 07:03:51.286893
[INFO    ] Executing state cmd.run for cp /git/calamari-clients*tar.gz /home/vagrant/clients
[INFO    ] Executing command 'cp /git/calamari-clients*tar.gz /home/vagrant/clients' as user 'vagrant' in directory '/home/vagrant'
[ERROR   ] Command 'cp /git/calamari-clients*tar.gz /home/vagrant/clients' failed with return code: 1
[ERROR   ] stderr: cp: cannot stat `/git/calamari-clients*tar.gz': No such file or directory
[ERROR   ] retcode: 1
[ERROR   ] {'pid': 13955, 'retcode': 1, 'stderr': "cp: cannot stat `/git/calamari-clients*tar.gz': No such file or directory", 'stdout': ''}
[INFO    ] Completed state [cp /git/calamari-clients*tar.gz /home/vagrant/clients] at time 07:03:51.372284
[INFO    ] Running state [devscripts] at time 07:03:51.372546
[INFO    ] Executing state pkg.installed for devscripts
[INFO    ] Package devscripts is already installed.
[INFO    ] Completed state [devscripts] at time 07:03:51.373585
[INFO    ] Running state [make dpkg] at time 07:03:51.374053
[INFO    ] Executing state cmd.run for make dpkg
[INFO    ] Executing command 'make dpkg' as user 'vagrant' in directory '/home/vagrant/clients'
[ERROR   ] Command 'make dpkg' failed with return code: 2
[ERROR   ] stdout: DEBEMAIL=dan.mick@inktank.com dch \
                --newversion 1.2.2-30-gb1fe77c"" \
                -D unstable --force-bad-version --force-distribution "built on Mon Mar  2 07:03:51 UTC 2015"
# don't require Build-Depends if not Ubuntu
if [ "" = y ] ; then \
                dpkg-buildpackage -b -us -uc ; \
        else \
                dpkg-buildpackage -d -b -us -uc ; \
        fi
dpkg-buildpackage: source package calamari-clients
dpkg-buildpackage: source version 1.2.2-30-gb1fe77c
dpkg-buildpackage: source changed by Vagrant User <dan.mick@inktank.com>
dpkg-buildpackage: host architecture amd64
make[1]: Entering directory `/home/vagrant/clients'
# keep your *(# hands off my venvs
dh clean --without python2 --without python3 --without pycentral --without pysupport
   dh_testdir
   dh_auto_clean
        make -j1 clean
make[2]: Entering directory `/home/vagrant/clients'
if [ "" = y ] ; then \
                make clean-real; \
        fi
make[2]: Leaving directory `/home/vagrant/clients'
   dh_clean
        rm -f debian/calamari-clients.substvars
        rm -f debian/calamari-clients.*.debhelper
        rm -rf debian/calamari-clients/
        rm -f debian/*.debhelper.log
        rm -f debian/files
        find .  \( \( -type f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                \) -exec rm -f {} \; \) -o \
                \( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
        rm -f *-stamp
make[1]: Leaving directory `/home/vagrant/clients'
make[1]: Entering directory `/home/vagrant/clients'
# keep your *(# hands off my venvs
dh build --without python2 --without python3 --without pycentral --without pysupport
   dh_testdir
   dh_auto_configure
   dh_auto_build
        make -j1
make[2]: Entering directory `/home/vagrant/clients'
if [ "" = y ] ; then \
                make build-real; \
        fi
make[2]: Leaving directory `/home/vagrant/clients'
   dh_auto_test
make[1]: Leaving directory `/home/vagrant/clients'
make[1]: Entering directory `/home/vagrant/clients'
# keep your *(# hands off my venvs
dh binary --without python2 --without python3 --without pycentral --without pysupport
   dh_testroot
   dh_prep
        rm -f debian/calamari-clients.substvars
        rm -f debian/calamari-clients.*.debhelper
        rm -rf debian/calamari-clients/
   dh_installdirs
        install -d debian/calamari-clients
   dh_auto_install
        make -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFO_DIR=no
make[2]: Entering directory `/home/vagrant/clients'
if [ "" = y ] ; then \
                make build-real; \
        fi
target: install
install
if [ "" = y ] ; then \
                for d in manage admin login dashboard; do \
                        instdir=$(basename $d); \
                        /usr/bin/install -d /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \
                        cp -rp $d/dist/* /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \
                done; \
        else \
                cd /home/vagrant/clients/debian/calamari-clients; \
                tar xvfz /home/vagrant/clients/calamari-clients-build-output.tar.gz; \
        fi
make[2]: Leaving directory `/home/vagrant/clients'
make[1]: Leaving directory `/home/vagrant/clients'
[ERROR   ] stderr:  dpkg-source --before-build clients
 fakeroot debian/rules clean
 debian/rules build
 fakeroot debian/rules binary
tar (child): /home/vagrant/clients/calamari-clients-build-output.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
make[2]: *** [install] Error 2
dh_auto_install: make -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFO_DIR=no returned exit code 2
make[1]: *** [binary] Error 29
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
make: *** [dpkg] Error 2
[ERROR   ] retcode: 2
[ERROR   ] {'pid': 13960, 'retcode': 2, 'stderr': ' dpkg-source --before-build clients\n fakeroot debian/rules clean\n debian/rules build\n fakeroot debian/rules binary\ntar (child): /home/vagrant/clients/calamari-clients-build-output.tar.gz: Cannot open: No such file or directory\ntar (child): Error is not recoverable: exiting now\ntar: Child returned status 2\ntar: Error is not recoverable: exiting now\nmake[2]: *** [install] Error 2\ndh_auto_install: make -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFO_DIR=no returned exit code 2\nmake[1]: *** [binary] Error 29\ndpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2\nmake: *** [dpkg] Error 2', 'stdout': 'DEBEMAIL=dan.mick@inktank.com dch \\\n\t\t--newversion 1.2.2-30-gb1fe77c"" \\\n\t\t-D unstable --force-bad-version --force-distribution "built on Mon Mar  2 07:03:51 UTC 2015"\n# don\'t require Build-Depends if not Ubuntu\nif [ "" = y ] ; then \\\n\t\tdpkg-buildpackage -b -us -uc ; \\\n\telse \\\n\t\tdpkg-buildpackage -d -b -us -uc ; \\\n\tfi\ndpkg-buildpackage: source package calamari-clients\ndpkg-buildpackage: source version 1.2.2-30-gb1fe77c\ndpkg-buildpackage: source changed by Vagrant User <dan.mick@inktank.com>\ndpkg-buildpackage: host architecture amd64\nmake[1]: Entering directory `/home/vagrant/clients\'\n# keep your *(# hands off my venvs\ndh clean --without python2 --without python3 --without pycentral --without pysupport\n   dh_testdir\n   dh_auto_clean\n\tmake -j1 clean\nmake[2]: Entering directory `/home/vagrant/clients\'\nif [ "" = y ] ; then \\\n\t\tmake clean-real; \\\n\tfi\nmake[2]: Leaving directory `/home/vagrant/clients\'\n   dh_clean\n\trm -f debian/calamari-clients.substvars\n\trm -f debian/calamari-clients.*.debhelper\n\trm -rf debian/calamari-clients/\n\trm -f debian/*.debhelper.log\n\trm -f debian/files\n\tfind .  \\( \\( -type f -a \\\n\t        \\( -name \'#*#\' -o -name \'.*~\' -o -name \'*~\' -o -name DEADJOE \\\n\t\t -o -name \'*.orig\' -o -name \'*.rej\' -o -name \'*.bak\' \\\n\t\t -o -name \'.*.orig\' -o -name .*.rej -o -name \'.SUMS\' \\\n\t\t -o -name TAGS -o \\( -path \'*/.deps/*\' -a -name \'*.P\' \\) \\\n\t\t\\) -exec rm -f {} \\; \\) -o \\\n\t\t\\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \\; \\) \\)\n\trm -f *-stamp\nmake[1]: Leaving directory `/home/vagrant/clients\'\nmake[1]: Entering directory `/home/vagrant/clients\'\n# keep your *(# hands off my venvs\ndh build --without python2 --without python3 --without pycentral --without pysupport\n   dh_testdir\n   dh_auto_configure\n   dh_auto_build\n\tmake -j1\nmake[2]: Entering directory `/home/vagrant/clients\'\nif [ "" = y ] ; then \\\n\t\tmake build-real; \\\n\tfi\nmake[2]: Leaving directory `/home/vagrant/clients\'\n   dh_auto_test\nmake[1]: Leaving directory `/home/vagrant/clients\'\nmake[1]: Entering directory `/home/vagrant/clients\'\n# keep your *(# hands off my venvs\ndh binary --without python2 --without python3 --without pycentral --without pysupport\n   dh_testroot\n   dh_prep\n\trm -f debian/calamari-clients.substvars\n\trm -f debian/calamari-clients.*.debhelper\n\trm -rf debian/calamari-clients/\n   dh_installdirs\n\tinstall -d debian/calamari-clients\n   dh_auto_install\n\tmake -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFO_DIR=no\nmake[2]: Entering directory `/home/vagrant/clients\'\nif [ "" = y ] ; then \\\n\t\tmake build-real; \\\n\tfi\ntarget: install\ninstall\nif [ "" = y ] ; then \\\n\t\tfor d in manage admin login dashboard; do \\\n\t\t\tinstdir=$(basename $d); \\\n\t\t\t/usr/bin/install -d /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \\\n\t\t\tcp -rp $d/dist/* /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \\\n\t\tdone; \\\n\telse \\\n\t\tcd /home/vagrant/clients/debian/calamari-clients; \\\n\t\ttar xvfz /home/vagrant/clients/calamari-clients-build-output.tar.gz; \\\n\tfi\nmake[2]: Leaving directory `/home/vagrant/clients\'\nmake[1]: Leaving directory `/home/vagrant/clients\''}
[INFO    ] Completed state [make dpkg] at time 07:03:52.783471
local:
----------
          ID: deb_repackage_deps
    Function: pkg.installed
      Result: True
     Comment: 4 targeted packages were installed/updated. The following packages were already installed: make.
     Started: 07:01:56.635652
    Duration: 113053.58 ms
     Changes:   
              ----------
              autopoint:
                  ----------
                  new:
                      0.18.1.1-9
                  old:

              build-essential:
                  ----------
                  new:
                      11.5
                  old:

              c++-compiler:
                  ----------
                  new:
                      1
                  old:

              c++abi2-dev:
                  ----------
                  new:
                      1
                  old:

              debhelper:
                  ----------
                  new:
                      9.20120909
                  old:

              debian-keyring:
                  ----------
                  new:
                      2013.04.21
                  old:

              debian-maintainers:
                  ----------
                  new:
                      1
                  old:

              devscripts:
                  ----------
                  new:
                      2.12.6+deb7u2
                  old:

              diffstat:
                  ----------
                  new:
                      1.55-3
                  old:

              distro-info-data:
                  ----------
                  new:
                      0.17~deb7u1
                  old:

              dput:
                  ----------
                  new:
                      0.9.6.3+nmu2
                  old:

              equivs:
                  ----------
                  new:
                      2.0.9
                  old:

              file:
                  ----------
                  new:
                      5.11-2+deb7u7
                  old:
                      5.11-2
              g++:
                  ----------
                  new:
                      4:4.7.2-1
                  old:

              g++-4.7:
                  ----------
                  new:
                      4.7.2-5
                  old:

              gettext:
                  ----------
                  new:
                      0.18.1.1-9
                  old:

              git:
                  ----------
                  new:
                      1:1.7.10.4-1+wheezy1
                  old:

              git-completion:
                  ----------
                  new:
                      1
                  old:

              git-core:
                  ----------
                  new:
                      1
                  old:

              git-man:
                  ----------
                  new:
                      1:1.7.10.4-1+wheezy1
                  old:

              hardening-includes:
                  ----------
                  new:
                      2.2
                  old:

              html2text:
                  ----------
                  new:
                      1.3.2a-15
                  old:

              intltool-debian:
                  ----------
                  new:
                      0.35.0+20060710.1
                  old:

              libapt-pkg-perl:
                  ----------
                  new:
                      0.1.26+b1
                  old:

              libarchive-zip-perl:
                  ----------
                  new:
                      1.30-6
                  old:

              libasprintf-dev:
                  ----------
                  new:
                      1
                  old:

              libclass-accessor-perl:
                  ----------
                  new:
                      0.34-1
                  old:

              libclass-inspector-perl:
                  ----------
                  new:
                      1.27-1
                  old:

              libclone-perl:
                  ----------
                  new:
                      0.31-1+b2
                  old:

              libcommon-sense-perl:
                  ----------
                  new:
                      3.6-1
                  old:

              libconvert-binhex-perl:
                  ----------
                  new:
                      1.119+pristine-3
                  old:

              libcroco3:
                  ----------
                  new:
                      0.6.6-2
                  old:

              libcrypt-ssleay-perl:
                  ----------
                  new:
                      0.58-1
                  old:

              libcurl3-gnutls:
                  ----------
                  new:
                      7.26.0-1+wheezy12
                  old:

              libdata-uuid-perl:
                  ----------
                  new:
                      1
                  old:

              libdigest-hmac-perl:
                  ----------
                  new:
                      1.03+dfsg-1
                  old:

              libdistro-info-perl:
                  ----------
                  new:
                      0.10
                  old:

              libemail-valid-perl:
                  ----------
                  new:
                      0.190-1
                  old:

              libencode-locale-perl:
                  ----------
                  new:
                      1.03-1
                  old:

              liberror-perl:
                  ----------
                  new:
                      0.17-1
                  old:

              libexporter-lite-perl:
                  ----------
                  new:
                      0.02-2
                  old:

              libfcgi-perl:
                  ----------
                  new:
                      0.74-1+b1
                  old:

              libfile-listing-perl:
                  ----------
                  new:
                      6.04-1
                  old:

              libfont-afm-perl:
                  ----------
                  new:
                      1.20-1
                  old:

              libgettextpo-dev:
                  ----------
                  new:
                      1
                  old:

              libgettextpo0:
                  ----------
                  new:
                      0.18.1.1-9
                  old:

              libglib2.0-0:
                  ----------
                  new:
                      2.33.12+really2.32.4-5
                  old:

              libglib2.0-data:
                  ----------
                  new:
                      2.33.12+really2.32.4-5
                  old:

              libhtml-form-perl:
                  ----------
                  new:
                      6.03-1
                  old:

              libhtml-format-perl:
                  ----------
                  new:
                      2.10-1
                  old:

              libhtml-parser-perl:
                  ----------
                  new:
                      3.69-2
                  old:

              libhtml-tagset-perl:
                  ----------
                  new:
                      3.20-2
                  old:

              libhtml-template-perl:
                  ----------
                  new:
                      2.91-1
                  old:

              libhtml-tree-perl:
                  ----------
                  new:
                      5.02-1
                  old:

              libhttp-cookies-perl:
                  ----------
                  new:
                      6.00-2
                  old:

              libhttp-daemon-perl:
                  ----------
                  new:
                      6.01-1
                  old:

              libhttp-date-perl:
                  ----------
                  new:
                      6.02-1
                  old:

              libhttp-message-perl:
                  ----------
                  new:
                      6.03-1
                  old:

              libhttp-negotiate-perl:
                  ----------
                  new:
                      6.00-2
                  old:

              libio-pty-perl:
                  ----------
                  new:
                      1:1.08-1+b2
                  old:

              libio-socket-ip-perl:
                  ----------
                  new:
                      0.16-2
                  old:

              libio-socket-ssl-perl:
                  ----------
                  new:
                      1.76-2
                  old:

              libio-string-perl:
                  ----------
                  new:
                      1.08-2
                  old:

              libio-stringy-perl:
                  ----------
                  new:
                      2.110-5
                  old:

              libio-tty-perl:
                  ----------
                  new:
                      1
                  old:

              libipc-run-perl:
                  ----------
                  new:
                      0.92-1
                  old:

              libjson-perl:
                  ----------
                  new:
                      2.53-1
                  old:

              libjson-xs-perl:
                  ----------
                  new:
                      2.320-1+b1
                  old:

              liblwp-mediatypes-perl:
                  ----------
                  new:
                      6.02-1
                  old:

              liblwp-protocol-https-perl:
                  ----------
                  new:
                      6.03-1
                  old:

              libmagic1:
                  ----------
                  new:
                      5.11-2+deb7u7
                  old:
                      5.11-2
              libmail-perl:
                  ----------
                  new:
                      1
                  old:

              libmail-sendmail-perl:
                  ----------
                  new:
                      0.79.16-1
                  old:

              libmailtools-perl:
                  ----------
                  new:
                      2.09-1
                  old:

              libmime-perl:
                  ----------
                  new:
                      1
                  old:

              libmime-tools-perl:
                  ----------
                  new:
                      5.503-1
                  old:

              libnet-dns-perl:
                  ----------
                  new:
                      0.66-2+b2
                  old:

              libnet-domain-tld-perl:
                  ----------
                  new:
                      1.69-1
                  old:

              libnet-http-perl:
                  ----------
                  new:
                      6.03-2
                  old:

              libnet-ip-perl:
                  ----------
                  new:
                      1.25-3
                  old:

              libnet-ssleay-perl:
                  ----------
                  new:
                      1.48-1+b1
                  old:

              libossp-uuid-perl:
                  ----------
                  new:
                      1.6.2-1.3
                  old:

              libossp-uuid16:
                  ----------
                  new:
                      1.6.2-1.3
                  old:

              libparse-debcontrol-perl:
                  ----------
                  new:
                      2.005-3
                  old:

              libparse-debianchangelog-perl:
                  ----------
                  new:
                      1.2.0-1
                  old:

              libsoap-lite-perl:
                  ----------
                  new:
                      0.714-1
                  old:

              libsocket-perl:
                  ----------
                  new:
                      2.002-1
                  old:
                      1
              libstdc++-dev:
                  ----------
                  new:
                      1
                  old:

              libstdc++6-4.7-dev:
                  ----------
                  new:
                      4.7.2-5
                  old:

              libsub-name-perl:
                  ----------
                  new:
                      0.05-1+b2
                  old:

              libsys-hostname-long-perl:
                  ----------
                  new:
                      1.4-2
                  old:

              libtask-weaken-perl:
                  ----------
                  new:
                      1.03-1
                  old:

              libtie-ixhash-perl:
                  ----------
                  new:
                      1.21-2
                  old:

              libunistring0:
                  ----------
                  new:
                      0.9.3-5
                  old:

              liburi-perl:
                  ----------
                  new:
                      1.60-1
                  old:

              libwww-perl:
                  ----------
                  new:
                      6.04-1
                  old:

              libwww-robotrules-perl:
                  ----------
                  new:
                      6.01-1
                  old:

              libxml-namespacesupport-perl:
                  ----------
                  new:
                      1.09-3
                  old:

              libxml-parser-perl:
                  ----------
                  new:
                      2.41-1+b1
                  old:

              libxml-sax-base-perl:
                  ----------
                  new:
                      1.07-1
                  old:

              libxml-sax-expat-perl:
                  ----------
                  new:
                      0.40-2
                  old:

              libxml-sax-perl:
                  ----------
                  new:
                      0.99+dfsg-2
                  old:

              libxml-simple-perl:
                  ----------
                  new:
                      2.20-1
                  old:

              lintian:
                  ----------
                  new:
                      2.5.10.4
                  old:

              mailtools:
                  ----------
                  new:
                      1
                  old:

              patchutils:
                  ----------
                  new:
                      0.3.2-1.1
                  old:

              po-debconf:
                  ----------
                  new:
                      1.0.16+nmu2
                  old:

              python-magic:
                  ----------
                  new:
                      5.11-2+deb7u7
                  old:

              python2.6-magic:
                  ----------
                  new:
                      1
                  old:

              python2.7-magic:
                  ----------
                  new:
                      1
                  old:

              shared-mime-info:
                  ----------
                  new:
                      1.0-1+b1
                  old:

              strace:
                  ----------
                  new:
                      4.5.20-2.3
                  old:

              wdiff:
                  ----------
                  new:
                      1.1.2-1
                  old:

----------
          ID: git_clone
    Function: git.latest
        Name: /git/calamari-clients
      Result: True
     Comment: Repository /git/calamari-clients cloned to /home/vagrant/clients
     Started: 07:03:49.689627
    Duration: 1596.522 ms
     Changes:   
              ----------
              new:
                  /git/calamari-clients
              revision:
                  b1fe77cb8cab5b76431b60e592e9a34ad63eae4d
----------
          ID: copyin_build_product
    Function: cmd.run
        Name: cp /git/calamari-clients*tar.gz /home/vagrant/clients
      Result: False
     Comment: Command "cp /git/calamari-clients*tar.gz /home/vagrant/clients" run
     Started: 07:03:51.286893
    Duration: 85.391 ms
     Changes:   
              ----------
              pid:
                  13955
              retcode:
                  1
              stderr:
                  cp: cannot stat `/git/calamari-clients*tar.gz': No such file or directory
              stdout:

----------
          ID: devscripts
    Function: pkg.installed
      Result: True
     Comment: Package devscripts is already installed.
     Started: 07:03:51.372546
    Duration: 1.039 ms
     Changes:   
----------
          ID: build_calamari_clients
    Function: cmd.run
        Name: make dpkg
      Result: False
     Comment: Command "make dpkg" run
     Started: 07:03:51.374053
    Duration: 1409.418 ms
     Changes:   
              ----------
              pid:
                  13960
              retcode:
                  2
              stderr:
                   dpkg-source --before-build clients
                   fakeroot debian/rules clean
                   debian/rules build
                   fakeroot debian/rules binary
                  tar (child): /home/vagrant/clients/calamari-clients-build-output.tar.gz: Cannot open: No such file or directory
                  tar (child): Error is not recoverable: exiting now
                  tar: Child returned status 2
                  tar: Error is not recoverable: exiting now
                  make[2]: *** [install] Error 2
                  dh_auto_install: make -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFO_DIR=no returned exit code 2
                  make[1]: *** [binary] Error 29
                  dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
                  make: *** [dpkg] Error 2
              stdout:
                  DEBEMAIL=dan.mick@inktank.com dch \
                                --newversion 1.2.2-30-gb1fe77c"" \
                                -D unstable --force-bad-version --force-distribution "built on Mon Mar  2 07:03:51 UTC 2015"
                  # don't require Build-Depends if not Ubuntu
                  if [ "" = y ] ; then \
                                dpkg-buildpackage -b -us -uc ; \
                        else \
                                dpkg-buildpackage -d -b -us -uc ; \
                        fi
                  dpkg-buildpackage: source package calamari-clients
                  dpkg-buildpackage: source version 1.2.2-30-gb1fe77c
                  dpkg-buildpackage: source changed by Vagrant User <dan.mick@inktank.com>
                  dpkg-buildpackage: host architecture amd64
                  make[1]: Entering directory `/home/vagrant/clients'
                  # keep your *(# hands off my venvs
                  dh clean --without python2 --without python3 --without pycentral --without pysupport
                     dh_testdir
                     dh_auto_clean
                        make -j1 clean
                  make[2]: Entering directory `/home/vagrant/clients'
                  if [ "" = y ] ; then \
                                make clean-real; \
                        fi
                  make[2]: Leaving directory `/home/vagrant/clients'
                     dh_clean
                        rm -f debian/calamari-clients.substvars
                        rm -f debian/calamari-clients.*.debhelper
                        rm -rf debian/calamari-clients/
                        rm -f debian/*.debhelper.log
                        rm -f debian/files
                        find .  \( \( -type f -a \
                                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                                \) -exec rm -f {} \; \) -o \
                                \( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
                        rm -f *-stamp
                  make[1]: Leaving directory `/home/vagrant/clients'
                  make[1]: Entering directory `/home/vagrant/clients'
                  # keep your *(# hands off my venvs
                  dh build --without python2 --without python3 --without pycentral --without pysupport
                     dh_testdir
                     dh_auto_configure
                     dh_auto_build
                        make -j1
                  make[2]: Entering directory `/home/vagrant/clients'
                  if [ "" = y ] ; then \
                                make build-real; \
                        fi
                  make[2]: Leaving directory `/home/vagrant/clients'
                     dh_auto_test
                  make[1]: Leaving directory `/home/vagrant/clients'
                  make[1]: Entering directory `/home/vagrant/clients'
                  # keep your *(# hands off my venvs
                  dh binary --without python2 --without python3 --without pycentral --without pysupport
                     dh_testroot
                     dh_prep
                        rm -f debian/calamari-clients.substvars
                        rm -f debian/calamari-clients.*.debhelper
                        rm -rf debian/calamari-clients/
                     dh_installdirs
                        install -d debian/calamari-clients
                     dh_auto_install
                        make -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFO_DIR=no
                  make[2]: Entering directory `/home/vagrant/clients'
                  if [ "" = y ] ; then \
                                make build-real; \
                        fi
                  target: install
                  install
                  if [ "" = y ] ; then \
                                for d in manage admin login dashboard; do \
                                        instdir=$(basename $d); \
                                        /usr/bin/install -d /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \
                                        cp -rp $d/dist/* /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \
                                done; \
                        else \
                                cd /home/vagrant/clients/debian/calamari-clients; \
                                tar xvfz /home/vagrant/clients/calamari-clients-build-output.tar.gz; \
                        fi
                  make[2]: Leaving directory `/home/vagrant/clients'
                  make[1]: Leaving directory `/home/vagrant/clients'
----------
          ID: copy_calamari_clients
    Function: cmd.run
        Name: cp calamari-clients*.deb /git
      Result: False
     Comment: One or more requisite failed: {'make_deb.build_calamari_clients': 'Command "make dpkg" run'}
     Started: 
    Duration: 
     Changes:   

Summary
------------
Succeeded: 3 (changed=4)
Failed:    3
------------
Total states run:     6
vagrant@debian-7:~$
dmick commented 9 years ago

Thanks for the diagnosis. Sigh. 

From: rahs notifications@github.com Sent: Mar 1, 2015 11:14 PM To: ceph/calamari Subject: [calamari] Make clcmari-clients package on debian wheezy fails (#264)

root@orca:~/calamari# git clone https://github.com/ceph/calamari-clients.git Cloning into 'calamari-clients'... remote: Counting objects: 16650, done. remote: Total 16650 (delta 0), reused 0 (delta 0), pack-reused 16650 Receiving objects: 100% (16650/16650), 28.92 MiB | 7.33 MiB/s, done. Resolving deltas: 100% (9743/9743), done. root@orca:~/calamari# cd calamari-clients/vagrant/wheezy-package/ root@orca:~/calamari/calamari-clients/vagrant/wheezy-package# vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'wheezy64'... ==> default: Matching MAC address for NAT networking... ==> default: Setting the name of the VM: wheezy-package_default_1425279390286_26415 ==> default: Clearing any previously set forwarded ports... ==> default: Fixed port collision for 22 => 2206. Now on port 2200. ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 => 2200 (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2200 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection timeout. Retrying... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... ==> default: Mounting shared folders... default: /git => /root/calamari default: /vagrant => /root/calamari/calamari-clients/vagrant/wheezy-package default: /srv/salt => /root/calamari/calamari-clients/vagrant/salt/roots ==> default: Running provisioner: salt... Copying salt minion config to vm. Checking if salt-minion is installed salt-minion was not found. Checking if salt-call is installed salt-call was not found. Bootstrapping Salt... (this may take a while) Salt successfully configured and installed! run_overstate set to false. Not running state.overstate. run_highstate set to false. Not running state.highstate. root@orca:~/calamari/calamari-clients/vagrant/wheezy-package# vagrant ssh sudo salt-call state.highstateLinux debian-7 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have mail. Last login: Sun Oct 20 04:50:52 2013 from 10.0.2.2 vagrant@debian-7:~$ sudo salt-call state.highstate [INFO ] Loading fresh modules for state activity [INFO ] Fetching file from saltenv 'base', * done * 'top.sls' [INFO ] Creating module dir '/var/cache/salt/minion/extmods/modules' [INFO ] Syncing modules for environment 'base' [INFO ] Loading cache from salt://_modules, for base) [INFO ] Caching directory '_modules/' for environment 'base' [INFO ] Creating module dir '/var/cache/salt/minion/extmods/states' [INFO ] Syncing states for environment 'base' [INFO ] Loading cache from salt://_states, for base) [INFO ] Caching directory '_states/' for environment 'base' [INFO ] Creating module dir '/var/cache/salt/minion/extmods/grains' [INFO ] Syncing grains for environment 'base' [INFO ] Loading cache from salt://_grains, for base) [INFO ] Caching directory '_grains/' for environment 'base' [INFO ] Creating module dir '/var/cache/salt/minion/extmods/renderers' [INFO ] Syncing renderers for environment 'base' [INFO ] Loading cache from salt://_renderers, for base) [INFO ] Caching directory '_renderers/' for environment 'base' [INFO ] Creating module dir '/var/cache/salt/minion/extmods/returners' [INFO ] Syncing returners for environment 'base' [INFO ] Loading cache from salt://_returners, for base) [INFO ] Caching directory '_returners/' for environment 'base' [INFO ] Creating module dir '/var/cache/salt/minion/extmods/outputters' [INFO ] Syncing outputters for environment 'base' [INFO ] Loading cache from salt://_outputters, for base) [INFO ] Caching directory '_outputters/' for environment 'base' [INFO ] Creating module dir '/var/cache/salt/minion/extmods/utils' [INFO ] Syncing utils for environment 'base' [INFO ] Loading cache from salt://_utils, for base) [INFO ] Caching directory '_utils/' for environment 'base' [INFO ] Loading fresh modules for state activity [INFO ] Fetching file from saltenv 'base', * done * 'deb_repackage_deps.sls' [INFO ] Fetching file from saltenv 'base', * done * 'git_clone.sls' [INFO ] Fetching file from saltenv 'base', * done * 'setvars' [INFO ] Fetching file from saltenv 'base', * done * 'copyin_build_product.sls' [INFO ] Fetching file from saltenv 'base', * skipped * latest already in cache 'salt://setvars' [INFO ] Fetching file from saltenv 'base', * done * 'make_deb.sls' [INFO ] Fetching file from saltenv 'base', * skipped * latest already in cache 'salt://setvars' [INFO ] Running state [deb_repackage_deps] at time 07:01:56.635652 [INFO ] Executing state pkg.installed for deb_repackage_deps [INFO ] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root' [INFO ] Executing command ['apt-cache', '-q', 'policy', 'build-essential'] in directory '/root' [INFO ] Executing command ['apt-cache', '-q', 'policy', 'devscripts'] in directory '/root' [INFO ] Executing command ['apt-cache', '-q', 'policy', 'git'] in directory '/root' [INFO ] Executing command ['apt-cache', '-q', 'policy', 'debhelper'] in directory '/root' [INFO ] Executing command 'apt-get -q update' in directory '/root' [INFO ] Executing command ['apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'build-essential', 'devscripts', 'git', 'debhelper'] in directory '/root' [INFO ] Executing command ['dpkg-query', '--showformat', '${Status} ${Package} ${Version} ${Architecture}\n', '-W'] in directory '/root' [INFO ] Installed Packages: build-essential changed from absent to 11.5 c++-compiler changed from absent to 1 libparse-debcontrol-perl changed from absent to 2.005-3 libencode-locale-perl changed from absent to 1.03-1 libnet-ssleay-perl changed from absent to 1.48-1+b1 libsys-hostname-long-perl changed from absent to 1.4-2 libxml-sax-expat-perl changed from absent to 0.40-2 libcroco3 changed from absent to 0.6.6-2 libmime-tools-perl changed from absent to 5.503-1 libtie-ixhash-perl changed from absent to 1.21-2 git-man changed from absent to 1:1.7.10.4-1+wheezy1 libmail-sendmail-perl changed from absent to 0.79.16-1 libdata-uuid-perl changed from absent to 1 libconvert-binhex-perl changed from absent to 1.119+pristine-3 libapt-pkg-perl changed from absent to 0.1.26+b1 python2.6-magic changed from absent to 1 debian-maintainers changed from absent to 1 git changed from absent to 1:1.7.10.4-1+wheezy1 liberror-perl changed from absent to 0.17-1 libexporter-lite-perl changed from absent to 0.02-2 libio-pty-perl changed from absent to 1:1.08-1+b2 diffstat changed from absent to 1.55-3 libsocket-perl changed from 1 to 2.002-1 patchutils changed from absent to 0.3.2-1.1 libmime-perl changed from absent to 1 libjson-perl changed from absent to 2.53-1 python-magic changed from absent to 5.11-2+deb7u7 libnet-ip-perl changed from absent to 1.25-3 debian-keyring changed from absent to 2013.04.21 git-core changed from absent to 1 libglib2.0-data changed from absent to 2.33.12+really2.32.4-5 intltool-debian changed from absent to 0.35.0+20060710.1 libunistring0 changed from absent to 0.9.3-5 libipc-run-perl changed from absent to 0.92-1 liburi-perl changed from absent to 1.60-1 mailtools changed from absent to 1 libnet-http-perl changed from absent to 6.03-2 libio-tty-perl changed from absent to 1 python2.7-magic changed from absent to 1 libfcgi-perl changed from absent to 0.74-1+b1 libcurl3-gnutls changed from absent to 7.26.0-1+wheezy12 libfile-listing-perl changed from absent to 6.04-1 libtask-weaken-perl changed from absent to 1.03-1 libdistro-info-perl changed from absent to 0.10 liblwp-mediatypes-perl changed from absent to 6.02-1 libio-stringy-perl changed from absent to 2.110-5 equivs changed from absent to 2.0.9 libsub-name-perl changed from absent to 0.05-1+b2 libxml-namespacesupport-perl changed from absent to 1.09-3 c++abi2-dev changed from absent to 1 wdiff changed from absent to 1.1.2-1 libwww-robotrules-perl changed from absent to 6.01-1 libhtml-template-perl changed from absent to 2.91-1 html2text changed from absent to 1.3.2a-15 libnet-dns-perl changed from absent to 0.66-2+b2 libxml-sax-perl changed from absent to 0.99+dfsg-2 libmailtools-perl changed from absent to 2.09-1 hardening-includes changed from absent to 2.2 g++-4.7 changed from absent to 4.7.2-5 libxml-simple-perl changed from absent to 2.20-1 libglib2.0-0 changed from absent to 2.33.12+really2.32.4-5 shared-mime-info changed from absent to 1.0-1+b1 libasprintf-dev changed from absent to 1 libsoap-lite-perl changed from absent to 0.714-1 libhttp-negotiate-perl changed from absent to 6.00-2 libio-socket-ssl-perl changed from absent to 1.76-2 libfont-afm-perl changed from absent to 1.20-1 libemail-valid-perl changed from absent to 0.190-1 libmail-perl changed from absent to 1 libclone-perl changed from absent to 0.31-1+b2 file changed from 5.11-2 to 5.11-2+deb7u7 lintian changed from absent to 2.5.10.4 libparse-debianchangelog-perl changed from absent to 1.2.0-1 libwww-perl changed from absent to 6.04-1 libclass-accessor-perl changed from absent to 0.34-1 libio-socket-ip-perl changed from absent to 0.16-2 libhttp-date-perl changed from absent to 6.02-1 libdigest-hmac-perl changed from absent to 1.03+dfsg-1 libhttp-daemon-perl changed from absent to 6.01-1 distro-info-data changed from absent to 0.17~deb7u1 gettext changed from absent to 0.18.1.1-9 git-completion changed from absent to 1 libossp-uuid16 changed from absent to 1.6.2-1.3 g++ changed from absent to 4:4.7.2-1 libxml-sax-base-perl changed from absent to 1.07-1 dput changed from absent to 0.9.6.3+nmu2 libhtml-format-perl changed from absent to 2.10-1 libarchive-zip-perl changed from absent to 1.30-6 libossp-uuid-perl changed from absent to 1.6.2-1.3 libmagic1 changed from 5.11-2 to 5.11-2+deb7u7 libhtml-parser-perl changed from absent to 3.69-2 libhttp-message-perl changed from absent to 6.03-1 libcrypt-ssleay-perl changed from absent to 0.58-1 debhelper changed from absent to 9.20120909 libstdc++-dev changed from absent to 1 devscripts changed from absent to 2.12.6+deb7u2 libio-string-perl changed from absent to 1.08-2 libgettextpo0 changed from absent to 0.18.1.1-9 libstdc++6-4.7-dev changed from absent to 4.7.2-5 libhtml-form-perl changed from absent to 6.03-1 libnet-domain-tld-perl changed from absent to 1.69-1 libhttp-cookies-perl changed from absent to 6.00-2 libxml-parser-perl changed from absent to 2.41-1+b1 libclass-inspector-perl changed from absent to 1.27-1 strace changed from absent to 4.5.20-2.3 autopoint changed from absent to 0.18.1.1-9 libhtml-tree-perl changed from absent to 5.02-1 libjson-xs-perl changed from absent to 2.320-1+b1 liblwp-protocol-https-perl changed from absent to 6.03-1 libcommon-sense-perl changed from absent to 3.6-1 libgettextpo-dev changed from absent to 1 libhtml-tagset-perl changed from absent to 3.20-2 po-debconf changed from absent to 1.0.16+nmu2

[INFO ] Loading fresh modules for state activity [INFO ] Completed state [deb_repackage_deps] at time 07:03:49.689232 [INFO ] Running state [/git/calamari-clients] at time 07:03:49.689627 [INFO ] Executing state git.latest for /git/calamari-clients [INFO ] Executing command "git clone /git/calamari-clients '/home/vagrant/clients' " as user 'vagrant' in directory '/home/vagrant' [INFO ] Executing command 'git rev-parse HEAD' as user 'vagrant' in directory '/home/vagrant/clients' [INFO ] Repository /git/calamari-clients cloned to /home/vagrant/clients [INFO ] {'new': '/git/calamari-clients', 'revision': 'b1fe77cb8cab5b76431b60e592e9a34ad63eae4d'} [INFO ] Completed state [/git/calamari-clients] at time 07:03:51.286149 [INFO ] Running state [cp /git/calamari-clients_tar.gz /home/vagrant/clients] at time 07:03:51.286893 [INFO ] Executing state cmd.run for cp /git/calamari-clients_tar.gz /home/vagrant/clients [INFO ] Executing command 'cp /git/calamari-clients_tar.gz /home/vagrant/clients' as user 'vagrant' in directory '/home/vagrant' [ERROR ] Command 'cp /git/calamari-clients_tar.gz /home/vagrant/clients' failed with return code: 1 [ERROR ] stderr: cp: cannot stat /git/calamari-clients*tar.gz': No such file or directory [ERROR ] retcode: 1 [ERROR ] {'pid': 13955, 'retcode': 1, 'stderr': "cp: cannot stat/git/calamari-clients_tar.gz': No such file or directory", 'stdout': ''} [INFO ] Completed state [cp /git/calamari-clients_tar.gz /home/vagrant/clients] at time 07:03:51.372284 [INFO ] Running state [devscripts] at time 07:03:51.372546 [INFO ] Executing state pkg.installed for devscripts [INFO ] Package devscripts is already installed. [INFO ] Completed state [devscripts] at time 07:03:51.373585 [INFO ] Running state [make dpkg] at time 07:03:51.374053 [INFO ] Executing state cmd.run for make dpkg [INFO ] Executing command 'make dpkg' as user 'vagrant' in directory '/home/vagrant/clients' [ERROR ] Command 'make dpkg' failed with return code: 2 [ERROR ] stdout: DEBEMAIL=dan.mick@inktank.com dch \ --newversion 1.2.2-30-gb1fe77c"" \ -D unstable --force-bad-version --force-distribution "built on Mon Mar 2 07:03:51 UTC 2015"

don't require Build-Depends if not Ubuntu

if [ "" = y ] ; then \ dpkg-buildpackage -b -us -uc ; \ else \ dpkg-buildpackage -d -b -us -uc ; \ fi dpkg-buildpackage: source package calamari-clients dpkg-buildpackage: source version 1.2.2-30-gb1fe77c dpkg-buildpackage: source changed by Vagrant User dan.mick@inktank.com dpkg-buildpackage: host architecture amd64 make[1]: Entering directory `/home/vagrant/clients'

keep your *(# hands off my venvs

dh clean --without python2 --without python3 --without pycentral --without pysupport dh_testdir dh_auto_clean make -j1 clean make[2]: Entering directory /home/vagrant/clients' if [ "" = y ] ; then \ make clean-real; \ fi make[2]: Leaving directory/home/vagrant/clients' dhclean rm -f debian/calamari-clients.substvars rm -f debian/calamari-clients..debhelper rm -rf debian/calamari-clients/ rm -f debian/.debhelper.log rm -f debian/files find . ( ( -type f -a \ ( -name '##' -o -name '.~' -o -name '~' -o -name DEADJOE \ -o -name '.orig' -o -name '.rej' -o -name '.bak' \ -o -name '..orig' -o -name ..rej -o -name '.SUMS' \ -o -name TAGS -o ( -path '/.deps/_' -a -name '.P' ) \ ) -exec rm -f {} \; ) -o \ ( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; ) ) rm -f -stamp make[1]: Leaving directory /home/vagrant/clients' make[1]: Entering directory/home/vagrant/clients'

keep your *(# hands off my venvs

dh build --without python2 --without python3 --without pycentral --without pysupport dh_testdir dh_auto_configure dh_auto_build make -j1 make[2]: Entering directory /home/vagrant/clients' if [ "" = y ] ; then \ make build-real; \ fi make[2]: Leaving directory/home/vagrant/clients' dh_auto_test make[1]: Leaving directory /home/vagrant/clients' make[1]: Entering directory/home/vagrant/clients'

keep your *(# hands off my venvs

dh binary --without python2 --without python3 --without pycentral --without pysupport dh_testroot dhprep rm -f debian/calamari-clients.substvars rm -f debian/calamari-clients..debhelper rm -rf debian/calamari-clients/ dh_installdirs install -d debian/calamari-clients dh_auto_install make -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFODIR=no make[2]: Entering directory `/home/vagrant/clients' if [ "" = y ] ; then \ make build-real; \ fi target: install install if [ "" = y ] ; then \ for d in manage admin login dashboard; do \ instdir=$(basename $d); \ /usr/bin/install -d /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \ cp -rp $d/dist/ /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \ done; \ else \ cd /home/vagrant/clients/debian/calamari-clients; \ tar xvfz /home/vagrant/clients/calamari-clients-build-output.tar.gz; \ fi make[2]: Leaving directory /home/vagrant/clients' make[1]: Leaving directory/home/vagrant/clients' [ERROR ] stderr: dpkg-source --before-build clients fakeroot debian/rules clean debian/rules build fakeroot debian/rules binary tar (child): /home/vagrant/clients/calamari-clients-build-output.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now make[2]: * [install] Error 2 dh_auto_install: make -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFO_DIR=no returned exit code 2 make[1]: * [binary] Error 29 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 make: * [dpkg] Error 2 [ERROR ] retcode: 2 [ERROR ] {'pid': 13960, 'retcode': 2, 'stderr': ' dpkg-source --before-build clients\n fakeroot debian/rules clean\n debian/rules build\n fakeroot debian/rules binary\ntar (child): /home/vagrant/clients/calamari-clients-build-output.tar.gz: Cannot open: No such file or directory\ntar (child): Error is not recoverable: exiting now\ntar: Child returned status 2\ntar: Error is not recoverable: exiting now\nmake[2]: * [install] Error 2\ndh_auto_install: make -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFO_DIR=no returned exit code 2\nmake[1]: * [binary] Error 29\ndpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2\nmake: * [dpkg] Error 2', 'stdout': 'DEBEMAIL=dan.mick@inktank.com dch \n\t\t--newversion 1.2.2-30-gb1fe77c"" \n\t\t-D unstable --force-bad-version --force-distribution "built on Mon Mar 2 07:03:51 UTC 2015"\n# don\'t require Build-Depends if not Ubuntu\nif [ "" = y ] ; then \n\t\tdpkg-buildpac! kage -b - us -uc ; \n\telse \n\t\tdpkg-buildpackage -d -b -us -uc ; \n\tfi\ndpkg-buildpackage: source package calamari-clients\ndpkg-buildpackage: source version 1.2.2-30-gb1fe77c\ndpkg-buildpackage: source changed by Vagrant User dan.mick@inktank.com\ndpkg-buildpackage: host architecture amd64\nmake[1]: Entering directory /home/vagrant/clients\'\n# keep your *(# hands off my venvs\ndh clean --without python2 --without python3 --without pycentral --without pysupport\n dh_testdir\n dh_auto_clean\n\tmake -j1 clean\nmake[2]: Entering directory/home/vagrant/clients\'\nif [ "" = y ] ; then \n\t\tmake clean-real; \n\tfi\nmake[2]: Leaving directory /home/vagrant/clients\'\n dh_clean\n\trm -f debian/calamari-clients.substvars\n\trm -f debian/calamari-clients.*.debhelper\n\trm -rf debian/calamari-clients/\n\trm -f debian/*.debhelper.log\n\trm -f debian/files\n\tfind . \\( \\( -type f -a \\\n\t \\( -name \'#*#\' -o -name \'.*~\' -o -name \'*~\' -o -name DEADJOE \\! \n\t\t -o -name \'*.orig\' -o -name \'*.rej\' -o -name \'*.bak\' \\\n\t\t -o -name \'.*.orig\' -o -name .*.rej -o -name \'.SUMS\' \\\n\t\t -o -name TAGS -o \\( -path \'*/.deps/*\' -a -name \'*.P\' \\) \\\n\t\t\\) -exec rm -f {} \\; \\) -o \\\n\t\t\\( -type d -a -name autom4te.cache -prune -exec rm -rf {} \\; \\) \\)\n\trm -f *-stamp\nmake[1]: Leaving directory/home/vagrant/clients\'\nmake[1]: Entering directory /home/vagrant/clients\'\n# keep your *(# hands off my venvs\ndh build --without python2 --without python3 --without pycentral --without pysupport\n dh_testdir\n dh_auto_configure\n dh_auto_build\n\tmake -j1\nmake[2]: Entering directory/home/vagrant/clients\'\nif [ "" = y ] ; then \n\t\tmake build-real; \n\tfi\nmake[2]: Leaving directory /home/vagrant/clients\'\n dh_auto_test\nmake[1]: Leaving directory/home/vagrant/clients\'\nmake[1]: Entering directory /home/vagrant/clients\'\n# keep your *(# hands off my venvs\ndh binary --without python2 --without pyth! on3 --wit hout pycentral --without pysupport\n dh_testroot\n dh_prep\n\trm -f debian/calamari-clients.substvars\n\trm -f debian/calamari-clients.*.debhelper\n\trm -rf debian/calamari-clients/\n dh_installdirs\n\tinstall -d debian/calamari-clients\n dh_auto_install\n\tmake -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFO_DIR=no\nmake[2]: Entering directory/home/vagrant/clients\'\nif [ "" = y ] ; then \n\t\tmake build-real; \n\tfi\ntarget: install\ninstall\nif [ "" = y ] ; then \n\t\tfor d in manage admin login dashboard; do \n\t\t\tinstdir=$(basename $d); \n\t\t\t/usr/bin/install -d /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \n\t\t\tcp -rp $d/dist/* /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \n\t\tdone; \n\telse \n\t\tcd /home/vagrant/clients/debian/calamari-clients; \n\t\ttar xvfz /home/vagrant/clients/calamari-clients-build-output.tar.gz; ! \n\tfi\nm ake[2]: Leaving directory /home/vagrant/clients\'\nmake[1]: Leaving directory/home/vagrant/clients\''} [INFO ] Completed state [make dpkg] at time 07:03:52.783471

local:

      ID: deb_repackage_deps
Function: pkg.installed
  Result: True
 Comment: 4 targeted packages were installed/updated. The following packages were already installed: make.
 Started: 07:01:56.635652
Duration: 113053.58 ms
 Changes:   
          ----------
          autopoint:
              ----------
              new:
                  0.18.1.1-9
              old:

          build-essential:
              ----------
              new:
                  11.5
              old:

          c++-compiler:
              ----------
              new:
                  1
              old:

          c++abi2-dev:
              ----------
              new:
                  1
              old:

          debhelper:
              ----------
              new:
                  9.20120909
              old:

          debian-keyring:
              ----------
              new:
                  2013.04.21
              old:

          debian-maintainers:
              ----------
              new:
                  1
              old:

          devscripts:
              ----------
              new:
                  2.12.6+deb7u2
              old:

          diffstat:
              ----------
              new:
                  1.55-3
              old:

          distro-info-data:
              ----------
              new:
                  0.17~deb7u1
              old:

          dput:
              ----------
              new:
                  0.9.6.3+nmu2
              old:

          equivs:
              ----------
              new:
                  2.0.9
              old:

          file:
              ----------
              new:
                  5.11-2+deb7u7
              old:
                  5.11-2
          g++:
              ----------
              new:
                  4:4.7.2-1
              old:

          g++-4.7:
              ----------
              new:
                  4.7.2-5
              old:

          gettext:
              ----------
              new:
                  0.18.1.1-9
              old:

          git:
              ----------
              new:
                  1:1.7.10.4-1+wheezy1
              old:

          git-completion:
              ----------
              new:
                  1
              old:

          git-core:
              ----------
              new:
                  1
              old:

          git-man:
              ----------
              new:
                  1:1.7.10.4-1+wheezy1
              old:

          hardening-includes:
              ----------
              new:
                  2.2
              old:

          html2text:
              ----------
              new:
                  1.3.2a-15
              old:

          intltool-debian:
              ----------
              new:
                  0.35.0+20060710.1
              old:

          libapt-pkg-perl:
              ----------
              new:
                  0.1.26+b1
              old:

          libarchive-zip-perl:
              ----------
              new:
                  1.30-6
              old:

          libasprintf-dev:
              ----------
              new:
                  1
              old:

          libclass-accessor-perl:
              ----------
              new:
                  0.34-1
              old:

          libclass-inspector-perl:
              ----------
              new:
                  1.27-1
              old:

          libclone-perl:
              ----------
              new:
                  0.31-1+b2
              old:

          libcommon-sense-perl:
              ----------
              new:
                  3.6-1
              old:

          libconvert-binhex-perl:
              ----------
              new:
                  1.119+pristine-3
              old:

          libcroco3:
              ----------
              new:
                  0.6.6-2
              old:

          libcrypt-ssleay-perl:
              ----------
              new:
                  0.58-1
              old:

          libcurl3-gnutls:
              ----------
              new:
                  7.26.0-1+wheezy12
              old:

          libdata-uuid-perl:
              ----------
              new:
                  1
              old:

          libdigest-hmac-perl:
              ----------
              new:
                  1.03+dfsg-1
              old:

          libdistro-info-perl:
              ----------
              new:
                  0.10
              old:

          libemail-valid-perl:
              ----------
              new:
                  0.190-1
              old:

          libencode-locale-perl:
              ----------
              new:
                  1.03-1
              old:

          liberror-perl:
              ----------
              new:
                  0.17-1
              old:

          libexporter-lite-perl:
              ----------
              new:
                  0.02-2
              old:

          libfcgi-perl:
              ----------
              new:
                  0.74-1+b1
              old:

          libfile-listing-perl:
              ----------
              new:
                  6.04-1
              old:

          libfont-afm-perl:
              ----------
              new:
                  1.20-1
              old:

          libgettextpo-dev:
              ----------
              new:
                  1
              old:

          libgettextpo0:
              ----------
              new:
                  0.18.1.1-9
              old:

          libglib2.0-0:
              ----------
              new:
                  2.33.12+really2.32.4-5
              old:

          libglib2.0-data:
              ----------
              new:
                  2.33.12+really2.32.4-5
              old:

          libhtml-form-perl:
              ----------
              new:
                  6.03-1
              old:

          libhtml-format-perl:
              ----------
              new:
                  2.10-1
              old:

          libhtml-parser-perl:
              ----------
              new:
                  3.69-2
              old:

          libhtml-tagset-perl:
              ----------
              new:
                  3.20-2
              old:

          libhtml-template-perl:
              ----------
              new:
                  2.91-1
              old:

          libhtml-tree-perl:
              ----------
              new:
                  5.02-1
              old:

          libhttp-cookies-perl:
              ----------
              new:
                  6.00-2
              old:

          libhttp-daemon-perl:
              ----------
              new:
                  6.01-1
              old:

          libhttp-date-perl:
              ----------
              new:
                  6.02-1
              old:

          libhttp-message-perl:
              ----------
              new:
                  6.03-1
              old:

          libhttp-negotiate-perl:
              ----------
              new:
                  6.00-2
              old:

          libio-pty-perl:
              ----------
              new:
                  1:1.08-1+b2
              old:

          libio-socket-ip-perl:
              ----------
              new:
                  0.16-2
              old:

          libio-socket-ssl-perl:
              ----------
              new:
                  1.76-2
              old:

          libio-string-perl:
              ----------
              new:
                  1.08-2
              old:

          libio-stringy-perl:
              ----------
              new:
                  2.110-5
              old:

          libio-tty-perl:
              ----------
              new:
                  1
              old:

          libipc-run-perl:
              ----------
              new:
                  0.92-1
              old:

          libjson-perl:
              ----------
              new:
                  2.53-1
              old:

          libjson-xs-perl:
              ----------
              new:
                  2.320-1+b1
              old:

          liblwp-mediatypes-perl:
              ----------
              new:
                  6.02-1
              old:

          liblwp-protocol-https-perl:
              ----------
              new:
                  6.03-1
              old:

          libmagic1:
              ----------
              new:
                  5.11-2+deb7u7
              old:
                  5.11-2
          libmail-perl:
              ----------
              new:
                  1
              old:

          libmail-sendmail-perl:
              ----------
              new:
                  0.79.16-1
              old:

          libmailtools-perl:
              ----------
              new:
                  2.09-1
              old:

          libmime-perl:
              ----------
              new:
                  1
              old:

          libmime-tools-perl:
              ----------
              new:
                  5.503-1
              old:

          libnet-dns-perl:
              ----------
              new:
                  0.66-2+b2
              old:

          libnet-domain-tld-perl:
              ----------
              new:
                  1.69-1
              old:

          libnet-http-perl:
              ----------
              new:
                  6.03-2
              old:

          libnet-ip-perl:
              ----------
              new:
                  1.25-3
              old:

          libnet-ssleay-perl:
              ----------
              new:
                  1.48-1+b1
              old:

          libossp-uuid-perl:
              ----------
              new:
                  1.6.2-1.3
              old:

          libossp-uuid16:
              ----------
              new:
                  1.6.2-1.3
              old:

          libparse-debcontrol-perl:
              ----------
              new:
                  2.005-3
              old:

          libparse-debianchangelog-perl:
              ----------
              new:
                  1.2.0-1
              old:

          libsoap-lite-perl:
              ----------
              new:
                  0.714-1
              old:

          libsocket-perl:
              ----------
              new:
                  2.002-1
              old:
                  1
          libstdc++-dev:
              ----------
              new:
                  1
              old:

          libstdc++6-4.7-dev:
              ----------
              new:
                  4.7.2-5
              old:

          libsub-name-perl:
              ----------
              new:
                  0.05-1+b2
              old:

          libsys-hostname-long-perl:
              ----------
              new:
                  1.4-2
              old:

          libtask-weaken-perl:
              ----------
              new:
                  1.03-1
              old:

          libtie-ixhash-perl:
              ----------
              new:
                  1.21-2
              old:

          libunistring0:
              ----------
              new:
                  0.9.3-5
              old:

          liburi-perl:
              ----------
              new:
                  1.60-1
              old:

          libwww-perl:
              ----------
              new:
                  6.04-1
              old:

          libwww-robotrules-perl:
              ----------
              new:
                  6.01-1
              old:

          libxml-namespacesupport-perl:
              ----------
              new:
                  1.09-3
              old:

          libxml-parser-perl:
              ----------
              new:
                  2.41-1+b1
              old:

          libxml-sax-base-perl:
              ----------
              new:
                  1.07-1
              old:

          libxml-sax-expat-perl:
              ----------
              new:
                  0.40-2
              old:

          libxml-sax-perl:
              ----------
              new:
                  0.99+dfsg-2
              old:

          libxml-simple-perl:
              ----------
              new:
                  2.20-1
              old:

          lintian:
              ----------
              new:
                  2.5.10.4
              old:

          mailtools:
              ----------
              new:
                  1
              old:

          patchutils:
              ----------
              new:
                  0.3.2-1.1
              old:

          po-debconf:
              ----------
              new:
                  1.0.16+nmu2
              old:

          python-magic:
              ----------
              new:
                  5.11-2+deb7u7
              old:

          python2.6-magic:
              ----------
              new:
                  1
              old:

          python2.7-magic:
              ----------
              new:
                  1
              old:

          shared-mime-info:
              ----------
              new:
                  1.0-1+b1
              old:

          strace:
              ----------
              new:
                  4.5.20-2.3
              old:

          wdiff:
              ----------
              new:
                  1.1.2-1
              old:

      ID: git_clone
Function: git.latest
    Name: /git/calamari-clients
  Result: True
 Comment: Repository /git/calamari-clients cloned to /home/vagrant/clients
 Started: 07:03:49.689627
Duration: 1596.522 ms
 Changes:   
          ----------
          new:
              /git/calamari-clients
          revision:
              b1fe77cb8cab5b76431b60e592e9a34ad63eae4d

      ID: copyin_build_product
Function: cmd.run
    Name: cp /git/calamari-clients*tar.gz /home/vagrant/clients
  Result: False
 Comment: Command "cp /git/calamari-clients*tar.gz /home/vagrant/clients" run
 Started: 07:03:51.286893
Duration: 85.391 ms
 Changes:   
          ----------
          pid:
              13955
          retcode:
              1
          stderr:
              cp: cannot stat `/git/calamari-clients*tar.gz': No such file or directory
          stdout:

      ID: devscripts
Function: pkg.installed
  Result: True
 Comment: Package devscripts is already installed.
 Started: 07:03:51.372546
Duration: 1.039 ms
 Changes:   

      ID: build_calamari_clients
Function: cmd.run
    Name: make dpkg
  Result: False
 Comment: Command "make dpkg" run
 Started: 07:03:51.374053
Duration: 1409.418 ms
 Changes:   
          ----------
          pid:
              13960
          retcode:
              2
          stderr:
               dpkg-source --before-build clients
               fakeroot debian/rules clean
               debian/rules build
               fakeroot debian/rules binary
              tar (child): /home/vagrant/clients/calamari-clients-build-output.tar.gz: Cannot open: No such file or directory
              tar (child): Error is not recoverable: exiting now
              tar: Child returned status 2
              tar: Error is not recoverable: exiting now
              make[2]: *** [install] Error 2
              dh_auto_install: make -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFO_DIR=no returned exit code 2
              make[1]: *** [binary] Error 29
              dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
              make: *** [dpkg] Error 2
          stdout:
              DEBEMAIL=dan.mick@inktank.com dch \
                            --newversion 1.2.2-30-gb1fe77c"" \
                            -D unstable --force-bad-version --force-distribution "built on Mon Mar  2 07:03:51 UTC 2015"
              # don't require Build-Depends if not Ubuntu
              if [ "" = y ] ; then \
                            dpkg-buildpackage -b -us -uc ; \
                    else \
                            dpkg-buildpackage -d -b -us -uc ; \
                    fi
              dpkg-buildpackage: source package calamari-clients
              dpkg-buildpackage: source version 1.2.2-30-gb1fe77c
              dpkg-buildpackage: source changed by Vagrant User <dan.mick@inktank.com>
              dpkg-buildpackage: host architecture amd64
              make[1]: Entering directory `/home/vagrant/clients'
              # keep your *(# hands off my venvs
              dh clean --without python2 --without python3 --without pycentral --without pysupport
                 dh_testdir
                 dh_auto_clean
                    make -j1 clean
              make[2]: Entering directory `/home/vagrant/clients'
              if [ "" = y ] ; then \
                            make clean-real; \
                    fi
              make[2]: Leaving directory `/home/vagrant/clients'
                 dh_clean
                    rm -f debian/calamari-clients.substvars
                    rm -f debian/calamari-clients.*.debhelper
                    rm -rf debian/calamari-clients/
                    rm -f debian/*.debhelper.log
                    rm -f debian/files
                    find .  \( \( -type f -a \
                            \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                             -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                             -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                             -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                            \) -exec rm -f {} \; \) -o \
                            \( -type d -a -name autom4te.cache -prune -exec rm -rf {} \; \) \)
                    rm -f *-stamp
              make[1]: Leaving directory `/home/vagrant/clients'
              make[1]: Entering directory `/home/vagrant/clients'
              # keep your *(# hands off my venvs
              dh build --without python2 --without python3 --without pycentral --without pysupport
                 dh_testdir
                 dh_auto_configure
                 dh_auto_build
                    make -j1
              make[2]: Entering directory `/home/vagrant/clients'
              if [ "" = y ] ; then \
                            make build-real; \
                    fi
              make[2]: Leaving directory `/home/vagrant/clients'
                 dh_auto_test
              make[1]: Leaving directory `/home/vagrant/clients'
              make[1]: Entering directory `/home/vagrant/clients'
              # keep your *(# hands off my venvs
              dh binary --without python2 --without python3 --without pycentral --without pysupport
                 dh_testroot
                 dh_prep
                    rm -f debian/calamari-clients.substvars
                    rm -f debian/calamari-clients.*.debhelper
                    rm -rf debian/calamari-clients/
                 dh_installdirs
                    install -d debian/calamari-clients
                 dh_auto_install
                    make -j1 install DESTDIR=/home/vagrant/clients/debian/calamari-clients AM_UPDATE_INFO_DIR=no
              make[2]: Entering directory `/home/vagrant/clients'
              if [ "" = y ] ; then \
                            make build-real; \
                    fi
              target: install
              install
              if [ "" = y ] ; then \
                            for d in manage admin login dashboard; do \
                                    instdir=$(basename $d); \
                                    /usr/bin/install -d /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \
                                    cp -rp $d/dist/* /home/vagrant/clients/debian/calamari-clients/opt/calamari/webapp/content/$instdir; \
                            done; \
                    else \
                            cd /home/vagrant/clients/debian/calamari-clients; \
                            tar xvfz /home/vagrant/clients/calamari-clients-build-output.tar.gz; \
                    fi
              make[2]: Leaving directory `/home/vagrant/clients'
              make[1]: Leaving directory `/home/vagrant/clients'

      ID: copy_calamari_clients
Function: cmd.run
    Name: cp calamari-clients*.deb /git
  Result: False
 Comment: One or more requisite failed: {'make_deb.build_calamari_clients': 'Command "make dpkg" run'}
 Started: 
Duration: 
 Changes:   

Summary

Succeeded: 3 (changed=4)

Failed: 3

Total states run: 6 vagrant@debian-7:~$


Reply to this email directly or view it on GitHub: https://github.com/ceph/calamari/issues/264

rahs commented 9 years ago

https://github.com/ceph/calamari-clients/issues/70