Issues moving gr-modtool blocks between OSs

Dear Gnuradio Mailing List,

I created a gr-modtool block on my Ubuntu machine; it works well, but
I want to run it on my Gentoo machine. At first, I thought I could just
copy over the module in dist-packages, but that doesn’t seem to work:

I copied my custom module from:
/usr/local/lib/python2.7/dist-packages/tom
to (on my gentoo machine): /usr/lib/python2.7/site-packages/

I then tried an import and got the following error:

import tom
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/site-packages/tom/init.py”, line 45, in

from tom_swig import *
File “/usr/lib/python2.7/site-packages/tom/tom_swig.py”, line 26, in

_tom_swig = swig_import_helper()
File “/usr/lib/python2.7/site-packages/tom/tom_swig.py”, line 22, in
swig_import_helper
_mod = imp.load_module(’_tom_swig’, fp, pathname, description)
ImportError: /usr/lib/python2.7/site-packages/tom/_tom_swig.so: wrong
ELF class: ELFCLASS64

This indicates that I need to rebuild my module. Is there a way to build
a 32-bit version of the module on a 64 bit machine?

               Sincerely,
      Tommy James Tracy II
        PhD Student

High Performance Low Power Lab
University of Virginia

Tommy

You need to re-compile the source of the module in the gentoo computer
because the libs and so many things is diferent in Gentoo vs Ubuntu
copy all project created by gr-modtool from ubuntu to gentoo and run in
gentoo:

cd /path/your_blocks
rm build/ -rf
mkdir build
cd build
cmake …/
make
sudo make install

2013/1/10 Tommy T. II [email protected]

import tom
_mod = imp.load_module(‘_tom_swig’, fp, pathname, description)
University of Virginia


Discuss-gnuradio mailing list
[email protected]
Discuss-gnuradio Info Page


Cumprimentos,

José Quaresma

Dear tzopik,

Thank you for your help! Unfortunately, I didn’t build gnuradio from
source, so I am trying to do that now. I am installing it on gentoo and
following the gentoo instructions:
http://gnuradio.org/redmine/projects/gnuradio/wiki/GentooInstall

  1. emerge swig fftw cppunit boost alsa-lib sdcc guile wxpython xmlto
    numpy gsl
  2. git clone git://github.com/gnuradio/gnuradio.git
  3. cd ./gnuradio; mkdir build; cd build
  4. cmake -DCMAKE_INSTALL_PREFIX=/usr
    -DQWT_INCLUDE_DIRS=/usr/include/qwt5 …/

At this point it looks like a bunch of errors occurred. I don’t need
anything gui-related, because this computer is headless.

XPedite7170 build # cmake -DCMAKE_INSTALL_PREFIX=/usr
-DQWT_INCLUDE_DIRS=/usr/include/qwt5 …/
– The CXX compiler identification is GNU
– The C compiler identification is GNU
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working C compiler: /usr/bin/gcc
– Check for working C compiler: /usr/bin/gcc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Build type not specified: defaulting to release.
– Found Git: /usr/bin/git
– Extracting version information from git describe…
– Performing Test HAVE_VISIBILITY_HIDDEN
– Performing Test HAVE_VISIBILITY_HIDDEN - Success
– Performing Test HAVE_WARN_SIGN_COMPARE
– Performing Test HAVE_WARN_SIGN_COMPARE - Success
– Performing Test HAVE_WARN_ALL
– Performing Test HAVE_WARN_ALL - Success
– Performing Test HAVE_WARN_NO_UNINITIALIZED
– Performing Test HAVE_WARN_NO_UNINITIALIZED - Success
– Found PythonLibs: /usr/lib/libpython2.7.so
– Found SWIG: /usr/bin/swig (found version “2.0.4”)
– Minimum SWIG version required is 1.3.31

– The build system will automatically enable all components.
– Use -DENABLE_DEFAULT=OFF to disable components by default.

– Configuring python-support support…
– Dependency PYTHONLIBS_FOUND = TRUE
– Dependency SWIG_FOUND = TRUE
– Dependency SWIG_VERSION_CHECK = TRUE
– Enabling python-support support.
– Override with -DENABLE_PYTHON=ON/OFF
– checking for module ‘cppunit’
– found cppunit, version 1.12.1
– Found CPPUNIT: /usr/lib/libcppunit.so;dl

