Coder Social home page Coder Social logo

gnuradio-feedstock's Introduction

About gnuradio-feedstock

Feedstock license: BSD-3-Clause

About gnuradio

Home: https://gnuradio.org/

Package license: GPL-3.0-or-later

Summary: The free and open software radio ecosystem

Development: https://github.com/gnuradio/gnuradio

Documentation: https://gnuradio.org/doc/doxygen/

GNU Radio is a free software development toolkit that provides the signal processing runtime and processing blocks to implement software radios using readily-available, low-cost external RF hardware and commodity processors. It is widely used in hobbyist, academic and commercial environments to support wireless communications research as well as to implement real-world radio systems. GNU Radio applications are primarily written using the Python programming language, while the supplied, performance-critical signal processing path is implemented in C++ using processor floating point extensions where available. Thus, the developer is able to implement real-time, high- throughput radio systems in a simple-to-use, rapid-application-development environment.

About gnuradio-pmt

Home: https://gnuradio.org/

Package license: GPL-3.0-or-later

Summary: Polymorphic Type (PMT) library, bundled with GNU Radio

Development: https://github.com/gnuradio/gnuradio

Documentation: https://gnuradio.org/doc/doxygen/

About gnuradio-core

Home: https://gnuradio.org/

Package license: GPL-3.0-or-later

Summary: GNU Radio core functionality and modules

Development: https://github.com/gnuradio/gnuradio

Documentation: https://gnuradio.org/doc/doxygen/

About gnuradio-build-deps

Home: https://gnuradio.org/

Package license: GPL-3.0-or-later

Summary: Meta-package for GNU Radio deps used to manually build OOT modules

Development: https://github.com/gnuradio/gnuradio

Documentation: https://gnuradio.org/doc/doxygen/

Install this meta-package into an environment with gnuradio or gnuradio-core in order to be able to build out-of-tree modules manually. DO NOT USE THIS IN CONDA RECIPES.

About gnuradio-grc

Home: https://gnuradio.org/

Package license: GPL-3.0-or-later

Summary: GNU Radio Companion graphical flowgraph interface

Development: https://github.com/gnuradio/gnuradio

Documentation: https://gnuradio.org/doc/doxygen/

About gnuradio-iio

Home: https://gnuradio.org/

Package license: GPL-3.0-or-later

Summary: GNU Radio module for using IIO devices

Development: https://github.com/gnuradio/gnuradio

Documentation: https://gnuradio.org/doc/doxygen/

This module provides GNU Radio blocks for using IIO devices, including the PlutoSDR.

About gnuradio-qtgui

Home: https://gnuradio.org/

Package license: GPL-3.0-or-later

Summary: GNU Radio QT module providing graphical components

Development: https://github.com/gnuradio/gnuradio

Documentation: https://gnuradio.org/doc/doxygen/

About gnuradio-soapy

Home: https://gnuradio.org/

Package license: GPL-3.0-or-later

Summary: GNU Radio SoapySDR module for using a variety of SDR devices

Development: https://github.com/gnuradio/gnuradio

Documentation: https://gnuradio.org/doc/doxygen/

This module provides GNU Radio source and sink blocks for a variety of SDR devices using SoapySDR, a generalized C/C++ library which provides abstraction in interfacing with different SDR devices and vendors.

About gnuradio-uhd

Home: https://gnuradio.org/

Package license: GPL-3.0-or-later

Summary: GNU Radio UHD module for Ettus USRP radios

Development: https://github.com/gnuradio/gnuradio

Documentation: https://gnuradio.org/doc/doxygen/

About gnuradio-video-sdl

Home: https://gnuradio.org/

Package license: GPL-3.0-or-later

Summary: GNU Radio SDL module providing video components

Development: https://github.com/gnuradio/gnuradio

Documentation: https://gnuradio.org/doc/doxygen/

About gnuradio-zeromq

Home: https://gnuradio.org/

Package license: GPL-3.0-or-later

Summary: GNU Radio ZeroMQ module for message passing functionality

Development: https://github.com/gnuradio/gnuradio

Documentation: https://gnuradio.org/doc/doxygen/

Current build status

Azure
VariantStatus
linux_64_numpy1.22python3.10.____cpython variant
linux_64_numpy1.22python3.8.____cpython variant
linux_64_numpy1.22python3.9.____cpython variant
linux_64_numpy1.23python3.11.____cpython variant
linux_64_numpy1.26python3.12.____cpython variant
linux_aarch64_numpy1.22python3.10.____cpython variant
linux_aarch64_numpy1.22python3.8.____cpython variant
linux_aarch64_numpy1.22python3.9.____cpython variant
linux_aarch64_numpy1.23python3.11.____cpython variant
linux_aarch64_numpy1.26python3.12.____cpython variant
linux_ppc64le_numpy1.22python3.10.____cpython variant
linux_ppc64le_numpy1.22python3.8.____cpython variant
linux_ppc64le_numpy1.22python3.9.____cpython variant
linux_ppc64le_numpy1.23python3.11.____cpython variant
linux_ppc64le_numpy1.26python3.12.____cpython variant
osx_64_numpy1.22python3.10.____cpython variant
osx_64_numpy1.22python3.8.____cpython variant
osx_64_numpy1.22python3.9.____cpython variant
osx_64_numpy1.23python3.11.____cpython variant
osx_64_numpy1.26python3.12.____cpython variant
osx_arm64_numpy1.22python3.10.____cpython variant
osx_arm64_numpy1.22python3.8.____cpython variant
osx_arm64_numpy1.22python3.9.____cpython variant
osx_arm64_numpy1.23python3.11.____cpython variant
osx_arm64_numpy1.26python3.12.____cpython variant
win_64_numpy1.22python3.10.____cpython variant
win_64_numpy1.22python3.8.____cpython variant
win_64_numpy1.22python3.9.____cpython variant
win_64_numpy1.23python3.11.____cpython variant
win_64_numpy1.26python3.12.____cpython variant

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing gnuradio

Installing gnuradio from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, gnuradio, gnuradio-build-deps, gnuradio-core, gnuradio-grc, gnuradio-iio, gnuradio-pmt, gnuradio-qtgui, gnuradio-soapy, gnuradio-uhd, gnuradio-video-sdl, gnuradio-zeromq can be installed with conda:

conda install gnuradio gnuradio-build-deps gnuradio-core gnuradio-grc gnuradio-iio gnuradio-pmt gnuradio-qtgui gnuradio-soapy gnuradio-uhd gnuradio-video-sdl gnuradio-zeromq

or with mamba:

mamba install gnuradio gnuradio-build-deps gnuradio-core gnuradio-grc gnuradio-iio gnuradio-pmt gnuradio-qtgui gnuradio-soapy gnuradio-uhd gnuradio-video-sdl gnuradio-zeromq

It is possible to list all of the versions of gnuradio available on your platform with conda:

conda search gnuradio --channel conda-forge

or with mamba:

mamba search gnuradio --channel conda-forge

Alternatively, mamba repoquery may provide more information:

# Search all versions available on your platform:
mamba repoquery search gnuradio --channel conda-forge

# List packages depending on `gnuradio`:
mamba repoquery whoneeds gnuradio --channel conda-forge

# List dependencies of `gnuradio`:
mamba repoquery depends gnuradio --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by Azure, GitHub, CircleCI, AppVeyor, Drone, and TravisCI it is possible to build and upload installable packages to the conda-forge anaconda.org channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating gnuradio-feedstock

If you would like to improve the gnuradio recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/gnuradio-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

gnuradio-feedstock's People

Contributors

beckermr avatar cf-blacksmithy avatar chrisburr avatar conda-forge-admin avatar conda-forge-curator[bot] avatar github-actions[bot] avatar h-vetinari avatar nils-werner avatar regro-cf-autotick-bot avatar ryanvolz avatar xhochy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gnuradio-feedstock's Issues

GRC crashes on OSX with AttributeError: 'NoneType' object has no attribute 'coordinate'

Issue:

A colleague gets the following error when trying to run gnuradio-companion on OSX:

<<< Welcome to GNU Radio Companion 3.8.1.0 >>>Block paths:
	/Users/swoboj/anaconda3/envs/openradar2020/share/gnuradio/grc/blocks
Traceback (most recent call last):
  File "/Users/swoboj/anaconda3/envs/openradar2020/lib/python3.7/site-packages/gnuradio/grc/gui/DrawingArea.py", line 103, in _handle_drag_data_received
    self._flow_graph.add_new_block(selection_data.get_text(), coords)
  File "/Users/swoboj/anaconda3/envs/openradar2020/lib/python3.7/site-packages/gnuradio/grc/gui/canvas/flowgraph.py", line 176, in add_new_block
    block.coordinate = coor
AttributeError: 'NoneType' object has no attribute 'coordinate'
Traceback (most recent call last):
  File "/Users/swoboj/anaconda3/envs/openradar2020/lib/python3.7/site-packages/gnuradio/grc/gui/DrawingArea.py", line 103, in _handle_drag_data_received
    self._flow_graph.add_new_block(selection_data.get_text(), coords)
  File "/Users/swoboj/anaconda3/envs/openradar2020/lib/python3.7/site-packages/gnuradio/grc/gui/canvas/flowgraph.py", line 176, in add_new_block
    block.coordinate = coor
AttributeError: 'NoneType' object has no attribute 'coordinate'

It looks like this gnuradio bug: gnuradio/gnuradio#2726

Possibly related but probably a separate bug: gnuradio/gnuradio#2727


Environment (conda list):
$ conda list


Details about conda and system ( conda info ):
$ conda info

Provide linux-arm (32bit)?

Comment:

The way I read the build instructions you are using a Docker image that already contains QEMU for 32 and 64bit ARM.

Is there a reason you only build GNURadio for linux-aarm64, but not for linux-arm?

Although many modern ARM devices, like Raspberry Pi's, are 64bit, many Linux distros are prinmarily supporting 32bit on them [1] [2], so it would be really helpful to have a 32bit build to run GNURadio on them.

How to contribute to the gnuradio-feedstock

Hello,

I'm trying to contribute to the conda-forge gnuradio packages but I don't know how. The modules I'm trying to submit on the conda-forge are called gr-ecss and gr-flaress.

Could you please tell me how to do that ? I tried searching on the internet but I can't manage to do it. I apologize as I'm just a beginner on GitHub I hope I won't bother you too much.

Thank you

Nicolas

Can't resolve gnuradio=3.8.1.0=*=py38* on macOS

Issue:

I can't install gnuradio=3.8.1.0 with python=3.8 on macOS (10.15):

$ conda create --name gnuradio-test gnuradio=3.8.1.0=py38*
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError:

Environment (conda list):
$ conda list
--

Details about conda and system ( conda info ):
$ conda info

     active environment : py38
    active env location : /Users/duncan/opt/miniconda3/envs/py38
            shell level : 1
       user config file : /Users/duncan/.condarc
 populated config files : /Users/duncan/opt/miniconda3/.condarc
                          /Users/duncan/.condarc
          conda version : 4.8.3
    conda-build version : 3.18.11
         python version : 3.7.6.final.0
       virtual packages : __osx=10.15.4
       base environment : /Users/duncan/opt/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/duncan/opt/miniconda3/pkgs
                          /Users/duncan/.conda/pkgs
       envs directories : /Users/duncan/opt/miniconda3/envs
                          /Users/duncan/.conda/envs
               platform : osx-64
             user-agent : conda/4.8.3 requests/2.23.0 CPython/3.7.6 Darwin/19.4.0 OSX/10.15.4
                UID:GID : 503:20
             netrc file : None
           offline mode : False

Installing additional libraries in existing conda enviroment

Hello! I am trying to install the following module https://github.com/myersw12/gr-mapper
I installed gnuradio using Anaconda
I am trying to run the following command from withing the gr-mapper directory:

cmake -G "Ninja" -DCMAKE_PREFIX_PATH=$CONDA_PREFIX -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DLIB_SUFFIX="" -DPYTHON_EXECUTABLE=python3 -DBoost_NO_BOOST_CMAKE=ON -DGR_PYTHON_DIR=`python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])'` -DQWT_LIBRARIES="$CONDA_PREFIX/lib/libqwt.so"

the command from above was found here: https://wiki.gnuradio.org/index.php/CondaInstall

But unfortunately, I see the following error:

  Target "gnuradio-mapper" links to target "Boost::thread" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at lib/CMakeLists.txt:49 (add_library):
  Target "gnuradio-mapper" links to target "Boost::program_options" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?

I am not too familiar with cmake or cpp, can maybe someone walk me through the process of the CMakeLists.txt and how I can include the Boost libraries?

Is there a guide detailing how I can augment current environment by adding gr-mapper?

"ModuleNotFoundError" notification window (No module named 'runtime_swig')

