201 egrep ":" $SRC/${INSTALLOG}.out |
202 egrep -e "(^${MAKE}:|[ ]error[: \n])" | \
203 egrep -v "Ignoring unknown host" | \
204 egrep -v "cc .* -o error " | \
205 egrep -v "warning" | tee $TMPDIR/build_errs${SUFFIX} \
206 >> $mail_msg_file
207 sed -n "/^Undefined[ ]*first referenced$/,/^ld: fatal:/p" \
208 < $SRC/${INSTALLOG}.out >> $mail_msg_file
209 if [[ -s $TMPDIR/build_errs${SUFFIX} ]]; then
210 build_ok=n
211 this_build_ok=n
212 fi
213 grep "bootblock image is .* bytes too big" $SRC/${INSTALLOG}.out \
214 >> $mail_msg_file
215 if [ "$?" = "0" ]; then
216 build_ok=n
217 this_build_ok=n
218 fi
219
220 echo "\n==== Build warnings ($LABEL) ====\n" >>$mail_msg_file
221 egrep -i warning: $SRC/${INSTALLOG}.out \
222 | egrep -v '^tic:' \
223 | egrep -v "symbol (\`|')timezone' has differing types:" \
224 | egrep -v "parameter <PSTAMP> set to" \
225 | egrep -v "Ignoring unknown host" \
226 | egrep -v "redefining segment flags attribute for" \
227 | tee $TMPDIR/build_warnings${SUFFIX} >> $mail_msg_file
228 if [[ -s $TMPDIR/build_warnings${SUFFIX} ]]; then
229 build_ok=n
230 this_build_ok=n
231 fi
232
233 echo "\n==== Ended OS-Net source build at `date` ($LABEL) ====\n" \
234 >> $LOGFILE
235
236 echo "\n==== Elapsed build time ($LABEL) ====\n" >>$mail_msg_file
237 tail -3 $SRC/${INSTALLOG}.out >>$mail_msg_file
238
239 if [ "$i_FLAG" = "n" ]; then
240 rm -f $SRC/${NOISE}.ref
241 if [ -f $SRC/${NOISE}.out ]; then
|
201 egrep ":" $SRC/${INSTALLOG}.out |
202 egrep -e "(^${MAKE}:|[ ]error[: \n])" | \
203 egrep -v "Ignoring unknown host" | \
204 egrep -v "cc .* -o error " | \
205 egrep -v "warning" | tee $TMPDIR/build_errs${SUFFIX} \
206 >> $mail_msg_file
207 sed -n "/^Undefined[ ]*first referenced$/,/^ld: fatal:/p" \
208 < $SRC/${INSTALLOG}.out >> $mail_msg_file
209 if [[ -s $TMPDIR/build_errs${SUFFIX} ]]; then
210 build_ok=n
211 this_build_ok=n
212 fi
213 grep "bootblock image is .* bytes too big" $SRC/${INSTALLOG}.out \
214 >> $mail_msg_file
215 if [ "$?" = "0" ]; then
216 build_ok=n
217 this_build_ok=n
218 fi
219
220 echo "\n==== Build warnings ($LABEL) ====\n" >>$mail_msg_file
221 egrep -i 'warn:|warning:' $SRC/${INSTALLOG}.out \
222 | egrep -v '^tic:' \
223 | egrep -v "symbol (\`|')timezone' has differing types:" \
224 | egrep -v "parameter <PSTAMP> set to" \
225 | egrep -v "Ignoring unknown host" \
226 | egrep -v "redefining segment flags attribute for" \
227 | tee $TMPDIR/build_warnings${SUFFIX} >> $mail_msg_file
228 if [[ -s $TMPDIR/build_warnings${SUFFIX} ]]; then
229 build_ok=n
230 this_build_ok=n
231 fi
232
233 echo "\n==== Ended OS-Net source build at `date` ($LABEL) ====\n" \
234 >> $LOGFILE
235
236 echo "\n==== Elapsed build time ($LABEL) ====\n" >>$mail_msg_file
237 tail -3 $SRC/${INSTALLOG}.out >>$mail_msg_file
238
239 if [ "$i_FLAG" = "n" ]; then
240 rm -f $SRC/${NOISE}.ref
241 if [ -f $SRC/${NOISE}.out ]; then
|