– Configuring testing-support support…
– Dependency CPPUNIT_FOUND = TRUE
– Enabling testing-support support.
– Override with -DENABLE_TESTING=ON/OFF

– Configuring volk support…
– Enabling volk support.
– Override with -DENABLE_VOLK=ON/OFF
CMake Error at CMakeLists.txt:218 (add_subdirectory):
add_subdirectory given source “volk” which is not an existing
directory.

– Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
– Could NOT find Sphinx (missing: SPHINX_EXECUTABLE)

– Configuring doxygen support…
– Dependency DOXYGEN_FOUND = NO
– Disabling doxygen support.
– Override with -DENABLE_DOXYGEN=ON/OFF

– Configuring sphinx support…
– Dependency SPHINX_FOUND = FALSE
– Disabling sphinx support.
– Override with -DENABLE_SPHINX=ON/OFF
CMake Error at CMakeLists.txt:245 (add_subdirectory):
add_subdirectory given source “gruel” which is not an existing
directory.

– Boost version: 1.46.1
– Found the following Boost libraries:
– date_time
– program_options
– filesystem
– system
– thread
– checking for module ‘fftw3f >= 3.0’
– found fftw3f , version 3.2.2
– Found FFTW3F: /usr/lib/libfftw3f.so
– Found PythonInterp: /usr/bin/python (found version “2.7.3”)

– Configuring gnuradio-core support…
– Dependency ENABLE_GRUEL =
– Dependency ENABLE_VOLK = ON
– Dependency Boost_FOUND = TRUE
– Dependency FFTW3F_FOUND = TRUE
– Dependency PYTHONINTERP_FOUND = TRUE
– Disabling gnuradio-core support.
– Override with -DENABLE_GR_CORE=ON/OFF
CMake Error at CMakeLists.txt:247 (add_subdirectory):
add_subdirectory given source “grc” which is not an existing
directory.

CMake Error at CMakeLists.txt:249 (add_subdirectory):
add_subdirectory given source “gr-fft” which is not an existing
directory.

CMake Error at CMakeLists.txt:250 (add_subdirectory):
add_subdirectory given source “gr-filter” which is not an existing
directory.

CMake Error at CMakeLists.txt:251 (add_subdirectory):
add_subdirectory given source “gr-atsc” which is not an existing
directory.

CMake Error at CMakeLists.txt:252 (add_subdirectory):
add_subdirectory given source “gr-audio” which is not an existing
directory.

CMake Error at CMakeLists.txt:253 (add_subdirectory):
add_subdirectory given source “gr-comedi” which is not an existing
directory.

CMake Error at CMakeLists.txt:254 (add_subdirectory):
add_subdirectory given source “gr-analog” which is not an existing
directory.

CMake Error at CMakeLists.txt:255 (add_subdirectory):
add_subdirectory given source “gr-digital” which is not an existing
directory.

CMake Error at CMakeLists.txt:256 (add_subdirectory):
add_subdirectory given source “gr-noaa” which is not an existing
directory.

CMake Error at CMakeLists.txt:257 (add_subdirectory):
add_subdirectory given source “gr-pager” which is not an existing
directory.

CMake Error at CMakeLists.txt:258 (add_subdirectory):
add_subdirectory given source “gr-qtgui” which is not an existing
directory.

CMake Error at CMakeLists.txt:259 (add_subdirectory):
add_subdirectory given source “gr-trellis” which is not an existing
directory.

CMake Error at CMakeLists.txt:260 (add_subdirectory):
add_subdirectory given source “gr-uhd” which is not an existing
directory.

CMake Error at CMakeLists.txt:261 (add_subdirectory):
add_subdirectory given source “gr-shd” which is not an existing
directory.

CMake Error at CMakeLists.txt:262 (add_subdirectory):
add_subdirectory given source “gr-utils” which is not an existing
directory.

CMake Error at CMakeLists.txt:263 (add_subdirectory):
add_subdirectory given source “gr-video-sdl” which is not an existing
directory.

