Oh, and I configure passing -std=c++11 in cflags. On Jun 7, 2017 8:45 PM, "Anon Lister" <listera...@gmail.com> wrote:
> FYI this has nothing to do with pybombs, I get it source building. I use > specrec all the time for high bw writes, really wish there was a osmocom > version of it for non ettus devices. > > Anyway, it looks like maybe something in uhd changed, prolly in the 3.10 > transition. I usually just replace the variable they are using with a > std:atomic<uint32_t>,replace Inc with ++, Dec with -- and the get call with > just a regular =. Would be great for someone to fix it properly though. > Looks like it's just a counter of the current buffer size that is shared > by the reader and writer threads. > > > On Jun 7, 2017 3:42 PM, "gump" <gumpgra...@gmail.com> wrote: > >> Just did a clean pybombs install, everything looks good so far. Having >> trouble with gr-analysis. Can't get past this error. Same error if I >> try to compile it outside of pybombs. >> >> # pybombs install of UHD, GnuRadio and other items goes just fine..... >> >> user@gump-Lenovo:~$ sudo sudo pybombs install uhd gnuradio gr-iqbal >> gr-gsm libosmocore libusb osmo-sdr rtl-sdr fftw liquid-dsp >> PyBOMBS - INFO - PyBOMBS Version 2.3.0 >> PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt >> processing. >> PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and >> installing binary packages: >> DEPRECATION: The default format will switch to columns in the future. >> You can use --format=(legacy|columns) (or define a >> format=(legacy|columns) in your pip.conf under the [list] section) to >> disable this warning. >> The directory '/home/user/.cache/pip/http' or its parent directory is >> not owned by the current user and the cache has been disabled. Please >> check the permissions and owner of that directory. If executing pip with >> sudo, you may want sudo's -H flag. >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following package was automatically installed and is no longer >> required: >> ubuntu-core-launcher >> Use 'sudo apt autoremove' to remove it. >> The following NEW packages will be installed: >> python-cairo-dev >> 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. >> Need to get 429 kB of archives. >> After this operation, 1,165 kB of additional disk space will be used. >> Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 >> python-cairo-dev all 1.8.8-2 [429 kB] >> Fetched 429 kB in 0s (4,926 kB/s) >> Selecting previously unselected package python-cairo-dev. >> (Reading database ... 252906 files and directories currently installed.) >> Preparing to unpack .../python-cairo-dev_1.8.8-2_all.deb ... >> Unpacking python-cairo-dev (1.8.8-2) ... >> Setting up python-cairo-dev (1.8.8-2) ... >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> libqwt5-qt4 is already the newest version (5.2.3-1). >> libqwt5-qt4 set to manually installed. >> The following package was automatically installed and is no longer >> required: >> ubuntu-core-launcher >> Use 'sudo apt autoremove' to remove it. >> 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following package was automatically installed and is no longer >> required: >> ubuntu-core-launcher >> Use 'sudo apt autoremove' to remove it. >> The following additional packages will be installed: >> libqwt-headers >> The following packages will be REMOVED: >> libqwt5-qt4-dev >> The following NEW packages will be installed: >> libqwt-dev libqwt-headers >> 0 upgraded, 2 newly installed, 1 to remove and 4 not upgraded. >> Need to get 103 kB of archives. >> After this operation, 154 kB of additional disk space will be used. >> Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 >> libqwt-headers amd64 6.1.2-5 [69.5 kB] >> Get:2 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 >> libqwt-dev amd64 6.1.2-5 [33.5 kB] >> Fetched 103 kB in 0s (1,050 kB/s) >> (Reading database ... 252986 files and directories currently installed.) >> Removing libqwt5-qt4-dev (5.2.3-1) ... >> Selecting previously unselected package libqwt-headers. >> (Reading database ... 252909 files and directories currently installed.) >> Preparing to unpack .../libqwt-headers_6.1.2-5_amd64.deb ... >> Unpacking libqwt-headers (6.1.2-5) ... >> Selecting previously unselected package libqwt-dev. >> Preparing to unpack .../libqwt-dev_6.1.2-5_amd64.deb ... >> Unpacking libqwt-dev (6.1.2-5) ... >> Setting up libqwt-headers (6.1.2-5) ... >> Setting up libqwt-dev (6.1.2-5) ... >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following package was automatically installed and is no longer >> required: >> ubuntu-core-launcher >> Use 'sudo apt autoremove' to remove it. >> The following additional packages will be installed: >> liblog4cpp5v5 >> The following NEW packages will be installed: >> liblog4cpp5-dev liblog4cpp5v5 >> 0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded. >> Need to get 190 kB of archives. >> After this operation, 1,156 kB of additional disk space will be used. >> Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 >> liblog4cpp5v5 amd64 1.0-4.1 [76.7 kB] >> Get:2 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 >> liblog4cpp5-dev amd64 1.0-4.1 [113 kB] >> Fetched 190 kB in 0s (1,497 kB/s) >> Selecting previously unselected package liblog4cpp5v5. >> (Reading database ... 253022 files and directories currently installed.) >> Preparing to unpack .../liblog4cpp5v5_1.0-4.1_amd64.deb ... >> Unpacking liblog4cpp5v5 (1.0-4.1) ... >> Selecting previously unselected package liblog4cpp5-dev. >> Preparing to unpack .../liblog4cpp5-dev_1.0-4.1_amd64.deb ... >> Unpacking liblog4cpp5-dev (1.0-4.1) ... >> Setting up liblog4cpp5v5 (1.0-4.1) ... >> Setting up liblog4cpp5-dev (1.0-4.1) ... >> Processing triggers for libc-bin (2.23-0ubuntu7) ... >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following package was automatically installed and is no longer >> required: >> ubuntu-core-launcher >> Use 'sudo apt autoremove' to remove it. >> The following additional packages will be installed: >> libbison-dev >> Suggested packages: >> bison-doc >> The following NEW packages will be installed: >> bison libbison-dev >> 0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded. >> Need to get 597 kB of archives. >> After this operation, 1,795 kB of additional disk space will be used. >> Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libbison-dev >> amd64 2:3.0.4.dfsg-1 [338 kB] >> Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 bison amd64 >> 2:3.0.4.dfsg-1 [259 kB] >> Fetched 597 kB in 0s (1,660 kB/s) >> Selecting previously unselected package libbison-dev:amd64. >> (Reading database ... 253098 files and directories currently installed.) >> Preparing to unpack .../libbison-dev_2%3a3.0.4.dfsg-1_amd64.deb ... >> Unpacking libbison-dev:amd64 (2:3.0.4.dfsg-1) ... >> Selecting previously unselected package bison. >> Preparing to unpack .../bison_2%3a3.0.4.dfsg-1_amd64.deb ... >> Unpacking bison (2:3.0.4.dfsg-1) ... >> Processing triggers for man-db (2.7.5-1) ... >> Setting up libbison-dev:amd64 (2:3.0.4.dfsg-1) ... >> Setting up bison (2:3.0.4.dfsg-1) ... >> update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc >> (yacc) in auto mode >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following package was automatically installed and is no longer >> required: >> ubuntu-core-launcher >> Use 'sudo apt autoremove' to remove it. >> The following additional packages will be installed: >> libfl-dev >> The following NEW packages will be installed: >> flex libfl-dev >> 0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded. >> Need to get 302 kB of archives. >> After this operation, 897 kB of additional disk space will be used. >> Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libfl-dev >> amd64 2.6.0-11 [12.5 kB] >> Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 flex amd64 >> 2.6.0-11 [290 kB] >> Fetched 302 kB in 0s (2,360 kB/s) >> Selecting previously unselected package libfl-dev:amd64. >> (Reading database ... 253150 files and directories currently installed.) >> Preparing to unpack .../libfl-dev_2.6.0-11_amd64.deb ... >> Unpacking libfl-dev:amd64 (2.6.0-11) ... >> Selecting previously unselected package flex. >> Preparing to unpack .../flex_2.6.0-11_amd64.deb ... >> Unpacking flex (2.6.0-11) ... >> Processing triggers for libc-bin (2.23-0ubuntu7) ... >> Processing triggers for install-info (6.1.0.dfsg.1-5) ... >> Processing triggers for doc-base (0.10.7) ... >> Processing 1 added doc-base file... >> Processing triggers for man-db (2.7.5-1) ... >> Setting up libfl-dev:amd64 (2.6.0-11) ... >> Setting up flex (2.6.0-11) ... >> Processing triggers for libc-bin (2.23-0ubuntu7) ... >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following package was automatically installed and is no longer >> required: >> ubuntu-core-launcher >> Use 'sudo apt autoremove' to remove it. >> The following additional packages will be installed: >> libevent-core-2.0-5 libevent-extra-2.0-5 libevent-openssl-2.0-5 >> libevent-pthreads-2.0-5 >> The following NEW packages will be installed: >> libevent-core-2.0-5 libevent-dev libevent-extra-2.0-5 >> libevent-openssl-2.0-5 >> libevent-pthreads-2.0-5 >> 0 upgraded, 5 newly installed, 0 to remove and 4 not upgraded. >> Need to get 349 kB of archives. >> After this operation, 1,846 kB of additional disk space will be used. >> Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 >> libevent-core-2.0-5 amd64 2.0.21-stable-2ubuntu0.16.04.1 [70.6 kB] >> Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 >> libevent-extra-2.0-5 amd64 2.0.21-stable-2ubuntu0.16.04.1 [51.1 kB] >> Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 >> libevent-pthreads-2.0-5 amd64 2.0.21-stable-2ubuntu0.16.04.1 [5,020 B] >> Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 >> libevent-openssl-2.0-5 amd64 2.0.21-stable-2ubuntu0.16.04.1 [10.6 kB] >> Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 >> libevent-dev amd64 2.0.21-stable-2ubuntu0.16.04.1 [211 kB] >> Fetched 349 kB in 0s (717 kB/s) >> Selecting previously unselected package libevent-core-2.0-5:amd64. >> (Reading database ... 253242 files and directories currently installed.) >> Preparing to unpack >> .../libevent-core-2.0-5_2.0.21-stable-2ubuntu0.16.04.1_amd64.deb ... >> Unpacking libevent-core-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ... >> Selecting previously unselected package libevent-extra-2.0-5:amd64. >> Preparing to unpack >> .../libevent-extra-2.0-5_2.0.21-stable-2ubuntu0.16.04.1_amd64.deb ... >> Unpacking libevent-extra-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ... >> Selecting previously unselected package libevent-pthreads-2.0-5:amd64. >> Preparing to unpack >> .../libevent-pthreads-2.0-5_2.0.21-stable-2ubuntu0.16.04.1_amd64.deb ... >> Unpacking libevent-pthreads-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) >> ... >> Selecting previously unselected package libevent-openssl-2.0-5:amd64. >> Preparing to unpack >> .../libevent-openssl-2.0-5_2.0.21-stable-2ubuntu0.16.04.1_amd64.deb ... >> Unpacking libevent-openssl-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) >> ... >> Selecting previously unselected package libevent-dev. >> Preparing to unpack >> .../libevent-dev_2.0.21-stable-2ubuntu0.16.04.1_amd64.deb ... >> Unpacking libevent-dev (2.0.21-stable-2ubuntu0.16.04.1) ... >> Processing triggers for libc-bin (2.23-0ubuntu7) ... >> Setting up libevent-core-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ... >> Setting up libevent-extra-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) >> ... >> Setting up libevent-pthreads-2.0-5:amd64 >> (2.0.21-stable-2ubuntu0.16.04.1) ... >> Setting up libevent-openssl-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) >> ... >> Setting up libevent-dev (2.0.21-stable-2ubuntu0.16.04.1) ... >> Processing triggers for libc-bin (2.23-0ubuntu7) ... >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following package was automatically installed and is no longer >> required: >> ubuntu-core-launcher >> Use 'sudo apt autoremove' to remove it. >> The following additional packages will be installed: >> libssl-doc >> The following NEW packages will be installed: >> libssl-dev libssl-doc >> 0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded. >> Need to get 2,423 kB of archives. >> After this operation, 10.1 MB of additional disk space will be used. >> Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 >> libssl-dev amd64 1.0.2g-1ubuntu4.6 [1,344 kB] >> Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 >> libssl-doc all 1.0.2g-1ubuntu4.6 [1,079 kB] >> Fetched 2,423 kB in 1s (2,334 kB/s) >> Selecting previously unselected package libssl-dev:amd64. >> (Reading database ... 253320 files and directories currently installed.) >> Preparing to unpack .../libssl-dev_1.0.2g-1ubuntu4.6_amd64.deb ... >> Unpacking libssl-dev:amd64 (1.0.2g-1ubuntu4.6) ... >> Selecting previously unselected package libssl-doc. >> Preparing to unpack .../libssl-doc_1.0.2g-1ubuntu4.6_all.deb ... >> Unpacking libssl-doc (1.0.2g-1ubuntu4.6) ... >> Processing triggers for man-db (2.7.5-1) ... >> Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4.6) ... >> Setting up libssl-doc (1.0.2g-1ubuntu4.6) ... >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following package was automatically installed and is no longer >> required: >> ubuntu-core-launcher >> Use 'sudo apt autoremove' to remove it. >> The following additional packages will be installed: >> python-attr python-pam python-pyasn1-modules python-serial >> python-service-identity >> python-twisted-bin python-twisted-core python-zope.interface >> Suggested packages: >> python-pam-dbg python-twisted-bin-dbg python-glade2 python-qt3 >> The following NEW packages will be installed: >> python-attr python-pam python-pyasn1-modules python-serial >> python-service-identity python-twisted >> python-twisted-bin python-twisted-core python-zope.interface >> 0 upgraded, 9 newly installed, 0 to remove and 4 not upgraded. >> Need to get 2,155 kB of archives. >> After this operation, 14.0 MB of additional disk space will be used. >> Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-attr >> all 15.2.0-1 [11.3 kB] >> Get:2 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 python-pam >> amd64 0.4.2-13.2ubuntu2 [9,932 B] >> Get:3 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 >> python-pyasn1-modules all 0.0.7-0.1 [20.5 kB] >> Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 >> python-serial all 3.0.1-1 [69.9 kB] >> Get:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 >> python-service-identity all 16.0.0-2 [9,318 B] >> Get:6 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 >> python-twisted-bin amd64 16.0.0-1 [13.0 kB] >> Get:7 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 >> python-zope.interface amd64 4.1.3-1build1 [81.0 kB] >> Get:8 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 >> python-twisted-core all 16.0.0-1 [1,937 kB] >> Get:9 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 >> python-twisted all 16.0.0-1 [3,594 B] >> Fetched 2,155 kB in 0s (2,893 kB/s) >> Selecting previously unselected package python-attr. >> (Reading database ... 255082 files and directories currently installed.) >> Preparing to unpack .../python-attr_15.2.0-1_all.deb ... >> Unpacking python-attr (15.2.0-1) ... >> Selecting previously unselected package python-pam. >> Preparing to unpack .../python-pam_0.4.2-13.2ubuntu2_amd64.deb ... >> Unpacking python-pam (0.4.2-13.2ubuntu2) ... >> Selecting previously unselected package python-pyasn1-modules. >> Preparing to unpack .../python-pyasn1-modules_0.0.7-0.1_all.deb ... >> Unpacking python-pyasn1-modules (0.0.7-0.1) ... >> Selecting previously unselected package python-serial. >> Preparing to unpack .../python-serial_3.0.1-1_all.deb ... >> Unpacking python-serial (3.0.1-1) ... >> Selecting previously unselected package python-service-identity. >> Preparing to unpack .../python-service-identity_16.0.0-2_all.deb ... >> Unpacking python-service-identity (16.0.0-2) ... >> Selecting previously unselected package python-twisted-bin. >> Preparing to unpack .../python-twisted-bin_16.0.0-1_amd64.deb ... >> Unpacking python-twisted-bin (16.0.0-1) ... >> Selecting previously unselected package python-zope.interface. >> Preparing to unpack .../python-zope.interface_4.1.3-1build1_amd64.deb ... >> Unpacking python-zope.interface (4.1.3-1build1) ... >> Selecting previously unselected package python-twisted-core. >> Preparing to unpack .../python-twisted-core_16.0.0-1_all.deb ... >> Unpacking python-twisted-core (16.0.0-1) ... >> Selecting previously unselected package python-twisted. >> Preparing to unpack .../python-twisted_16.0.0-1_all.deb ... >> Unpacking python-twisted (16.0.0-1) ... >> Processing triggers for man-db (2.7.5-1) ... >> Setting up python-attr (15.2.0-1) ... >> Setting up python-pam (0.4.2-13.2ubuntu2) ... >> Setting up python-pyasn1-modules (0.0.7-0.1) ... >> Setting up python-serial (3.0.1-1) ... >> Setting up python-service-identity (16.0.0-2) ... >> Setting up python-twisted-bin (16.0.0-1) ... >> Setting up python-zope.interface (4.1.3-1build1) ... >> Setting up python-twisted-core (16.0.0-1) ... >> Setting up python-twisted (16.0.0-1) ... >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following package was automatically installed and is no longer >> required: >> ubuntu-core-launcher >> Use 'sudo apt autoremove' to remove it. >> The following NEW packages will be installed: >> libpcsclite-dev >> 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. >> Need to get 36.7 kB of archives. >> After this operation, 174 kB of additional disk space will be used. >> Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 >> libpcsclite-dev amd64 1.8.14-1ubuntu1.16.04.1 [36.7 kB] >> Fetched 36.7 kB in 0s (862 kB/s) >> Selecting previously unselected package libpcsclite-dev. >> (Reading database ... 256227 files and directories currently installed.) >> Preparing to unpack >> .../libpcsclite-dev_1.8.14-1ubuntu1.16.04.1_amd64.deb ... >> Unpacking libpcsclite-dev (1.8.14-1ubuntu1.16.04.1) ... >> Processing triggers for libc-bin (2.23-0ubuntu7) ... >> Processing triggers for man-db (2.7.5-1) ... >> Setting up libpcsclite-dev (1.8.14-1ubuntu1.16.04.1) ... >> Processing triggers for libc-bin (2.23-0ubuntu7) ... >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following package was automatically installed and is no longer >> required: >> ubuntu-core-launcher >> Use 'sudo apt autoremove' to remove it. >> The following NEW packages will be installed: >> libtalloc-dev >> 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. >> Need to get 160 kB of archives. >> After this operation, 1,374 kB of additional disk space will be used. >> Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 >> libtalloc-dev amd64 2.1.5-2 [160 kB] >> Fetched 160 kB in 0s (1,628 kB/s) >> Selecting previously unselected package libtalloc-dev. >> (Reading database ... 256246 files and directories currently installed.) >> Preparing to unpack .../libtalloc-dev_2.1.5-2_amd64.deb ... >> Unpacking libtalloc-dev (2.1.5-2) ... >> Processing triggers for man-db (2.7.5-1) ... >> Setting up libtalloc-dev (2.1.5-2) ... >> Install tree: >> | >> +- gr-gsm >> | | >> | +- gr-osmosdr >> | | | >> | | +- airspy >> | | | >> | | +- hackrf >> | | | >> | | +- uhd >> | | | >> | | +- soapysdr >> | | | >> | | +- gnuradio >> | | | | >> | | | +- uhd >> | | | | >> | | | \- apache-thrift >> | | | >> | | +- bladeRF >> | | | >> | | +- gr-iqbal >> | | | | >> | | | +- libosmo-dsp >> | | | | >> | | | \- gnuradio >> | | | | >> | | | +- uhd >> | | | | >> | | | \- apache-thrift >> | | | >> | | +- osmo-sdr >> | | | >> | | \- rtl-sdr >> | | >> | +- gnuradio >> | | | >> | | +- uhd >> | | | >> | | \- apache-thrift >> | | >> | \- libosmocore >> | >> \- liquid-dsp >> PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source >> packages to prefix: >> PyBOMBS.install_manager - INFO - Installing package: liquid-dsp >> PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt >> processing. >> Cloning: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt >> processing. >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: libosmocore >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: apache-thrift >> Cloning: (100%) >> [=========================================================== >> ===================] >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: uhd >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================]] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: gnuradio >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================]] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: rtl-sdr >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: osmo-sdr >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: libosmo-dsp >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: gr-iqbal >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: bladeRF >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: soapysdr >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: hackrf >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: airspy >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: gr-osmosdr >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> PyBOMBS.install_manager - INFO - Installing package: gr-gsm >> Cloning: (100%) >> [=========================================================== >> ===================] >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================]] >> Installing: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.install_manager - INFO - Installation successful. >> user@gump-Lenovo:~$ sudo ldconfig >> [sudo] password for user: >> user@gump-Lenovo:~$ sudo updatedb >> user@gump-Lenovo:~$ uhd_find_devices >> [INFO] [UHDlinux; GNU C++ version 5.4.0 20160609; Boost_105800; >> UHD_3.11.0.git-208-g1da86f9c] >> -------------------------------------------------- >> -- UHD Device 0 >> -------------------------------------------------- >> Device Address: >> serial: 30BE713 >> addr: 192.168.16.96 >> name: >> type: usrp2 >> >> >> -------------------------------------------------- >> -- UHD Device 1 >> -------------------------------------------------- >> Device Address: >> serial: 30DF0BC >> addr: 192.168.16.99 >> name: >> type: usrp2 >> >> >> user@gump-Lenovo:~$ gnuradio-companion >> <<< Welcome to GNU Radio Companion 3.7.12git-119-g0e32fcaf >>> >> >> Block paths: >> /usr/local/share/gnuradio/grc/blocks >> user@gump-Lenovo:~$ gnuradio-companion >> <<< Welcome to GNU Radio Companion 3.7.12git-119-g0e32fcaf >>> >> >> Block paths: >> /usr/local/share/gnuradio/grc/blocks >> >> # GRC and UHD working at this point, no problems >> >> >> >> >> # try to install gr-analysis, looks like cmake configures everything OK, >> then make barfs >> >> >> user@gump-Lenovo:~$ sudo pybombs install gr-analysis >> PyBOMBS - INFO - PyBOMBS Version 2.3.0 >> PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt >> processing. >> PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and >> installing binary packages: >> Install tree: >> | >> \- gr-analysis >> PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source >> packages to prefix: >> PyBOMBS.install_manager - INFO - Installing package: gr-analysis >> PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt >> processing. >> Cloning: (100%) >> [=========================================================== >> ===================] >> PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt >> processing. >> Configuring: (100%) >> [=========================================================== >> ===================] >> Building: (100%) >> [=========================================================== >> ===================] >> [ 6%] Built target gnuradio-analysis >> Scanning dependencies of target test-analysis >> [ 9%] Building CXX object >> lib/CMakeFiles/test-analysis.dir/test_analysis.cc.o >> [ 12%] Building CXX object lib/CMakeFiles/test-analysis.d >> ir/qa_analysis.cc.o >> [ 15%] Linking CXX executable test-analysis >> [ 15%] Built target test-analysis >> [ 21%] Built target _analysis_swig_doc_tag >> [ 28%] Built target analysis_swig_swig_doc >> [ 34%] Built target _analysis_swig_swig_tag >> [ 43%] Built target analysis_swig_swig_2d0df >> Scanning dependencies of target _analysis_swig >> [ 46%] Building CXX object >> swig/CMakeFiles/_analysis_swig.dir/analysis_swigPYTHON_wrap.cxx.o >> [ 50%] Linking CXX shared module _analysis_swig.so >> [ 56%] Built target _analysis_swig >> [ 65%] Built target pygen_swig_3447b >> [ 71%] Built target pygen_python_c34e1 >> [ 84%] Built target pygen_apps_abb64 >> [ 90%] Built target metadata_to_csv >> [ 93%] Building CXX object apps/record/CMakeFiles/specrec >> .dir/specrec.cpp.o >> In file included from /usr/include/c++/5/atomic:38:0, >> from /usr/local/include/uhd/utils/atomic.hpp:24, >> from /usr/local/src/gr-analysis/app >> s/record/specrec.cpp:36: >> /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file >> requires compiler and library support for the ISO C++ 2011 standard. >> This support must be enabled with the -std=c++11 or -std=gnu++11 >> compiler options. >> #error This file requires compiler and library support \ >> ^ >> In file included from >> /usr/local/src/gr-analysis/apps/record/specrec.cpp:36:0: >> /usr/local/include/uhd/utils/atomic.hpp:37:14: error: >> ‘uhd::spin_wait_with_timeout’ declared as an ‘inline’ variable >> std::atomic<T> &cond, >> ^ >> /usr/local/include/uhd/utils/atomic.hpp:37:9: error: ‘atomic’ is not a >> member of ‘std’ >> std::atomic<T> &cond, >> ^ >> /usr/local/include/uhd/utils/atomic.hpp:37:9: note: suggested >> alternatives: >> In file included from /usr/include/boost/atomic/atomic.hpp:22:0, >> from /usr/include/boost/atomic.hpp:12, >> from /usr/include/boost/thread/pthr >> ead/once_atomic.hpp:20, >> from /usr/include/boost/thread/once.hpp:20, >> from /usr/include/boost/thread.hpp:17, >> from /usr/local/src/gr-analysis/app >> s/record/specrec.cpp:27: >> /usr/include/boost/atomic/detail/atomic_template.hpp:668:7: note: >> ‘boost::atomics::atomic’ >> class atomic : >> ^ >> /usr/include/boost/atomic/detail/atomic_template.hpp:668:7: note: >> ‘boost::atomics::atomic’ >> In file included from >> /usr/local/src/gr-analysis/apps/record/specrec.cpp:36:0: >> /usr/local/include/uhd/utils/atomic.hpp:37:22: error: expected >> primary-expression before ‘>’ token >> std::atomic<T> &cond, >> ^ >> /usr/local/include/uhd/utils/atomic.hpp:37:25: error: ‘cond’ was not >> declared in this scope >> std::atomic<T> &cond, >> ^ >> /usr/local/include/uhd/utils/atomic.hpp:38:9: error: expected >> primary-expression before ‘const’ >> const T value, >> ^ >> /usr/local/include/uhd/utils/atomic.hpp:39:9: error: expected >> primary-expression before ‘const’ >> const double timeout >> ^ >> /usr/local/include/uhd/utils/atomic.hpp:40:5: error: expression list >> treated as compound expression in initializer [-fpermissive] >> ){ >> ^ >> /usr/local/include/uhd/utils/atomic.hpp:40:6: error: expected ‘;’ before >> ‘{’ token >> ){ >> ^ >> /usr/local/include/uhd/utils/atomic.hpp:76:14: error: ‘atomic’ in >> namespace ‘std’ does not name a template type >> std::atomic<bool> _locked; >> ^ >> /usr/local/include/uhd/utils/atomic.hpp: In member function ‘void >> uhd::simple_claimer::release()’: >> /usr/local/include/uhd/utils/atomic.hpp:64:13: error: ‘_locked’ was not >> declared in this scope >> _locked = false; >> ^ >> /usr/local/include/uhd/utils/atomic.hpp: In member function ‘bool >> uhd::simple_claimer::claim_with_wait(double)’: >> /usr/local/include/uhd/utils/atomic.hpp:68:39: error: missing template >> arguments before ‘(’ token >> if (spin_wait_with_timeout(_locked, false, timeout)){ >> ^ >> /usr/local/include/uhd/utils/atomic.hpp:68:40: error: ‘_locked’ was not >> declared in this scope >> if (spin_wait_with_timeout(_locked, false, timeout)){ >> ^ >> /usr/local/src/gr-analysis/apps/record/specrec.cpp: At global scope: >> /usr/local/src/gr-analysis/apps/record/specrec.cpp:62:6: error: >> ‘atomic_uint32_t’ in namespace ‘uhd’ does not name a type >> uhd::atomic_uint32_t num_elements; >> ^ >> /usr/local/src/gr-analysis/apps/record/specrec.cpp: In function ‘void >> usrp_write_samples_to_file(int, >> uhd::transport::bounded_buffer<circbuff_element>*, bool)’: >> /usr/local/src/gr-analysis/apps/record/specrec.cpp:86:3: error: >> ‘num_elements’ was not declared in this scope >> num_elements.dec(); >> ^ >> /usr/local/src/gr-analysis/apps/record/specrec.cpp: In function ‘void >> recv_to_file(uhd::usrp::multi_usrp::sptr, const string&, const string&, >> const string&, const string&, size_t, long long unsigned int, long long >> unsigned int, double, bool, bool, bool, bool, bool, bool, bool)’: >> /usr/local/src/gr-analysis/apps/record/specrec.cpp:345:5: error: >> ‘num_elements’ was not declared in this scope >> num_elements.inc(); >> ^ >> /usr/local/src/gr-analysis/apps/record/specrec.cpp:417:34: error: >> ‘num_elements’ was not declared in this scope >> boost::uint32_t cur_cb_size= num_elements.read(); >> ^ >> apps/record/CMakeFiles/specrec.dir/build.make:62: recipe for target >> 'apps/record/CMakeFiles/specrec.dir/specrec.cpp.o' failed >> make[2]: *** [apps/record/CMakeFiles/specrec.dir/specrec.cpp.o] Error 1 >> CMakeFiles/Makefile2:657: recipe for target >> 'apps/record/CMakeFiles/specrec.dir/all' failed >> make[1]: *** [apps/record/CMakeFiles/specrec.dir/all] Error 2 >> Makefile:138: recipe for target 'all' failed >> make: *** [all] Error 2 >> PyBOMBS.Packager.source - ERROR - Build failed. See output above for >> error messages. >> PyBOMBS.Packager.source - ERROR - Problem occurred while building >> package gr-analysis: >> Build failed. >> PyBOMBS.install_manager - ERROR - Error installing package gr-analysis. >> Aborting. >> user@gump-Lenovo:~$ >> >> Got the same results when I tried to add the recommended key value at >> the command line. >> >> >> sudo pybombs --config std=c++11 install gr-analysis >> >> sudo pybombs --config std=gnu++11 install gr-analysis >> >> It looks like something in gr-analysis is broken. >> >> >> BT/AR >> Chris "Gump" Graves >> >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio