Subject: Re: pkg/35667: new package for importing to pkgsrc: libjudy
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: OBATA Akio <obache@netbsd.org>
List: pkgsrc-bugs
Date: 04/29/2007 16:00:05
The following reply was made to PR pkg/35667; it has been noted by GNATS.
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/35667: new package for importing to pkgsrc: libjudy
Date: Mon, 30 Apr 2007 00:58:59 +0900
On Sun, 18 Feb 2007 01:55:00 +0900, <cheusov@tut.by> wrote:
>> Description:
> Please, import wip/libjudy to pkgsrc
On NetBSD-3.1/i386, "make test" can't pass:
=== Pass: Compile of tests
Validate Judy1/JudyL/JudyHS functions (except Judy*ByCount)
Error: Judy1PrevEmpty Rcode != 1 = 0, file='Judy1LHCheck.c',
'function='TestJudyPrevEmpty', line 863
=== 0 Failed: Judy1/JudyL/JudyHS validate program
PASS: Checkit
==================
All 1 tests passed
==================
Seems to All tests passed, but it's test/Checkit script's fault.
All lines like following in the script:
if [ $? -ne 0 ] ; then
echo "=== $? Failed: XXXXXXXXXXXX"
exit $?
fi
should change to:
rc=$?
if [ $rc -ne 0 ] ; then
echo "=== $rc Failed: XXXXXXXXXXXX"
exit $rc
fi