Issue: Running gnuradio-companion in the Anaconda prompt opens a small "ModuleNotFoundError" notification window (GRC does not start). OS is Win10.

Notification says:
<<
Cannot import gnuradio.
Is the Python path environment variable set correctly?
All OS: PYTHONPATH

Is the library path environment variable set correctly?
Linux: LD_Library_Path
Windows: PATH

See https://wiki.gnuradio.org/index.php/ModuleNotFoundError

(No module named 'runtime_swig')


Environment (conda list):

$ conda list

# packages in environment at C:\Users\Alexander\anaconda3\envs\gnuradio:
#
# Name                    Version                   Build  Channel
adwaita-icon-theme        3.38.0               heaa5689_1    conda-forge
atk-1.0                   2.36.0               h7222f49_4    conda-forge
boost-cpp                 1.74.0               h54f0996_2    conda-forge
brotlipy                  0.7.0           py39hb82d6ee_1001    conda-forge
bzip2                     1.0.8                h8ffe710_4    conda-forge
ca-certificates           2020.12.5            h5b45459_0    conda-forge
cairo                     1.16.0            hba8bd2f_1007    conda-forge
certifi                   2020.12.5        py39hcbf5309_1    conda-forge
cffi                      1.14.4           py39h0878f49_1    conda-forge
chardet                   4.0.0            py39hcbf5309_1    conda-forge
click                     7.1.2              pyh9f0ad1d_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
codec2                    0.9.2                h301d43c_1    conda-forge
cryptography              3.3.1            py39h0878f49_1    conda-forge
epoxy                     1.5.5                h8d14728_0    conda-forge
fftw                      3.3.9           nompi_h9df19be_100    conda-forge
freetype                  2.10.4               h546665d_1    conda-forge
fribidi                   1.0.10               h8d14728_0    conda-forge
gdk-pixbuf                2.42.2               hd590532_2    conda-forge
gettext                   0.19.8.1          h1a89ca6_1005    conda-forge
glib                      2.66.4               he2d232f_1    conda-forge
gnuradio                  3.9.0.0          py39h70c6263_0    conda-forge
gnuradio-core             3.9.0.0          py39hd4f9262_0    conda-forge
gnuradio-grc              3.9.0.0          py39h856da1f_0    conda-forge
gnuradio-qtgui            3.9.0.0          py39hb757050_0    conda-forge
gnuradio-uhd              3.9.0.0          py39h6ff7f24_0    conda-forge
gnuradio-video-sdl        3.9.0.0          py39h856da1f_0    conda-forge
gnuradio-zeromq           3.9.0.0          py39h0fae580_0    conda-forge
gobject-introspection     1.66.1           py39hfe2e8ff_4    conda-forge
gsl                       2.6                  hdfb1a43_2    conda-forge
gtk3                      3.24.24              h3d55b94_1    conda-forge
hicolor-icon-theme        0.17                 h57928b3_2    conda-forge
icu                       68.1                 h0e60522_0    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
intel-openmp              2020.3             h57928b3_311    conda-forge
jpeg                      9d                   h8ffe710_0    conda-forge
libblas                   3.9.0                     7_mkl    conda-forge
libcblas                  3.9.0                     7_mkl    conda-forge
libclang                  11.0.1          default_h5c34c98_1    conda-forge
libffi                    3.3                  h0e60522_2    conda-forge
libflac                   1.3.3                h0e60522_1    conda-forge
libglib                   2.66.4               h5320221_1    conda-forge
libiconv                  1.16                 he774522_0    conda-forge
liblapack                 3.9.0                     7_mkl    conda-forge
libogg                    1.3.4                h8ffe710_1    conda-forge
libopus                   1.3.1                h8ffe710_1    conda-forge
libpng                    1.6.37               h1d00b33_2    conda-forge
librsvg                   2.50.2               hca93135_2    conda-forge
libsndfile                1.0.30               h0e60522_1    conda-forge
libsodium                 1.0.18               h8d14728_1    conda-forge
libtiff                   4.2.0                hc10be44_0    conda-forge
libusb                    1.0.24               h0e60522_0    conda-forge
libvorbis                 1.3.7                h0e60522_0    conda-forge
libxml2                   2.9.10               hf5bbc77_3    conda-forge
libxslt                   1.1.33               h65864e5_2    conda-forge
log4cpp                   1.1.3             ha925a31_1002    conda-forge
lxml                      4.6.2            py39h4fd7cdf_1    conda-forge
lz4-c                     1.9.3                h8ffe710_0    conda-forge
m2w64-gcc-libgfortran     5.3.0                         6    conda-forge
m2w64-gcc-libs            5.3.0                         7    conda-forge
m2w64-gcc-libs-core       5.3.0                         7    conda-forge
m2w64-gmp                 6.1.0                         2    conda-forge
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    conda-forge
mako                      1.1.4              pyh44b312d_0    conda-forge
markupsafe                1.1.1            py39hb82d6ee_3    conda-forge
menuinst                  1.4.16           py39hde42818_1    conda-forge
mkl                       2020.4             hb70f87d_311    conda-forge
mpir                      3.0.0             he025d50_1002    conda-forge
msys2-conda-epoch         20160418                      1    conda-forge
numpy                     1.19.5           py39h6635163_1    conda-forge
openssl                   1.1.1i               h8ffe710_0    conda-forge
pango                     1.42.4               hec34917_5    conda-forge
pcre                      8.44                 ha925a31_0    conda-forge
pip                       20.3.3             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h8ffe710_0    conda-forge
pycairo                   1.20.0           py39h8170971_1    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pygobject                 3.38.0           py39h28dda48_4    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyqt                      5.12.3           py39hcbf5309_7    conda-forge
pyqt-impl                 5.12.3           py39h415ef7b_7    conda-forge
pyqt5-sip                 4.19.18          py39h415ef7b_7    conda-forge
pyqtchart                 5.12             py39h415ef7b_7    conda-forge
pyqtwebengine             5.12.1           py39h415ef7b_7    conda-forge
pysocks                   1.7.1            py39hcbf5309_3    conda-forge
python                    3.9.1           h7840368_3_cpython    conda-forge
python_abi                3.9                      1_cp39    conda-forge
pywin32                   300              py39hb82d6ee_0    conda-forge
pyyaml                    5.4.1            py39hb82d6ee_0    conda-forge
pyzmq                     21.0.1           py39h6e08c89_0    conda-forge
qt                        5.12.9               h5909a2a_3    conda-forge
qwt                       6.1.5                h265ddaf_0    conda-forge
requests                  2.25.1             pyhd3deb0d_0    conda-forge
sdl                       1.2.15               h21ff451_1    conda-forge
setuptools                49.6.0           py39hcbf5309_3    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
sqlite                    3.34.0               h8ffe710_0    conda-forge
tzdata                    2020f                he74cb21_0    conda-forge
uhd                       3.15.0.0         py39he0cccc2_5    conda-forge
urllib3                   1.26.2             pyhd8ed1ab_0    conda-forge
vc                        14.2                 hb210afc_2    conda-forge
volk                      2.4.1            py39h415ef7b_1    conda-forge
vs2015_runtime            14.28.29325          h5e1d092_0    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
win_inet_pton             1.1.0            py39hcbf5309_2    conda-forge
wincertstore              0.2             py39hcbf5309_1006    conda-forge
xz                        5.2.5                h62dcd97_1    conda-forge
yaml                      0.2.5                he774522_0    conda-forge
zeromq                    4.3.3                h0e60522_3    conda-forge
zlib                      1.2.11            h62dcd97_1010    conda-forge
zstd                      1.4.8                h4e2f164_1    conda-forge


Details about conda and system ( conda info ):

$ conda info

     active environment : gnuradio
    active env location : C:\Users\Alexander\anaconda3\envs\gnuradio
            shell level : 2
       user config file : C:\Users\Alexander\.condarc
 populated config files : C:\Users\Alexander\.condarc
                          C:\Users\Alexander\anaconda3\envs\gnuradio\.condarc
          conda version : 4.9.2
    conda-build version : 3.20.5
         python version : 3.8.5.final.0
       virtual packages : __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Users\Alexander\anaconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\Alexander\anaconda3\pkgs
                          C:\Users\Alexander\.conda\pkgs
                          C:\Users\Alexander\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\Alexander\anaconda3\envs
                          C:\Users\Alexander\.conda\envs
                          C:\Users\Alexander\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Windows/10 Windows/10.0.19041
          administrator : False
             netrc file : None
           offline mode : False

GNU Radio Companion crashing on Mac

I am using GNU Radio Companion in a class I run, where students are creating a clean Python 3.9 conda environment, and installing the latest stable GNU radio build from this conda channel.

A few of my students are using Macs (I believe mostly older Intel Macs), and all except 1 of them reported that Gnu Radio companion crashes on startup (as a workaround they are using shared Windows PCs, which have no problems). One of them was able to provide the following error message.

Please advise if there is any additional information I can gather to help resolve this issue (I do not have a Mac myself, so this may take some time).

Problem building an OOT module on a conda environnement

Hi,

I followed the tutorial to build an OOT module on gnuradio called "gr-howto". All the steps worked well except when I run the "ctest" command I get the following error :

(gnuradio) [Nicolas@ppsle-asx-n build]$ ctest -V -R square 
UpdateCTestConfiguration  from :/home/Nicolas/gr-howto/build/DartConfiguration.tcl
UpdateCTestConfiguration  from :/home/Nicolas/gr-howto/build/DartConfiguration.tcl
Test project /home/Nicolas/gr-howto/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
    Start 1: qa_square_ff

1: Test command: /usr/bin/sh "/home/Nicolas/gr-howto/build/python/qa_square_ff_test.sh"
1: Test timeout computed to be: 10000000
1: Traceback (most recent call last):
1:   File "/home/Nicolas/gr-howto/python/qa_square_ff.py", line 13, in <module>
1:     from howto import square_ff
1: ImportError: cannot import name 'square_ff' from 'howto' (unknown location)
1: 
1: During handling of the above exception, another exception occurred:
1: 
1: Traceback (most recent call last):
1:   File "/home/Nicolas/gr-howto/python/qa_square_ff.py", line 19, in <module>
1:     from howto import square_ff
1: ImportError: cannot import name 'square_ff' from 'howto' (unknown location)
1/1 Test #1: qa_square_ff .....................***Failed    0.24 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.24 sec

The following tests FAILED:
	  1 - qa_square_ff (Failed)
Errors while running CTest
Output from these tests are in: /home/Nicolas/gr-howto/build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.

As you can see "square_ff" cannot be imported forw "howto". Wich is weird because when I ran the "cmake" and "make" commands, everything worked fine :

(gnuradio) [Nicolas@ppsle-asx-n build]$ cmake -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_PREFIX_PATH=$CONDA_PREFIX ../
-- The CXX compiler identification is GNU 9.3.0
-- The C compiler identification is GNU 9.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/Nicolas/anaconda3/envs/gnuradio/bin/x86_64-conda-linux-gnu-c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/Nicolas/anaconda3/envs/gnuradio/bin/x86_64-conda-linux-gnu-cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") 
-- Found LOG4CPP: /home/Nicolas/anaconda3/envs/gnuradio/lib/liblog4cpp.so
-- Checking for module 'gmp'
--   Found gmp, version 6.2.1
-- Found GMP: /home/Nicolas/anaconda3/envs/gnuradio/lib/libgmpxx.so  
-- Checking for module 'mpir >= 3.0'
--   No package 'mpir' found
-- Found MPIR: /home/Nicolas/anaconda3/envs/gnuradio/lib/libmpirxx.so  
-- Found MPLIB: /home/Nicolas/anaconda3/envs/gnuradio/lib/libgmpxx.so  
-- Found Boost: /home/Nicolas/anaconda3/envs/gnuradio/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.74.0") found components: date_time program_options filesystem system regex thread 
-- Found Volk: Volk::volk  
-- User set python executable /home/Nicolas/anaconda3/envs/gnuradio/bin/python
-- Found PythonInterp: /home/Nicolas/anaconda3/envs/gnuradio/bin/python (found version "3.9.4") 
-- Found PythonLibs: /home/Nicolas/anaconda3/envs/gnuradio/lib/libpython3.9.so (found suitable exact version "3.9.4") 
-- Found PythonLibs: /home/Nicolas/anaconda3/envs/gnuradio/lib/libpython3.9.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found pybind11: /home/Nicolas/anaconda3/envs/gnuradio/include (found version "2.6.2" )
-- Checking for module 'thrift'
--   Found thrift, version 0.14.1
-- Python checking for Thrift - found
-- Found THRIFT: /home/Nicolas/anaconda3/envs/gnuradio/lib/libthrift.so  
-- Found Git: /usr/bin/git  
-- Found Doxygen: /home/Nicolas/anaconda3/envs/gnuradio/bin/doxygen (found version "1.9.1 (ab553a81f1725c385ca98109c269b0222389b72a*)") found components: doxygen missing components: dot
-- Using install prefix: /home/Nicolas/anaconda3/envs/gnuradio
-- Building for version: v1.0-compat-xxx-xunknown / 1.0.0git
-- No C++ unit tests... skipping
-- PYTHON and GRC components are enabled
-- Python checking for pygccxml - not found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/Nicolas/gr-howto/build


