[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: anet/0.1-1 [ITP] -- Ada networking library

On 05/21/2012 10:21 AM, Ludovic Brenta wrote:
> Uploaded but FTBFS on all architectures:
> Errors :  2
>  Anet tests:
>   Tests for Sockets package:
>    Receive data (IPv4 multicast) - ANET.TEST_UTILS.OPEN_FILE_ERROR ERROR   
> 3.521723000s
>     Unable to open file '/tmp/msg.dat'
>    Receive data (IPv6 multicast) - ANET.TEST_UTILS.OPEN_FILE_ERROR ERROR   
> 3.520559000s
>     Unable to open file '/tmp/msg.dat'
> make[2]: *** [tests] Error 1
> make[2]: Leaving directory `/build/buildd-anet_0.1-1-armhf-NBRmSA/anet-0.1'
> make[1]: *** [override_dh_auto_test] Error 2
> make[1]: Leaving directory `/build/buildd-anet_0.1-1-armhf-NBRmSA/anet-0.1'
> make: *** [build-arch] Error 2
> Do not assume that /tmp exists and is writable, use mktemp instead.
> If that involves changes to the ALI files, keep the same aliversion
> because nothing can possibly build-depend on libanet1-dev yet.

The multicast related socket tests are not running correctly on the
buildd's. I will disable them for the Debian package.

> On armel, the package FTBFS due to test taking more than 150 minutes:

The problem is on mips, not armel.

> gnatbind -shared -E -I- -x
> /build/buildd-anet_0.1-1-mips-oh3vCI/anet-0.1/obj/tests/test_runner.ali
> gnatlink /build/buildd-anet_0.1-1-mips-oh3vCI/anet-0.1/obj/tests/test_runner.ali
> -shared-libgcc -R -L/build/buildd-anet_0.1-1-mips-oh3vCI/anet-0.1/lib/static/
> -lanet -L/usr/lib/ -lahven -o
> /build/buildd-anet_0.1-1-mips-oh3vCI/anet-0.1/obj/tests/test_runner
> Running Anet tests ... please wait
> make: *** [build-arch] Terminated
> make[2]: *** [tests] Terminated
> make[1]: *** [override_dh_auto_test] Terminated
> Build killed with signal TERM after 150 minutes of inactivity
> Try to fix that by periodically emitting some output on stdout.

This won't help as the real issue is that ATC is not working on the mips
architecture (see bug [1]).

Anet uses ATC to interrupt blocking recvfrom() calls in the socket
receiver task. Since ATC is not working the call does not get
interrupted and the tests hang.

- reto

[1] - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673772

Reply to: