#2 failures in `make check`

v1.0_(example)
closed
nobody
5
2016-05-16
2007-05-02
tek-ops
No

I'm attempting to build xgawk on an x86 NetBSD machine, make completes without error however runnings make check does in fact fail, seen here:

make check

Making check in .
make 'CFLAGS=-g -O2' 'LDFLAGS=' check-local
Making check in awklib
Making check in doc
Making check in po
Making check in extension
Making check in test

Any output from "cmp" is bad news, although some differences
in floating point values are probably benign -- in particular,
some systems may omit a leading zero and the floating point
precision may lead to slightly different output in a few cases.

Locale environment:
LC_ALL="C" LANG="C"

======== Starting basic tests ========
addcomma
anchgsub
argarray
arrayparm
arrayref
arrymem1
arrayprm2
arrayprm3
arryref2
arryref3
arryref4
arryref5
arynasty
arynocls
aryprm1
aryprm2
aryprm3
aryprm4
aryprm5
aryprm6
aryprm7
aryprm8
arysubnm
asgext
awkpath
back89
backgsub
childin
clobber
clsflnam
compare
compare2
concat1
concat2
concat3
convfmt
datanonl
defref
delarprm
delarpm2
delfunc
dynlj
eofsplit
exitval1
exitval2
fldchg
fldchgnf
Syntax error: redirection unexpected
*** Error code 2

Stop.
make: stopped in /devel/build/NetBSD/xgawk-3.1.5-beta.20060401/test
*** Error code 1

Stop.
make: stopped in /devel/build/NetBSD/xgawk-3.1.5-beta.20060401

When I dig further it appears that the test script "fmtspcl.awk" is exiting on the first warning, seen here:

pwd

/devel/build/NetBSD/xgawk-3.1.5-beta.20060401/test

../gawk -f fmtspcl.awk

gawk: fmtspcl.awk:10: warning: sqrt: called with negative argument -1

cat fmtspcl.tok

gawk: fmtspcl.awk:10: warning: sqrt: called with negative argument -1
gawk: fmtspcl.awk:6: warning: [s]printf: value positive_nan is out of range for %x' format gawk: fmtspcl.awk:6: warning: [s]printf: value positive_nan is out of range for%d' format
gawk: fmtspcl.awk:6: warning: [s]printf: value negative_nan is out of range for %x' format gawk: fmtspcl.awk:6: warning: [s]printf: value negative_nan is out of range for%d' format
gawk: fmtspcl.awk:6: warning: [s]printf: value positive_infinity is out of range for %x' format gawk: fmtspcl.awk:6: warning: [s]printf: value positive_infinity is out of range for%d' format
gawk: fmtspcl.awk:6: warning: [s]printf: value negative_infinity is out of range for %x' format gawk: fmtspcl.awk:6: warning: [s]printf: value negative_infinity is out of range for%d' format

From the cat fmtspcl.tok it appears that the expectation is for the test script to continue through. I'm not sure if this is a bug in the build of xgawk or the test script, however when I run this same test script under, a non-xgawk, gawk 3.1.5 the results are the same; exit after that first warning.

Discussion

  • tek-ops

    tek-ops - 2007-05-02

    Logged In: YES
    user_id=1656000
    Originator: YES

    you must use gmake

     
  • Andrew J. Schorr

    • status: open --> closed
    • Group: --> v1.0_(example)
     
  • Andrew J. Schorr

    Closing out an obsolete bug.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks