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

[--:--:--][][] 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.2.0
  Session Start: Monday, 03-09-2018 at 16:00:41
  Project:       integration-commands (/home/user/integration-commands)
  Targets:       hello.bst

User Configuration
  Configuration File:      /home/user/.config/buildstream.conf
  Log Files:               /home/user/.cache/buildstream/logs
  Source Mirrors:          /home/user/codethink/GNOME/integration-cache/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 30df5cfc02f182c03e62caab989fae75b64325d09694953040cf2be679e75269 base/alpine.bst 
     waiting b88faca38ae2b9297d92450cba0fff8a23df268f2b856aa93b1b450e0e22ed72 base.bst 
     waiting 8e6d7381ffa9a1409406e3c479f0ba55231e25329dcf15cb006cf3394117c243 libhello.bst 
     waiting 528867598298046d60225e2c3d462f343a70d69082cbebebbaf64a088905c5bd hello.bst 
===============================================================================
[--:--:--][30df5cfc][build:base/alpine.bst               ] START   integration-commands/base-alpine/30df5cfc-build.6439.log
[--:--:--][30df5cfc][build:base/alpine.bst               ] START   Staging sources
[00:00:04][30df5cfc][build:base/alpine.bst               ] SUCCESS Staging sources
[--:--:--][30df5cfc][build:base/alpine.bst               ] START   Caching artifact
[00:00:02][30df5cfc][build:base/alpine.bst               ] SUCCESS Caching artifact
[00:00:07][30df5cfc][build:base/alpine.bst               ] SUCCESS integration-commands/base-alpine/30df5cfc-build.6439.log
[--:--:--][b88faca3][build:base.bst                      ] START   integration-commands/base/b88faca3-build.6445.log
[--:--:--][b88faca3][build:base.bst                      ] START   Caching artifact
[00:00:00][b88faca3][build:base.bst                      ] SUCCESS Caching artifact
[00:00:00][b88faca3][build:base.bst                      ] SUCCESS integration-commands/base/b88faca3-build.6445.log
[--:--:--][8e6d7381][build:libhello.bst                  ] START   integration-commands/libhello/8e6d7381-build.6447.log
[--:--:--][8e6d7381][build:libhello.bst                  ] START   Staging dependencies
[00:00:00][8e6d7381][build:libhello.bst                  ] SUCCESS Staging dependencies
[--:--:--][8e6d7381][build:libhello.bst                  ] START   Integrating sandbox
[--:--:--][8e6d7381][build:libhello.bst                  ] STATUS  Running integration command

    ldconfig "/usr/lib"

[00:00:01][8e6d7381][build:libhello.bst                  ] SUCCESS Integrating sandbox
[--:--:--][8e6d7381][build:libhello.bst                  ] START   Staging sources
[00:00:00][8e6d7381][build:libhello.bst                  ] SUCCESS Staging sources
[--:--:--][8e6d7381][build:libhello.bst                  ] START   Running build-commands
[--:--:--][8e6d7381][build:libhello.bst                  ] STATUS  Running build-commands

    make PREFIX="/usr"

[00:00:00][8e6d7381][build:libhello.bst                  ] SUCCESS Running build-commands
[--:--:--][8e6d7381][build:libhello.bst                  ] START   Running install-commands
[--:--:--][8e6d7381][build:libhello.bst                  ] STATUS  Running install-commands

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

[00:00:00][8e6d7381][build:libhello.bst                  ] SUCCESS Running install-commands
[--:--:--][8e6d7381][build:libhello.bst                  ] START   Running strip-commands
[--:--:--][8e6d7381][build:libhello.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][8e6d7381][build:libhello.bst                  ] SUCCESS Running strip-commands
[--:--:--][8e6d7381][build:libhello.bst                  ] START   Caching artifact
[00:00:00][8e6d7381][build:libhello.bst                  ] SUCCESS Caching artifact
[00:00:02][8e6d7381][build:libhello.bst                  ] SUCCESS integration-commands/libhello/8e6d7381-build.6447.log
[--:--:--][52886759][build:hello.bst                     ] START   integration-commands/hello/52886759-build.6499.log
[--:--:--][52886759][build:hello.bst                     ] START   Staging dependencies
[00:00:00][52886759][build:hello.bst                     ] SUCCESS Staging dependencies
[--:--:--][52886759][build:hello.bst                     ] START   Integrating sandbox
[--:--:--][52886759][build:hello.bst                     ] STATUS  Running integration command

    ldconfig "/usr/lib"

[00:00:00][52886759][build:hello.bst                     ] SUCCESS Integrating sandbox
[--:--:--][52886759][build:hello.bst                     ] START   Staging sources
[00:00:00][52886759][build:hello.bst                     ] SUCCESS Staging sources
[--:--:--][52886759][build:hello.bst                     ] START   Running build-commands
[--:--:--][52886759][build:hello.bst                     ] STATUS  Running build-commands

    make PREFIX="/usr"

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

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

[00:00:00][52886759][build:hello.bst                     ] SUCCESS Running install-commands
[--:--:--][52886759][build:hello.bst                     ] START   Running strip-commands
[--:--:--][52886759][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][52886759][build:hello.bst                     ] SUCCESS Running strip-commands
[--:--:--][52886759][build:hello.bst                     ] START   Caching artifact
[00:00:00][52886759][build:hello.bst                     ] SUCCESS Caching artifact
[00:00:01][52886759][build:hello.bst                     ] SUCCESS integration-commands/hello/52886759-build.6499.log
[00:00:11][][] SUCCESS Build

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