Please stop send this email to me On Thu, 20 Oct 2022, 23:28 , <discuss-gnuradio-requ...@gnu.org> wrote:
> Send Discuss-gnuradio mailing list submissions to > discuss-gnuradio@gnu.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > or, via email, send a message with subject or body 'help' to > discuss-gnuradio-requ...@gnu.org > > You can reach the person managing the list at > discuss-gnuradio-ow...@gnu.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Discuss-gnuradio digest..." > > > Today's Topics: > > 1. Re: GnuRadio within docker container access to ettus/n310 > requires host mode network (Marcus D. Leech) > 2. RE: Problems with gr-modtool on Ubuntu 20.04 (gnuradio > 3.10.4) (Michael Matthews) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 19 Oct 2022 14:55:10 -0400 > From: "Marcus D. Leech" <patchvonbr...@gmail.com> > To: discuss-gnuradio@gnu.org > Subject: Re: GnuRadio within docker container access to ettus/n310 > requires host mode network > Message-ID: <25f1d93a-ab62-960c-a89a-9beab614c...@gmail.com> > Content-Type: text/plain; charset="utf-8"; Format="flowed" > > On 2022-10-19 11:52, Jim Melton wrote: > > > > MR, > > > > Docker creates an abstraction over the physical machine, isolating the > > software inside from the rest of the machine. > > > > What you are describing is the expected behavior of the default Docker > > network interface. When you run in *--network=host* mode, you are > > telling Docker to by-pass it’s networking layer and to share the host > > network as if you were a native application. This is the easiest way > > to get network applications working in Docker, but as you note, there > > are security issues. > > > > Further complicating things, if you are running on Windows or Mac, is > > that your Docker image actually runs in a lightweight Linux VM running > > on your computer, because of host operating system limitations. I have > > no experience with non-native (Linux) Docker, so just know that > > dealing with physical devices is a non-trivial configuration. > > > > Some things (like multicast) are darn near impossible using the Docker > > network. I don’t know how the UHD discovers the SDR. If you don’t run > > *--network=host*, you will to explicitly forward the > > port(s)/protocol(s) used by your radio to your Docker container. Note > > that TCP and UDP require separate forwarding rules as needed. > > > UHD uses a *broadcast* packet to do discovery, and even in a > non-VM/docker environment, system security settings > can prevent the non-privileged user from doing broadcast. > > > > Similarly, access to USB devices requires some careful configuration. > > Again, the host device must be exposed (typically through a volume > > mount) into the container for the container to see it. The link you > > shared shows how the USB device is exposed. Note also that the > > container requires escalated privilege (*--privileged*) for this to work. > > > > What you are observing is less a limitation of GRC and more the normal > > behavior of Docker. > > > > --- > > > > *Jim Melton* > > > > > > > > *From:*Discuss-gnuradio *On Behalf Of *M Esc > > *Sent:* Wednesday, October 19, 2022 06:51 > > *To:* discuss-gnuradio@gnu.org > > *Subject:* [EXTERNAL] GnuRadio within docker container access to > > ettus/n310 requires host mode network > > > > (similar cross post issued to uhd/usrp stack exchange) > > > > I have a GNURadio/GNURadio Companion 3.10 on an Ubuntu 20.0.4 docker > > image, where the image is also loaded up with the 4.10 UHD N310 > > libraries and osmocom libraries (and some Xterm stuff). I'm running > > the container of the image on an Ubuntu 20.0.4 host. > > > > I can connect my N310 (also running 4.10 UHD libs) to the host and > > ping the N310. > > > > I can fire up the docker image as a container and ping the N310 from > > within the container. > > > > When I run "uhd_find_devices" within the container, the command > > reports No UHD Devices found. > > > > When I run GNR companion within the container and set up a USRP/UHD as > > a sink with a simple sine wave source, and try to run the blocks, it > > will fail. > > > > However, if I run the container in the docker network=host mode, I can > > successfully run uhd_find_devices and see the N310's info and can > > successfully run the GNR companion with a simple USRP/UHD sink. > > > > I had a similar experience running a nooelec USB SDR and a pluto USB > > SDR on the same host, i.e. when attaching the USB radios and then > > running the container in network=host mode, I could run my GNR > > Companion blocks successfully, but only when in network=host mode. > > > > So it would *appear* that the network=host mode is required to > > successfully run GNR (either headless or with GNR companion) is required. > > > > I also set up and ran the sample non-GNR/headless container created > > by: https://hub.docker.com/r/openverso/ettus-uhd > > <https://hub.docker.com/r/openverso/ettus-uhd> and found that I also > > had to add a network=host parameter to the commands listed on that > > page before I could successfully run a uhd_find_devices against my N310. > > > > I'd prefer not to use host network mode for a number of reasons, so > > wondered if anyone else has experienced this apparent limitation > > and/or how they solved it. > > > > By the way, our group considered trying to use a macvlan network > > rather than the host network mode, and that might help the N310 access > > problem, but we don't think that it will solve the same problem that > > we saw with the USB devices (nooelec/pluto). > > > > Bottom line question: has anyone else run into the limitation of > > running gnuradio source/sink to an external SDR from within a docker > > container and being forced to use network=host mode? > > > > Thanks > > > > MR > > > > CONFIDENTIALITY NOTICE - SNC EMAIL: This email and any attachments are > > confidential, may contain proprietary, protected, or export controlled > > information, and are intended for the use of the intended recipients > > only. Any review, reliance, distribution, disclosure, or forwarding of > > this email and/or attachments outside of Sierra Nevada Corporation > > (SNC) without express written approval of the sender, except to the > > extent required to further properly approved SNC business purposes, is > > strictly prohibited. If you are not the intended recipient of this > > email, please notify the sender immediately, and delete all copies > > without reading, printing, or saving in any manner. --- Thank You. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://lists.gnu.org/archive/html/discuss-gnuradio/attachments/20221019/38ad439d/attachment.htm > > > > ------------------------------ > > Message: 2 > Date: Thu, 20 Oct 2022 01:36:43 +0000 > From: Michael Matthews <mmatth...@micro-x.com> > To: Ryan Volz <ryan.v...@gmail.com>, "discuss-gnuradio@gnu.org" > <discuss-gnuradio@gnu.org> > Subject: RE: Problems with gr-modtool on Ubuntu 20.04 (gnuradio > 3.10.4) > Message-ID: > < > meapr01mb4679f4d8f8c9fa80625c008af2...@meapr01mb4679.ausprd01.prod.outlook.com > > > > Content-Type: text/plain; charset="utf-8" > > Hi Ryan, > > > > It seems that changing the trace source path to start with /lib did > produce a more meaningful output. When the target properties are set for > gnuradio::gnuradio-runtime, the INTERFACE_INCLUDE_DIRECTORIES is correctly > declared as /usr/include (gnuradio-runtimeTargets.cmake, line 66). I was > unsure where or how that would change to /include and throw the error, so I > decided to do the more expansive trace log to see if the libraries it was > linked with could have any issues. > > > > If I am reading the output correctly, it seems that Boost and pybind11 are > two things having the path /include being added to their targets. So, I am > still unsure why gnuradio-runtime is being affected. My next guess to try > to resolve this is to update the versions for Boost and pybind11 on my > machine. The GNU Radio Manual and API Reference only mentions needing boost > >= 1.65 (mine is 1.71.0.0ubuntu2) and does not mention pybind11 (my version > is 2.4.3-2build2, which seems to be the latest available through apt on > Ubuntu 20.04). > > > > Thank you for bearing with me. As I said last time, I am more familiar > with other build systems, not so much with cmake and I am completely new to > gnuradio. > > > > Cheers, > > Michael > > > > PS. These are the outputs I got, in case they are helpful > > > > The trace output I received was: > > ~/gr-customModule/build$ cmake .. > --trace-source=/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake > --trace-expand > > Running with expanded trace output on. > > -- The CXX compiler identification is GNU 9.4.0 > > -- The C compiler identification is GNU 9.4.0 > > -- Check for working CXX compiler: /usr/bin/c++ > > -- Check for working CXX compiler: /usr/bin/c++ -- works > > -- Detecting CXX compiler ABI info > > -- Detecting CXX compiler ABI info - done > > -- Detecting CXX compile features > > -- Detecting CXX compile features - done > > -- Check for working C compiler: /usr/bin/cc > > -- Check for working C compiler: /usr/bin/cc -- works > > -- Detecting C compiler ABI info > > -- Detecting C compiler ABI info - done > > -- Detecting C compile features > > -- Detecting C compile features - done > > -- Looking for pthread.h > > -- Looking for pthread.h - found > > -- Performing Test CMAKE_HAVE_LIBC_PTHREAD > > -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed > > -- Looking for pthread_create in pthreads > > -- Looking for pthread_create in pthreads - not found > > -- Looking for pthread_create in pthread > > -- Looking for pthread_create in pthread - found > > -- Found Threads: TRUE > > -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") > > -- Checking for module 'gmp' > > -- Found gmp, version 6.2.0 > > -- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so > > -- Using GMP. > > -- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so > > -- Found Boost: /lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake > (found suitable version "1.71.0", minimum required is "1.71.0") found > components: date_time program_options system regex thread > unit_test_framework > > -- Found Volk: Volk::volk > > -- User set python executable /usr/bin/python3 > > -- Found PythonInterp: /usr/bin/python3 (found version "3.8.10") > > -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found > suitable exact version "3.8.10") > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(3): > if(3.16 LESS 2.5 ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(6): > cmake_policy(PUSH ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(7): > cmake_policy(VERSION 2.6 ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(13): > set(CMAKE_IMPORT_FILE_VERSION 1 ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(16): > set(_targetsDefined ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(17): > set(_targetsNotDefined ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(18): > set(_expectedTargets ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(19): > foreach(_expectedTarget gnuradio::gnuradio-runtime ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(20): > list(APPEND _expectedTargets gnuradio::gnuradio-runtime ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(21): > if(NOT TARGET gnuradio::gnuradio-runtime ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(22): > list(APPEND _targetsNotDefined gnuradio::gnuradio-runtime ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(24): > if(TARGET gnuradio::gnuradio-runtime ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(28): > if( STREQUAL gnuradio::gnuradio-runtime ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(36): > if(NOT STREQUAL ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(39): > unset(_targetsDefined ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(40): > unset(_targetsNotDefined ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(41): > unset(_expectedTargets ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(45): > get_filename_component(_IMPORT_PREFIX > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake PATH ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(48): > get_filename_component(_realCurr /lib/x86_64-linux-gnu/cmake/gnuradio > REALPATH ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(49): > get_filename_component(_realOrig /usr/lib/x86_64-linux-gnu/cmake/gnuradio > REALPATH ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(50): > if(_realCurr STREQUAL _realOrig ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(51): > set(_IMPORT_PREFIX /usr/lib/x86_64-linux-gnu/cmake/gnuradio ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(53): > unset(_realOrig ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(54): > unset(_realCurr ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(55): > get_filename_component(_IMPORT_PREFIX > /usr/lib/x86_64-linux-gnu/cmake/gnuradio PATH ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(56): > get_filename_component(_IMPORT_PREFIX /usr/lib/x86_64-linux-gnu/cmake PATH ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(57): > get_filename_component(_IMPORT_PREFIX /usr/lib/x86_64-linux-gnu PATH ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(58): > get_filename_component(_IMPORT_PREFIX /usr/lib PATH ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(59): > if(_IMPORT_PREFIX STREQUAL / ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(64): > add_library(gnuradio::gnuradio-runtime SHARED IMPORTED ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(66): > set_target_properties(gnuradio::gnuradio-runtime PROPERTIES > INTERFACE_COMPILE_DEFINITIONS > GR_MPLIB_GMP;GR_CTRLPORT;GR_PERFORMANCE_COUNTERS INTERFACE_COMPILE_FEATURES > cxx_std_17 INTERFACE_INCLUDE_DIRECTORIES /usr/include > INTERFACE_LINK_LIBRARIES > gnuradio::gnuradio-pmt;Volk::volk;Boost::program_options;Boost::thread;spdlog::spdlog;MPLib::mplib;Python::Module;$<$<AND:$<CXX_COMPILER_ID:GNU>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,9.0>>:stdc++fs>;rt > ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(73): > if(CMAKE_VERSION VERSION_LESS 2.8.12 ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(78): > get_filename_component(_DIR > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake PATH ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(79): > file(GLOB CONFIG_FILES > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets-*.cmake ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(80): > foreach(f > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets-release.cmake ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(81): > include(/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets-release.cmake > ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(85): > set(_IMPORT_PREFIX ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(88): > foreach(target gnuradio::gnuradio-runtime ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(89): > foreach(file /usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4.0 ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(90): > if(NOT EXISTS /usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4.0 ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(102): > unset(_IMPORT_CHECK_FILES_FOR_gnuradio::gnuradio-runtime ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(104): > unset(_IMPORT_CHECK_TARGETS ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(108): > unset(Gnuradio_NOT_FOUND_MESSAGE_targets ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(109): > foreach(_target gnuradio::gnuradio-pmt ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(110): > if(NOT TARGET gnuradio::gnuradio-pmt ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(115): > if(DEFINED Gnuradio_NOT_FOUND_MESSAGE_targets ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(123): > unset(Gnuradio_NOT_FOUND_MESSAGE_targets ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(126): > set(CMAKE_IMPORT_FILE_VERSION ) > > /lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(127): > cmake_policy(POP ) > > -- Check if the system is big endian > > -- Searching 16 bit integer > > -- Looking for sys/types.h > > -- Looking for sys/types.h - found > > -- Looking for stdint.h > > -- Looking for stdint.h - found > > -- Looking for stddef.h > > -- Looking for stddef.h - found > > -- Check size of unsigned short > > -- Check size of unsigned short - done > > -- Using unsigned short > > -- Check if the system is big endian - little endian > > -- Performing Test HAVE_VISIBILITY_HIDDEN > > -- Performing Test HAVE_VISIBILITY_HIDDEN - Success > > -- Performing Test HAVE_WARN_SIGN_COMPARE > > -- Performing Test HAVE_WARN_SIGN_COMPARE - Success > > -- Performing Test HAVE_WARN_ALL > > -- Performing Test HAVE_WARN_ALL - Success > > -- Performing Test HAVE_WARN_NO_UNINITIALIZED > > -- Performing Test HAVE_WARN_NO_UNINITIALIZED - Success > > -- Found Git: /usr/bin/git > > -- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found > components: doxygen missing components: dot > > -- Using install prefix: /usr/local > > -- Building for version: 1.0.0.0 / 1.0.0 > > -- No C++ unit tests... skipping > > -- PYTHON and GRC components are enabled > > -- Python checking for pygccxml - found > > -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so > > -- Performing Test HAS_FLTO > > -- Performing Test HAS_FLTO - Success > > -- LTO enabled > > -- Configuring done > > CMake Warning (dev) in CMakeLists.txt: > > Policy CMP0082 is not set: Install rules from add_subdirectory() are > > interleaved with those in caller. Run "cmake --help-policy CMP0082" for > > policy details. Use the cmake_policy command to set the policy and > > suppress this warning. > > > > This warning is for project developers. Use -Wno-dev to suppress it. > > > > CMake Error in lib/CMakeLists.txt: > > Imported target "gnuradio::gnuradio-runtime" includes non-existent path > > > > "/include" > > > > in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: > > > > * The path was deleted, renamed, or moved to another location. > > > > * An install or uninstall procedure did not complete successfully. > > > > * The installation package was faulty and references files it does not > > provide. > > > > > > > > CMake Error in lib/CMakeLists.txt: > > Imported target "gnuradio::gnuradio-runtime" includes non-existent path > > > > "/include" > > > > in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: > > > > * The path was deleted, renamed, or moved to another location. > > > > * An install or uninstall procedure did not complete successfully. > > > > * The installation package was faulty and references files it does not > > provide. > > > > > > > > CMake Warning (dev) in python/customModule/CMakeLists.txt: > > Policy CMP0082 is not set: Install rules from add_subdirectory() are > > interleaved with those in caller. Run "cmake --help-policy CMP0082" for > > policy details. Use the cmake_policy command to set the policy and > > suppress this warning. > > > > This warning is for project developers. Use -Wno-dev to suppress it. > > > > CMake Error in python/customModule/bindings/CMakeLists.txt: > > Imported target "Boost::date_time" includes non-existent path > > > > "/include" > > > > in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: > > > > * The path was deleted, renamed, or moved to another location. > > > > * An install or uninstall procedure did not complete successfully. > > > > * The installation package was faulty and references files it does not > > provide. > > > > > > > > CMake Warning (dev) at /lib/cmake/pybind11/pybind11Tools.cmake:131 > (add_library): > > Policy CMP0060 is not set: Link libraries by full path even in implicit > > directories. Run "cmake --help-policy CMP0060" for policy details. Use > > the cmake_policy command to set the policy and suppress this warning. > > > > Some library files are in directories implicitly searched by the linker > > when invoked for CXX: > > > > /usr/lib/x86_64-linux-gnu/libgmp.so > > /usr/lib/x86_64-linux-gnu/libgmpxx.so > > > > For compatibility with older versions of CMake, the generated link line > > will ask the linker to search for these by library name. > > Call Stack (most recent call first): > > /lib/x86_64-linux-gnu/cmake/gnuradio/GrPybind.cmake:288 > (pybind11_add_module) > > python/customModule/bindings/CMakeLists.txt:34 (GR_PYBIND_MAKE_OOT) > > This warning is for project developers. Use -Wno-dev to suppress it. > > > > CMake Error in python/customModule/bindings/CMakeLists.txt: > > Imported target "Boost::date_time" includes non-existent path > > > > "/include" > > > > in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: > > > > * The path was deleted, renamed, or moved to another location. > > > > * An install or uninstall procedure did not complete successfully. > > > > * The installation package was faulty and references files it does not > > provide. > > > > > > > > -- Generating done > > CMake Generate step failed. Build files cannot be regenerated correctly. > > > > Searching the full expanded trace resulted in: > > $ cmake .. --trace-expand > > gnuradio-v3.10.4-cmake_trace_expand.log > > $ grep -E -n ' > /include|;/include|"/include"|Boost::date_time|gnuradio::gnuradio-runtime' > gnuradio-v3.10.4-cmake_trace_expand.log > > 15154:/lib/x86_64-linux-gnu/cmake/boost_headers-1.71.0/boost_headers-config.cmake(19): > set_target_properties(Boost::headers PROPERTIES > INTERFACE_INCLUDE_DIRECTORIES /include INTERFACE_COMPILE_DEFINITIONS > BOOST_ALL_NO_LIB ) > > 15201:/lib/x86_64-linux-gnu/cmake/boost_date_time-1.71.0/boost_date_time-config.cmake(3): > if(TARGET Boost::date_time ) > > 15206:/lib/x86_64-linux-gnu/cmake/boost_date_time-1.71.0/boost_date_time-config.cmake(17): > add_library(Boost::date_time UNKNOWN IMPORTED ) > > 15207:/lib/x86_64-linux-gnu/cmake/boost_date_time-1.71.0/boost_date_time-config.cmake(19): > set_target_properties(Boost::date_time PROPERTIES > INTERFACE_INCLUDE_DIRECTORIES /include INTERFACE_COMPILE_DEFINITIONS > BOOST_ALL_NO_LIB ) > > 15247:/lib/x86_64-linux-gnu/cmake/boost_date_time-1.71.0/libboost_date_time-variant-shared.cmake(57): > get_target_property(__boost_imploc Boost::date_time > IMPORTED_LOCATION_RELEASE ) > > 15250:/lib/x86_64-linux-gnu/cmake/boost_date_time-1.71.0/libboost_date_time-variant-shared.cmake(63): > set_property(TARGET Boost::date_time APPEND PROPERTY > IMPORTED_CONFIGURATIONS RELEASE ) > > 15251:/lib/x86_64-linux-gnu/cmake/boost_date_time-1.71.0/libboost_date_time-variant-shared.cmake(65): > set_target_properties(Boost::date_time PROPERTIES > IMPORTED_LINK_INTERFACE_LANGUAGES_RELEASE CXX IMPORTED_LOCATION_RELEASE > /lib/x86_64-linux-gnu/libboost_date_time.so.1.71.0 ) > > 15252:/lib/x86_64-linux-gnu/cmake/boost_date_time-1.71.0/libboost_date_time-variant-shared.cmake(70): > set_target_properties(Boost::date_time PROPERTIES > MAP_IMPORTED_CONFIG_MINSIZEREL Release MAP_IMPORTED_CONFIG_RELWITHDEBINFO > Release ) > > 15253:/lib/x86_64-linux-gnu/cmake/boost_date_time-1.71.0/libboost_date_time-variant-shared.cmake(75): > set_target_properties(Boost::date_time PROPERTIES > INTERFACE_COMPILE_DEFINITIONS BOOST_DATE_TIME_DYN_LINK ) > > 15268:/lib/x86_64-linux-gnu/cmake/boost_date_time-1.71.0/boost_date_time-config.cmake(50): > get_target_property(__boost_configs Boost::date_time > IMPORTED_CONFIGURATIONS ) > > 15293:/lib/x86_64-linux-gnu/cmake/boost_date_time-1.71.0/boost_date_time-config.cmake(92): > set_property(TARGET Boost::date_time APPEND PROPERTY > INTERFACE_LINK_LIBRARIES Boost::headers ) > > 15305:/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake(131): > list(APPEND Boost_LIBRARIES Boost::date_time ) > > 15306:/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake(132): > set(Boost_DATE_TIME_LIBRARY Boost::date_time ) > > 15307:/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake(134): > if(NOT date_time STREQUAL date_time AND NOT TARGET Boost::date_time ) > > 15339:/lib/x86_64-linux-gnu/cmake/boost_program_options-1.71.0/boost_program_options-config.cmake(19): > set_target_properties(Boost::program_options PROPERTIES > INTERFACE_INCLUDE_DIRECTORIES /include INTERFACE_COMPILE_DEFINITIONS > BOOST_ALL_NO_LIB ) > > 15471:/lib/x86_64-linux-gnu/cmake/boost_system-1.71.0/boost_system-config.cmake(19): > set_target_properties(Boost::system PROPERTIES > INTERFACE_INCLUDE_DIRECTORIES /include INTERFACE_COMPILE_DEFINITIONS > BOOST_ALL_NO_LIB ) > > 15603:/lib/x86_64-linux-gnu/cmake/boost_regex-1.71.0/boost_regex-config.cmake(19): > set_target_properties(Boost::regex PROPERTIES INTERFACE_INCLUDE_DIRECTORIES > /include INTERFACE_COMPILE_DEFINITIONS BOOST_ALL_NO_LIB ) > > 15735:/lib/x86_64-linux-gnu/cmake/boost_thread-1.71.0/boost_thread-config.cmake(19): > set_target_properties(Boost::thread PROPERTIES > INTERFACE_INCLUDE_DIRECTORIES /include INTERFACE_COMPILE_DEFINITIONS > BOOST_ALL_NO_LIB ) > > 15825:/lib/x86_64-linux-gnu/cmake/boost_atomic-1.71.0/boost_atomic-config.cmake(19): > set_target_properties(Boost::atomic PROPERTIES > INTERFACE_INCLUDE_DIRECTORIES /include INTERFACE_COMPILE_DEFINITIONS > BOOST_ALL_NO_LIB ) > > 16138:/lib/x86_64-linux-gnu/cmake/boost_unit_test_framework-1.71.0/boost_unit_test_framework-config.cmake(19): > set_target_properties(Boost::unit_test_framework PROPERTIES > INTERFACE_INCLUDE_DIRECTORIES /include INTERFACE_COMPILE_DEFINITIONS > BOOST_ALL_NO_LIB ) > > 16372:/usr/share/cmake-3.16/Modules/FindBoost.cmake(323): list(APPEND > include_dirs /include ) > > 16401:/usr/share/cmake-3.16/Modules/FindBoost.cmake(268): if(TARGET > Boost::date_time ) > > 16403:/usr/share/cmake-3.16/Modules/FindBoost.cmake(284): set(target > Boost::date_time PARENT_SCOPE ) > > 16406:/usr/share/cmake-3.16/Modules/FindBoost.cmake(352): > _boost_append_include_dir(Boost::date_time ) > > 16407:/usr/share/cmake-3.16/Modules/FindBoost.cmake(321): > get_target_property(inc Boost::date_time INTERFACE_INCLUDE_DIRECTORIES ) > > 16409:/usr/share/cmake-3.16/Modules/FindBoost.cmake(323): list(APPEND > include_dirs /include ) > > 16410:/usr/share/cmake-3.16/Modules/FindBoost.cmake(353): > _boost_set_if_unset(Boost_DATE_TIME_LIBRARY Boost::date_time ) > > 16412:/usr/share/cmake-3.16/Modules/FindBoost.cmake(354): > _boost_set_if_unset(Boost_DATE_TIME_LIBRARIES Boost::date_time ) > > 16414:/usr/share/cmake-3.16/Modules/FindBoost.cmake(310): > _boost_set_in_parent_scope(Boost_DATE_TIME_LIBRARIES Boost::date_time ) > > 16415:/usr/share/cmake-3.16/Modules/FindBoost.cmake(304): > set(Boost_DATE_TIME_LIBRARIES Boost::date_time PARENT_SCOPE ) > > 16416:/usr/share/cmake-3.16/Modules/FindBoost.cmake(305): > set(Boost_DATE_TIME_LIBRARIES Boost::date_time ) > > 16417:/usr/share/cmake-3.16/Modules/FindBoost.cmake(355): list(APPEND > libraries Boost::date_time ) > > 16418:/usr/share/cmake-3.16/Modules/FindBoost.cmake(356): > get_property(type TARGET Boost::date_time PROPERTY TYPE ) > > 16421:/usr/share/cmake-3.16/Modules/FindBoost.cmake(359): > get_target_property(lib Boost::date_time IMPORTED_LOCATION_RELEASE ) > > 16428:/usr/share/cmake-3.16/Modules/FindBoost.cmake(359): > get_target_property(lib Boost::date_time IMPORTED_LOCATION_DEBUG ) > > 16434:/usr/share/cmake-3.16/Modules/FindBoost.cmake(298): > set(canonical_target Boost::date_time PARENT_SCOPE ) > > 16435:/usr/share/cmake-3.16/Modules/FindBoost.cmake(371): if(NOT TARGET > Boost::date_time ) > > 16456:/usr/share/cmake-3.16/Modules/FindBoost.cmake(323): list(APPEND > include_dirs /include ) > > 16503:/usr/share/cmake-3.16/Modules/FindBoost.cmake(323): list(APPEND > include_dirs /include ) > > 16550:/usr/share/cmake-3.16/Modules/FindBoost.cmake(323): list(APPEND > include_dirs /include ) > > 16597:/usr/share/cmake-3.16/Modules/FindBoost.cmake(323): list(APPEND > include_dirs /include ) > > 16644:/usr/share/cmake-3.16/Modules/FindBoost.cmake(323): list(APPEND > include_dirs /include ) > > 16673:/usr/share/cmake-3.16/Modules/FindBoost.cmake(379): > _boost_set_if_unset(Boost_INCLUDE_DIRS /include ) > > 16680:/usr/share/cmake-3.16/Modules/FindBoost.cmake(381): > _boost_set_if_unset(Boost_LIBRARIES > Boost::date_time;Boost::program_options;Boost::system;Boost::regex;Boost::thread;Boost::unit_test_framework > ) > > 16684:/usr/share/cmake-3.16/Modules/FindBoost.cmake(383): > find_path(Boost_INCLUDE_DIR NAMES boost/version.hpp boost/config.hpp HINTS > /include NO_DEFAULT_PATH ) > > 17267:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(19): > foreach(_expectedTarget gnuradio::gnuradio-runtime ) > > 17268:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(20): > list(APPEND _expectedTargets gnuradio::gnuradio-runtime ) > > 17269:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(21): > if(NOT TARGET gnuradio::gnuradio-runtime ) > > 17270:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(22): > list(APPEND _targetsNotDefined gnuradio::gnuradio-runtime ) > > 17271:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(24): > if(TARGET gnuradio::gnuradio-runtime ) > > 17272:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(28): > if( STREQUAL gnuradio::gnuradio-runtime ) > > 17289:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(64): > add_library(gnuradio::gnuradio-runtime SHARED IMPORTED ) > > 17290:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(66): > set_target_properties(gnuradio::gnuradio-runtime PROPERTIES > INTERFACE_COMPILE_DEFINITIONS > GR_MPLIB_GMP;GR_CTRLPORT;GR_PERFORMANCE_COUNTERS INTERFACE_COMPILE_FEATURES > cxx_std_17 INTERFACE_INCLUDE_DIRECTORIES /usr/include > INTERFACE_LINK_LIBRARIES > gnuradio::gnuradio-pmt;Volk::volk;Boost::program_options;Boost::thread;spdlog::spdlog;MPLib::mplib;Python::Module;$<$<AND:$<CXX_COMPILER_ID:GNU>,$<VERSION_LESS:$<CXX_COMPILER_VERSION>,9.0>>:stdc++fs>;rt > ) > > 17297:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets-release.cmake(9): > set_property(TARGET gnuradio::gnuradio-runtime APPEND PROPERTY > IMPORTED_CONFIGURATIONS RELEASE ) > > 17298:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets-release.cmake(10): > set_target_properties(gnuradio::gnuradio-runtime PROPERTIES > IMPORTED_LOCATION_RELEASE > /usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4.0 > IMPORTED_SONAME_RELEASE libgnuradio-runtime.so.3.10.4 ) > > 17299:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets-release.cmake(15): > list(APPEND _IMPORT_CHECK_TARGETS gnuradio::gnuradio-runtime ) > > 17300:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets-release.cmake(16): > list(APPEND _IMPORT_CHECK_FILES_FOR_gnuradio::gnuradio-runtime > /usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so.3.10.4.0 ) > > 17303:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(88): > foreach(target gnuradio::gnuradio-runtime ) > > 17306:/lib/x86_64-linux-gnu/cmake/gnuradio/gnuradio-runtimeTargets.cmake(102): > unset(_IMPORT_CHECK_FILES_FOR_gnuradio::gnuradio-runtime ) > > 24977:/home/mmatthews/gr-customModule/lib/CMakeLists.txt(25): > target_link_libraries(gnuradio-customModule gnuradio::gnuradio-runtime ) > > 30717:/lib/cmake/pybind11/pybind11Targets.cmake(56): > set_target_properties(pybind11::pybind11 PROPERTIES > INTERFACE_INCLUDE_DIRECTORIES /include ) > > 30742:/lib/cmake/pybind11/pybind11Config.cmake(125): > set(pybind11_INCLUDE_DIRS /include;/usr/include/python3.8 ) > > 31336:/lib/x86_64-linux-gnu/cmake/gnuradio/GrPybind.cmake(336): > target_link_libraries(customModule_python PRIVATE > Boost::date_time;Boost::program_options;Boost::system;Boost::regex;Boost::thread;Boost::unit_test_framework > pybind11::pybind11 Python::Module Python::NumPy gnuradio-customModule ) > > 31544: Imported target "gnuradio::gnuradio-runtime" includes non-existent > path > > 31546: "/include" > > 31560: Imported target "gnuradio::gnuradio-runtime" includes non-existent > path > > 31562: "/include" > > 31584: Imported target "Boost::date_time" includes non-existent path > > 31586: "/include" > > 31618: Imported target "Boost::date_time" includes non-existent path > > 31620: "/include" > > > > > > Michael Matthews > Graduate Software Engineer > Mobile: +1 847 714 4809 > > > [https://micro-x.com/esignature/micro-x-lo...@2x-white-bg.png]< > https://micro-x.com> > > 855 South 192nd St, Suite 600 > SeaTac, WA, 98148, United States > www.micro-x.com<https://micro-x.com> > > > > -----Original Message----- > > > From: Ryan Volz <ryan.v...@gmail.com> > > > Sent: Wednesday, October 19, 2022 7:18 AM > > > To: Michael Matthews <mmatth...@micro-x.com>; discuss- > > > gnura...@gnu.org > > > Subject: Re: Problems with gr-modtool on Ubuntu 20.04 (gnuradio 3.10.4) > > > > > > Hi Michael, > > > > > > On 10/18/22 5:47 PM, Michael Matthews wrote: > > > > Hey Ryan, > > > > > > > > I went ahead and ran that cmake trace and it did produce something > > > > interesting. I seems that two cmake policies are not set and both > > > > have the behavior to not throw warnings by default. The offending > policies > > > are: > > > > > > > > - CMP0060 > > > > > > > > - CMP0082 > > > > > > Those are nothing to be concerned about. > > > > > > > ... > > > > PS. > > > > > > > > The trace output I received is below: > > > > > > > > ... > > > I don't actually see anything new in the trace, so I suspect it didn't > work. > > > Probably it's not loading that file from that exact path (maybe /usr/lib > -> /lib > > > would work?). Here's the option that should definitely work, although it > will > > > also produce much more than we need: > > > > > > cmake .. --trace-expand > > > > > > > > > Cheers, > > > Ryan > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://lists.gnu.org/archive/html/discuss-gnuradio/attachments/20221020/d1ef2302/attachment.htm > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > ------------------------------ > > End of Discuss-gnuradio Digest, Vol 240, Issue 19 > ************************************************* >