CMake Error at CMakeLists.txt:264 (add_subdirectory):
add_subdirectory given source “gr-vocoder” which is not an existing
directory.

CMake Error at CMakeLists.txt:265 (add_subdirectory):
add_subdirectory given source “gr-fcd” which is not an existing
directory.

CMake Error at CMakeLists.txt:266 (add_subdirectory):
add_subdirectory given source “gr-wavelet” which is not an existing
directory.

CMake Error at CMakeLists.txt:267 (add_subdirectory):
add_subdirectory given source “gr-wxgui” which is not an existing
directory.

CMake Error at CMakeLists.txt:268 (add_subdirectory):
add_subdirectory given source “gr-blocks” which is not an existing
directory.


– ######################################################
– # Gnuradio enabled components
– ######################################################
– * python-support
– * testing-support
– * volk

– ######################################################
– # Gnuradio disabled components
– ######################################################
– * doxygen
– * sphinx
– * gnuradio-core

– Using install prefix: /usr
– Building for version: 3.6.1git-576-g3abf4a11 / 3.6.4git
– Configuring incomplete, errors occurred!

I do want the gnuradio-core enabled though. Does the current installer
work with Gentoo?

               Sincerely,
      Tommy James Tracy II
        PhD Student

High Performance Low Power Lab
University of Virginia

I tried installing using
http://gnuradio.org/releases/gnuradio/gnuradio-3.6.3.tar.gz

There were a few packages missing that I needed to download: cheetah
PyQt4

I then ran cmake: cmake -DCMAKE_INSTALL_PREFIX=/usr
-DQWT_INCLUDE_DIRS=/usr/include/qwt5 …/
The build completed, but several of the build tests fail.

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)
96 - qa_rational_resampler (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)
131 - qa_constellation_receiver (Failed)
Errors while running CTest
make: *** [test] Error 8

I tried using cTest and got the following errors:

