uhd examples fails to run due to missing RFNoC XML blocks

Bug #1780805 reported by WHEBERTH
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
uhd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When trying to run the example files shipped with Ettus UHD driver all we get is an error due to missing files related to RFNoC blocks as shown below:
It looks like the XML files are missing on the package.

ubuntu@ubuntu:/usr/lib/uhd/examples$ ./benchmark_rate --args="type=x300,addr=192.168.10.2" --channels="0,1" --rx_rate 200e6
linux; GNU C++ version 7.3.0; Boost_106501; UHD_003.010.003.000-0-unknown

Creating the usrp device with: type=x300,addr=192.168.10.2...
-- X300 initialization sequence...
-- Determining maximum frame size... 1472 bytes.
-- Setup basic communication...
-- Loading values from EEPROM...
-- Setup RF frontend clocking...
-- Radio 1x clock:200
Error: AssertionError: Failed to find a valid XML path for RFNoC blocks.
Try setting the enviroment variable UHD_RFNOC_DIR to the correct location

Versions:

ubuntu@ubuntu:/usr/lib/uhd/examples$ lsb_release -rd
Description: Ubuntu 18.04 LTS
Release: 18.04

ubuntu@ubuntu:/usr/lib/uhd/examples$ apt-cache policy libuhd003.010.003 libuhd-dev uhd-host
libuhd003.010.003:
  Installed: 3.10.3.0-2
  Candidate: 3.10.3.0-2
  Version table:
 *** 3.10.3.0-2 500
        500 http://ubuntu-archive.locaweb.com.br/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status
libuhd-dev:
  Installed: 3.10.3.0-2
  Candidate: 3.10.3.0-2
  Version table:
 *** 3.10.3.0-2 500
        500 http://ubuntu-archive.locaweb.com.br/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status
uhd-host:
  Installed: 3.10.3.0-2
  Candidate: 3.10.3.0-2
  Version table:
 *** 3.10.3.0-2 500
        500 http://ubuntu-archive.locaweb.com.br/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: uhd-host 3.10.3.0-2
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CasperVersion: 1.394
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 9 12:06:53 2018
LiveMediaBuild: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: uhd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
WHEBERTH (wheberth) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in uhd (Ubuntu):
status: New → Confirmed
Revision history for this message
Piotr Krysik (ptrkrysik) wrote :

I can also confirm this problem. USRPs X310 seem to be unusable with distribution uhd packages due to this issue.

Revision history for this message
WHEBERTH (wheberth) wrote :

I am using a workaround to be able to use the X310 which is download the missing files manually and copy to the expected location.

$ wget https://codeload.github.com/EttusResearch/uhd/zip/release_003_010_003_000 -O uhd.zip
$ unzip uhd.zip
$ cd uhd-release_003_010_003_000/host/include
$ sudo cp -Rv uhd/rfnoc /usr/share/uhd/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.