Hey, Jim,
something, *anything*, really, in /usr/local!
If that's not empty, there's stuff in there that you've installed manually (not via apt);
which is totally OK, but everything in there doesn't get updated by apt, which means you
need to keep tabs on what you've installed there, and remove it yourself, build it anew,
when one of its dependencies gets updated via apt.
What Philip is saying here is that this is a common occurrence: user needs a specific
version of something that their Linux distro doesn't package, installs it manually into
/usr/local, then the system is upgraded, but /usr/local contains things founded in the
state of the system prior to the update.
Valuing your time as high as I do mine, I'd do this: go and move *everything* in
/usr/local out of the way
(e.g. `sudo mkdir /usr/local-old && sudo mv /usr/local/* /usr/local-old/`), then make sure
you're working from empty build/ directories, build and install the out-of-tree modules
you need anew (and any other software you need from your old /usr/local).
Best regards,
Marcus
On 2026-03-20 2:12 AM, Elmore Family wrote:
> What would I look for specifically?
>
> Jim
>
> -----Original Message----- From: Philip Balister
> Sent: Thursday, March 19, 2026 7:24 PM
> To: Marcus Müller ; Elmore Family ; discuss-gnuradio@gnu.org
> Subject: Re: Problem with 3.10.12.0
>
> It sounds like you installed gnuradio from packages, is there an old
> build in /usr/local/* ?
>
> On 3/19/26 1:35 PM, Marcus Müller wrote:
>> Hi Jim,
>>
>> it still looks like there's a pybind around that is built against Python 3.11. Where
>> that comes from, or where specifically it is on your system: I don't know more than
>> that, I'm afraid.
>>
>> Best regards,
>> Marcus
>>
>> On 2026-03-19 8:24 PM, Elmore Family wrote:
>>> Marcus,
>>>
>>> I upgraded to GNU Radio 3.10.12.0.
>>>
>>> Python 3.13.5 came along with it.
>>>
>>> I am using Debian 13 (Trixie) on my RPi.
>>>
>>> I used sudo apt install.
>>>
>>> I hope this is enough info to help.
>>>
>>> Jim
>>>
>>> -----Original Message----- From: Marcus Müller
>>> Sent: Thursday, March 19, 2026 9:52 AM
>>> To: Elmore Family ; discuss-gnuradio@gnu.org
>>> Subject: Re: Problem with 3.10.12.0
>>>
>>> Hey Jim,
>>> don't know how you've installed Pybind and your Python! As said, it looks like your update
>>> of Python happened without the other libraries, and here, Pybind, getting rebuilt/updated
>>> as well. I don't know your operating systems and installation methods, so it's impossible
>>> for me to advise!
>>>
>>> Best,
>>> Marcus
>>>
>>> On 2026-03-19 1:28 AM, Elmore Family wrote:
>>>> What can I do to fix this issue?
>>>>
>>>> Jim
>>>>
>>>> -----Original Message----- From: Marcus Müller
>>>> Sent: Monday, March 16, 2026 8:49 AM
>>>> To: discuss-gnuradio@gnu.org
>>>> Subject: Re: Problem with 3.10.12.0
>>>>
>>>> Hi Elmore,
>>>>
>>>> looks like you use Python to 3.13, but for some reason your pybind11 is linked against
>>>> Python 3.11. Well, that might have different reasons, but it looks like an issue of
>>>> inconsistent updates. It's not a GNU Radio bug!
>>>>
>>>> Best regards,
>>>> Marcus
>>>>
>>>> On 2026-03-14 10:13 PM, Elmore Family wrote:
>>>>> I recently upgraded to the subject version and am now missing some blocks.
>>>>> I tried to rebuild one of my blocks and the following was the result:
>>>>> cmake ../
>>>>> CMake Deprecation Warning at CMakeLists.txt:12 (cmake_minimum_required):
>>>>> Compatibility with CMake < 3.10 will be removed from a future version of
>>>>> CMake.
>>>>> Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
>>>>> to tell CMake that the project requires at least <min> but has been updated
>>>>> to work with policies introduced by <max> or earlier.
>>>>> -- The CXX compiler identification is GNU 14.2.0
>>>>> -- The C compiler identification is GNU 14.2.0
>>>>> -- 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.
>>>>> -- Using GMP.
>>>>> CMake Warning (dev) at /usr/share/cmake-3.31/Modules/
>>>>> CMakeFindDependencyMacro.cmake:76 (find_package):
>>>>> Policy CMP0167 is not set: The FindBoost module is removed. Run "cmake
>>>>> --help-policy CMP0167" for policy details. Use the cmake_policy command to
>>>>> set the policy and suppress this warning.
>>>>> Call Stack (most recent call first):
>>>>> /usr/lib/aarch64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:28 (find_dependency)
>>>>> CMakeLists.txt:77 (find_package)
>>>>> This warning is for project developers. Use -Wno-dev to suppress it.
>>>>> -- Found Boost: /usr/lib/aarch64-linux-gnu/cmake/Boost-1.83.0/ BoostConfig.cmake
>>>>> (found suitable version "1.83.0", minimum required is "1.83.0") found components:
>>>>> date_time program_options system regex thread unit_test_framework
>>>>> -- User set python executable /usr/bin/python3
>>>>> CMake Warning (dev) at /usr/lib/aarch64-linux-gnu/cmake/gnuradio/ GrPython.cmake:21
>>>>> (find_package):
>>>>> Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
>>>>> are removed. Run "cmake --help-policy CMP0148" for policy details. Use
>>>>> the cmake_policy command to set the policy and suppress this warning.
>>>>> Call Stack (most recent call first):
>>>>> /usr/lib/aarch64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:37 (include)
>>>>> CMakeLists.txt:77 (find_package)
>>>>> This warning is for project developers. Use -Wno-dev to suppress it.
>>>>> -- Found PythonInterp: /usr/bin/python3 (found version "3.13.5")
>>>>> CMake Warning (dev) at /usr/lib/aarch64-linux-gnu/cmake/gnuradio/ GrPython.cmake:27
>>>>> (find_package):
>>>>> Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
>>>>> are removed. Run "cmake --help-policy CMP0148" for policy details. Use
>>>>> the cmake_policy command to set the policy and suppress this warning.
>>>>> Call Stack (most recent call first):
>>>>> /usr/lib/aarch64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:37 (include)
>>>>> CMakeLists.txt:77 (find_package)
>>>>> This warning is for project developers. Use -Wno-dev to suppress it.
>>>>> -- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.11.so (Required is exact
>>>>> version "3.13")
>>>>> -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
>>>>> -- Found pybind11: /usr/include (found version "2.13.6")
>>>>> -- Using install prefix: /usr/local
>>>>> -- Building for version: v1.0-compat-xxx-xunknown / 1.0.0git
>>>>> -- No C++ unit tests... skipping
>>>>> -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
>>>>> -- PYTHON and GRC components are enabled
>>>>> -- Python checking for pygccxml - found
>>>>> -- Configuring done (10.5s)
>>>>> CMake Error in python/bindings/CMakeLists.txt:
>>>>> Imported target "pybind11::module" includes non-existent path
>>>>> "/usr/include/python3.11"
>>>>> 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 (0.2s)
>>>>> CMake Generate step failed. Build files cannot be regenerated correctly.
>>>>> What is happening here?
>>>>> Jim
>>>>>
>>>>> <http://www.avg.com/email-signature?
>>>>> utm_medium=email&utm_source=link&utm_campaign=sig- email&utm_content=emailclient>
>>>>> Virus-free.www.avg.com <http:// www.avg.com/email- signature?
>>>>> utm_medium=email&utm_source=link&utm_campaign=sig- email&utm_content=emailclient>
>>>>>
>>>>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
No comments:
Post a Comment