Skip to content

Instantly share code, notes, and snippets.

View stahnma's full-sized avatar

Michael Stahnke stahnma

View GitHub Profile

Tools in play

  • Vanagon - Combine all your software into a package with this one weird trick
  • VMPooler - Warm cache for VMs of all flavors
  • EZbake - Packaging tool for clojure projects
  • Beaker - Testing Harness
  • Puppet Agent - The AIO package of Puppet and friends
  • Packaging Repo - packaging and shipping workflows
  • PL Build Tools - GCC and friends for building our stack
touch cpp-pcp-client-patch
[ -d cpp-pcp-client ] || mkdir -p cpp-pcp-client
cd cpp-pcp-client && \
export PATH="/opt/puppetlabs/puppet/bin:/opt/pl-build-tools/bin:$PATH" && \
/opt/pl-build-tools/bin/cmake -DCMAKE_TOOLCHAIN_FILE=/opt/pl-build-tools/arm-linux-gnueabihf/pl-build-toolchain.cmake -DLEATHERMAN_GETTEXT=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_PREFIX_PATH=/opt/puppetlabs/puppet -DCMAKE_INSTALL_PREFIX=/opt/puppetlabs/puppet -DCMAKE_INSTALL_RPATH=/opt/puppetlabs/puppet/lib -DCMAKE_SYSTEM_PREFIX_PATH=/opt/puppetlabs/puppet -DBOOST_STATIC=ON .
-- The C compiler identification is GNU 6.1.0
-- The CXX compiler identification is GNU 6.1.0
-- Check for working C compiler: /opt/pl-build-tools/bin/arm-linux-gnueabihf-gcc
-- Check for working C compiler: /opt/pl-build-tools/bin/arm-linux-gnueabihf-gcc -- works
-- Detecting C compiler ABI info
@stahnma
stahnma / -
Created August 10, 2016 16:38
Executing 'rpm -q curl > /dev/null || yum -y install curl && curl -o '/etc/yum.repos.d/591e1cf8d2bde2f14f23192b25b0dbd6-pl-build-tools-staging-s390x.repo' 'http://pl-build-tools-staging.delivery.puppetlabs.net/yum/el/6/s390x/pl-build-tools-staging-s390x.repo' && rpm -q curl > /dev/null || yum -y install curl && curl -o '/etc/yum.repos.d/d5770fcbdfaa16926b98afb3927dff0d-pl-build-tools-staging-x86_64.repo' 'http://pl-build-tools-staging.delivery.puppetlabs.net/yum/el/6/x86_64/pl-build-tools-staging-x86_64.repo' && yum install --assumeyes autoconf automake createrepo rsync gcc make rpmdevtools rpm-libs yum-utils rpm-sign' on 'root@u9w8g60fav21uw3.delivery.puppetlabs.net'
Warning: Permanently added 'u9w8g60fav21uw3.delivery.puppetlabs.net,10.32.119.120' (RSA) to the list of known hosts.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-
This file has been truncated, but you can view the full file.
Executing 'rpm -q curl > /dev/null || yum -y install curl && curl -o '/etc/yum.repos.d/6cd92b050263463711896eed52e4c47b-pl-build-tools-staging-s390x.repo' 'http://pl-build-tools-staging.delivery.puppetlabs.net/yum/el/7/s390x/pl-build-tools-staging-s390x.repo' && rpm -q curl > /dev/null || yum -y install curl && curl -o '/etc/yum.repos.d/6079ab7a1fedb5c8b9000188d0fd30b7-pl-build-tools-staging-x86_64.repo' 'http://pl-build-tools-staging.delivery.puppetlabs.net/yum/el/7/x86_64/pl-build-tools-staging-x86_64.repo' && yum install --assumeyes autoconf automake createrepo rsync gcc make rpmdevtools rpm-libs yum-utils rpm-sign' on 'root@x86ee7jpk0pec2j.delivery.puppetlabs.net'
Warning: Permanently added 'x86ee7jpk0pec2j.delivery.puppetlabs.net,10.32.113.146' (ECDSA) to the list of known hosts.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--
This file has been truncated, but you can view the full file.
Executing 'rpm -q curl > /dev/null || yum -y install curl && curl -o local.rpm 'http://pl-build-tools.delivery.puppetlabs.net/yum/pl-build-tools-release-el-7.noarch.rpm'; rpm -Uvh local.rpm; rm -f local.rpm && yum install --assumeyes rsync gcc make rpmdevtools rpm-libs yum-utils rpm-sign' on 'root@vkchdk0mvo5rm2q.delivery.puppetlabs.net'
Warning: Permanently added 'vkchdk0mvo5rm2q.delivery.puppetlabs.net,10.32.117.143' (ECDSA) to the list of known hosts.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9356 100 9356 0 0 61088 0 --:--:-- --:--:-- --:--:-- 61552
warning: local.rpm: Header V4 RSA/SHA1 Signature, key ID 4bd6ec30: NOKEY
Preparing... ########################################
Updating / installing...
pl-build-tools-release-22.0.2-0.el7 #################################
This file has been truncated, but you can view the full file.
Executing 'apt-get -qq update && apt-get -qq install curl && curl -o local.deb 'http://pl-build-tools.delivery.puppetlabs.net/debian/pl-build-tools-release-jessie.deb' && dpkg -i local.deb; rm -f local.deb && apt-get -qq update && export DEBIAN_FRONTEND=noninteractive; apt-get update ; apt-get install -y --no-install-recommends build-essential devscripts make quilt pkg-config debhelper rsync fakeroot' on 'root@u26jvpnq2xf9wed.delivery.puppetlabs.net'
Warning: Permanently added 'u26jvpnq2xf9wed.delivery.puppetlabs.net,10.32.112.215' (ECDSA) to the list of known hosts.
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (R
boostbuild:common.copy /opt/pl-build-tools/arm-linux-gnueabihf/share/boost-build/src/build/errors.py
boostbuild: cp "/var/tmp/tmp.Bg8e2NVXnm/boost_1_58_0/tools/build/src/build/errors.py" "/opt/pl-build-tools/arm-linux-gnueabihf/share/boost-build/src/build/errors.py"
boostbuild:common.copy /opt/pl-build-tools/arm-linux-gnueabihf/share/boost-build/src/kernel/errors.jam
boostbuild: cp "/var/tmp/tmp.Bg8e2NVXnm/boost_1_58_0/tools/build/src/kernel/errors.jam" "/opt/pl-build-tools/arm-linux-gnueabihf/share/boost-build/src/kernel/errors.jam"
boostbuild:common.copy /opt/pl-build-tools/arm-linux-gnueabihf/include/boost/exception/get_error_info.hpp
boostbuild: cp "/var/tmp/tmp.Bg8e2NVXnm/boost_1_58_0/boost/exception/get_error_info.hpp" "/opt/pl-build-tools/arm-linux-gnueabihf/include/boost/exception/get_error_info.hpp"
boostbuild:common.copy /opt/pl-build-tools/arm-linux-gnueabihf/include/boost/exception/enable_error_info.hpp
boostbuild: cp "/var/tmp/tmp.Bg8e2NVXnm/boost_1_58_0/boost/exception/enable_erro
This file has been truncated, but you can view the full file.
Loading boost
Executing 'echo 'deb http://10.32.170.59:8080/ jessie main' > /etc/apt/sources.list.d/buildtools.list && curl -o /etc/apt/trusted.gpg.d/pl-build-tools-keyring.gpg -L http://puppetlabs-stahnma.s3.amazonaws.com/pl-build-tools-keyring.gpg && export DEBIAN_FRONTEND=noninteractive; apt-get update ; apt-get install -y --no-install-recommends build-essential devscripts make quilt pkg-config debhelper rsync fakeroot' on 'root@fx8d6p3u3hj36n5.delivery.puppetlabs.net'
Warning: Permanently added 'fx8d6p3u3hj36n5.delivery.puppetlabs.net,10.32.126.188' (ECDSA) to the list of known hosts.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1182 100 1182 0 0 5596 0 --:--:-- --:--:-- --:--:-- 5601
Get:1 http://10.32.170.59:8080 jessie InRelease [7,301 B]
Get:2 http://osmirror.delivery.puppetlabs.net jessie
Loading gmp
Loading mpfr
Loading mpc
Loading gcc
Loading sysroot
sysroot base is /opt/pl-build-tools/arm-linux-gnueabihf/sysroot
Executing 'curl -O -L http://puppetlabs-stahnma.s3.amazonaws.com/pl-binutils-armhf_2.26-1jessie_all.deb; dpkg -i pl-bin*deb && export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends build-essential devscripts make quilt pkg-config debhelper rsync fakeroot' on 'root@tc0bujxhj15ww8z.delivery.puppetlabs.net'
Warning: Permanently added 'tc0bujxhj15ww8z.delivery.puppetlabs.net,10.32.114.45' (ECDSA) to the list of known hosts.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
Loading consul
Loading web_ui
Executing 'rm -rf /etc/consul /opt/consul && pkg install -y rsync git gmake coreutils bash && chsh -s /usr/local/bin/bash' on 'root@fb1'
Warning: Permanently added 'fb1,10.32.170.246' (ECDSA) to the list of known hosts.
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (0 conflicting)
The most recent version of packages are already installed
chsh: user information updated