(gnuradio) [Nicolas@ppsle-asx-n build]$ make 
-- Build type not specified: defaulting to release.
-- Checking for module 'mpir >= 3.0'
--   No package 'mpir' found
-- User set python executable /home/Nicolas/anaconda3/envs/gnuradio/bin/python
-- Found pybind11: /home/Nicolas/anaconda3/envs/gnuradio/include (found version "2.6.2" )
-- Python checking for Thrift - found
-- Using install prefix: /home/Nicolas/anaconda3/envs/gnuradio
-- Building for version: v1.0-compat-xxx-xunknown / 1.0.0git
-- No C++ unit tests... skipping
-- PYTHON and GRC components are enabled
-- Python checking for pygccxml - not found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/Nicolas/gr-howto/build
Scanning dependencies of target gnuradio-howto
[ 12%] Building CXX object lib/CMakeFiles/gnuradio-howto.dir/square_ff_impl.cc.o
/home/Nicolas/gr-howto/lib/square_ff_impl.cc:14:78: note: #pragma message: set the following appropriately and remove this warning
   14 |     #pragma message("set the following appropriately and remove this warning")
      |                                                                              ^
/home/Nicolas/gr-howto/lib/square_ff_impl.cc:16:78: note: #pragma message: set the following appropriately and remove this warning
   16 |     #pragma message("set the following appropriately and remove this warning")
      |                                                                              ^
make[2]: AVERTISSEMENT : le fichier ยซ /home/Nicolas/anaconda3/envs/gnuradio/lib/liblog4cpp.so ยป a une date de modification 8221017 s dans le futur
[ 25%] Linking CXX shared library libgnuradio-howto.so
make[2]: AVERTISSEMENT : dรฉcalage d'horloge dรฉtectรฉ. La construction peut รชtre incomplรจte.
[ 25%] Built target gnuradio-howto
Scanning dependencies of target doxygen_target
[ 37%] Generating documentation with doxygen
warning: Invalid value for 'FILTER_PATTERNS' tag at line 784, file /home/Nicolas/gr-howto/build/docs/doxygen/Doxyfile: Values in list '*.py="/home/Nicolas/gr-howto"/doc/doxygen/other/doxypy.py' are not properly space or comma separated
warning: Tag 'COLS_IN_ALPHA_INDEX' at line 877 of file '/home/Nicolas/gr-howto/build/docs/doxygen/Doxyfile' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
error: Illegal format for option FILTER_PATTERNS, no equal sign ('=') specified for item '/doc/doxygen/other/doxypy.py'
[ 37%] Built target doxygen_target
Scanning dependencies of target extracted_docstrings
[ 50%] Scraping generated documentation for docstrings ...
[ 50%] Built target extracted_docstrings
Scanning dependencies of target howto_docstrings
[ 62%] Adding docstrings into howto pybind headers ...
output docstrings to /home/Nicolas/gr-howto/build/python/bindings/square_ff_pydoc.h
[ 62%] Built target howto_docstrings
Scanning dependencies of target howto_python
[ 75%] Building CXX object python/bindings/CMakeFiles/howto_python.dir/square_ff_python.cc.o
make[2]: AVERTISSEMENT : le fichier ยซ /home/Nicolas/anaconda3/envs/gnuradio/include/python3.9/Python.h ยป a une date de modification 9117833 s dans le futur
[ 87%] Building CXX object python/bindings/CMakeFiles/howto_python.dir/python_bindings.cc.o
[100%] Linking CXX shared module howto_python.cpython-39-x86_64-linux-gnu.so
make[2]: AVERTISSEMENT : dรฉcalage d'horloge dรฉtectรฉ. La construction peut รชtre incomplรจte.
[100%] Built target howto_python


(gnuradio) [Nicolas@ppsle-asx-n build]$ sudo make install 
[sudo] Mot de passe de Nicolasย :ย 
-- Build type not specified: defaulting to release.
-- Checking for module 'mpir >= 3.0'
--   No package 'mpir' found
-- User set python executable /home/Nicolas/anaconda3/envs/gnuradio/bin/python
-- Found pybind11: /home/Nicolas/anaconda3/envs/gnuradio/include (found version "2.6.2" )
-- Python checking for Thrift - found
-- Using install prefix: /home/Nicolas/anaconda3/envs/gnuradio
-- Building for version: v1.0-compat-xxx-xunknown / 1.0.0git
-- No C++ unit tests... skipping
-- PYTHON and GRC components are enabled
-- Python checking for pygccxml - not found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/Nicolas/gr-howto/build
make[2]: AVERTISSEMENT : le fichier ยซ /home/Nicolas/anaconda3/envs/gnuradio/lib/liblog4cpp.so ยป a une date de modification 8220868 s dans le futur
[ 12%] Linking CXX shared library libgnuradio-howto.so
make[2]: AVERTISSEMENT : dรฉcalage d'horloge dรฉtectรฉ. La construction peut รชtre incomplรจte.
[ 25%] Built target gnuradio-howto
[ 37%] Built target doxygen_target
[ 50%] Scraping generated documentation for docstrings ...
[ 50%] Built target extracted_docstrings
[ 62%] Built target howto_docstrings
Scanning dependencies of target howto_python
make[2]: AVERTISSEMENT : le fichier ยซ /home/Nicolas/anaconda3/envs/gnuradio/include/python3.9/Python.h ยป a une date de modification 9117694 s dans le futur
[ 75%] Building CXX object python/bindings/CMakeFiles/howto_python.dir/python_bindings.cc.o
[ 87%] Linking CXX shared module howto_python.cpython-39-x86_64-linux-gnu.so
make[2]: AVERTISSEMENT : dรฉcalage d'horloge dรฉtectรฉ. La construction peut รชtre incomplรจte.
[100%] Built target howto_python

Do you know hwo I could fix this issue ? Thank you and have a good day :)

libudev.so.0 missing FC31

Issue:
$ rtl_sdr
rtl_sdr: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

$ gqrx
gqrx: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

Do not know where to find libudev.so.0 in conda. On the base system, this comes from systemd-libs.


Environment (conda list):

$ conda list
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       0_gnu    conda-forge
adwaita-icon-theme        3.36.1               h5728ca3_0    conda-forge
alsa-lib                  1.2.3                h516909a_0    conda-forge
at-spi2-atk               2.32.0               h1369247_0    conda-forge
at-spi2-core              2.35.1               h1369247_0    conda-forge
atk                       2.36.0                        0    conda-forge
atk-1.0                   2.36.0               haf93ef1_0    conda-forge
attr                      2.4.48               h516909a_0    conda-forge
boost-cpp                 1.72.0               h8e57a91_0    conda-forge
brotlipy                  0.7.0           py38h1e0a361_1000    conda-forge
bzip2                     1.0.8                h516909a_2    conda-forge
ca-certificates           2020.6.20            hecda079_0    conda-forge
cairo                     1.16.0            hcf35c78_1003    conda-forge
certifi                   2020.6.20        py38h32f6830_0    conda-forge
cffi                      1.14.0           py38hd463f26_0    conda-forge
chardet                   3.0.4           py38h32f6830_1006    conda-forge
click                     7.1.2              pyh9f0ad1d_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
codec2                    0.9.2                h516909a_1    conda-forge
cryptography              2.9.2            py38h766eaa4_0    conda-forge
dbus                      1.13.6               he372182_0    conda-forge
epoxy                     1.5.4                h516909a_1    conda-forge
expat                     2.2.9                he1b5a44_2    conda-forge
fftw                      3.3.8           nompi_h7f3a6c3_1111    conda-forge
fontconfig                2.13.1            h86ecdb6_1001    conda-forge
freetype                  2.10.2               he06d7ca_0    conda-forge
fribidi                   1.0.10               h516909a_0    conda-forge
gdk-pixbuf                2.38.2               h3f25603_4    conda-forge
gettext                   0.19.8.1          hc5be6a0_1002    conda-forge
glib                      2.65.0               h6f030ca_0    conda-forge
gnuradio                  3.8.1.0         py38h1586537_10    conda-forge
gnuradio-core             3.8.1.0         py38h6faabd3_10    conda-forge
gnuradio-grc              3.8.1.0         py38h56ab25f_10    conda-forge
gnuradio-osmosdr          0.2.0            py38h56ab25f_1    conda-forge
gnuradio-qtgui            3.8.1.0         py38h65bde57_10    conda-forge
gnuradio-uhd              3.8.1.0         py38h2fdf6e0_10    conda-forge
gnuradio-video-sdl        3.8.1.0         py38h56ab25f_10    conda-forge
gnuradio-zeromq           3.8.1.0         py38h13b41bf_10    conda-forge
gobject-introspection     1.64.1           py38h03d966d_1    conda-forge
gqrx                      2.12.1               hf8bdcab_1    conda-forge
graphite2                 1.3.13            he1b5a44_1001    conda-forge
gsl                       2.6                  h294904e_0    conda-forge
gst-plugins-base          1.14.5               h0935bb2_2    conda-forge
gstreamer                 1.14.5               h36ae1b5_2    conda-forge
gtk3                      3.24.21              h45fd312_0    conda-forge
harfbuzz                  2.4.0                h9f30f68_3    conda-forge
hicolor-icon-theme        0.17                          0    conda-forge
icu                       64.2                 he1b5a44_1    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
jack                      0.125.0           hf484d3e_1001    conda-forge
jpeg                      9d                   h516909a_0    conda-forge
json-c                    0.13.1            hbfbb72e_1002    conda-forge
krb5                      1.17.1               hfafb76e_1    conda-forge
ld_impl_linux-64          2.34                 h53a641e_7    conda-forge
libblas                   3.8.0               17_openblas    conda-forge
libcap                    2.36                 h516909a_0    conda-forge
libcblas                  3.8.0               17_openblas    conda-forge
libclang                  9.0.1           default_hde54327_0    conda-forge
libcroco                  0.6.13               h8d621e5_1    conda-forge
libcups                   2.2.12               hf10b501_1    conda-forge
libdb                     6.1.26            he1b5a44_2002    conda-forge
libedit                   3.1.20191231         h46ee950_1    conda-forge
libffi                    3.2.1             he1b5a44_1007    conda-forge
libflac                   1.3.3                he1b5a44_0    conda-forge
libgcc-ng                 9.2.0                h24d8f2e_2    conda-forge
libgfortran-ng            7.5.0                hdf63c60_6    conda-forge
libgomp                   9.2.0                h24d8f2e_2    conda-forge
libiconv                  1.15              h516909a_1006    conda-forge
liblapack                 3.8.0               17_openblas    conda-forge
libllvm9                  9.0.1                he513fc3_1    conda-forge
libogg                    1.3.2             h516909a_1002    conda-forge
libopenblas               0.3.10          pthreads_hb3c22a3_2    conda-forge
libpng                    1.6.37               hed695b0_1    conda-forge
librsvg                   2.49.3               h33a7fed_0    conda-forge
libsndfile                1.0.28            he1b5a44_1000    conda-forge
libsodium                 1.0.17               h516909a_0    conda-forge
libstdcxx-ng              9.2.0                hdf63c60_2    conda-forge
libtiff                   4.1.0                hc7e4089_6    conda-forge
libtool                   2.4.6             h14c3975_1002    conda-forge
libusb                    1.0.23               he1b5a44_2    conda-forge
libuuid                   2.32.1            h14c3975_1000    conda-forge
libvorbis                 1.3.5             h516909a_1002    conda-forge
libwebp-base              1.1.0                h516909a_3    conda-forge
libxcb                    1.13              h14c3975_1002    conda-forge
libxkbcommon              0.10.0               he1b5a44_0    conda-forge
libxml2                   2.9.10               hee79883_0    conda-forge
libxslt                   1.1.33               h31b3aaa_0    conda-forge
log4cpp                   1.1.3             hf484d3e_1001    conda-forge
lxml                      4.5.2            py38hbb43d70_0    conda-forge
lz4-c                     1.9.2                he1b5a44_1    conda-forge
mako                      1.1.0                      py_0    conda-forge
markupsafe                1.1.1            py38h1e0a361_1    conda-forge
mpir                      3.0.0             hf484d3e_1002    conda-forge
ncurses                   6.2                  he1b5a44_1    conda-forge
nspr                      4.26                 he1b5a44_0    conda-forge
nss                       3.47                 he751ad9_0    conda-forge
numpy                     1.19.0           py38h8854b6b_0    conda-forge
openssl                   1.1.1g               h516909a_0    conda-forge
pango                     1.42.4               h7062337_4    conda-forge
pcre                      8.44                 he1b5a44_0    conda-forge
pip                       20.1.1                     py_1    conda-forge
pixman                    0.38.0            h516909a_1003    conda-forge
portaudio                 19.6.0               h1398938_3    conda-forge
pthread-stubs             0.4               h14c3975_1001    conda-forge
pulseaudio                13.0                 hd1b7508_1    conda-forge
pycairo                   1.19.1           py38h323dad1_3    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pygobject                 3.36.1           py38h2faf24e_0    conda-forge
pyopenssl                 19.1.0                     py_1    conda-forge
pyqt                      5.12.3           py38ha8c2ead_3    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtchart                 5.12                     pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
pysocks                   1.7.1            py38h32f6830_1    conda-forge
python                    3.8.3           cpython_he5300dc_0    conda-forge
python_abi                3.8                      1_cp38    conda-forge
pyyaml                    5.3.1            py38h1e0a361_0    conda-forge
pyzmq                     19.0.1           py38ha71036d_0    conda-forge
qt                        5.12.5               hd8c4c69_1    conda-forge
qwt                       6.1.5                h73816c6_0    conda-forge
readline                  8.0                  he28a2e2_2    conda-forge
requests                  2.24.0             pyh9f0ad1d_0    conda-forge
rtl-sdr                   0.6.0                h516909a_1    conda-forge
sdl                       1.2.15               he1b5a44_0    conda-forge
setuptools                49.2.0           py38h32f6830_0    conda-forge
six                       1.15.0             pyh9f0ad1d_0    conda-forge
soapysdr                  0.7.2            py38hbf85e49_1    conda-forge
sqlite                    3.32.3               hcee41ef_1    conda-forge
tk                        8.6.10               hed695b0_0    conda-forge
uhd                       3.15.0.0         py38h5b0b807_3    conda-forge
urllib3                   1.25.9                     py_0    conda-forge
volk                      2.3.0            py38h950e882_1    conda-forge
wheel                     0.34.2                     py_1    conda-forge
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.10               h516909a_0    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.9                h516909a_0    conda-forge
xorg-libxau               1.0.9                h14c3975_0    conda-forge
xorg-libxdmcp             1.1.3                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h516909a_0    conda-forge

