user@host:~/autotools$ 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:58
  Project:       autotools (/home/user/repos/buildstream/doc/examples/autotools)
  Targets:       hello.bst
  Cache Usage:   12K / infinity (0%)

User Configuration
  Configuration File:      /home/user/repos/buildstream/doc/run-bst-b3rd90i_/buildstream.conf
  Log Files:               /home/user/repos/buildstream/doc/run-bst-b3rd90i_/logs
  Source Mirrors:          /home/user/.cache/buildstream/sources
  Build Area:              /home/user/repos/buildstream/doc/run-bst-b3rd90i_/build
  Artifact Cache:          /home/user/repos/buildstream/doc/run-bst-b3rd90i_/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 0713461b97fa9c6c4de17c3481d2b5f64fc51af435b0ce55e604283e913aa950 hello.bst 
===============================================================================
[--:--:--][d5472eb6][build:base/alpine.bst               ] START   autotools/base-alpine/d5472eb6-build.12223.log
[--:--:--][d5472eb6][build:base/alpine.bst               ] START   Staging sources
[00:00:05][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 autotools/base-alpine/d5472eb6-build.12223.log
[--:--:--][50110d08][build:base.bst                      ] START   autotools/base/50110d08-build.12229.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 autotools/base/50110d08-build.12229.log
[--:--:--][0713461b][build:hello.bst                     ] START   autotools/hello/0713461b-build.12231.log
[--:--:--][0713461b][build:hello.bst                     ] START   Staging dependencies
[00:00:00][0713461b][build:hello.bst                     ] SUCCESS Staging dependencies
[--:--:--][0713461b][build:hello.bst                     ] START   Integrating sandbox
[00:00:00][0713461b][build:hello.bst                     ] SUCCESS Integrating sandbox
[--:--:--][0713461b][build:hello.bst                     ] START   Staging sources
[00:00:00][0713461b][build:hello.bst                     ] SUCCESS Staging sources
[--:--:--][0713461b][build:hello.bst                     ] START   Running configure-commands
[--:--:--][0713461b][build:hello.bst                     ] STATUS  Running configure-commands

    export NOCONFIGURE=1;
    
    if [ -x ./configure ]; then true;
    elif [ -x autogen ]; then ./autogen;
    elif [ -x autogen.sh ]; then ./autogen.sh;
    elif [ -x bootstrap ]; then ./bootstrap;
    elif [ -x bootstrap.sh ]; then ./bootstrap.sh;
    else autoreconf -ivf;
    fi

[--:--:--][0713461b][build:hello.bst                     ] STATUS  Running configure-commands

    ./configure --prefix=/usr \
    --exec-prefix=/usr \
    --bindir=/usr/bin \
    --sbindir=/usr/sbin \
    --sysconfdir=/etc \
    --datadir=/usr/share \
    --includedir=/usr/include \
    --libdir=/usr/lib \
    --libexecdir=/usr/libexec \
    --localstatedir=/var \
    --sharedstatedir=/usr/com \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info

[00:00:03][0713461b][build:hello.bst                     ] SUCCESS Running configure-commands
[--:--:--][0713461b][build:hello.bst                     ] START   Running build-commands
[--:--:--][0713461b][build:hello.bst                     ] STATUS  Running build-commands

    make

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

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

[00:00:00][0713461b][build:hello.bst                     ] SUCCESS Running install-commands
[--:--:--][0713461b][build:hello.bst                     ] START   Running strip-commands
[--:--:--][0713461b][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][0713461b][build:hello.bst                     ] SUCCESS Running strip-commands
[--:--:--][0713461b][build:hello.bst                     ] START   Caching artifact
[00:00:00][0713461b][build:hello.bst                     ] SUCCESS Caching artifact
[00:00:04][0713461b][build:hello.bst                     ] SUCCESS autotools/hello/0713461b-build.12231.log
[00:00:12][][] SUCCESS Build

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