make test in master fail - json

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Sep 15 00:47:25 CEST 2015


> On 14 Sep 2015, at 22:58, Matthew Newton <mcn4 at LEICESTER.AC.UK> wrote:
> 
> Debian wheezy, make test in master (19d03eeb44c66e2) fails:
> 
>  Failed evaluating jpath: Invalid cast from integer64 to integer
> 
> Comment out tests 31, 32, 33 and 34 from tests/modules/json/eval.unlang
> and all is OK.
> 
> There are comments there something about json-c < 0.10. This is json-c 0.10
> (debian 0.10-1.2), so I guess it could be that 0.10 is broken as well? Or just
> something in flux in master.

Weird, it doesn't break in travis with json-c 0.9, it doesn't break on OSX
with json-c 0.12.  I guess there was some weird transitional thing in json-c
0.10 *sigh*.

I'll try and track it down.

The comments about json-c < 0.10 are because 0.10 was the first get support
for 64 bit integers (supposedly).

json-c is definitely the worst dependency in the server because a lot of the
functionality we use was added in later versions.  There's a set of h/c files
just to fill in the gaps.

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20150914/2ec46ac3/attachment.sig>


More information about the Freeradius-Devel mailing list