discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] How to diagnose make test failures


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] How to diagnose make test failures
Date: Tue, 7 May 2013 13:19:43 -0400

On Mon, Apr 29, 2013 at 2:12 PM, Barry Jackson <address@hidden> wrote:
> On 28/04/13 18:55, Tom Rondeau wrote:
>>
>>
>> That's very concerning about not finding libvolk.so. Make sure you
>> have, in the build directory, volk/lib/libvolk.so.0.0.0. If that's not
>> there, volk didn't build properly, which is necessary for the rest of
>> the QA tests that are failing.
>>
>> Tom
>
>
> Hi Tom,
> The file is there - here is what I attached to the last post in the thread
> about build failures with boost-1.52.
>
> The build is done in chroot with base system and all buildrequires installed
>
> This is with boost-1.53 just to be clear :-
>
>  [iurt cauldron]
> rootjackodesktop/home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build$ ctest -V -R
> qa_volk_test_all
> UpdateCTestConfiguration  from
> :/home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build/DartConfiguration.tcl
> UpdateCTestConfiguration  from
> :/home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build/DartConfiguration.tcl
> Test project /home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build
> Constructing a list of tests
> Done constructing a list of tests
> Checking test dependency graph...
> Checking test dependency graph end
> test 1
>     Start 1: qa_volk_test_all
>
> 1: Test command:
> /home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build/volk/lib/test_all
>
> 1: Test timeout computed to be: 9.99988e+06
> 1: /home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build/volk/lib/test_all: error
> while loading shared libraries: libvolk.so.0.0.0: cannot open shared object
> file: No such file or directory
> 1/1 Test #1: qa_volk_test_all .................***Failed    0.00 sec
>
> 0% tests passed, 1 tests failed out of 1
>
> Total Test time (real) =   0.01 sec
>
>
> The following tests FAILED:
>           1 - qa_volk_test_all (Failed)
> Errors while running CTest
> #-----------------------------------------------------------------
>
> So to be sure I cd'd into the build dir and ls -l :-
>
> [iurt cauldron]
> rootjackodesktop/home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build$ cd volk
> [iurt cauldron]
> rootjackodesktop/home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build/volk$ cd lib
> [iurt cauldron]
> rootjackodesktop/home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build/volk/lib$ ll
> total 7092
> drwxr-xr-x 4 baz baz    4096 Apr 15 10:56 CMakeFiles/
> -rw-r--r-- 1 baz baz     353 Apr 15 10:56 CTestTestfile.cmake
> -rw-r--r-- 1 baz baz   61580 Apr 15 10:56 Makefile
> -rw-r--r-- 1 baz baz    1964 Apr 15 10:56 cmake_install.cmake
> lrwxrwxrwx 1 baz baz      16 Apr 15 10:57 libvolk.so -> libvolk.so.0.0.0*
> -rwxr-xr-x 1 baz baz 4603262 Apr 15 10:57 libvolk.so.0.0.0*        <=###
> -rwxr-xr-x 1 baz baz 1862413 Apr 15 10:57 test_all*
> -rw-r--r-- 1 baz baz  163386 Apr 15 10:56 volk.c
> -rw-r--r-- 1 baz baz    9246 Apr 15 10:56
> volk_16i_s32f_deinterleave_32f_x2_a_orc_impl.c
> -rw-r--r-- 1 baz baz    6934 Apr 15 10:56
> volk_16ic_deinterleave_16i_x2_a_orc_impl.c
> -rw-r--r-- 1 baz baz    6739 Apr 15 10:56
> volk_16ic_deinterleave_real_8i_a_orc_impl.c
> -rw-r--r-- 1 baz baz   12958 Apr 15 10:56
> volk_16ic_magnitude_16i_a_orc_impl.c
> -rw-r--r-- 1 baz baz   12020 Apr 15 10:56
> volk_16sc_magnitude_32f_aligned16_orc_impl.c
> -rw-r--r-- 1 baz baz    5893 Apr 15 10:56 volk_16u_byteswap_a_orc_impl.c
> -rw-r--r-- 1 baz baz    7022 Apr 15 10:56
> volk_32f_s32f_multiply_32f_a_orc_impl.c
> -rw-r--r-- 1 baz baz    6998 Apr 15 10:56
> volk_32f_s32f_normalize_a_orc_impl.c
> -rw-r--r-- 1 baz baz    6520 Apr 15 10:56 volk_32f_sqrt_32f_a_orc_impl.c
> -rw-r--r-- 1 baz baz    7134 Apr 15 10:56 volk_32f_x2_add_32f_a_orc_impl.c
> -rw-r--r-- 1 baz baz    7158 Apr 15 10:56
> volk_32f_x2_divide_32f_a_orc_impl.c
> -rw-r--r-- 1 baz baz    7477 Apr 15 10:56
> volk_32f_x2_dot_prod_32f_a_orc_impl.c
> -rw-r--r-- 1 baz baz    7246 Apr 15 10:56 volk_32f_x2_max_32f_a_orc_impl.c
> -rw-r--r-- 1 baz baz    7246 Apr 15 10:56 volk_32f_x2_min_32f_a_orc_impl.c
> -rw-r--r-- 1 baz baz    7174 Apr 15 10:56
> volk_32f_x2_multiply_32f_a_orc_impl.c
> -rw-r--r-- 1 baz baz    7174 Apr 15 10:56
> volk_32f_x2_subtract_32f_a_orc_impl.c
> -rw-r--r-- 1 baz baz    8338 Apr 15 10:56
> volk_32fc_32f_multiply_32fc_a_orc_impl.c
> -rw-r--r-- 1 baz baz    9260 Apr 15 10:56
> volk_32fc_magnitude_32f_a_orc_impl.c
> -rw-r--r-- 1 baz baz   11087 Apr 15 10:56
> volk_32fc_s32f_magnitude_16i_a_orc_impl.c
> -rw-r--r-- 1 baz baz   12556 Apr 15 10:56
> volk_32fc_s32fc_multiply_32fc_a_orc_impl.c
> -rw-r--r-- 1 baz baz   12560 Apr 15 10:56
> volk_32fc_x2_multiply_32fc_a_orc_impl.c
> -rw-r--r-- 1 baz baz    6702 Apr 15 10:56 volk_32i_x2_and_32i_a_orc_impl.c
> -rw-r--r-- 1 baz baz    6691 Apr 15 10:56 volk_32i_x2_or_32i_a_orc_impl.c
> -rw-r--r-- 1 baz baz    6533 Apr 15 10:56 volk_8i_convert_16i_a_orc_impl.c
> -rw-r--r-- 1 baz baz    7790 Apr 15 10:56
> volk_8i_s32f_convert_32f_a_orc_impl.c
> -rw-r--r-- 1 baz baz    8171 Apr 15 10:56 volk_cpu.c
> -rw-r--r-- 1 baz baz   31600 Apr 15 10:56 volk_machine_avx_64_mmx_orc.c
> -rw-r--r-- 1 baz baz   22073 Apr 15 10:56 volk_machine_generic_orc.c
> -rw-r--r-- 1 baz baz   27122 Apr 15 10:56 volk_machine_sse2_64_mmx_orc.c
> -rw-r--r-- 1 baz baz   28765 Apr 15 10:56 volk_machine_sse3_64_orc.c
> -rw-r--r-- 1 baz baz   30837 Apr 15 10:56 volk_machine_sse4_1_64_orc.c
> -rw-r--r-- 1 baz baz   31052 Apr 15 10:56 volk_machine_sse4_2_64_orc.c
> -rw-r--r-- 1 baz baz   28861 Apr 15 10:56 volk_machine_sse4_a_64_orc.c
> -rw-r--r-- 1 baz baz   29258 Apr 15 10:56 volk_machine_ssse3_64_orc.c
> -rw-r--r-- 1 baz baz    4094 Apr 15 10:56 volk_machines.c
> -rw-r--r-- 1 baz baz   38774 Apr 15 10:56 volk_machines.h
> #--------------------------------------------------------
>
> Re-tested again :-
>
> [iurt cauldron]
> rootjackodesktop/home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build/volk/lib$
> ./test_all
> ./test_all: error while loading shared libraries: libvolk.so.0.0.0: cannot
> open shared object file: No such file or directory
> [iurt cauldron]
> rootjackodesktop/home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build/volk/lib$ ls
> lib*
> libvolk.so@  libvolk.so.0.0.0*
> [iurt cauldron]
> rootjackodesktop/home/baz/rpmbuild/BUILD/gnuradio-3.6.3/build/volk/lib$
>
> I really don't see how it can't find it :/
>
> Barry

Barry,

Yeah, the only thing that I can think of is that it's something to do
with your chroot environment. Any reason you're doing it this way?

Also, what does 'ldd volk/lib/volk.so.0.0.0' show? Anything strange?

Tom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]