discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Updated of Make Test fail with Gnuradio Gentoo In


From: Tommy Tracy II
Subject: Re: [Discuss-gnuradio] Updated of Make Test fail with Gnuradio Gentoo Installation
Date: Sun, 13 Jan 2013 18:36:41 -0500

I got a series of messages during 'make'. I won't list them all, just the different kinds:

[  2%] Building C object volk/lib/CMakeFiles/volk.dir/volk_32fc_s32f_magnitude_16i_a_orc_impl.c.o
/home/tjt7a/src/gnuradio-3.6.3/build/volk/lib/volk_32fc_s32f_magnitude_16i_a_orc_impl.c: In function '_backup_volk_32fc_s32f_magnitude_16i_a_orc_impl':
/home/tjt7a/src/gnuradio-3.6.3/build/volk/lib/volk_32fc_s32f_magnitude_16i_a_orc_impl.c:303:16: warning: comparison between signed and unsigned integer expressions

[  6%] Building CXX object gruel/src/lib/CMakeFiles/gruel.dir/msg/msg_accepter_msgq.cc.o
In file included from /usr/include/boost-1_46/boost/thread/condition_variable.hpp:16:0,
                 from /usr/include/boost-1_46/boost/thread/pthread/shared_mutex.hpp:13,
                 from /usr/include/boost-1_46/boost/thread/shared_mutex.hpp:16,
                 from /usr/include/boost-1_46/boost/thread/detail/thread_group.hpp:9,
                 from /usr/include/boost-1_46/boost/thread/thread.hpp:24,
                 from /home/tjt7a/src/gnuradio-3.6.3/gruel/src/include/gruel/thread.h:25,
                 from /home/tjt7a/src/gnuradio-3.6.3/gruel/src/include/gruel/msg_queue.h:26,
                 from /home/tjt7a/src/gnuradio-3.6.3/gruel/src/include/gruel/msg_accepter_msgq.h:27,
                 from /home/tjt7a/src/gnuradio-3.6.3/gruel/src/lib/msg/msg_accepter_msgq.cc:26:
/usr/include/boost-1_46/boost/thread/pthread/condition_variable.hpp: In member function 'void boost::condition_variable::wait(boost::unique_lock<boost::mutex>&)':
/usr/include/boost-1_46/boost/thread/pthread/condition_variable.hpp:53:19: warning: unused variable 'res'
*****A lot of builds have this message*****

[ 12%] Building CXX object gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/runtime/gr_error_handler.cc.o
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_error_handler.cc: In member function 'virtual void gr_file_error_handler::handle_text(gr_error_handler::seriousness, const std::string&)':
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_error_handler.cc:209:48: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_error_handler.cc:211:31: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result

[ 26%] Building CXX object gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/general/gr_nop.cc.o
In file included from /usr/include/boost-1_46/boost/thread/condition_variable.hpp:16:0,
                 from /usr/include/boost-1_46/boost/thread/pthread/shared_mutex.hpp:13,
                 from /usr/include/boost-1_46/boost/thread/shared_mutex.hpp:16,
                 from /usr/include/boost-1_46/boost/thread/detail/thread_group.hpp:9,
                 from /usr/include/boost-1_46/boost/thread/thread.hpp:24,
                 from /home/tjt7a/src/gnuradio-3.6.3/gruel/src/include/gruel/thread.h:25,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_basic_block.h:36,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_block.h:27,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/general/gr_nop.h:27,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/general/gr_nop.cc:26:
/usr/include/boost-1_46/boost/thread/pthread/condition_variable.hpp: In member function 'void boost::condition_variable::wait(boost::unique_lock<boost::mutex>&)':
/usr/include/boost-1_46/boost/thread/pthread/condition_variable.hpp:53:19: warning: unused variable 'res'
In file included from /usr/include/boost-1_46/boost/function/detail/prologue.hpp:17:0,
                 from /usr/include/boost-1_46/boost/function.hpp:24,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_basic_block.h:30,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_block.h:27,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/general/gr_nop.h:27,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/general/gr_nop.cc:26:
/usr/include/boost-1_46/boost/function/function_base.hpp: In static member function 'static void boost::detail::function::functor_manager_common<Functor>::manage_small(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, gr_nop, boost::intrusive_ptr<pmt::pmt_base> >, boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >]':
/usr/include/boost-1_46/boost/function/function_base.hpp:360:11:   instantiated from 'static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, mpl_::true_) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, gr_nop, boost::intrusive_ptr<pmt::pmt_base> >, boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >, mpl_::true_ = mpl_::bool_<true>]'
/usr/include/boost-1_46/boost/function/function_base.hpp:406:11:   instantiated from 'static void boost::detail::function::functor_manager<Functor>::manager(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type, boost::detail::function::function_obj_tag) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, gr_nop, boost::intrusive_ptr<pmt::pmt_base> >, boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >]'
/usr/include/boost-1_46/boost/function/function_base.hpp:434:13:   instantiated from 'static void boost::detail::function::functor_manager<Functor>::manage(const boost::detail::function::function_buffer&, boost::detail::function::function_buffer&, boost::detail::function::functor_manager_operation_type) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, gr_nop, boost::intrusive_ptr<pmt::pmt_base> >, boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >]'
/usr/include/boost-1_46/boost/function/function_template.hpp:913:60:   instantiated from 'void boost::function1<R, T1>::assign_to(Functor) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, gr_nop, boost::intrusive_ptr<pmt::pmt_base> >, boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >, R = void, T0 = boost::intrusive_ptr<pmt::pmt_base>]'
/usr/include/boost-1_46/boost/function/function_template.hpp:722:7:   instantiated from 'boost::function1<R, T1>::function1(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, gr_nop, boost::intrusive_ptr<pmt::pmt_base> >, boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >, R = void, T0 = boost::intrusive_ptr<pmt::pmt_base>, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]'
/usr/include/boost-1_46/boost/function/function_template.hpp:1064:16:   instantiated from 'boost::function<R(T0)>::function(Functor, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type) [with Functor = boost::_bi::bind_t<void, boost::_mfi::mf1<void, gr_nop, boost::intrusive_ptr<pmt::pmt_base> >, boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >, R = void, T0 = boost::intrusive_ptr<pmt::pmt_base>, typename boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral<Functor>::value>::value, int>::type = int]'
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_basic_block.h:261:5:   instantiated from 'void gr_basic_block::set_msg_handler(pmt::pmt_t, T) [with T = boost::_bi::bind_t<void, boost::_mfi::mf1<void, gr_nop, boost::intrusive_ptr<pmt::pmt_base> >, boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >, pmt::pmt_t = boost::intrusive_ptr<pmt::pmt_base>]'
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/general/gr_nop.cc:44:87:   instantiated from here
/usr/include/boost-1_46/boost/function/function_base.hpp:321:15: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/include/boost-1_46/boost/function/function_base.hpp:325:13: warning: dereferencing type-punned pointer will break strict-aliasing rules

[ 37%] Building CXX object gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/io/gri_wavfile.cc.o
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri_wavfile.cc: In function 'bool gri_wavheader_complete(FILE*, unsigned int)':
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri_wavfile.cc:238:32: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri_wavfile.cc:244:32: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri_wavfile.cc: In function 'void gri_wav_write_sample(FILE*, short int, int)':
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri_wavfile.cc:227:44: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri_wavfile.cc: In function 'bool gri_wavheader_write(FILE*, unsigned int, int, int)':
/home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/io/gri_wavfile.cc:203:38: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result

----
Filter_swig seems ok…

[ 53%] Built target test-gr-filter
Scanning dependencies of target filter_swig_swig_doc
[ 53%] Built target filter_swig_swig_doc
Scanning dependencies of target _filter_swig_swig_tag
[ 53%] Building CXX object gr-filter/swig/CMakeFiles/_filter_swig_swig_tag.dir/_filter_swig_swig_tag.cpp.o
Linking CXX executable _filter_swig_swig_tag
[ 53%] Built target _filter_swig_swig_tag
[ 53%] Generating filter_swig.tag
[ 53%] Swig source
Scanning dependencies of target _filter_swig
[ 53%] Building CXX object gr-filter/swig/CMakeFiles/_filter_swig.dir/filter_swigPYTHON_wrap.cxx.o
In file included from /usr/include/boost-1_46/boost/thread/condition_variable.hpp:16:0,
                 from /usr/include/boost-1_46/boost/thread/pthread/shared_mutex.hpp:13,
                 from /usr/include/boost-1_46/boost/thread/shared_mutex.hpp:16,
                 from /usr/include/boost-1_46/boost/thread/detail/thread_group.hpp:9,
                 from /usr/include/boost-1_46/boost/thread/thread.hpp:24,
                 from /home/tjt7a/src/gnuradio-3.6.3/gruel/src/include/gruel/thread.h:25,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_basic_block.h:36,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_block.h:27,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_sync_block.h:27,
                 from /home/tjt7a/src/gnuradio-3.6.3/gnuradio-core/src/lib/runtime/gr_sync_decimator.h:27,
                 from /home/tjt7a/src/gnuradio-3.6.3/gr-filter/include/filter/adaptive_fir_ccc.h:27,
                 from /home/tjt7a/src/gnuradio-3.6.3/build/gr-filter/swig/filter_swigPYTHON_wrap.cxx:4462:
/usr/include/boost-1_46/boost/thread/pthread/condition_variable.hpp: In member function 'void boost::condition_variable::wait(boost::unique_lock<boost::mutex>&)':
/usr/include/boost-1_46/boost/thread/pthread/condition_variable.hpp:53:19: warning: unused variable 'res'
Linking CXX shared module _filter_swig.so
[ 53%] Built target _filter_swig
Scanning dependencies of target pygen_gr_filter_swig_496e6
[ 53%] Generating filter_swig.pyc
[ 53%] Generating filter_swig.pyo

----
What's weird, is that test 96 (qa_rational_resampler) did not fail this time:

The following tests FAILED:
 1 - qa_volk_test_all (Failed)
 5 - gr-core-test-all (Failed)
81 - test_gr_filter (Failed)
84 - qa_fft_filter (Failed)
88 - qa_adaptive_fir_filter (Failed)
90 - qa_hilbert (Failed)
97 - qa_filter_delay_fc (Failed)
98 - qa_pfb_arb_resampler (Failed)
99 - qa_fir_filter (Failed)
100 - qa_channel_model (Failed)
101 - qa_freq_xlating_fir_filter (Failed)
110 - qa_ctcss_squelch (Failed)
Errors while running CTest
make: *** [test] Error 8

                   Sincerely,
          Tommy James Tracy II
          PhD Student
High Performance Low Power Lab 
           University of Virginia

On Jan 13, 2013, at 5:18 PM, Tom Rondeau <address@hidden> wrote:

On Sun, Jan 13, 2013 at 4:03 PM, Tommy Tracy II <address@hidden> wrote:
I did not use the '-j #' flag to parallelize the build. It is possible that I had an old version installed though, so I'm removing that now and trying again.

                   Sincerely,
          Tommy James Tracy II
          PhD Student
High Performance Low Power Lab 
           University of Virginia

Oh, good. That was going to be my next suggestion.

Tom

 
On Jan 13, 2013, at 10:40 AM, Tom Rondeau <address@hidden> wrote:

On Fri, Jan 11, 2013 at 4:31 PM, Tommy Tracy II <address@hidden> wrote:
Thank you; I tried that, and that was also unsuccessful.

                   Sincerely,
          Tommy James Tracy II
          PhD Student
High Performance Low Power Lab 
           University of Virginia


Tommy,

First, you don't need to worry about running ldconfig for the tests since they testing suite only uses binaries in the build tree, not the installed versions.

The problem with the filter_swig might come from a parallel build issue that we thought we licked recently. When you run make, do you do a parallel build?

Tom


 
On Jan 11, 2013, at 3:18 PM, Alexandru Csete <address@hidden> wrote:

I don't know if it has anything to do with it but I recommend that you
try to run cmake, make and make test as a regular user, not as root.
ldconfig should have no effect on the "make test" step.

Alex

On Fri, Jan 11, 2013 at 8:40 PM, Tommy Tracy II <address@hidden> wrote:
Dear Gnuradio,

I tried 'sudo ldconfig' before 'make test' but that didn't work either.
Below I will go through all of the failed test cases, and if anyone has any
suggestions, thank you in advance!

Here is a summary:
*Two failed VOLK tests
*gr_block_executor policy error
*Segmentation fault:
/root/src/gnuradio-3.6.3/build/gr-filter/lib/test-gr-filter
*Missing module name: filter_swig
*Rounding error


1 - qa_volk_test_all (Failed)

1: /root/src/gnuradio-3.6.3/volk/lib/testqa.cc(28): error in
"volk_32fc_32f_multiply_32fc_a_test": check
run_volk_tests(volk_32fc_32f_multiply_32fc_a_get_func_desc(), (void
(*)())volk_32fc_32f_multiply_32fc_a_manual,
std::string("volk_32fc_32f_multiply_32fc_a"), 1e-4, 0, 20460, 1, 0, "NULL")
== 0 failed [true != 0]

...
_______________________________________________




reply via email to

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