Details about conda and system ( conda info ):
$ conda info
     active environment : /home/user/conda
    active env location : /home/user/conda
            shell level : 1
       user config file : /home/user/.condarc
 populated config files : /usr/share/conda/condarc.d/defaults.yaml
                          /home/user/conda/.condarc
          conda version : 4.8.0
    conda-build version : not installed
         python version : 3.7.7.final.0
       virtual packages : __cuda=10.2
                          __glibc=2.30
       base environment : /usr  (read only)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /var/cache/conda/pkgs
                          /home/user/.conda/pkgs
       envs directories : /home/user/.conda/envs
                          /usr/envs
               platform : linux-64
             user-agent : conda/4.8.0 requests/2.22.0 CPython/3.7.7 Linux/5.7.7-100.fc31.x86_64 fedora/31 glibc/2.30
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Cmake can't find log4cpp library

Hello,

I'm trying to create an OOT module for GNU Radio in a conda environnement and I have an issue with the cmake. It seems that cmake is unable to find the log4cpp librairy as you can see below :

(base) [Nicolas@cst ~]$ cd gr-howto/
(base) [Nicolas@cst gr-howto]$ cd build/
(base) [Nicolas@cst build]$ cmake -DCMAKE_INSTALL_PREFIX=anaconda3/lib/python3.8/site_packages ../
-- The CXX compiler identification is GNU 4.8.5
-- The C compiler identification is GNU 4.8.5
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Looked for LOG4CPP libraries named log4cpp.
CMake Error at /home/Nicolas/anaconda3/envs/gnuradio/lib/cmake/gnuradio/FindLOG4CPP.cmake:47 (message):
Could NOT find LOG4CPP library
Call Stack (most recent call first):
/home/Nicolas/anaconda3/share/cmake-3.18/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/home/Nicolas/anaconda3/envs/gnuradio/lib/cmake/gnuradio/GnuradioConfig.cmake:13 (find_dependency)
CMakeLists.txt:77 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/Nicolas/gr-howto/build/CMakeFiles/CMakeOutput.log".

I find this weird because log4cpp is installed in anaconda (I even tried to reinstall it using conda install -c conda-forge log4cpp).

I don't know if this is the best place to post this issue. If not could you please tell me where I could find my answers ?

Thank you and have a good day :)

Nicolas

Gnuradio-companion crash on open with missing glib key

Issue:
gnuradio-companion crashes on linux when selecting open in the file menu or ctrl+o.

The log gives:

(gnuradio-companion:14518): GLib-GIO-ERROR **: 20:13:58.060: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'show-type-column'
Trace/breakpoint trap (core dumped)


Environment (conda list):

new environment installed with conda create -n gnuradio -c conda-forge gnuradio

The ~/anaconda3/envs/gnuradio/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml

has content

true

Show file types

Controls whether the file chooser shows a column with file types.

So somehow I have the feeling that this is not the accessed file. My system glib (2.56.4) does not have this key, so I guess somehow gnuradio is accessing there.

which gsettings
/home/phy/anaconda3/envs/gnuradio/bin/gsettings

$ conda list


Details about conda and system ( conda info ):
$ conda info

     active environment : gnuradio
    active env location : /home/phy/anaconda3/envs/gnuradio
            shell level : 5
       user config file : /home/phy/.condarc
 populated config files : /home/phy/.condarc
                          /home/phy/anaconda3/envs/gnuradio/.condarc
          conda version : 4.8.3
    conda-build version : 3.18.11
         python version : 3.7.6.final.0
       virtual packages : __glibc=2.27
       base environment : /home/phy/anaconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/ryanvolz/linux-64
                          https://conda.anaconda.org/ryanvolz/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/phy/anaconda3/pkgs
                          /home/phy/.conda/pkgs
       envs directories : /home/phy/anaconda3/envs
                          /home/phy/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.3 requests/2.22.0 CPython/3.7.6 Linux/5.3.0-59-generic linuxmint/19.3 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

gnuradio-companion 3.8.2.0 crash on open on windows

Issue:

gnuradio-companion 3.8.2.0 crash on open on windows. Version 3.8.1 works fine.

(base) PS F:\apps\Conda> gnuradio-companion.exe
No such schema ?org.gnome.desktop.interface?
Traceback (most recent call last):
File "F:\apps\Conda\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "F:\apps\Conda\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "F:\apps\Conda\Library\bin\gnuradio-companion.exe_main
.py", line 102, in
File "F:\apps\Conda\Library\bin\gnuradio-companion.exe_main
.py", line 95, in run_main
File "F:\apps\Conda\lib\site-packages\gnuradio\grc\main.py", line 73, in main
from .gui.Platform import Platform
File "F:\apps\Conda\lib\site-packages\gnuradio\grc\gui\Platform.py", line 26, in
from . import canvas
File "F:\apps\Conda\lib\site-packages\gnuradio\grc\gui\canvas_init_.py", line 21, in
from .param import Param
File "F:\apps\Conda\lib\site-packages\gnuradio\grc\gui\canvas\param.py", line 23, in
from .. import ParamWidgets, Utils, Constants
File "F:\apps\Conda\lib\site-packages\gnuradio\grc\gui\ParamWidgets.py", line 66, in
add_style_provider()
File "F:\apps\Conda\lib\site-packages\gnuradio\grc\gui\ParamWidgets.py", line 58, in add_style_provider
dark_theme = have_dark_theme()
File "F:\apps\Conda\lib\site-packages\gnuradio\grc\gui\ParamWidgets.py", line 49, in have_dark_theme
["gsettings", "get", "org.gnome.desktop.interface", "gtk-theme"]
File "F:\apps\Conda\lib\subprocess.py", line 411, in check_output
**kwargs).stdout
File "F:\apps\Conda\lib\subprocess.py", line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['gsettings', 'get', 'org.gnome.desktop.interface', 'gtk-theme']' returned non-zero exit status 1.


Environment (conda list):
$ conda list


Details about conda and system ( conda info ):
$ conda info

GNU Radio Companion Conda build blocks windows clipboard

When running GNU Radio companion from this Conda package under Windows, after a while the Windows clipboard stops working - it is.

I am using GNURadio 3.10.1.0 package from conda-forge, with Mambaforge Python 3.9, on Windows 11. However, I have previously observed this issue with earlier versions of Python on a Windows 10 machine.

I am posting issue here, because I assume it is Windows specific, and related to the packaging of appropriate GUI or system libraries. But please advise if there is a more appropriate place to raise this issue, or if there are any steps I could take to help diagnose this issue.

GUI Crashed Resuting in GLib-GIO-ERROR

Issue:
When I click on a menu option in gnuradio-companion, such as <File --> Open> the GUI crashes, giving the error:
(gnuradio-companion:4292): GLib-GIO-ERROR **: 09:57:12.172: Settings schema 'org.gtk.Settings.FileChooser' does not contain a key named 'type-format'
Trace/breakpoint trap (core dumped)

My operating system is Ubuntu:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

Thanks!


Environment (conda list):

