bhilburn / gnuradio-docker

4 stars 6 forks source link

docker build fails on Ubuntu 17.10 #1

Open gammarf opened 6 years ago

gammarf commented 6 years ago

Ubuntu 17.10 with docker-ce.

docker build . -t gnuradio:basic
[.......]

[ 73%] Building CXX object gr-fec/lib/CMakeFiles/gnuradio-fec.dir/polar_decoder_common.cc.o
/opt/gnuradio/gr-fec/lib/polar_decoder_common.cc: In member function ‘void gr::fec::code::polar_decoder_common::butterfly_volk(float*, unsigned char*, int, int, int)’:
/opt/gnuradio/gr-fec/lib/polar_decoder_common.cc:128:95: error: too many arguments to function
         volk_32f_8u_polarbutterfly_32f(llrs, u, block_size(), block_power(), stage, u_num, row);
                                                                                               ^
gr-fec/lib/CMakeFiles/gnuradio-fec.dir/build.make:1070: recipe for target 'gr-fec/lib/CMakeFiles/gnuradio-fec.dir/polar_decoder_common.cc.o' failed
make[2]: *** [gr-fec/lib/CMakeFiles/gnuradio-fec.dir/polar_decoder_common.cc.o] Error 1
make[1]: *** [gr-fec/lib/CMakeFiles/gnuradio-fec.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:3972: recipe for target 'gr-fec/lib/CMakeFiles/gnuradio-fec.dir/all' failed
[ 73%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/interp_fir_filter_fff_impl.cc.o
[ 73%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/interp_fir_filter_fsf_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/interp_fir_filter_scc_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/rational_resampler_base_ccc_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/rational_resampler_base_ccf_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/rational_resampler_base_fcc_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/rational_resampler_base_fff_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/rational_resampler_base_fsf_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/rational_resampler_base_scc_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/dc_blocker_cc_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/dc_blocker_ff_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/filter_delay_fc_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/filterbank.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/filterbank_vcvcf_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/fft_filter_ccc_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/fft_filter_ccf_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/fft_filter_fff_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/fractional_interpolator_cc_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/fractional_interpolator_ff_impl.cc.o
[ 74%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/fractional_resampler_cc_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/fractional_resampler_ff_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/hilbert_fc_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/iir_filter_ffd_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/iir_filter_ccc_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/iir_filter_ccf_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/iir_filter_ccd_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/iir_filter_ccz_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/pfb_arb_resampler.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/pfb_arb_resampler_ccf_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/pfb_arb_resampler_ccc_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/pfb_arb_resampler_fff_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/pfb_channelizer_ccf_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/pfb_decimator_ccf_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/pfb_interpolator_ccf_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/pfb_synthesizer_ccf_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/single_pole_iir_filter_cc_impl.cc.o
[ 75%] Building CXX object gr-filter/lib/CMakeFiles/gnuradio-filter.dir/single_pole_iir_filter_ff_impl.cc.o
[ 75%] Linking CXX shared library libgnuradio-filter-3.7.11.1.so
[ 75%] Built target gnuradio-filter
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
The command '/bin/sh -c make -j${num_threads}' returned a non-zero code: 2
simeonpetkov commented 6 years ago

Same problem on macOS (High Sierra).

Any solution available for this issue?

simeonpetkov commented 6 years ago

Build passes when gr_branch is switched to maint-3.7.

ghost commented 6 years ago

@simeonpetkov Thanks - it built with that change.