user@host:~/integration-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+162.gb77323a5.dirty
  Session Start: Monday, 25-06-2018 at 01:40:34
  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/.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 f3a052f53373c1d9008c9581600e4b78fd0549b1d914fcb62fd4310fbe356515 base/alpine.bst 
     waiting 63215ac6b90b0f64ab031f5e8d190d30873c4649e1f016be19bd368d4d74b1bc base.bst 
     waiting fe98698f332e669187ea281124b037e0d195cdb5068a1f72d8645d3862e78efa libhello.bst 
     waiting 18c81214a58b3432abe4899ec4973a271d9aa3729e6440b793b865b3702a251c hello.bst 
===============================================================================
[--:--:--][f3a052f5][build:base/alpine.bst               ] START   integration-commands/base-alpine/f3a052f5-build.357.log
[--:--:--][f3a052f5][build:base/alpine.bst               ] START   Staging sources
[00:00:04][f3a052f5][build:base/alpine.bst               ] SUCCESS Staging sources
[--:--:--][f3a052f5][build:base/alpine.bst               ] START   Caching artifact
[00:00:07][f3a052f5][build:base/alpine.bst               ] SUCCESS Caching artifact
[00:00:13][f3a052f5][build:base/alpine.bst               ] SUCCESS integration-commands/base-alpine/f3a052f5-build.357.log
[--:--:--][63215ac6][build:base.bst                      ] START   integration-commands/base/63215ac6-build.366.log
[--:--:--][63215ac6][build:base.bst                      ] START   Caching artifact
[00:00:00][63215ac6][build:base.bst                      ] SUCCESS Caching artifact
[00:00:00][63215ac6][build:base.bst                      ] SUCCESS integration-commands/base/63215ac6-build.366.log
[--:--:--][fe98698f][build:libhello.bst                  ] START   integration-commands/libhello/fe98698f-build.368.log
[--:--:--][fe98698f][build:libhello.bst                  ] START   Staging dependencies
[00:00:00][fe98698f][build:libhello.bst                  ] SUCCESS Staging dependencies
[--:--:--][fe98698f][build:libhello.bst                  ] START   Integrating sandbox
[--:--:--][fe98698f][build:libhello.bst                  ] STATUS  Running integration command

    ldconfig "/usr/lib"

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

    make PREFIX="/usr"

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

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

[00:00:00][fe98698f][build:libhello.bst                  ] SUCCESS Running install-commands
[00:00:00][fe98698f][build:libhello.bst                  ] SUCCESS Running install-commands
[--:--:--][fe98698f][build:libhello.bst                  ] START   Running strip-commands
[--:--:--][fe98698f][build:libhello.bst                  ] START   Running strip-commands
[--:--:--][fe98698f][build:libhello.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][fe98698f][build:libhello.bst                  ] SUCCESS Running strip-commands
[00:00:00][fe98698f][build:libhello.bst                  ] SUCCESS Running strip-commands
[--:--:--][fe98698f][build:libhello.bst                  ] START   Caching artifact
[00:00:00][fe98698f][build:libhello.bst                  ] SUCCESS Caching artifact
[00:00:01][fe98698f][build:libhello.bst                  ] SUCCESS integration-commands/libhello/fe98698f-build.368.log
[--:--:--][18c81214][build:hello.bst                     ] START   integration-commands/hello/18c81214-build.414.log
[--:--:--][18c81214][build:hello.bst                     ] START   Staging dependencies
[00:00:00][18c81214][build:hello.bst                     ] SUCCESS Staging dependencies
[--:--:--][18c81214][build:hello.bst                     ] START   Integrating sandbox
[--:--:--][18c81214][build:hello.bst                     ] STATUS  Running integration command

    ldconfig "/usr/lib"

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

    make PREFIX="/usr"

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

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

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

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