... $ conda list # # Name Version Build Channel _libgcc_mutex 0.1 main adwaita-icon-theme 3.36.1 h5728ca3_0 conda-forge alsa-lib 1.1.5 h516909a_1002 conda-forge at-spi2-atk 2.32.0 h1369247_0 conda-forge at-spi2-core 2.35.1 h1369247_0 conda-forge atk 2.36.0 0 conda-forge atk-1.0 2.36.0 haf93ef1_0 conda-forge attrs 19.3.0 py_0 backcall 0.2.0 py_0 blas 1.0 mkl bleach 3.1.5 py_0 bokeh 2.1.0 py37_0 boost-cpp 1.72.0 h8e57a91_0 conda-forge brotlipy 0.7.0 py37h7b6447c_1000 bzip2 1.0.8 h7b6447c_0 ca-certificates 2020.1.1 0 cairo 1.16.0 hcf35c78_1003 conda-forge certifi 2020.4.5.2 py37_0 cffi 1.14.0 py37h2e261b9_0 chardet 3.0.4 py37_1003 click 7.1.2 py_0 click-plugins 1.1.1 py_0 cloudpickle 1.4.1 py_0 cryptography 2.9.2 py37h1ba5d50_0 cytoolz 0.10.1 py37h7b6447c_0 dask 2.18.1 py_0 dask-core 2.18.1 py_0 dbus 1.13.14 hb2f20db_0 decorator 4.4.2 py_0 defusedxml 0.6.0 py_0 distributed 2.18.0 py37_0 entrypoints 0.3 py37_0 epoxy 1.5.4 h516909a_1 conda-forge expat 2.2.6 he6710b0_0 fftw 3.3.8 h7b6447c_3 fontconfig 2.13.1 h86ecdb6_1001 conda-forge freetype 2.10.2 h5ab3b9f_0 fribidi 1.0.9 h516909a_0 conda-forge fsspec 0.7.4 py_0 gdk-pixbuf 2.38.2 h3f25603_3 conda-forge gettext 0.19.8.1 hd7bead4_3 glib 2.63.1 h5a9c865_0 gmp 6.1.2 h6c8ec71_1 gnuradio 3.8.1.0 py37h4c8c553_6 conda-forge gnuradio-core 3.8.1.0 py37h615a080_6 conda-forge gnuradio-grc 3.8.1.0 py37h110162e_6 conda-forge gnuradio-osmosdr 0.2.0 py37h110162e_1 ryanvolz gnuradio-qtgui 3.8.1.0 py37he471202_6 conda-forge gnuradio-uhd 3.8.1.0 py37h110162e_6 conda-forge gnuradio-video-sdl 3.8.1.0 py37h110162e_6 conda-forge gnuradio-zeromq 3.8.1.0 py37h913d78c_6 conda-forge gobject-introspection 1.56.1 py37hbc4ca2d_2 graphite2 1.3.13 h23475e2_0 gsl 2.6 h294904e_0 conda-forge gst-plugins-base 1.14.5 h0935bb2_2 conda-forge gstreamer 1.14.5 h36ae1b5_2 conda-forge gtk3 3.24.14 h45fd312_2 conda-forge harfbuzz 2.4.0 h9f30f68_3 conda-forge heapdict 1.0.1 py_0 hicolor-icon-theme 0.17 0 conda-forge icu 64.2 he1b5a44_1 conda-forge idna 2.9 py_1 importlib-metadata 1.6.1 py37_0 importlib_metadata 1.6.1 0 intel-openmp 2019.4 243 ipykernel 5.3.0 py37h5ca1d4c_0 ipython 7.15.0 py37_0 ipython_genutils 0.2.0 py37_0 jedi 0.17.0 py37_0 jinja2 2.11.2 py_0 jpeg 9c h14c3975_1001 conda-forge jsonschema 3.2.0 py37_0 jupyter_client 6.1.3 py_0 jupyter_core 4.6.3 py37_0 krb5 1.16.4 h173b8e3_0 ld_impl_linux-64 2.33.1 h53a641e_7 libblas 3.8.0 14_mkl conda-forge libcblas 3.8.0 14_mkl conda-forge libclang 9.0.1 default_hde54327_0 conda-forge libcroco 0.6.13 h8d621e5_1 conda-forge libcups 2.2.12 h6ffcb39_0 conda-forge libedit 3.1.20181209 hc058e9b_0 libffi 3.2.1 hd88cf55_4 libgcc-ng 9.1.0 hdf63c60_0 libgfortran-ng 7.3.0 hdf63c60_0 libiconv 1.15 h63c8f33_5 libllvm9 9.0.1 he513fc3_1 conda-forge libpng 1.6.37 hbc83047_0 librsvg 2.48.4 h33a7fed_0 conda-forge libsodium 1.0.17 h516909a_0 conda-forge libstdcxx-ng 9.1.0 hdf63c60_0 libtiff 4.1.0 h2733197_1 libusb 1.0.23 he1b5a44_1 conda-forge libuuid 2.32.1 h14c3975_1000 conda-forge libxcb 1.13 h1bed415_1 libxkbcommon 0.10.0 he1b5a44_0 conda-forge libxml2 2.9.10 hee79883_0 conda-forge libxslt 1.1.33 h31b3aaa_0 conda-forge locket 0.2.0 py37_1 log4cpp 1.1.3 hf484d3e_1001 conda-forge lxml 4.5.1 py37hefd8a0e_0 lz4-c 1.9.2 he6710b0_0 mako 1.1.3 py_0 markupsafe 1.1.1 py37h7b6447c_0 mistune 0.8.4 py37h7b6447c_0 mkl 2019.4 243 mkl-service 2.3.0 py37he904b0f_0 mkl_fft 1.1.0 py37h23d657b_0 mkl_random 1.1.0 py37hd6b4f25_0 mpir 3.0.0 h3e5f119_1 msgpack-python 1.0.0 py37hfd86e86_1 nbconvert 5.6.1 py37_0 nbformat 5.0.7 py_0 ncurses 6.1 he6710b0_1 notebook 6.0.3 py37_0 nspr 4.22 he6710b0_0 nss 3.46.1 hab99668_0 numpy 1.18.1 py37h4f9e942_0 numpy-base 1.18.1 py37hde5b4d6_1 olefile 0.46 py37_0 openssl 1.1.1g h7b6447c_0 packaging 20.4 py_0 pandas 1.0.4 py37h0573a6f_0 pandoc 2.2.3.2 0 pandocfilters 1.4.2 py37_1 pango 1.42.4 h7062337_4 conda-forge parso 0.7.0 py_0 partd 1.1.0 py_0 pcre 8.43 he6710b0_0 pexpect 4.8.0 py37_0 pickleshare 0.7.5 py37_0 pillow 7.1.2 py37hb39fc2d_0 pip 20.1.1 py37_1 pixman 0.38.0 h7b6447c_0 portaudio 19.6.0 h7b6447c_4 prometheus_client 0.8.0 py_0 prompt-toolkit 3.0.5 py_0 psutil 5.7.0 py37h7b6447c_0 ptyprocess 0.6.0 py37_0 pycairo 1.19.0 py37h2a1e443_0 pycparser 2.20 py_0 pygments 2.6.1 py_0 pygobject 3.30.5 py37hfc86313_1 conda-forge pyopenssl 19.1.0 py37_0 pyparsing 2.4.7 py_0 pyqt 5.12.3 py37h8685d9f_3 conda-forge pyqt5-sip 4.19.18 pypi_0 pypi pyqtchart 5.12 pypi_0 pypi pyqtwebengine 5.12.1 pypi_0 pypi pyrsistent 0.16.0 py37h7b6447c_0 pysocks 1.7.1 py37_0 python 3.7.6 h0371630_2 python-dateutil 2.8.1 py_0 python_abi 3.7 1_cp37m conda-forge pytz 2020.1 py_0 pyyaml 5.3.1 py37h7b6447c_0 pyzmq 18.1.1 py37he6710b0_0 qt 5.12.5 hd8c4c69_1 conda-forge qwt 6.1.4 h73816c6_1005 conda-forge readline 7.0 h7b6447c_5 requests 2.23.0 py37_0 rtl-sdr 0.6.0 h516909a_0 conda-forge sdl 1.2.15 he1b5a44_0 conda-forge send2trash 1.5.0 py37_0 setuptools 47.3.0 py37_0 six 1.15.0 py_0 soapysdr 0.7.2 py37h99015e2_1 conda-forge sortedcontainers 2.2.2 py_0 sqlite 3.31.1 h7b6447c_0 tblib 1.6.0 py_0 terminado 0.8.3 py37_0 testpath 0.4.4 py_0 tk 8.6.10 hbc83047_0 toolz 0.10.0 py_0 tornado 6.0.4 py37h7b6447c_1 traitlets 4.3.3 py37_0 typing_extensions 3.7.4.1 py37_0 uhd 3.15.0.0 py37h9598972_2 conda-forge urllib3 1.25.9 py_0 volk 2.3.0 py37h3340039_1 conda-forge wcwidth 0.2.4 py_0 webencodings 0.5.1 py37_1 wheel 0.34.2 py37_0 xorg-kbproto 1.0.7 h14c3975_1002 conda-forge xorg-libice 1.0.10 h516909a_0 conda-forge xorg-libsm 1.2.3 h84519dc_1000 conda-forge xorg-libx11 1.6.9 h516909a_0 conda-forge xorg-libxext 1.3.4 h516909a_0 conda-forge xorg-libxrender 0.9.10 h516909a_1002 conda-forge xorg-renderproto 0.11.1 h14c3975_1002 conda-forge xorg-xextproto 7.3.0 h14c3975_1002 conda-forge xorg-xproto 7.0.31 h14c3975_1007 conda-forge xz 5.2.5 h7b6447c_0 yaml 0.1.7 had09818_2 zeromq 4.3.2 he1b5a44_2 conda-forge zict 2.0.0 py_0 zipp 3.1.0 py_0 zlib 1.2.11 h7b6447c_3 zstd 1.4.4 h0b5b093_3

Details about conda and system ( conda info ):
... $ conda info active environment : radio active env location : /home/normanjrt/anaconda3/envs/radio shell level : 2 user config file : /home/normanjrt/.condarc populated config files : /home/normanjrt/.condarc conda version : 4.8.3 conda-build version : 3.18.11 python version : 3.7.4.final.0 virtual packages : __glibc=2.27 base environment : /home/normanjrt/anaconda3 (writable) channel URLs : https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/normanjrt/anaconda3/pkgs /home/normanjrt/.conda/pkgs envs directories : /home/normanjrt/anaconda3/envs /home/normanjrt/.conda/envs platform : linux-64 user-agent : conda/4.8.3 requests/2.22.0 CPython/3.7.4 Linux/4.15.0-111-generic ubuntu/18.04.4 glibc/2.27 UID:GID : 1000:1000 netrc file : None offline mode : False
</details>

Build gnuradio-companion

The current build does not include gnuradio-companion because of a missing dependency: gtk3. It would very much increase the usability of the gnuradio package as a whole if GRC was included.

I have successfully built against the gtk3 package available on the pkgw-forge channel before, so once/if gtk3 becomes available on conda-forge adding GRC should be easy. There is already an open request to add gtk3 to conda-forge at conda-forge/staged-recipes#9314.

GRC fails to load on osx-arm64 because of missing `harfbuzz` typelib

As reported here, gnuradio-companion cannot start on osx-arm64, giving the following error:

(gnuradio) cake@cakeM1 ~ % gnuradio-companion       
ImportError

Failed to initialize GTK. If you are running over ssh, did you enable X forwarding and start ssh with -X?

(Typelib file for namespace 'HarfBuzz', version '0.0' not found)

This happens because harfbuzz is built with introspection disabled when cross compiling. It can probably only be re-enabled by splitting gobject-introspection into multiple packages.

gnuradio-companion segfaults on startup after libffi34 migration

Issue: gnuradio-companion segfaults on startup

Sometime between Sep 15 2021 and this morning (Sep 16 2021), several dependencies of gnuradio were updated as part of the libffi34 migration.

Console output of the crash:

(gnuradio-bad) dan01 ~ (conda: gnuradio-bad) โฏ gnuradio-companion 
<<< Welcome to GNU Radio Companion 3.9.2.0 >>>

Block paths:
	/home/dan/micromamba/envs/gnuradio-bad/share/gnuradio/grc/blocks
zsh: segmentation fault (core dumped)  gnuradio-companion

The following environment.yml results in a broken gnuradio installation:

name: gnuradio-bad
channels:
  - conda-forge
  - defaults

dependencies:
  - python=3.6
  - gnuradio=3.9.2.0

Pinning libffi to the previous version in the environment file results in an installation that works:

name: gnuradio-good
channels:
  - conda-forge
  - defaults

dependencies:
  - python=3.6
  - libffi=3.3
  - gnuradio=3.9.2.0

The stack trace on crash I was able to acquire indicates that the crash is related to pygobject/gobject-introspection:

(gdb) bt
#0  0x00007fff9089c8b8 in g_callable_info_free_closure () from /home/dan/micromamba/envs/gnuradio-bad/lib/python3.6/site-packages/gi/../../../libgirepository-1.0.so.1
#1  0x00007fff90a20d51 in _pygi_invoke_closure_free () from /home/dan/micromamba/envs/gnuradio-bad/lib/python3.6/site-packages/gi/_gi.cpython-36m-x86_64-linux-gnu.so
#2  0x00007fff90a2583d in pygi_marshal_cleanup_args_from_py_marshal_success () from /home/dan/micromamba/envs/gnuradio-bad/lib/python3.6/site-packages/gi/_gi.cpython-36m-x86_64-linux-gnu.so
#3  0x00007fff90a23ab0 in pygi_invoke_c_callable () from /home/dan/micromamba/envs/gnuradio-bad/lib/python3.6/site-packages/gi/_gi.cpython-36m-x86_64-linux-gnu.so
#4  0x00007fff90a25478 in pygi_function_cache_invoke () from /home/dan/micromamba/envs/gnuradio-bad/lib/python3.6/site-packages/gi/_gi.cpython-36m-x86_64-linux-gnu.so
#5  0x00007fff90a1635c in _callable_info_call () from /home/dan/micromamba/envs/gnuradio-bad/lib/python3.6/site-packages/gi/_gi.cpython-36m-x86_64-linux-gnu.so
#6  0x0000555555698273 in _PyObject_FastCallDict (kwargs=<optimized out>, nargs=<optimized out>, args=<optimized out>, func=0x7fffe57421f0)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Objects/abstract.c:2331
#7  _PyObject_FastCallKeywords (func=0x7fffe57421f0, stack=<optimized out>, nargs=<optimized out>, kwnames=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Objects/abstract.c:2496
#8  0x0000555555698cad in call_function (pp_stack=0x7fff99e2ef58, oparg=<optimized out>, kwnames=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4875
#9  0x00005555556f7563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:3335
#10 0x000055555563e6d5 in PyEval_EvalFrameEx (throwflag=0, f=0x7fffeedac210) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:754
#11 _PyEval_EvalCodeWithName (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=<optimized out>, 
    kwcount=<optimized out>, kwstep=1, defs=<optimized out>, defcount=<optimized out>, kwdefs=<optimized out>, closure=<optimized out>, name=<optimized out>, qualname=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4166
#12 0x0000555555696f58 in fast_function (func=<optimized out>, stack=0x7fffeeb74a10, nargs=1, kwnames=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4992
#13 0x0000555555698a6f in call_function (pp_stack=0x7fff99e2f278, oparg=<optimized out>, kwnames=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4872
#14 0x00005555556f7563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:3335
#15 0x000055555563e6d5 in PyEval_EvalFrameEx (throwflag=0, f=0x7fffeeb74890) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:754
#16 _PyEval_EvalCodeWithName (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=<optimized out>, 
    kwcount=<optimized out>, kwstep=1, defs=<optimized out>, defcount=<optimized out>, kwdefs=<optimized out>, closure=<optimized out>, name=<optimized out>, qualname=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4166
