Menu

[r9822]: / trunk / build / build_bug.sh  Maximize  Restore  History

Download this file

40 lines (35 with data), 895 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/bin/sh
do_cmd()
{
echo "*********************** BEGIN $* ***********************"
$*
echo "*********************** END $* ***********************"
}
cd "$(dirname $0)/.."
. build/nano_env
. build/functions.sh
log="build_bug.$$.log.bz2"
info "grabbing build environment information; please wait.."
(
for cmd in \
"uname -a" \
"set" \
"cat obj.*/_.env" \
"svn status ." \
"svnversion FreeBSD/src" \
"svn info FreeBSD/src" \
"svn status FreeBSD/src" \
"svn diff FreeBSD/src" \
"cat patches/ports*.patch" \
; \
do
do_cmd "$cmd"
done
# See: build/nano_env .
if [ -z "$git" ]; then
do_cmd "svn diff ."
else
do_cmd "git diff ."
fi
) | bzip2 -c > $log 2>&1
info "Done! Please create a support ticket [at $AVATAR_SUPPORT_SITE], attach $log (in addition to any other failed build logs as noted by nanobsd, etc), and note that the issue is a build system issue."
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.