3 # Print a description of the build environment. This is here mainly
4 # for the use of the buildbot cluster, allowing developers to see the
5 # build environment on machines they can't login on. It also provides
6 # a history in the build logs that might be useful in catching
9 # This script should *only* report basic information about the build
10 # environment, and only that necessary to reproduce the build
13 # FIXME: Document meaning of script's exit status, if any.
14 # It jumps through hoops with `|| true' despite not using `set -e'.
28 for i
in a m p r s v
; do
29 eval uname_
${i}=\'$(uname -${i} 2>/dev/null)\'
32 header Shell Variables
:
33 set | sort -d -t= | offset
41 lex --version | offset
43 yacc --version | offset
50 header Installed packages
:
51 (pkg info
2>/dev
/null
| offset
) || true
52 (pkg_info
2>/dev
/null
| offset
) || true
56 header Linux distribution
:
57 (lsb_release
-a 2>&1 | offset
) || true