#17 0x0000555555696f58 in fast_function (func=<optimized out>, stack=0x7fff880012c0, nargs=0, kwnames=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4992
#18 0x0000555555698a6f in call_function (pp_stack=0x7fff99e2f598, oparg=<optimized out>, kwnames=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4872
#19 0x00005555556f7563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:3335
#20 0x000055555563fcfa in PyEval_EvalFrameEx (throwflag=0, f=0x7fff88001118) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:754
#21 _PyFunction_FastCall (globals=<optimized out>, nargs=<optimized out>, args=<optimized out>, co=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4933
#22 _PyFunction_FastCallDict (func=<optimized out>, args=<optimized out>, nargs=<optimized out>, kwargs=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:5035
#23 0x00005555556a8f63 in _PyObject_FastCallDict (kwargs=0x7fff8d9a5438, nargs=1, args=0x7fff99e2f6e0, func=0x7fff8d01b6a8)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Objects/abstract.c:2310
#24 _PyObject_Call_Prepend (kwargs=0x7fff8d9a5438, args=<optimized out>, obj=<optimized out>, func=0x7fff8d01b6a8)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Objects/abstract.c:2373
#25 method_call (method=method@entry=0x7ffff7784d88, args=<optimized out>, kwargs=0x7fff8d9a5438)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Objects/classobject.c:314
#26 0x000055555564f5fe in PyObject_Call (func=0x7ffff7784d88, args=<optimized out>, kwargs=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Objects/abstract.c:2261
#27 0x00005555556f8d10 in do_call_core (kwdict=0x7fff8d9a5438, callargs=0x7ffff78d0048, func=0x7ffff7784d88)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:5120
#28 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:3404
#29 0x0000555555696d79 in PyEval_EvalFrameEx (throwflag=0, f=0x7fffeeccb238) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:754
#30 _PyFunction_FastCall (globals=<optimized out>, nargs=<optimized out>, args=<optimized out>, co=<optimized out>)
--Type <RET> for more, q to quit, c to continue without paging--
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4933
#31 fast_function (func=<optimized out>, stack=<optimized out>, nargs=<optimized out>, kwnames=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4968
#32 0x0000555555698a6f in call_function (pp_stack=0x7fff99e2fa08, oparg=<optimized out>, kwnames=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4872
#33 0x00005555556f7563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:3335
#34 0x0000555555696d79 in PyEval_EvalFrameEx (throwflag=0, f=0x7fff88000b78) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:754
#35 _PyFunction_FastCall (globals=<optimized out>, nargs=<optimized out>, args=<optimized out>, co=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4933
#36 fast_function (func=<optimized out>, stack=<optimized out>, nargs=<optimized out>, kwnames=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4968
#37 0x0000555555698a6f in call_function (pp_stack=0x7fff99e2fbf8, oparg=<optimized out>, kwnames=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4872
#38 0x00005555556f7563 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:3335
#39 0x000055555563fcfa in PyEval_EvalFrameEx (throwflag=0, f=0x7fffeeb8f230) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:754
#40 _PyFunction_FastCall (globals=<optimized out>, nargs=<optimized out>, args=<optimized out>, co=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4933
#41 _PyFunction_FastCallDict (func=<optimized out>, args=<optimized out>, nargs=<optimized out>, kwargs=<optimized out>)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:5035
#42 0x00005555556a8f63 in _PyObject_FastCallDict (kwargs=0x0, nargs=1, args=0x7fff99e2fd40, func=0x7fff912fc378)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Objects/abstract.c:2310
#43 _PyObject_Call_Prepend (kwargs=0x0, args=<optimized out>, obj=<optimized out>, func=0x7fff912fc378)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Objects/abstract.c:2373
#44 method_call (method=method@entry=0x7ffff78c2988, args=<optimized out>, kwargs=kwargs@entry=0x0)
    at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Objects/classobject.c:314
#45 0x0000555555645a99 in PyObject_Call (kwargs=0x0, args=<optimized out>, func=0x7ffff78c2988) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Objects/abstract.c:2261
#46 PyEval_CallObjectWithKeywords (func=0x7ffff78c2988, args=<optimized out>, kwargs=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/ceval.c:4771
#47 0x00005555557707f3 in t_bootstrap (boot_raw=boot_raw@entry=0x7fffeeb6d5f8) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Modules/_threadmodule.c:1000
#48 0x0000555555703a84 in pythread_wrapper (arg=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1630996361883/work/Python/thread_pthread.h:205
#49 0x00007ffff7f7a259 in start_thread () from /usr/lib/libpthread.so.0
#50 0x00007ffff7d485e3 in clone () from /usr/lib/libc.so.6

@ryanvolz I'm not sure exactly where in the dependency chain this breaks, but I think you're a maintainer of each of these, any ideas?

Unable to install gnuradio into conda from source

While this is not strictly related to the feedstock, I was told to open an issue here for help

Issue: following the gnuradio conda source install guide on ubuntu 20.04 results in compilation errors

using the cmake commands

cmake -G "Ninja" -DCMAKE_PREFIX_PATH=$CONDA_PREFIX -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DLIB_SUFFIX="" ..
cmake --build .

results in the following error during compilation

[1351/1631] Linking CXX executable gr-qtgui/examples/c++/display_qt
FAILED: gr-qtgui/examples/c++/display_qt 
: && /home/user/miniconda3/envs/testing_gnuradio/bin/x86_64-conda-linux-gnu-c++ -fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/user/miniconda3/envs/testing_gnuradio/include -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -fcx-limited-range -O3 -DNDEBUG -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,-rpath,/home/user/miniconda3/envs/testing_gnuradio/lib -Wl,-rpath-link,/home/user/miniconda3/envs/testing_gnuradio/lib -L/home/user/miniconda3/envs/testing_gnuradio/lib gr-qtgui/examples/c++/CMakeFiles/display_qt.dir/display_qt.cc.o gr-qtgui/examples/c++/CMakeFiles/display_qt.dir/moc_display_qt.cpp.o -o gr-qtgui/examples/c++/display_qt  -Wl,-rpath,/home/user/Desktop/gnuradio/build/gr-qtgui/lib:/home/user/Desktop/gnuradio/build/gr-analog/lib:/home/user/Desktop/gnuradio/build/gr-filter/lib:/home/user/Desktop/gnuradio/build/gr-blocks/lib:/home/user/Desktop/gnuradio/build/gr-fft/lib:/home/user/Desktop/gnuradio/build/gnuradio-runtime/lib:/home/user/Desktop/gnuradio/build/gnuradio-runtime/lib/pmt:  gr-qtgui/lib/libgnuradio-qtgui.so.3.9.2.0  gr-analog/lib/libgnuradio-analog.so.3.9.2.0  gr-filter/lib/libgnuradio-filter.so.3.9.2.0  gr-blocks/lib/libgnuradio-blocks.so.3.9.2.0  gr-fft/lib/libgnuradio-fft.so.3.9.2.0  gnuradio-runtime/lib/libgnuradio-runtime.so.3.9.2.0  /home/user/miniconda3/envs/testing_gnuradio/lib/libqwt.so  /home/user/miniconda3/envs/testing_gnuradio/lib/libQt5Widgets.so.5.12.9  /home/user/miniconda3/envs/testing_gnuradio/lib/libQt5Gui.so.5.12.9  /home/user/miniconda3/envs/testing_gnuradio/lib/libQt5Core.so.5.12.9  /home/user/miniconda3/envs/testing_gnuradio/lib/libfftw3f.so  /home/user/miniconda3/envs/testing_gnuradio/lib/libfftw3f_threads.so  /home/user/miniconda3/envs/testing_gnuradio/lib/libsndfile.so  /home/user/miniconda3/envs/testing_gnuradio/lib/libvolk.so.2.4  -ldl  -lm  gnuradio-runtime/lib/pmt/libgnuradio-pmt.so.3.9.2.0  /home/user/miniconda3/envs/testing_gnuradio/lib/libboost_program_options.so.1.74.0  /home/user/miniconda3/envs/testing_gnuradio/lib/libboost_filesystem.so.1.74.0  /home/user/miniconda3/envs/testing_gnuradio/lib/libboost_system.so.1.74.0  /home/user/miniconda3/envs/testing_gnuradio/lib/libboost_regex.so.1.74.0  /home/user/miniconda3/envs/testing_gnuradio/lib/libboost_thread.so.1.74.0  -lpthread  /home/user/miniconda3/envs/testing_gnuradio/lib/liblog4cpp.so  /home/user/miniconda3/envs/testing_gnuradio/lib/libmpirxx.so  /home/user/miniconda3/envs/testing_gnuradio/lib/libmpir.so  -lrt && :
/home/user/miniconda3/envs/testing_gnuradio/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: warning: libGL.so.1, needed by /home/user/miniconda3/envs/testing_gnuradio/lib/libQt5Widgets.so.5.12.9, not found (try using -rpath or -rpath-link)
/home/user/miniconda3/envs/testing_gnuradio/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/user/miniconda3/envs/testing_gnuradio/lib/libQt5Gui.so.5.12.9: undefined reference to `glLoadIdentity'
/home/user/miniconda3/envs/testing_gnuradio/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/user/miniconda3/envs/testing_gnuradio/lib/libQt5Gui.so.5.12.9: undefined reference to `glMatrixMode'
/home/user/miniconda3/envs/testing_gnuradio/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/user/miniconda3/envs/testing_gnuradio/lib/libQt5Gui.so.5.12.9: undefined reference to `glOrtho'
/home/user/miniconda3/envs/testing_gnuradio/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /home/user/miniconda3/envs/testing_gnuradio/lib/libQt5Gui.so.5.12.9: undefined reference to `glLoadMatrixf'
collect2: error: ld returned 1 exit status
[1352/1631] Building CXX object gr-qtgui/python/qtgui/bindings/CMakeFiles/qtgui_python.dir/constellationdisplayform_python.cc.o
[1353/1631] Building CXX object gr-qtgui/python/qtgui/bindings/CMakeFiles/qtgui_python.dir/displayform_python.cc.o
ninja: build stopped: subcommand failed.

attached is the full log of output from the two cmake commands
output_gnuradio.txt


