Skip to content

Commit

Permalink
Workaround for the grcc failure
Browse files Browse the repository at this point in the history
See ptrkrysik#378 (comment)

Traceback (most recent call last):
  File "/usr/bin/grcc", line 29, in <module>
    from gnuradio import gr
  File "/usr/lib/python2.7/dist-packages/gnuradio/gr/__init__.py", line 41, in <module>
    from runtime_swig import *
  File "/usr/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 17, in <module>
    _runtime_swig = swig_import_helper()
  File "/usr/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 16, in swig_import_helper
    return importlib.import_module('_runtime_swig')
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named _runtime_swig
  • Loading branch information
velichkov authored and ptrkrysik committed Apr 16, 2018
1 parent e24860f commit 084b14e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/dockerfiles/Debian_testing.docker
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ RUN cmake .. && \
# The parallel build sometimes fails when the .grc_gnuradio
# and .gnuradio directories do not exist
mkdir $HOME/.grc_gnuradio/ $HOME/.gnuradio/ && \
# Workaround for the grcc failure
# https://github.com/ptrkrysik/gr-gsm/pull/378#issuecomment-379587145
ln -sf /usr/lib/x86_64-linux-gnu/libvolk.so.1.3.1 /usr/lib/x86_64-linux-gnu/libvolk.so.1.3 && \
make -j $(nproc) && \
make install && \
ldconfig && \
Expand Down
3 changes: 3 additions & 0 deletions tests/dockerfiles/Kali.docker
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ RUN cmake .. && \
# The parallel build sometimes fails when the .grc_gnuradio
# and .gnuradio directories do not exist
mkdir $HOME/.grc_gnuradio/ $HOME/.gnuradio/ && \
# Workaround for the grcc failure
# https://github.com/ptrkrysik/gr-gsm/pull/378#issuecomment-379587145
ln -sf /usr/lib/x86_64-linux-gnu/libvolk.so.1.3.1 /usr/lib/x86_64-linux-gnu/libvolk.so.1.3 && \
make -j $(nproc) && \
make install && \
ldconfig && \
Expand Down

0 comments on commit 084b14e

Please sign in to comment.