user@host:~/junctions$ bst build callHello.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+221.g589c77c2.dirty
  Session Start: Tuesday, 17-07-2018 at 16:23:26
  Project:       junctions (/home/user/buildstream/doc/examples/junctions)
  Targets:       callHello.bst

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

Pipeline
fetch needed 5ca6420ca17be3f95895b75750404788d01bdd48ab4b7b665cff5e545eed3771 hello-junction.bst:base/alpine.bst 
     waiting 180088afb6d3b123e54f63bf1000ff4840e686edea7a017c38165d27a3e2b5b8 hello-junction.bst:base.bst 
fetch needed 377e2862ab1e4bdba12492541415c691979cdd606a3e28475c240c30a9808691 hello-junction.bst:hello.bst 
     waiting e366cac8cd0af970b61acc59724a23b5337d4d8fc5e5dbf2cdbb87de195bdca0 callHello.bst 
===============================================================================
[--:--:--][5ca6420c][fetch:hello-junction.bst:base/alpine.bst] START   autotools/base-alpine/5ca6420c-fetch.30873.log
[--:--:--][5ca6420c][fetch:hello-junction.bst:base/alpine.bst] START   Fetching https://gnome7.codethink.co.uk/tarballs/integration-tests-base.v1.x86_64.tar.xz
[--:--:--][377e2862][fetch:hello-junction.bst:hello.bst  ] START   autotools/hello/377e2862-fetch.30875.log
[--:--:--][377e2862][fetch:hello-junction.bst:hello.bst  ] START   Fetching https://ftp.gnu.org/gnu/automake/automake-1.16.tar.gz
[00:00:02][377e2862][fetch:hello-junction.bst:hello.bst  ] SUCCESS Fetching https://ftp.gnu.org/gnu/automake/automake-1.16.tar.gz
[00:00:02][377e2862][fetch:hello-junction.bst:hello.bst  ] SUCCESS autotools/hello/377e2862-fetch.30875.log
[00:00:03][5ca6420c][fetch:hello-junction.bst:base/alpine.bst] SUCCESS Fetching https://gnome7.codethink.co.uk/tarballs/integration-tests-base.v1.x86_64.tar.xz
[00:00:03][5ca6420c][fetch:hello-junction.bst:base/alpine.bst] SUCCESS autotools/base-alpine/5ca6420c-fetch.30873.log
[--:--:--][5ca6420c][build:hello-junction.bst:base/alpine.bst] START   autotools/base-alpine/5ca6420c-build.30877.log
[--:--:--][5ca6420c][build:hello-junction.bst:base/alpine.bst] START   Staging sources
[00:00:06][5ca6420c][build:hello-junction.bst:base/alpine.bst] SUCCESS Staging sources
[--:--:--][5ca6420c][build:hello-junction.bst:base/alpine.bst] START   Caching artifact
[00:00:04][5ca6420c][build:hello-junction.bst:base/alpine.bst] SUCCESS Caching artifact
[00:00:12][5ca6420c][build:hello-junction.bst:base/alpine.bst] SUCCESS autotools/base-alpine/5ca6420c-build.30877.log
[--:--:--][180088af][build:hello-junction.bst:base.bst   ] START   autotools/base/180088af-build.30882.log
[--:--:--][180088af][build:hello-junction.bst:base.bst   ] START   Caching artifact
[00:00:00][180088af][build:hello-junction.bst:base.bst   ] SUCCESS Caching artifact
[00:00:00][180088af][build:hello-junction.bst:base.bst   ] SUCCESS autotools/base/180088af-build.30882.log
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   autotools/hello/377e2862-build.30884.log
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Staging dependencies
[00:00:01][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Staging dependencies
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Integrating sandbox
[00:00:00][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Integrating sandbox
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Staging sources
[00:00:00][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Staging sources
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Running configure-commands
[--:--:--][377e2862][build:hello-junction.bst: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

[00:00:03][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Running configure-commands
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Running configure-commands
[--:--:--][377e2862][build:hello-junction.bst: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:01][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Running configure-commands
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Running build-commands
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Running build-commands
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] STATUS  Running build-commands

    make

[00:00:00][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Running build-commands
[00:00:00][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Running build-commands
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Running install-commands
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Running install-commands
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] STATUS  Running install-commands

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

[00:00:00][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Running install-commands
[00:00:00][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Running install-commands
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Running strip-commands
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Running strip-commands
[--:--:--][377e2862][build:hello-junction.bst: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][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Running strip-commands
[00:00:00][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Running strip-commands
[--:--:--][377e2862][build:hello-junction.bst:hello.bst  ] START   Caching artifact
[00:00:00][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS Caching artifact
[00:00:06][377e2862][build:hello-junction.bst:hello.bst  ] SUCCESS autotools/hello/377e2862-build.30884.log
[--:--:--][e366cac8][build:callHello.bst                 ] START   junctions/callHello/e366cac8-build.31865.log
[--:--:--][e366cac8][build:callHello.bst                 ] START   Staging sources
[00:00:00][e366cac8][build:callHello.bst                 ] SUCCESS Staging sources
[--:--:--][e366cac8][build:callHello.bst                 ] START   Caching artifact
[00:00:00][e366cac8][build:callHello.bst                 ] SUCCESS Caching artifact
[00:00:00][e366cac8][build:callHello.bst                 ] SUCCESS junctions/callHello/e366cac8-build.31865.log
[00:00:23][][] SUCCESS Build

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