XPedite7370 build # ctest -V -R qa_volk_test_all
UpdateCTestConfiguration from
:/root/src/gnuradio-3.6.3/build/DartConfiguration.tcl
UpdateCTestConfiguration from
:/root/src/gnuradio-3.6.3/build/DartConfiguration.tcl
Test project /root/src/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: /root/src/gnuradio-3.6.3/build/volk/lib/test_all
1: Test timeout computed to be: 9.99988e+06
1: Running 92 test cases…
1: Using Volk machine: sse4_2_32_orc
1: RUN_VOLK_TESTS: volk_16ic_s32f_deinterleave_real_32f_a
1: sse4_1 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_16ic_deinterleave_real_8i_a
1: ssse3 completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: ssse3
1: RUN_VOLK_TESTS: volk_16ic_deinterleave_16i_x2_a
1: ssse3 completed in 0s
1: sse2 completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: ssse3
1: RUN_VOLK_TESTS: volk_16ic_s32f_deinterleave_32f_x2_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_16ic_deinterleave_real_16i_a
1: ssse3 completed in 0s
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: ssse3
1: RUN_VOLK_TESTS: volk_16ic_magnitude_16i_a
1: sse3 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_16ic_s32f_magnitude_32f_a
1: sse3 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_16i_s32f_convert_32f_a
1: sse4_1 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_16i_s32f_convert_32f_u
1: sse4_1 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_16i_convert_8i_a
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_16i_convert_8i_u
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_16u_byteswap_a
1: sse2 completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_16u_byteswap_u
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32f_accumulator_s32f_a
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_x2_add_32f_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_x2_add_32f_u
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32fc_32f_multiply_32fc_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: offset 2 in1: 0.0993798 in2: -0.0764461
1: offset 3 in1: 0.0125911 in2: -0.00968545
1: offset 7 in1: 0.186311 in2: 0.684512
1: offset 10 in1: 0.603073 in2: 0.54498
1: offset 12 in1: 0.156199 in2: -0.0389959
1: offset 15 in1: 0.0559507 in2: -0.0278312
1: offset 17 in1: 0.46997 in2: 0.662043
1: offset 19 in1: 0.498347 in2: -0.521947
1: offset 21 in1: 0.392071 in2: 0.794964
1: offset 25 in1: 0.34799 in2: -0.70742
1: volk_32fc_32f_multiply_32fc_a: fail on arch sse
1: offset 2 in1: 0.0993798 in2: -0.0764461
1: offset 3 in1: 0.0125911 in2: -0.00968545
1: offset 7 in1: 0.186311 in2: 0.684512
1: offset 10 in1: 0.603073 in2: 0.54498
1: offset 12 in1: 0.156199 in2: -0.0389959
1: offset 15 in1: 0.0559507 in2: -0.0278312
1: offset 17 in1: 0.46997 in2: 0.662043
1: offset 19 in1: 0.498347 in2: -0.521947
1: offset 21 in1: 0.392071 in2: 0.794964
1: offset 25 in1: 0.34799 in2: -0.70742
1: volk_32fc_32f_multiply_32fc_a: fail on arch orc
1: Best arch: sse
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]
1: RUN_VOLK_TESTS: volk_32fc_s32f_power_32fc_a
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_s32f_calc_spectral_noise_floor_32f_a
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32fc_s32f_atan2_32f_a
1: sse4_1 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_32fc_x2_conjugate_dot_prod_32fc_u
1: generic completed in 0s
1: sse3 completed in 0s
1: Best arch: generic
1: RUN_VOLK_TESTS: volk_32fc_deinterleave_32f_x2_a
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32fc_deinterleave_64f_x2_a
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32fc_s32f_deinterleave_real_16i_a
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32fc_deinterleave_real_32f_a
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32fc_deinterleave_real_64f_a
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32fc_x2_dot_prod_32fc_a
1: generic completed in 0s
1: sse_32 completed in 0s
1: sse3 completed in 0s
1: sse4_1 completed in 0s
1: Best arch: generic
1: RUN_VOLK_TESTS: volk_32fc_32f_dot_prod_32fc_a
1: generic completed in 0s
1: sse completed in 0s
1: Best arch: generic
1: RUN_VOLK_TESTS: volk_32fc_index_max_16u_a
1: sse3 completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32fc_s32f_magnitude_16i_a
1: sse3 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: offset 2 in1: -32768 in2: -31588
1: offset 11 in1: -32768 in2: -23002
1: offset 20 in1: -32768 in2: -30392
1: offset 22 in1: -32768 in2: -22151
1: offset 28 in1: -32768 in2: -27077
1: offset 39 in1: -32768 in2: -28734
1: offset 47 in1: -32768 in2: -23829
1: offset 58 in1: -32768 in2: -24772
1: offset 59 in1: -32768 in2: -31771
1: offset 71 in1: -32768 in2: -22533
1: volk_32fc_s32f_magnitude_16i_a: fail on arch orc
1: Best arch: sse3
1: /root/src/gnuradio-3.6.3/volk/lib/testqa.cc(42): error in
“volk_32fc_s32f_magnitude_16i_a_test”: check
run_volk_tests(volk_32fc_s32f_magnitude_16i_a_get_func_desc(), (void
(
)())volk_32fc_s32f_magnitude_16i_a_manual,
std::string(“volk_32fc_s32f_magnitude_16i_a”), 1, 32768, 20460, 1, 0,
“NULL”) == 0 failed [true != 0]
1: RUN_VOLK_TESTS: volk_32fc_magnitude_32f_a
1: sse3 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32f_s32f_convert_16i_a
1: sse2 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32f_s32f_convert_16i_u
1: sse2 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32f_s32f_convert_32i_a
1: sse2 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32f_s32f_convert_32i_u
1: sse2 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32f_convert_64f_a
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32f_convert_64f_u
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32f_s32f_convert_8i_a
1: sse2 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32f_s32f_convert_8i_u
1: sse2 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32fc_s32f_power_spectrum_32f_a
1: sse3 completed in 0.01s
1: generic completed in 0s
1: Best arch: generic
1: RUN_VOLK_TESTS: volk_32fc_x2_square_dist_32f_a
1: sse3 completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32fc_x2_s32f_square_dist_scalar_mult_32f_a
1: sse3 completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32f_x2_divide_32f_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0.01s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_x2_dot_prod_32f_a
1: generic completed in 0s
1: sse completed in 0s
1: sse3 completed in 0s
1: sse4_1 completed in 0s
1: Best arch: generic
1: RUN_VOLK_TESTS: volk_32f_x2_dot_prod_32f_u
1: generic completed in 0s
1: sse completed in 0s
1: sse3 completed in 0s
1: sse4_1 completed in 0s
1: Best arch: generic
1: RUN_VOLK_TESTS: volk_32f_x2_dot_prod_16i_a
1: generic completed in 0s
1: sse completed in 0s
1: Best arch: generic
1: RUN_VOLK_TESTS: volk_32f_index_max_16u_a
1: sse4_1 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_32f_x2_s32f_interleave_16ic_a
1: sse2 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32f_x2_interleave_32fc_a
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_x2_max_32f_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_x2_min_32f_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_s32f_normalize_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_s32f_power_32f_a
1: sse4_1 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_32f_sqrt_32f_a
1: sse completed in 0s
1: generic completed in 0.01s
1: orc completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_s32f_stddev_32f_a
1: sse4_1 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_32f_stddev_and_mean_32f_x2_a
1: sse4_1 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_32f_x2_subtract_32f_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_x3_sum_of_poly_32f_a
1: sse3 completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32i_x2_and_32i_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32i_s32f_convert_32f_a
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32i_s32f_convert_32f_u
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_32i_x2_or_32i_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32u_byteswap_a
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_64f_convert_32f_a
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_64f_convert_32f_u
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_64f_x2_max_64f_a
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_64f_x2_min_64f_a
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_64u_byteswap_a
1: sse2 completed in 0s
1: generic completed in 0s
1: Best arch: sse2
1: RUN_VOLK_TESTS: volk_8ic_deinterleave_16i_x2_a
1: sse4_1 completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_8ic_s32f_deinterleave_32f_x2_a
1: sse4_1 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_8ic_deinterleave_real_16i_a
1: sse4_1 completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_8ic_s32f_deinterleave_real_32f_a
1: sse4_1 completed in 0s
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_8ic_deinterleave_real_8i_a
1: ssse3 completed in 0s
1: generic completed in 0s
1: Best arch: ssse3
1: RUN_VOLK_TESTS: volk_8ic_x2_multiply_conjugate_16ic_a
1: sse4_1 completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_8ic_x2_s32f_multiply_conjugate_32fc_a
1: sse4_1 completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_8i_convert_16i_a
1: sse4_1 completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_8i_convert_16i_u
1: sse4_1 completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_8i_s32f_convert_32f_a
1: sse4_1 completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_8i_s32f_convert_32f_u
1: sse4_1 completed in 0s
1: generic completed in 0s
1: Best arch: sse4_1
1: RUN_VOLK_TESTS: volk_32fc_x2_multiply_32fc_a
1: sse3 completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32fc_x2_multiply_32fc_u
1: sse3 completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32fc_x2_multiply_conjugate_32fc_a
1: sse3 completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32fc_x2_multiply_conjugate_32fc_u
1: sse3 completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32fc_conjugate_32fc_a
1: sse3 completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32fc_conjugate_32fc_u
1: sse3 completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32f_x2_multiply_32f_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_x2_multiply_32f_u
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32fc_s32fc_multiply_32fc_a
1: sse3 completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32fc_s32fc_multiply_32fc_u
1: sse3 completed in 0s
1: generic completed in 0s
1: Best arch: sse3
1: RUN_VOLK_TESTS: volk_32f_s32f_multiply_32f_a
1: sse completed in 0s
1: generic completed in 0s
1: orc completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32f_s32f_multiply_32f_u
1: sse completed in 0s
1: generic completed in 0s
1: Best arch: sse
1: RUN_VOLK_TESTS: volk_32fc_s32fc_rotatorpuppet_32fc_a
1: generic completed in 0.04s
1: sse4_1 completed in 0s
1: Best arch: sse4_1
1:
1: *** 2 failures detected in test suite “Master Test Suite”
1/1 Test #1: qa_volk_test_all …***Failed 0.88 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 0.99 sec

