    user@host:~/running-commands$ bst build hello.bst

    [--:--:--][][] STATUS  Cache usage recomputed: 12K / infinity (0%)
    [--:--:--][][] START   Build
    [--:--:--][][] START   Loading elements
    [00:00:00][][] SUCCESS Loading elements
    [--:--:--][][] START   Resolving elements
    [00:00:00][][] SUCCESS Resolving elements
    [--:--:--][][] START   Resolving cached state
    [00:00:00][][] SUCCESS Resolving cached state
    [--:--:--][][] START   Checking sources
    [00:00:00][][] SUCCESS Checking sources

    BuildStream Version 1.4.0
      Session Start: Monday, 02-09-2019 at 16:06:05
      Project:       running-commands (/home/user/repos/buildstream/doc/examples/running-commands)
      Targets:       hello.bst
      Cache Usage:   12K / infinity (0%)

    User Configuration
      Configuration File:      /home/user/repos/buildstream/doc/run-bst-wz45hsv4/buildstream.conf
      Log Files:               /home/user/repos/buildstream/doc/run-bst-wz45hsv4/logs
      Source Mirrors:          /home/user/.cache/buildstream/sources
      Build Area:              /home/user/repos/buildstream/doc/run-bst-wz45hsv4/build
      Artifact Cache:          /home/user/repos/buildstream/doc/run-bst-wz45hsv4/artifacts
      Strict Build Plan:       Yes
      Maximum Fetch Tasks:     10
      Maximum Build Tasks:     4
      Maximum Push Tasks:      4
      Maximum Network Retries: 2

    Pipeline
       buildable d5472eb60ceb8a45b0ed5907912b5d89ce91d8a4e9b454ea2663f052c6cf4dff base/alpine.bst
         waiting 50110d08831106135148d991c33f15794b530938712216e84593eeff7c1ef8ca base.bst
         waiting 2bee306eafed3b07aa9dae4c28185429984ca7b246585901709e10ba7ca52c8e hello.bst
    ===============================================================================
    [--:--:--][d5472eb6][build:base/alpine.bst               ] START   running-commands/base-alpine/d5472eb6-build.10941.log
    [--:--:--][d5472eb6][build:base/alpine.bst               ] START   Staging sources
    [00:00:04][d5472eb6][build:base/alpine.bst               ] SUCCESS Staging sources
    [--:--:--][d5472eb6][build:base/alpine.bst               ] START   Caching artifact
    [00:00:02][d5472eb6][build:base/alpine.bst               ] SUCCESS Caching artifact
    [00:00:08][d5472eb6][build:base/alpine.bst               ] SUCCESS running-commands/base-alpine/d5472eb6-build.10941.log
    [--:--:--][50110d08][build:base.bst                      ] START   running-commands/base/50110d08-build.10946.log
    [--:--:--][50110d08][build:base.bst                      ] START   Caching artifact
    [00:00:00][50110d08][build:base.bst                      ] SUCCESS Caching artifact
    [00:00:00][50110d08][build:base.bst                      ] SUCCESS running-commands/base/50110d08-build.10946.log
    [--:--:--][2bee306e][build:hello.bst                     ] START   running-commands/hello/2bee306e-build.10948.log
    [--:--:--][2bee306e][build:hello.bst                     ] START   Staging dependencies
    [00:00:00][2bee306e][build:hello.bst                     ] SUCCESS Staging dependencies
    [--:--:--][2bee306e][build:hello.bst                     ] START   Integrating sandbox
    [00:00:00][2bee306e][build:hello.bst                     ] SUCCESS Integrating sandbox
    [--:--:--][2bee306e][build:hello.bst                     ] START   Staging sources
    [00:00:00][2bee306e][build:hello.bst                     ] SUCCESS Staging sources
    [--:--:--][2bee306e][build:hello.bst                     ] START   Running build-commands
    [--:--:--][2bee306e][build:hello.bst                     ] STATUS  Running build-commands

        make PREFIX="/usr"

    [00:00:00][2bee306e][build:hello.bst                     ] SUCCESS Running build-commands
    [--:--:--][2bee306e][build:hello.bst                     ] START   Running install-commands
    [--:--:--][2bee306e][build:hello.bst                     ] STATUS  Running install-commands

        make -j1 PREFIX="/usr" DESTDIR="/buildstream-install" install

    [00:00:00][2bee306e][build:hello.bst                     ] SUCCESS Running install-commands
    [--:--:--][2bee306e][build:hello.bst                     ] START   Running strip-commands
    [--:--:--][2bee306e][build:hello.bst                     ] STATUS  Running strip-commands

        cd "/buildstream-install" && find -type f \
          '(' -perm -111 -o -name '*.so*' \
              -o -name '*.cmxs' -o -name '*.node' ')' \
          -exec sh -ec \
          'read -n4 hdr <"$1" # check for elf header
           if [ "$hdr" != "$(printf \\x7fELF)" ]; then
               exit 0
           fi
           debugfile="/buildstream-install/usr/lib/debug/$1"
           mkdir -p "$(dirname "$debugfile")"
           objcopy --only-keep-debug --compress-debug-sections "$1" "$debugfile"
           chmod 644 "$debugfile"
           strip --remove-section=.comment --remove-section=.note --strip-unneeded "$1"
           objcopy --add-gnu-debuglink "$debugfile" "$1"' - {} ';'

    [00:00:00][2bee306e][build:hello.bst                     ] SUCCESS Running strip-commands
    [--:--:--][2bee306e][build:hello.bst                     ] START   Caching artifact
    [00:00:00][2bee306e][build:hello.bst                     ] SUCCESS Caching artifact
    [00:00:00][2bee306e][build:hello.bst                     ] SUCCESS running-commands/hello/2bee306e-build.10948.log
    [00:00:08][][] SUCCESS Build

    Pipeline Summary
      Total:       3
      Session:     3
      Fetch Queue: processed 0, skipped 3, failed 0
      Build Queue: processed 3, skipped 0, failed 0