Environment (conda list):
$ conda list
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
alsa-lib                  1.2.3                h516909a_0    conda-forge
at-spi2-atk               2.38.0               h0630a04_3    conda-forge
at-spi2-core              2.40.2               h0630a04_0    conda-forge
atk-1.0                   2.36.0               h3371d22_4    conda-forge
binutils                  2.35.1               hdd6e379_2    conda-forge
binutils_impl_linux-64    2.35.1               h193b22a_2    conda-forge
binutils_linux-64         2.35                h67ddf6f_30    conda-forge
boost-cpp                 1.74.0               h312852a_4    conda-forge
brotlipy                  0.7.0           py39h3811e60_1001    conda-forge
bzip2                     1.0.8                h7f98852_4    conda-forge
c-ares                    1.17.1               h7f98852_1    conda-forge
c-compiler                1.2.0                h7f98852_0    conda-forge
ca-certificates           2021.5.30            ha878542_0    conda-forge
cairo                     1.16.0            h6cf1ce9_1008    conda-forge
certifi                   2021.5.30        py39hf3d152e_0    conda-forge
cffi                      1.14.5           py39he32792d_0    conda-forge
chardet                   4.0.0            py39hf3d152e_1    conda-forge
click                     8.0.1            py39hf3d152e_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
cmake                     3.20.5               h8897547_0    conda-forge
codec2                    0.9.2                h7f98852_1    conda-forge
cppzmq                    4.7.1                hf7cf922_2    conda-forge
cryptography              3.4.7            py39hbca0aa6_0    conda-forge
cxx-compiler              1.2.0                h4bd325d_0    conda-forge
dbus                      1.13.6               h48d8840_2    conda-forge
epoxy                     1.5.8                h7f98852_0    conda-forge
expat                     2.4.1                h9c3ff4c_0    conda-forge
fftw                      3.3.9           nompi_h74d3f13_101    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.13.1            hba837de_1005    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freetype                  2.10.4               h0708190_1    conda-forge
fribidi                   1.0.10               h36c2ea0_0    conda-forge
gcc_impl_linux-64         9.3.0               h70c0ae5_19    conda-forge
gcc_linux-64              9.3.0               hf25ea35_30    conda-forge
gdk-pixbuf                2.42.6               h04a7f16_0    conda-forge
gettext                   0.19.8.1          h0b5b191_1005    conda-forge
glib                      2.68.3               h9c3ff4c_0    conda-forge
glib-tools                2.68.3               h9c3ff4c_0    conda-forge
gnuradio-build-deps       3.9.2.0          py39ha84d206_0    conda-forge
gobject-introspection     1.68.0           py39hcb793ab_1    conda-forge
graphite2                 1.3.13            h58526e2_1001    conda-forge
gsl                       2.6                  he838d99_2    conda-forge
gst-plugins-base          1.18.4               hf529b03_2    conda-forge
gstreamer                 1.18.4               h76c114f_2    conda-forge
gstreamer-orc             0.4.32               h7f98852_1    conda-forge
gtk3                      3.24.29              h8879c87_1    conda-forge
gxx_impl_linux-64         9.3.0               hd87eabc_19    conda-forge
gxx_linux-64              9.3.0               h3fbe746_30    conda-forge
harfbuzz                  2.8.1                h83ec7ef_0    conda-forge
hicolor-icon-theme        0.17                 ha770c72_2    conda-forge
icu                       68.1                 h58526e2_0    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
jbig                      2.1               h7f98852_2003    conda-forge
jpeg                      9d                   h36c2ea0_0    conda-forge
kernel-headers_linux-64   2.6.32              h77966d4_13    conda-forge
krb5                      1.19.1               hcc1bbae_0    conda-forge
ld_impl_linux-64          2.35.1               hea4e1c9_2    conda-forge
lerc                      2.2.1                h9c3ff4c_0    conda-forge
libblas                   3.9.0                9_openblas    conda-forge
libcblas                  3.9.0                9_openblas    conda-forge
libclang                  11.1.0          default_ha53f305_1    conda-forge
libcups                   2.3.3                hf5a7f15_0    conda-forge
libcurl                   7.77.0               h2574ce0_0    conda-forge
libdeflate                1.7                  h7f98852_5    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libevent                  2.1.10               hcdb4288_3    conda-forge
libffi                    3.3                  h58526e2_2    conda-forge
libflac                   1.3.3                h9c3ff4c_1    conda-forge
libgcc-devel_linux-64     9.3.0               h7864c58_19    conda-forge
libgcc-ng                 9.3.0               h2828fa1_19    conda-forge
libgfortran-ng            9.3.0               hff62375_19    conda-forge
libgfortran5              9.3.0               hff62375_19    conda-forge
libglib                   2.68.3               h3e27bee_0    conda-forge
libgomp                   9.3.0               h2828fa1_19    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
liblapack                 3.9.0                9_openblas    conda-forge
libllvm11                 11.1.0               hf817b99_2    conda-forge
libnghttp2                1.43.0               h812cca2_0    conda-forge
libogg                    1.3.4                h7f98852_1    conda-forge
libopenblas               0.3.15          pthreads_h8fe5266_1    conda-forge
libopus                   1.3.1                h7f98852_1    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libpq                     13.3                 hd57d9b9_0    conda-forge
libsndfile                1.0.31               h9c3ff4c_1    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libssh2                   1.9.0                ha56f1ee_6    conda-forge
libstdcxx-devel_linux-64  9.3.0               hb016644_19    conda-forge
libstdcxx-ng              9.3.0               h6de172a_19    conda-forge
libtiff                   4.3.0                hf544144_1    conda-forge
libusb                    1.0.24               h18f079d_4    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libuv                     1.41.0               h7f98852_0    conda-forge
libvorbis                 1.3.7                h9c3ff4c_0    conda-forge
libwebp-base              1.2.0                h7f98852_2    conda-forge
libxcb                    1.13              h7f98852_1003    conda-forge
libxkbcommon              1.0.3                he3ba5ed_0    conda-forge
libxml2                   2.9.12               h72842e0_0    conda-forge
libxslt                   1.1.33               h15afd5d_2    conda-forge
log4cpp                   1.1.3             h9c3ff4c_1002    conda-forge
lxml                      4.6.3            py39h107f48f_0    conda-forge
lz4-c                     1.9.3                h9c3ff4c_0    conda-forge
mako                      1.1.4              pyh44b312d_0    conda-forge
markupsafe                2.0.1            py39h3811e60_0    conda-forge
mesalib                   18.3.1               h590aaf7_0    conda-forge
mpir                      3.0.0             hf484d3e_1002    conda-forge
mysql-common              8.0.25               ha770c72_2    conda-forge
mysql-libs                8.0.25               hfa10184_2    conda-forge
ncurses                   6.2                  h58526e2_4    conda-forge
ninja                     1.10.2               h4bd325d_0    conda-forge
nspr                      4.30                 h9c3ff4c_0    conda-forge
nss                       3.67                 hb5efdd6_0    conda-forge
numpy                     1.19.5           py39hdbf815f_1    conda-forge
openssl                   1.1.1k               h7f98852_0    conda-forge
pango                     1.48.5               hb8ff022_0    conda-forge
patchelf                  0.11                 he1b5a44_0    conda-forge
pcre                      8.45                 h9c3ff4c_0    conda-forge
pip                       21.1.2             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h36c2ea0_0    conda-forge
pkg-config                0.29.2            h36c2ea0_1008    conda-forge
portaudio                 19.6.0               hae3ed74_4    conda-forge
pthread-stubs             0.4               h36c2ea0_1001    conda-forge
pybind11                  2.6.2            py39h1a9c180_0    conda-forge
pybind11-global           2.6.2            py39h1a9c180_0    conda-forge
pycairo                   1.20.1           py39hedcb9fc_0    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pygobject                 3.40.1           py39he5105b2_1    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyqt                      5.12.3           py39hf3d152e_7    conda-forge
pyqt-impl                 5.12.3           py39h0fcd23e_7    conda-forge
pyqt5-sip                 4.19.18          py39he80948d_7    conda-forge
pyqtchart                 5.12             py39h0fcd23e_7    conda-forge
pyqtwebengine             5.12.1           py39h0fcd23e_7    conda-forge
pysocks                   1.7.1            py39hf3d152e_3    conda-forge
python                    3.9.5           h49503c6_0_cpython    conda-forge
python_abi                3.9                      1_cp39    conda-forge
pyyaml                    5.4.1            py39h3811e60_0    conda-forge
qt                        5.12.9               hda022c4_4    conda-forge
qwt                       6.1.6                h7ec6b3e_0    conda-forge
readline                  8.1                  h46c0cb4_0    conda-forge
requests                  2.25.1             pyhd3deb0d_0    conda-forge
rhash                     1.4.1                h7f98852_0    conda-forge
ruamel.yaml               0.17.9           py39h3811e60_0    conda-forge
ruamel.yaml.clib          0.2.2            py39h3811e60_2    conda-forge
sdl                       1.2.15               h9c3ff4c_1    conda-forge
setuptools                49.6.0           py39hf3d152e_3    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
sqlite                    3.36.0               h9cd32fc_0    conda-forge
sysroot_linux-64          2.12                h77966d4_13    conda-forge
tk                        8.6.10               h21135ba_1    conda-forge
tzdata                    2021a                he74cb21_0    conda-forge
uhd                       4.0.0.0          py39h48e10c5_4    conda-forge
urllib3                   1.26.5             pyhd8ed1ab_0    conda-forge
volk                      2.4.1                h9c3ff4c_3    conda-forge
wheel                     0.36.2             pyhd3deb0d_0    conda-forge
xorg-fixesproto           5.0               h7f98852_1002    conda-forge
xorg-inputproto           2.3.2             h7f98852_1002    conda-forge
xorg-kbproto              1.0.7             h7f98852_1002    conda-forge
xorg-libice               1.0.10               h7f98852_0    conda-forge
xorg-libsm                1.2.3             hd9c2040_1000    conda-forge
xorg-libx11               1.7.2                h7f98852_0    conda-forge
xorg-libxau               1.0.9                h7f98852_0    conda-forge
xorg-libxdmcp             1.1.3                h7f98852_0    conda-forge
xorg-libxext              1.3.4                h7f98852_1    conda-forge
xorg-libxfixes            5.0.3             h7f98852_1004    conda-forge
xorg-libxi                1.7.10               h7f98852_0    conda-forge
xorg-libxrender           0.9.10            h7f98852_1003    conda-forge
xorg-libxtst              1.2.3             h7f98852_1002    conda-forge
xorg-recordproto          1.14.2            h7f98852_1002    conda-forge
xorg-renderproto          0.11.1            h7f98852_1002    conda-forge
xorg-xextproto            7.3.0             h7f98852_1002    conda-forge
xorg-xproto               7.0.31            h7f98852_1007    conda-forge
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h516909a_0    conda-forge
zeromq                    4.3.4                h9c3ff4c_0    conda-forge
zlib                      1.2.11            h516909a_1010    conda-forge
zstd                      1.5.0                ha95c52a_0    conda-forge

Details about conda and system ( conda info ):
``` $ conda info active environment : testing_gnuradio active env location : /home/user/miniconda3/envs/testing_gnuradio shell level : 2 user config file : /home/user/.condarc populated config files : /home/user/miniconda3/envs/testing_gnuradio/.condarc conda version : 4.10.1 conda-build version : not installed python version : 3.8.5.final.0 virtual packages : __linux=5.4.0=0 __glibc=2.31=0 __unix=0=0 __archspec=1=x86_64 base environment : /home/user/miniconda3 (writable) conda av data dir : /home/user/miniconda3/etc/conda conda av metadata url : https://repo.anaconda.com/pkgs/main channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/user/miniconda3/pkgs /home/user/.conda/pkgs envs directories : /home/user/miniconda3/envs /home/user/.conda/envs platform : linux-64 user-agent : conda/4.10.1 requests/2.25.1 CPython/3.8.5 Linux/5.4.0-77-generic ubuntu/20.04.2 glibc/2.31 UID:GID : 1000:1000 netrc file : None offline mode : False ```

[warning] failed package validation and/or copy for commit f51fe76b58a8fc4d03b77fbe4eb998adb92f0e19

Hi @conda-forge/gnuradio! This is the friendly automated conda-forge-webservice!

