From 19dddf8249d827d3721511e6545147920db93245 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Tue, 12 Jun 2018 16:17:27 -0400 Subject: doc/source/sessions: Committing generated session files. This is only to make it easier for people who just want to build docs locally and not regenerate the session files. The session snapshot html files are always generated in CI every time. --- doc/source/sessions/flatpak-autotools-build.html | 145 +++++++++++++++++++++++ doc/source/sessions/flatpak-autotools-shell.html | 23 ++++ 2 files changed, 168 insertions(+) create mode 100644 doc/source/sessions/flatpak-autotools-build.html create mode 100644 doc/source/sessions/flatpak-autotools-shell.html diff --git a/doc/source/sessions/flatpak-autotools-build.html b/doc/source/sessions/flatpak-autotools-build.html new file mode 100644 index 000000000..a50dcb89c --- /dev/null +++ b/doc/source/sessions/flatpak-autotools-build.html @@ -0,0 +1,145 @@ + +
+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+131.g71adfc21.dirty
+  Session Start: Tuesday, 12-06-2018 at 16:12:50
+  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.2300.log
+[--:--:--][9ad74bd1][build:base/sdk.bst                  ] START   Staging sources
+[00:00:32][9ad74bd1][build:base/sdk.bst                  ] SUCCESS Staging sources
+[--:--:--][9ad74bd1][build:base/sdk.bst                  ] START   Caching artifact
+[00:00:38][9ad74bd1][build:base/sdk.bst                  ] SUCCESS Caching artifact
+[00:01:13][9ad74bd1][build:base/sdk.bst                  ] SUCCESS flatpak-autotools/base-sdk/9ad74bd1-build.2300.log
+[--:--:--][68ac6ea7][build:base/usrmerge.bst             ] START   flatpak-autotools/base-usrmerge/68ac6ea7-build.3209.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.3209.log
+[--:--:--][998d2c33][build:base.bst                      ] START   flatpak-autotools/base/998d2c33-build.3214.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.3214.log
+[--:--:--][c6da929e][build:hello.bst                     ] START   flatpak-autotools/hello/c6da929e-build.3216.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.3216.log
+[00:01:23][][] SUCCESS Build
+
+Pipeline Summary
+  Total:       4
+  Session:     4
+  Fetch Queue: processed 0, skipped 4, failed 0 
+  Build Queue: processed 4, skipped 0, failed 0
+
diff --git a/doc/source/sessions/flatpak-autotools-shell.html b/doc/source/sessions/flatpak-autotools-shell.html new file mode 100644 index 000000000..b9943ca2d --- /dev/null +++ b/doc/source/sessions/flatpak-autotools-shell.html @@ -0,0 +1,23 @@ + +
+user@host:~/flatpak-autotools$ bst shell hello.bst -- hello
+
+[--:--:--][][] 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   Staging dependencies
+[00:00:01][][] SUCCESS Staging dependencies
+[--:--:--][][] START   Integrating sandbox
+[00:00:00][][] SUCCESS Integrating sandbox
+[--:--:--][c6da929e][ main:hello.bst                     ] STATUS  Running command
+
+    hello
+
+Hello World!
+This is amhello 1.0.
+
-- cgit v1.2.1