The following tests FAILED:
1 - qa_volk_test_all (Failed)
Errors while running CTest

Has anyone seen this?

               Sincerely,
      Tommy James Tracy II
        PhD Student

High Performance Low Power Lab
University of Virginia

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]

  Found on line 28: VOLK_RUN_TESTS(volk_32fc_32f_multiply_32fc_a, 

1e-4, 0, 20460, 1);

1: /root/src/gnuradio-3.6.3/volk/lib/testqa.cc(42): error in 

“volk_32fc_s32f_magnitude_16i_a_test”: check
run_volk_tests(volk_32fc_s32f_magnitude_16i_a_get_func_desc(), (void
(*)())volk_32fc_s32f_magnitude_16i_a_manual,
std::string(“volk_32fc_s32f_magnitude_16i_a”), 1, 32768, 20460, 1, 0,
“NULL”) == 0 failed [true != 0]

  Found on line 42: VOLK_RUN_TESTS(volk_32fc_s32f_magnitude_16i_a, 

1, 32768, 20460, 1);

Failed Volk tests


5 - gr-core-test-all (Failed)

5: NOTE: This is supposed to produce an error from gr_block_executor
5: Error: gr_block_executor: propagation_policy ‘ONE-TO-ONE’ requires
ninputs == noutputs