It appears that one or more of your feedstock's outputs did not copy from the
staging channel (cf-staging) to the production channel (conda-forge). :(

This failure can happen for a lot of reasons, including an outdated feedstock
token. Below we have put some information about the failure to help you debug it.

Rerendering the feedstock will usually fix these problems.

If you have any issues or questions, you can find us on gitter in the
community chat room or you can bump us right here.

error messages:

  • invalid feedstock token

osx-arm64 gr-qtgui missing

Issue:

I cannot use any Qt plot because of missing gr-qtgui. It seems that gr-qtgui did not build for osx-arm64. I try to build locally without any success. Can I build it locally?


Environment (conda list):

$ conda list
# packages in environment at /Users/cake/miniforge3/envs/gnuradio2:
#
# Name                    Version                   Build  Channel
adwaita-icon-theme        41.0                 ha770c72_0    conda-forge
atk-1.0                   2.36.0               heb41896_4    conda-forge
beautifulsoup4            4.10.0             pyha770c72_0    conda-forge
boost-cpp                 1.74.0               h32e41df_4    conda-forge
brotlipy                  0.7.0           py39h5161555_1001    conda-forge
bzip2                     1.0.8                h3422bc3_4    conda-forge
ca-certificates           2021.5.30            h4653dfc_0    conda-forge
cairo                     1.16.0            he69dfd1_1008    conda-forge
certifi                   2021.5.30        py39h2804cbe_0    conda-forge
cffi                      1.14.6           py39h52b1de0_1    conda-forge
chardet                   4.0.0            py39h2804cbe_1    conda-forge
charset-normalizer        2.0.0              pyhd8ed1ab_0    conda-forge
click                     8.0.1            py39h2804cbe_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
conda                     4.10.3           py39h2804cbe_2    conda-forge
conda-build               3.21.4           py39h2804cbe_0    conda-forge
conda-package-handling    1.7.3            py39h5161555_0    conda-forge
cryptography              3.4.7            py39h73257c9_0    conda-forge
epoxy                     1.5.9                h3422bc3_0    conda-forge
fftw                      3.3.10          nompi_he703b52_101    conda-forge
filelock                  3.0.12             pyh9f0ad1d_0    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.13.1            heb65262_1005    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freetype                  2.10.4               h17b34a0_1    conda-forge
fribidi                   1.0.10               h27ca646_0    conda-forge
g-ir-build-tools          1.70.0           py39h488795f_0    file:///Users/cake/miniforge3/envs/gnuradio2/conda-bld
g-ir-host-tools           1.70.0               h2613082_0    file:///Users/cake/miniforge3/envs/gnuradio2/conda-bld
gdk-pixbuf                2.42.6               hff60771_0    conda-forge
gettext                   0.19.8.1          h049c9fb_1008    conda-forge
glib-tools                2.68.4               hbdafb3b_1    conda-forge
glob2                     0.7                        py_0    conda-forge
gmp                       6.2.1                h9f76cd9_0    conda-forge
gnuradio                  3.9.2.0          py39h8bdc116_7    conda-forge
gnuradio-core             3.9.2.0          py39hd350c61_7    conda-forge
gnuradio-grc              3.9.2.0          py39hd5b08b3_7    conda-forge
gnuradio-soapy-intree     3.9.2.0          py39hd0526a8_7    conda-forge
gnuradio-uhd              3.9.2.0          py39h55c47c2_7    conda-forge
gnuradio-video-sdl        3.9.2.0          py39hd5b08b3_7    conda-forge
gnuradio-zeromq           3.9.2.0          py39h75226d6_7    conda-forge
gobject-introspection     1.70.0           py39h131b5c3_0    file:///Users/cake/miniforge3/envs/gnuradio2/conda-bld
graphite2                 1.3.13            h9f76cd9_1001    conda-forge
gsl                       2.7                  h6e638da_0    conda-forge
gstreamer-orc             0.4.32               h3422bc3_1    conda-forge
gtk3                      3.24.29              hdbfd60d_2    conda-forge
harfbuzz                  2.9.1                h8412e11_0    file:///Users/cake/miniforge3/envs/gnuradio2/conda-bld
hicolor-icon-theme        0.17                 hce30654_2    conda-forge
icu                       68.1                 h17758a7_0    conda-forge
idna                      3.1                pyhd3deb0d_0    conda-forge
jbig                      2.1               h3422bc3_2003    conda-forge
jinja2                    3.0.1              pyhd8ed1ab_0    conda-forge
jpeg                      9d                   h27ca646_0    conda-forge
lerc                      2.2.1                h9f76cd9_0    conda-forge
libarchive                3.5.2                hc24d6eb_0    conda-forge
libblas                   3.9.0           11_osxarm64_openblas    conda-forge
libcblas                  3.9.0           11_osxarm64_openblas    conda-forge
libcodec2                 1.0.0                h3422bc3_0    conda-forge
libcxx                    12.0.1               h168391b_0    conda-forge
libdeflate                1.7                  h27ca646_5    conda-forge
libevent                  2.1.10               h93437e4_3    conda-forge
libffi                    3.4.2                hbdafb3b_4    conda-forge
libflac                   1.3.3                h9f76cd9_1    conda-forge
libgfortran               5.0.0.dev0      11_0_1_hf114ba7_23    conda-forge
libgfortran5              11.0.1.dev0         hf114ba7_23    conda-forge
libgirepository           1.70.0               hf0bca3a_0    file:///Users/cake/miniforge3/envs/gnuradio2/conda-bld
libglib                   2.68.4               h67e64d8_1    conda-forge
libiconv                  1.16                 h642e427_0    conda-forge
liblapack                 3.9.0           11_osxarm64_openblas    conda-forge
liblief                   0.11.5               hbdafb3b_0    conda-forge
libogg                    1.3.4                h27ca646_1    conda-forge
libopenblas               0.3.17          openmp_h5dd58f0_1    conda-forge
libopus                   1.3.1                h27ca646_1    conda-forge
libpng                    1.6.37               hf7e6567_2    conda-forge
librsvg                   2.52.0               h957afdb_0    conda-forge
libsndfile                1.0.31               h9f76cd9_1    conda-forge
libsodium                 1.0.18               h27ca646_1    conda-forge
libthrift                 0.15.0               h28a9c34_0    conda-forge
libtiff                   4.3.0                hc6122e1_1    conda-forge
libusb                    1.0.24             h3422bc3_105    conda-forge
libvorbis                 1.3.7                h9f76cd9_0    conda-forge
libwebp-base              1.2.1                h3422bc3_0    conda-forge
libxcb                    1.13              hd99320e_1003    conda-forge
libxml2                   2.9.12               h538f51a_0    conda-forge
libxslt                   1.1.33               hd2240da_2    conda-forge
llvm-openmp               12.0.1               hf3c4609_1    conda-forge
log4cpp                   1.1.3             hbdafb3b_1002    conda-forge
lxml                      4.6.3            py39h3757d6e_0    conda-forge
lz4-c                     1.9.3                hbdafb3b_1    conda-forge
lzo                       2.10              h642e427_1000    conda-forge
mako                      1.1.5              pyhd8ed1ab_0    conda-forge
markupsafe                2.0.1            py39h5161555_0    conda-forge
ncurses                   6.2                  h9aa5885_4    conda-forge
numpy                     1.21.2           py39h1f3b974_0    conda-forge
openssl                   1.1.1l               h3422bc3_0    conda-forge
pango                     1.48.10              h10c22ef_1    conda-forge
pcre                      8.45                 hbdafb3b_0    conda-forge
pip                       21.2.4             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               h27ca646_0    conda-forge
pkg-config                0.29.2            h144af15_1008    conda-forge
pkginfo                   1.7.1              pyhd8ed1ab_0    conda-forge
psutil                    5.8.0            py39h5161555_1    conda-forge
pthread-stubs             0.4               h27ca646_1001    conda-forge
py-lief                   0.11.5           py39hfb83b0d_0    conda-forge
pybind11-abi              4                    hd8ed1ab_3    conda-forge
pycairo                   1.20.1           py39h551958b_0    conda-forge
pycosat                   0.6.3           py39h5161555_1006    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pygobject                 3.41.0.dev0              pypi_0    pypi
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pysocks                   1.7.1            py39h2804cbe_3    conda-forge
python                    3.9.7           h54d631c_2_cpython    conda-forge
python-libarchive-c       3.1              py39h2804cbe_0    conda-forge
python_abi                3.9                      2_cp39    conda-forge
pytz                      2021.1             pyhd8ed1ab_0    conda-forge
pyyaml                    5.4.1            py39h5161555_1    conda-forge
pyzmq                     22.3.0           py39h02c6a76_0    conda-forge
readline                  8.1                  hedafd6a_0    conda-forge
requests                  2.26.0             pyhd8ed1ab_0    conda-forge
ripgrep                   13.0.0               h822aac1_0    conda-forge
ruamel.yaml               0.17.16          py39h5161555_0    conda-forge
ruamel.yaml.clib          0.2.2            py39h46acfd9_2    conda-forge
ruamel_yaml               0.15.80         py39h5161555_1004    conda-forge
sdl                       1.2.15               hbdafb3b_1    conda-forge
setuptools                58.0.4           py39h2804cbe_1    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
soapysdr                  0.8.1            py39h4d2d688_0    conda-forge
soupsieve                 2.0.1                      py_1    conda-forge
sqlite                    3.36.0               h72a2b83_1    conda-forge
thrift                    0.14.0           py39hfb83b0d_0    conda-forge
tk                        8.6.11               he1e0b03_1    conda-forge
tqdm                      4.62.3             pyhd8ed1ab_0    conda-forge
tzdata                    2021a                he74cb21_1    conda-forge
uhd                       4.1.0.3          py39h664ebfd_0    conda-forge
urllib3                   1.26.7             pyhd8ed1ab_0    conda-forge
volk                      2.5.0                hbdafb3b_0    conda-forge
wheel                     0.37.0             pyhd8ed1ab_1    conda-forge
xorg-kbproto              1.0.7             h27ca646_1002    conda-forge
xorg-libx11               1.7.2                h3422bc3_0    conda-forge
xorg-libxau               1.0.9                h27ca646_0    conda-forge
xorg-libxdmcp             1.1.3                h27ca646_0    conda-forge
xorg-libxext              1.3.4                h27ca646_1    conda-forge
xorg-xextproto            7.3.0             h27ca646_1002    conda-forge
xorg-xproto               7.0.31            h27ca646_1007    conda-forge
xz                        5.2.5                h642e427_1    conda-forge
yaml                      0.2.5                h642e427_0    conda-forge
zeromq                    4.3.4                hbdafb3b_1    conda-forge
zlib                      1.2.11            h31e879b_1009    conda-forge
zstd                      1.5.0                h861e0a7_0    conda-forge


Details about conda and system ( conda info ):
$ conda info

     active environment : gnuradio2
    active env location : /Users/cake/miniforge3/envs/gnuradio2
            shell level : 2
       user config file : /Users/cake/.condarc
 populated config files : /Users/cake/miniforge3/.condarc
                          /Users/cake/.condarc
                          /Users/cake/miniforge3/envs/gnuradio2/.condarc
          conda version : 4.10.3
    conda-build version : not installed
         python version : 3.9.4.final.0
       virtual packages : __osx=11.4=0
                          __unix=0=0
                          __archspec=1=arm64
       base environment : /Users/cake/miniforge3  (writable)
      conda av data dir : /Users/cake/miniforge3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/conda-forge/label/rust_dev/osx-arm64
                          https://conda.anaconda.org/conda-forge/label/rust_dev/noarch
                          https://conda.anaconda.org/robostack/osx-arm64
                          https://conda.anaconda.org/robostack/noarch
          package cache : /Users/cake/miniforge3/pkgs
                          /Users/cake/.conda/pkgs
       envs directories : /Users/cake/miniforge3/envs
                          /Users/cake/.conda/envs
               platform : osx-arm64
             user-agent : conda/4.10.3 requests/2.25.1 CPython/3.9.4 Darwin/20.5.0 OSX/11.4
                UID:GID : 501:20
             netrc file : None
           offline mode : False

Gnuradio-companion not starting on windows 10

Hi

I'm having issues starting gnuradio-companion on windows (10). When starting, the program fails before setting up the GUI with an error dump as below. Seems to be somehow related to GTK (my guess), and perhaps not a GnuRadio issue, but not sure.

Tested w different python versions and a clean new conda environment. Did not reinstall all anaconda. Have only one windows machine, so potentielly could be some local stuff but looks like some library stuff.

Issue:

$ conda info
     active environment : gnuradio4
    active env location : C:\Users\XXXX\A3\envs\gnuradio4
            shell level : 2
       user config file : C:\Users\XXXX\.condarc
 populated config files : C:\Users\XXXX\.condarc
          conda version : 4.9.2
    conda-build version : 3.20.5
         python version : 3.7.1.final.0
       virtual packages : __win=0=0
                          __archspec=1=x86_64
       base environment : C:\Users\XXXX\A3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\Users\XXXX\A3\pkgs
                          C:\Users\XXXX\.conda\pkgs
                          C:\Users\XXXX\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\XXXX\A3\envs
                          C:\Users\XXXX\.conda\envs
                          C:\Users\XXXX\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.9.2 requests/2.25.0 CPython/3.7.1 Windows/10 Windows/10.0.17763
          administrator : False
             netrc file : None
           offline mode : False
** (process:2300): WARNING **: 10:22:17.830: Failed to load shared library 'gdk-3-vs15.dll' referenced by the typelib: 'gdk-3-vs15.dll': The specified procedure could not be found.
Traceback (most recent call last):
  File "C:\Users\XXXX\A3\envs\gnuradio4\lib\site-packages\gi\__init__.py", line 176, in require_foreign
    _gi.require_foreign(namespace, symbol)
TypeError: Couldn't find foreign struct converter for 'cairo.Context'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\XXXX\A3\envs\gnuradio4\Library\bin\gnuradio-companion.exe\__main__.py", line 61, in check_gtk
  File "C:\Users\XXXX\A3\envs\gnuradio4\lib\site-packages\gi\__init__.py", line 178, in require_foreign
    raise ImportError(str(e))
ImportError: Couldn't find foreign struct converter for 'cairo.Context'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\XXXX\A3\envs\gnuradio4\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\XXXX\A3\envs\gnuradio4\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\XXXX\A3\envs\gnuradio4\Library\bin\gnuradio-companion.exe\__main__.py", line 100, in <module>
  File "C:\Users\XXXX\A3\envs\gnuradio4\Library\bin\gnuradio-companion.exe\__main__.py", line 67, in check_gtk
  File "C:\Users\XXXX\A3\envs\gnuradio4\Library\bin\gnuradio-companion.exe\__main__.py", line 42, in die
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible
  File "C:\Users\XXXX\A3\envs\gnuradio4\lib\site-packages\gi\importer.py", line 144, in load_module
    importlib.import_module('gi.repository.' + dep.split("-")[0])
  File "C:\Users\XXXX\A3\envs\gnuradio4\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 627, in _load_backward_compatible
  File "C:\Users\XXXX\A3\envs\gnuradio4\lib\site-packages\gi\importer.py", line 145, in load_module
    dynamic_module = load_overrides(introspection_module)
  File "C:\Users\XXXX\A3\envs\gnuradio4\lib\site-packages\gi\overrides\__init__.py", line 118, in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File "C:\Users\XXXX\A3\envs\gnuradio4\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "C:\Users\XXXX\A3\envs\gnuradio4\lib\site-packages\gi\overrides\Gdk.py", line 83, in <module>
    Color = override(Color)
  File "C:\Users\XXXX\A3\envs\gnuradio4\lib\site-packages\gi\overrides\__init__.py", line 195, in override
    assert g_type != TYPE_NONE
AssertionError

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.