user@host:~/flatpak-autotools$ 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+135.gfa73abe4.dirty
  Session Start: Wednesday, 13-06-2018 at 23:09:58
  Project:       flatpak-autotools (/home/user/flatpak-autotools)
  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

Project Options
  arch: x86_64

Pipeline
   buildable 9ad74bd1a5383d1dba0c04375de427520b2b0cf1f87a1816a178c7d5f211f8b3 base/sdk.bst 
     waiting 68ac6ea7b00f9b906b5d0f76ab8c757d343956f6c9001b9db28e22f9bfa9ddcd base/usrmerge.bst 
     waiting 998d2c331d5ba6fbec6c6542ec0b00d396fa73b9c67ab17441525d3a68941c8f base.bst 
     waiting c6da929e6df823f3a09d2129b6785198d0fede01f5ef87d87f0edcdbfc850c1b hello.bst 
===============================================================================
[--:--:--][9ad74bd1][build:base/sdk.bst                  ] START   flatpak-autotools/base-sdk/9ad74bd1-build.32403.log
[--:--:--][9ad74bd1][build:base/sdk.bst                  ] START   Staging sources
[00:00:23][9ad74bd1][build:base/sdk.bst                  ] SUCCESS Staging sources
[--:--:--][9ad74bd1][build:base/sdk.bst                  ] START   Caching artifact
[00:00:35][9ad74bd1][build:base/sdk.bst                  ] SUCCESS Caching artifact
[00:01:02][9ad74bd1][build:base/sdk.bst                  ] SUCCESS flatpak-autotools/base-sdk/9ad74bd1-build.32403.log
[--:--:--][68ac6ea7][build:base/usrmerge.bst             ] START   flatpak-autotools/base-usrmerge/68ac6ea7-build.32421.log
[--:--:--][68ac6ea7][build:base/usrmerge.bst             ] START   Staging sources
[00:00:00][68ac6ea7][build:base/usrmerge.bst             ] SUCCESS Staging sources
[--:--:--][68ac6ea7][build:base/usrmerge.bst             ] START   Caching artifact
[00:00:00][68ac6ea7][build:base/usrmerge.bst             ] SUCCESS Caching artifact
[00:00:00][68ac6ea7][build:base/usrmerge.bst             ] SUCCESS flatpak-autotools/base-usrmerge/68ac6ea7-build.32421.log
[--:--:--][998d2c33][build:base.bst                      ] START   flatpak-autotools/base/998d2c33-build.32423.log
[--:--:--][998d2c33][build:base.bst                      ] START   Caching artifact
[00:00:00][998d2c33][build:base.bst                      ] SUCCESS Caching artifact
[00:00:00][998d2c33][build:base.bst                      ] SUCCESS flatpak-autotools/base/998d2c33-build.32423.log
[--:--:--][c6da929e][build:hello.bst                     ] START   flatpak-autotools/hello/c6da929e-build.32425.log
[--:--:--][c6da929e][build:hello.bst                     ] START   Staging dependencies
[00:00:02][c6da929e][build:hello.bst                     ] SUCCESS Staging dependencies
[--:--:--][c6da929e][build:hello.bst                     ] START   Integrating sandbox
[00:00:00][c6da929e][build:hello.bst                     ] SUCCESS Integrating sandbox
[--:--:--][c6da929e][build:hello.bst                     ] START   Staging sources
[00:00:00][c6da929e][build:hello.bst                     ] SUCCESS Staging sources
[--:--:--][c6da929e][build:hello.bst                     ] START   Running configure-commands
[--:--:--][c6da929e][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

[00:00:02][c6da929e][build:hello.bst                     ] SUCCESS Running configure-commands
[--:--:--][c6da929e][build:hello.bst                     ] START   Running configure-commands
[--:--:--][c6da929e][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:01][c6da929e][build:hello.bst                     ] SUCCESS Running configure-commands
[--:--:--][c6da929e][build:hello.bst                     ] START   Running build-commands
[--:--:--][c6da929e][build:hello.bst                     ] START   Running build-commands
[--:--:--][c6da929e][build:hello.bst                     ] STATUS  Running build-commands

    make

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

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

[00:00:00][c6da929e][build:hello.bst                     ] SUCCESS Running install-commands
[00:00:00][c6da929e][build:hello.bst                     ] SUCCESS Running install-commands
[--:--:--][c6da929e][build:hello.bst                     ] START   Running strip-commands
[--:--:--][c6da929e][build:hello.bst                     ] START   Running strip-commands
[--:--:--][c6da929e][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][c6da929e][build:hello.bst                     ] SUCCESS Running strip-commands
[00:00:00][c6da929e][build:hello.bst                     ] SUCCESS Running strip-commands
[--:--:--][c6da929e][build:hello.bst                     ] START   Caching artifact
[00:00:00][c6da929e][build:hello.bst                     ] SUCCESS Caching artifact
[00:00:07][c6da929e][build:hello.bst                     ] SUCCESS flatpak-autotools/hello/c6da929e-build.32425.log
[00:01:12][][] SUCCESS Build

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