Not sure

81 - test_gr_filter (Failed)

81: Test command: /bin/sh
“/root/src/gnuradio-3.6.3/build/gr-filter/lib/test_gr_filter_test.sh”
81: Test timeout computed to be: 9.99988e+06 81:
/root/src/gnuradio-3.6.3/build/gr-filter/lib/test_gr_filter_test.sh:
line 7: 20014 Segmentation fault test-gr-filter

  test-gr-filter is a binary; it segfaults
    # ./test-gr-filter ........Using Volk machine: sse4_2_32_orc 

Segmentation fault

segmentation fault!

84 - qa_fft_filter (Failed)

84: Test command: /bin/sh
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_fft_filter_test.sh”
84: Test timeout computed to be: 9.99988e+06 84:
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_fft_filter_test.sh:
line 7: 21373 Segmentation fault /usr/bin/python -B
/root/src/gnuradio-3.6.3/gr-filter/python/qa_fft_filter.py

  I'm not sure why it segfaults here; i did it by hand and it says 

it cannot find the module
# /usr/bin/python -B
/root/src/gnuradio-3.6.3/gr-filter/python/qa_fft_filter.py Traceback
(most recent call last): File
“/root/src/gnuradio-3.6.3/gr-filter/python/qa_fft_filter.py”, line 24,
in import filter_swig as filter ImportError: No module named
filter_swig
segmentation fault!

88 - qa_adaptive_fir_filter (Failed)

88: Test command: /bin/sh
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_adaptive_fir_filter_test.sh”
88: Test timeout computed to be: 9.99988e+06 88:
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_adaptive_fir_filter_test.sh:
line 7: 21392 Segmentation fault /usr/bin/python -B
/root/src/gnuradio-3.6.3/gr-filter/python/qa_adaptive_fir_filter.py

  I'm not sure why it segfaults here; i did it by hand and it says 

that it cannot find the module
# /usr/bin/python -B
/root/src/gnuradio-3.6.3/gr-filter/python/qa_hilbert.py Traceback (most
recent call last): File
“/root/src/gnuradio-3.6.3/gr-filter/python/qa_hilbert.py”, line 24, in
import filter_swig as filter ImportError: No module named
filter_swig
segmentation fault!

90 - qa_hilbert (Failed)

90: Test command: /bin/sh
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_hilbert_test.sh” 90:
Test timeout computed to be: 9.99988e+06 90:
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_hilbert_test.sh: line
7: 21411 Segmentation fault /usr/bin/python -B
/root/src/gnuradio-3.6.3/gr-filter/python/qa_hilbert.py

  Same as above; missing the same module
    # /usr/bin/python -B 

/root/src/gnuradio-3.6.3/gr-filter/python/qa_hilbert.py Traceback (most
recent call last): File
“/root/src/gnuradio-3.6.3/gr-filter/python/qa_hilbert.py”, line 24, in
import filter_swig as filter ImportError: No module named
filter_swig
segmentation fault!

96 - qa_rational_resampler (Failed)

96: Test command: /bin/sh
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_rational_resampler_test.sh”
96: Test timeout computed to be: 9.99988e+06 96:
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_rational_resampler_test.sh:
line 7: 21421 Segmentation fault /usr/bin/python -B
/root/src/gnuradio-3.6.3/gr-filter/python/qa_rational_resampler.py

  Same as above; missing the same module
    # /usr/bin/python -B 

/root/src/gnuradio-3.6.3/gr-filter/python/qa_rational_resampler.py
Traceback (most recent call last): File
“/root/src/gnuradio-3.6.3/gr-filter/python/qa_rational_resampler.py”,
line 24, in import filter_swig as filter ImportError: No module
named filter_swig
segmentation fault!

97 - qa_filter_delay_fc (Failed)

97: Test command: /bin/sh
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_filter_delay_fc_test.sh”
97: Test timeout computed to be: 9.99988e+06 97:
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_filter_delay_fc_test.sh:
line 7: 21482 Segmentation fault /usr/bin/python -B
/root/src/gnuradio-3.6.3/gr-filter/python/qa_filter_delay_fc.py

  Same as above; missing the same module
    # /usr/bin/python -B 

/root/src/gnuradio-3.6.3/gr-filter/python/qa_filter_delay_fc.pyTraceback
(most recent call last): File
“/root/src/gnuradio-3.6.3/gr-filter/python/qa_filter_delay_fc.py”, line
24, in import filter_swig as filter ImportError: No module
named filter_swig
segmentation fault!

98 - qa_pfb_arb_resampler (Failed)

98: Test command: /bin/sh
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_pfb_arb_resampler_test.sh”
98: Test timeout computed to be: 9.99988e+06 98:
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_pfb_arb_resampler_test.sh:
line 7: 21489 Segmentation fault /usr/bin/python -B
/root/src/gnuradio-3.6.3/gr-filter/python/qa_pfb_arb_resampler.py

  Same as above; missing the same module
    # /usr/bin/python -B 

/root/src/gnuradio-3.6.3/gr-filter/python/qa_pfb_arb_resampler.py
Traceback (most recent call last): File
“/root/src/gnuradio-3.6.3/gr-filter/python/qa_pfb_arb_resampler.py”,
line 24, in import filter_swig as filter ImportError: No module
named filter_swig
segmentation fault!

99 - qa_fir_filter (Failed)

99: Test command: /bin/sh
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_fir_filter_test.sh”
99: Test timeout computed to be: 9.99988e+06 99:
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_fir_filter_test.sh:
line 7: 21502 Segmentation fault /usr/bin/python -B
/root/src/gnuradio-3.6.3/gr-filter/python/qa_fir_filter.py

  Same as above; missing the same module
    # /usr/bin/python -B 

/root/src/gnuradio-3.6.3/gr-filter/python/qa_fir_filter.py Traceback
(most recent call last): File
“/root/src/gnuradio-3.6.3/gr-filter/python/qa_fir_filter.py”, line 23,
in import filter_swig as filter ImportError: No module named
filter_swig
segmentation fault!

100 - qa_channel_model (Failed)

100: Test command: /bin/sh
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_channel_model_test.sh”
100: Test timeout computed to be: 9.99988e+06 100:
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_channel_model_test.sh:
line 7: 21509 Segmentation fault /usr/bin/python -B
/root/src/gnuradio-3.6.3/gr-filter/python/qa_channel_model.py

  Same as above; missing the same module
    # /usr/bin/python -B 

/root/src/gnuradio-3.6.3/gr-filter/python/qa_channel_model.py Traceback
(most recent call last): File
“/root/src/gnuradio-3.6.3/gr-filter/python/qa_channel_model.py”, line
24, in import filter_swig as filter ImportError: No module
named filter_swig
segmentation fault!

101 - qa_freq_xlating_fir_filter (Failed)

101: Test command: /bin/sh
“/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_freq_xlating_fir_filter_test.sh”
101: Test timeout computed to be: 9.99988e+06 101:
/root/src/gnuradio-3.6.3/build/gr-filter/python/qa_freq_xlating_fir_filter_test.sh:
line 7: 21535 Segmentation fault /usr/bin/python -B
/root/src/gnuradio-3.6.3/gr-filter/python/qa_freq_xlating_fir_filter.py

  Same as above; missing the same module
    # /usr/bin/python -B 

/root/src/gnuradio-3.6.3/gr-filter/python/qa_freq_xlating_fir_filter.py
Traceback (most recent call last): File
“/root/src/gnuradio-3.6.3/gr-filter/python/qa_freq_xlating_fir_filter.py”,
line 23, in import filter_swig as filter ImportError: No module
named filter_swig
segmentation fault!

110 - qa_ctcss_squelch (Failed)

110: Test command: /bin/sh
“/root/src/gnuradio-3.6.3/build/gr-analog/python/qa_ctcss_squelch_test.sh”
110: Test timeout computed to be: 9.99988e+06 110: .FF 110:

110: FAIL: test_ctcss_squelch_002 (main.test_ctcss_squelch) 110:

110: Traceback (most recent call last): 110: File
“/root/src/gnuradio-3.6.3/gr-analog/python/qa_ctcss_squelch.py”, line
81, in test_ctcss_squelch_002 110:
self.assertFloatTuplesAlmostEqual(expected_result, result_data, 4) 110:
File
“/root/src/gnuradio-3.6.3/gnuradio-core/src/python/gnuradio/gr_unittest.py”,
line 85, in assertFloatTuplesAlmostEqual 110: self.assertEqual (len(a),
len(b)) 110: AssertionError: 39 != 34

110:

110: FAIL: test_ctcss_squelch_003 (main.test_ctcss_squelch) 110:

110: Traceback (most recent call last): 110: File
“/root/src/gnuradio-3.6.3/gr-analog/python/qa_ctcss_squelch.py”, line
106, in test_ctcss_squelch_003 110:
self.assertFloatTuplesAlmostEqual(expected_result, result_data, 4) 110:
File
“/root/src/gnuradio-3.6.3/gnuradio-core/src/python/gnuradio/gr_unittest.py”,
line 87, in assertFloatTuplesAlmostEqual 110: self.assertAlmostEqual
(a[i], b[i], places, msg) 110: AssertionError: 0.9 != 0.0 within 4
places

Rounding Error!


               Sincerely,
      Tommy James Tracy II
        PhD Student

High Performance Low Power Lab
University of Virginia

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

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 4:31 PM, Tommy T. II [email protected]
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 Sun, Jan 13, 2013 at 4:03 PM, Tommy T. II [email protected]
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

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

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_lockboost::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_lockboost::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::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_ptrpmt::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::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_ptrpmt::pmt_base >,
boost::bi::list2<boost::bi::value<gr_nop*>, boost::arg<1> > >,
mpl
::true
= mpl
::bool
]’
/usr/include/boost-1_46/boost/function/function_base.hpp:406:11:
instantiated from ‘static void
boost::detail::function::functor_manager::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_ptrpmt::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::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_ptrpmt::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_ptrpmt::pmt_base >,
boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >, R =
void, T0 = boost::intrusive_ptrpmt::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::value>::value,
int>::type) [with Functor = boost::_bi::bind_t<void,
boost::_mfi::mf1<void, gr_nop, boost::intrusive_ptrpmt::pmt_base >,
boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >, R =
void, T0 = boost::intrusive_ptrpmt::pmt_base, typename
boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral::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::value>::value,
int>::type) [with Functor = boost::_bi::bind_t<void,
boost::_mfi::mf1<void, gr_nop, boost::intrusive_ptrpmt::pmt_base >,
boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >, R =
void, T0 = boost::intrusive_ptrpmt::pmt_base, typename
boost::enable_if_c<boost::type_traits::ice_not<boost::is_integral::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_ptrpmt::pmt_base >,
boost::_bi::list2<boost::_bi::value<gr_nop*>, boost::arg<1> > >,
pmt::pmt_t = boost::intrusive_ptrpmt::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_lockboost::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