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

[--:--:--][][] START   Build
[--:--:--][][] START   Loading pipeline
[00:00:00][][] SUCCESS Loading pipeline
[--:--:--][][] START   Resolving pipeline
[00:00:00][][] SUCCESS Resolving pipeline
[--:--:--][][] START   Resolving cached state
[00:00:00][][] SUCCESS Resolving cached state
[--:--:--][][] START   Checking sources
[00:00:00][][] SUCCESS Checking sources

BuildStream Version 1.1.3+141.g6fa3f922.dirty
  Session Start: Sunday, 17-06-2018 at 20:11:21
  Project:       running-commands (/home/user/running-commands)
  Targets:       hello.bst

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

Pipeline
   buildable a352c93edfc55a41868b4f482758ad3ea1c21571532373542cd20b9135f0718d base/alpine.bst 
     waiting a8eeb045115a4a71c18d09fe14b7b4fc3f3e838414a7d23d7c6d4c3027f28743 base.bst 
     waiting c50da0531f050b51a7ddb6f331750642ad222ae6a81a16e091e026aa4d7cc07a hello.bst 
===============================================================================
[--:--:--][a352c93e][build:base/alpine.bst               ] START   running-commands/base-alpine/a352c93e-build.17046.log
[--:--:--][a352c93e][build:base/alpine.bst               ] START   Staging sources
[00:00:04][a352c93e][build:base/alpine.bst               ] SUCCESS Staging sources
[--:--:--][a352c93e][build:base/alpine.bst               ] START   Caching artifact
[00:00:09][a352c93e][build:base/alpine.bst               ] SUCCESS Caching artifact
[00:00:15][a352c93e][build:base/alpine.bst               ] SUCCESS running-commands/base-alpine/a352c93e-build.17046.log
[--:--:--][a8eeb045][build:base.bst                      ] START   running-commands/base/a8eeb045-build.17054.log
[--:--:--][a8eeb045][build:base.bst                      ] START   Caching artifact
[00:00:00][a8eeb045][build:base.bst                      ] SUCCESS Caching artifact
[00:00:00][a8eeb045][build:base.bst                      ] SUCCESS running-commands/base/a8eeb045-build.17054.log
[--:--:--][c50da053][build:hello.bst                     ] START   running-commands/hello/c50da053-build.17056.log
[--:--:--][c50da053][build:hello.bst                     ] START   Staging dependencies
[00:00:00][c50da053][build:hello.bst                     ] SUCCESS Staging dependencies
[--:--:--][c50da053][build:hello.bst                     ] START   Integrating sandbox
[00:00:00][c50da053][build:hello.bst                     ] SUCCESS Integrating sandbox
[--:--:--][c50da053][build:hello.bst                     ] START   Staging sources
[00:00:00][c50da053][build:hello.bst                     ] SUCCESS Staging sources
[--:--:--][c50da053][build:hello.bst                     ] START   Running build-commands
[--:--:--][c50da053][build:hello.bst                     ] START   Running build-commands
[--:--:--][c50da053][build:hello.bst                     ] STATUS  Running build-commands

    make PREFIX="/usr"

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

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

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

    find "/buildstream-install" -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/$(basename "$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][c50da053][build:hello.bst                     ] SUCCESS Running strip-commands
[00:00:00][c50da053][build:hello.bst                     ] SUCCESS Running strip-commands
[--:--:--][c50da053][build:hello.bst                     ] START   Caching artifact
[00:00:00][c50da053][build:hello.bst                     ] SUCCESS Caching artifact
[00:00:01][c50da053][build:hello.bst                     ] SUCCESS running-commands/hello/c50da053-build.17056.log
[00:00:17][][] SUCCESS Build

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