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
25 for i in a m p r s v; do
26 eval uname_${i}=\'$(uname -${i} 2>/dev/null)\'
29 header Shell Variables:
30 set | sort -d -t= | offset
38 lex --version | offset
40 yacc --version | offset
47 header Installed packages:
48 (pkg info 2>/dev/null | offset) || true
49 (pkg_info 2>/dev/null | offset) || true
53 header Linux distribution:
54 (lsb_release -a 2>&1 | offset) || true