I noticed a build failure when building via nix package manager on macos aarch64. The actual cause of failure seems to be error: in-class initializer for static data member is not a constant expression
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/y7rgl329v3wl91cpcszbkq28lkyljjrx-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/6d7s1mp4w8ndh9h6kp0x8n79n283xsfs-fix-pkg-config.patch
patching file host/CMakeLists.txt
patching file host/uhd.pc.in
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0/share/doc/UHD -DCMAKE_INSTALL_INFODIR=/nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/vgyvmwdml3fk6nyr6mm8m2q71qmnqk8a-uhd-4.9.0.0-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/xbi504848gn164lwzv2x2rclwvjxw7w1-clang-wrapper-21.1.2/bin/strip -DCMAKE_RANLIB=/nix/store/xbi504848gn164lwzv2x2rclwvjxw7w1-clang-wrapper-21.1.2/bin/ranlib -DCMAKE_AR=/nix/store/xbi504848gn164lwzv2x2rclwvjxw7w1-clang-wrapper-21.1.2/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0 -DENABLE_LIBUHD=ON -DENABLE_USB=ON -DENABLE_TESTS=ON -DENABLE_EXAMPLES:BOOL=FALSE -DENABLE_UTILS:BOOL=TRUE -DENABLE_C_API:BOOL=TRUE -DENABLE_PYTHON_API:BOOL=TRUE -DRUNTIME_PYTHON_EXECUTABLE=/nix/store/7s2fj20xv8rjzd5vxqknk6jnqjiic5z1-python3-3.13.8-env/bin/python3.13 -DENABLE_DPDK:BOOL=FALSE -DENABLE_OCTOCLOCK:BOOL=TRUE -DENABLE_MPMD:BOOL=TRUE -DENABLE_B100:BOOL=TRUE -DENABLE_B200:BOOL=TRUE -DENABLE_USRP1:BOOL=TRUE -DENABLE_USRP2:BOOL=TRUE -DENABLE_X300:BOOL=TRUE -DENABLE_X400:BOOL=TRUE -DENABLE_N300:BOOL=TRUE -DENABLE_N320:BOOL=TRUE -DENABLE_E300:BOOL=TRUE -DENABLE_E320:BOOL=TRUE
-- The CXX compiler identification is Clang 21.1.2
-- The C compiler identification is Clang 21.1.2
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/xbi504848gn164lwzv2x2rclwvjxw7w1-clang-wrapper-21.1.2/bin/clang++ - 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: /nix/store/xbi504848gn164lwzv2x2rclwvjxw7w1-clang-wrapper-21.1.2/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
--
-- Configuring the Python interpreter...
-- Python interpreter: /nix/store/s7ik6dazn4nd2jdg9l36qf5q0z18sjyk-python3-3.13.8/bin/python3.13 Version: 3.13.8
-- Override with: -DPYTHON_EXECUTABLE=<path-to-python>
-- Manually determining runtime Python version...
-- Python runtime interpreter: /nix/store/7s2fj20xv8rjzd5vxqknk6jnqjiic5z1-python3-3.13.8-env/bin/python3.13 Version: 3.13.8
-- Override with: -DRUNTIME_PYTHON_EXECUTABLE=<path-to-python>
-- Finding Python Libraries...
-- Python Libraries: /nix/store/s7ik6dazn4nd2jdg9l36qf5q0z18sjyk-python3-3.13.8/lib/libpython3.13.dylib
-- Python include directories: /nix/store/s7ik6dazn4nd2jdg9l36qf5q0z18sjyk-python3-3.13.8/include/python3.13;/nix/store/gwlvyf7cqw6ih49agmw0q7jdly2zdx31-python3.13-numpy-2.3.3/lib/python3.13/site-packages/numpy/_core/include
CMake Warning at cmake/Modules/UHDVersion.cmake:80 (message):
Could not detect git executable! Could not determine exact version of UHD!
Call Stack (most recent call first):
cmake/Modules/UHDPackage.cmake:9 (include)
CMakeLists.txt:145 (include)
-- Using UHD Images Directory: /nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0/share/uhd/images
-- Performing Test HAVE_VISIBILITY_HIDDEN
-- Performing Test HAVE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN - Success
--
-- Configuring Boost C++ Libraries...
--
-- Checking for Boost version 1.66 or greater
-- Looking for required Boost components...
CMake Warning (dev) at cmake/Modules/UHDBoost.cmake:190 (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):
CMakeLists.txt:330 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Enabling Boost Error Code Header Only
-- Checking whether std::string_view works in boost::asio
-- Enabling boost::asio use of std::string_view
-- Boost version: 1.87.0
-- Boost include directories: /nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include
-- Boost library directories: /nix/store/q0d1m8iyzza3imdn3rn3lfn4sij3sqrc-boost-1.87.0/lib
-- Boost libraries: Boost::chrono;Boost::date_time;Boost::filesystem;Boost::program_options;Boost::serialization;Boost::thread;Boost::unit_test_framework;Boost::system
-- Looking for Boost version 1.66 or greater - found
--
-- Python checking for compatible Python version
-- Python checking for compatible Python version - 3.13.8 satisfies minimum required version 3.7
--
-- Python checking for Mako templates module
-- Python checking for Mako templates module - 1.3.10 satisfies minimum required version 0.4.2
--
-- Python checking for requests module
-- Python checking for requests module - 2.32.5 satisfies minimum required version 2.0
--
-- Python checking for numpy module
-- Python checking for numpy module - 2.3.3 satisfies minimum required version 1.11
--
-- Python checking for ruamel.yaml module
-- Python checking for ruamel.yaml module - "import ruamel.yaml" failed (is it installed?)
--
-- Configuring LibUHD support...
-- Dependency Boost_FOUND = TRUE
-- Dependency HAVE_PYTHON_MODULE_MAKO = TRUE
-- Enabling LibUHD support.
-- Override with -DENABLE_LIBUHD=ON/OFF
--
-- Configuring LibUHD - C API support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling LibUHD - C API support.
-- Override with -DENABLE_C_API=ON/OFF
--
-- Configuring LibUHD - Python API support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency HAVE_PYTHON_MODULE_NUMPY = TRUE
-- Dependency HAVE_PYTHON_LIBS = TRUE
-- Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
-- Enabling LibUHD - Python API support.
-- Override with -DENABLE_PYTHON_API=ON/OFF
--
-- Configuring Examples support...
-- Dependency ENABLE_LIBUHD = ON
-- Disabling Examples support.
-- Override with -DENABLE_EXAMPLES=ON/OFF
--
-- Configuring Utils support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling Utils support.
-- Override with -DENABLE_UTILS=ON/OFF
--
-- Configuring Tests support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling Tests support.
-- Override with -DENABLE_TESTS=ON/OFF
--
-- Configuring Python Module (Utils only) support...
-- Dependency HAVE_PYTHON_MODULE_NUMPY = TRUE
-- Dependency HAVE_PYTHON_MODULE_MAKO = TRUE
-- Dependency HAVE_PYTHON_MODULE_YAML = FALSE
-- Disabling Python Module (Utils only) support.
-- Override with -DENABLE_PYMOD_UTILS=ON/OFF
--
-- Configuring RFNoC/FPGA Development Files support...
-- Dependency ENABLE_LIBUHD = ON
-- Disabling RFNoC/FPGA Development Files support.
-- Override with -DENABLE_RFNOC_DEV=ON/OFF
--
-- Looking for libusb_handle_events_timeout_completed
-- Looking for libusb_handle_events_timeout_completed - found
-- Looking for libusb_error_name
-- Looking for libusb_error_name - found
-- Looking for libusb_strerror
-- Looking for libusb_strerror - found
-- Found LIBUSB: /nix/store/qargjld95w3ghrs6isc7j3fhfrw0a6pf-libusb-1.0.29/lib/libusb-1.0.dylib
-- Found PkgConfig: /nix/store/niz4jpjf9x38ja6i74mzx14vdnscf9va-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libdpdk>=18.11'
-- No package 'libdpdk' found
-- Could NOT find DPDK (missing: DPDK_INCLUDE_DIRS DPDK_CFLAGS DPDK_LDFLAGS DPDK_LIBRARIES)
--
-- Configuring USB support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency LIBUSB_FOUND = TRUE
-- Enabling USB support.
-- Override with -DENABLE_USB=ON/OFF
--
-- Configuring B100 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = ON
-- Enabling B100 support.
-- Override with -DENABLE_B100=ON/OFF
--
-- Configuring B200 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = ON
-- Enabling B200 support.
-- Override with -DENABLE_B200=ON/OFF
--
-- Configuring USRP1 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_USB = ON
-- Enabling USRP1 support.
-- Override with -DENABLE_USRP1=ON/OFF
--
-- Configuring USRP2 support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling USRP2 support.
-- Override with -DENABLE_USRP2=ON/OFF
--
-- Configuring X300 support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling X300 support.
-- Override with -DENABLE_X300=ON/OFF
--
-- Configuring MPMD support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling MPMD support.
-- Override with -DENABLE_MPMD=ON/OFF
--
-- Configuring SIM support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = TRUE
-- Dependency ENABLE_PYTHON_API = TRUE
-- Enabling SIM support.
-- Override with -DENABLE_SIM=ON/OFF
--
-- Configuring N300 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = TRUE
-- Enabling N300 support.
-- Override with -DENABLE_N300=ON/OFF
--
-- Configuring N320 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = TRUE
-- Enabling N320 support.
-- Override with -DENABLE_N320=ON/OFF
--
-- Configuring E320 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = TRUE
-- Enabling E320 support.
-- Override with -DENABLE_E320=ON/OFF
--
-- Configuring E300 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = TRUE
-- Enabling E300 support.
-- Override with -DENABLE_E300=ON/OFF
--
-- Configuring X400 support...
-- Dependency ENABLE_LIBUHD = ON
-- Dependency ENABLE_MPMD = TRUE
-- Enabling X400 support.
-- Override with -DENABLE_X400=ON/OFF
--
-- Configuring OctoClock support...
-- Dependency ENABLE_LIBUHD = ON
-- Enabling OctoClock support.
-- Override with -DENABLE_OCTOCLOCK=ON/OFF
--
-- Configuring DPDK support...
-- Dependency ENABLE_MPMD = TRUE
-- Dependency DPDK_FOUND = FALSE
-- Disabling DPDK support.
-- Override with -DENABLE_DPDK=ON/OFF
--
-- Looking for C++ include emmintrin.h
-- Looking for C++ include emmintrin.h - not found
--
-- Configuring priority scheduling...
-- Performing Test HAVE_PTHREAD_SETSCHEDPARAM
-- Performing Test HAVE_PTHREAD_SETSCHEDPARAM - Success
-- Performing Test HAVE_WIN_SETTHREADPRIORITY
-- Performing Test HAVE_WIN_SETTHREADPRIORITY - Failed
-- Priority scheduling supported through pthread_setschedparam.
-- Performing Test HAVE_PTHREAD_SETNAME
-- Performing Test HAVE_PTHREAD_SETNAME - Failed
-- Setting thread names is not supported.
-- Performing Test HAVE_PTHREAD_SETAFFINITY_NP
-- Performing Test HAVE_PTHREAD_SETAFFINITY_NP - Failed
-- Performing Test HAVE_WIN_SETTHREADAFFINITYMASK
-- Performing Test HAVE_WIN_SETTHREADAFFINITYMASK - Failed
-- Setting thread affinity is not supported.
--
-- Configuring module loading...
-- Performing Test HAVE_DLOPEN
-- Performing Test HAVE_DLOPEN - Success
-- Performing Test HAVE_LOAD_LIBRARY
-- Performing Test HAVE_LOAD_LIBRARY - Failed
-- Module loading supported through dlopen.
--
-- Configuring atomics support...
-- Atomics support is built-in, no linking required.
--
-- Processing NI-RIO FPGA LVBITX Bitstreams...
-- Using x300.lvbitx_base for codegen
-- Using x310.lvbitx_base for codegen
--
-- USB support enabled via libusb.
--
-- Configuring interface address discovery...
-- Performing Test HAVE_GETIFADDRS
-- Performing Test HAVE_GETIFADDRS - Success
-- Looking for C++ include winsock2.h
-- Looking for C++ include winsock2.h - not found
-- Interface address discovery supported through getifaddrs.
-- Looking for C++ include atlbase.h
-- Looking for C++ include atlbase.h - not found
--
-- Loading build info.
--
-- Adding B2XX device test target
-- Adding X3x0 device test target
-- Adding E3XX device test target
-- Adding N3XX device test target
-- Adding E32x device test target
-- Adding X410 device test target
-- Adding X440 device test target
--
-- Could NOT find Curses (missing: CURSES_LIBRARY)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
--
-- Configuring Manual support...
-- Dependency DOXYGEN_FOUND = NO
-- Disabling Manual support.
-- Override with -DENABLE_MANUAL=ON/OFF
--
-- Configuring API/Doxygen support...
-- Dependency DOXYGEN_FOUND = NO
-- Disabling API/Doxygen support.
-- Override with -DENABLE_DOXYGEN=ON/OFF
--
-- Found GZip: /nix/store/q2bc59fk48pjjpyl27pyxk7n7iqp23ry-gzip-1.14/bin/gzip
--
-- Compressed Man Pages enabled
-- Override with -DENABLE_MAN_PAGE_COMPRESSION=ON/OFF
--
-- Configuring Man Pages support...
-- Dependency NOT_WIN32 = TRUE
-- Dependency GZIP_FOUND = TRUE
-- Enabling Man Pages support.
-- Override with -DENABLE_MAN_PAGES=ON/OFF
-- Using in-tree Pybind11.
--
-- Python checking for gevent module
-- Python checking for gevent module - "import gevent" failed (is it installed?)
--
-- Python checking for mprpc module
-- Python checking for mprpc module - "import mprpc" failed (is it installed?)
--
-- Python checking for pyudev module
-- Python checking for pyudev module - "import pyudev" failed (is it installed?)
--
-- Python checking for pyroute2 module
-- Python checking for pyroute2 module - "import pyroute2" failed (is it installed?)
-- MPM unit test Python package prerequisites not met; skipping
--
--
-- Python checking for virtual environment
-- Python checking for virtual environment - "assert sys.prefix != sys.base_prefix" failed
-- Installing 'uhd' Python module to: /nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0/lib/python3.13/site-packages
--
-- ######################################################
-- # UHD enabled components
-- ######################################################
-- * LibUHD
-- * LibUHD - C API
-- * LibUHD - Python API
-- * Utils
-- * Tests
-- * USB
-- * B100
-- * B200
-- * USRP1
-- * USRP2
-- * X300
-- * MPMD
-- * SIM
-- * N300
-- * N320
-- * E320
-- * E300
-- * X400
-- * OctoClock
-- * Man Pages
--
-- ######################################################
-- # UHD disabled components
-- ######################################################
-- * Examples
-- * Python Module (Utils only)
-- * RFNoC/FPGA Development Files
-- * DPDK
-- * Manual
-- * API/Doxygen
--
-- ******************************************************
-- * You are building a development branch of UHD.
-- * These branches are designed to provide early access
-- * to UHD and USRP features, but should be considered
-- * unstable and/or experimental!
-- ******************************************************
-- Building version: 4.9.0.0-0-unknown
-- Using install prefix: /nix/store/n6b0lcb50a5jrv3jdbb5342svgndndj3-uhd-4.9.0.0
-- Configuring done (12.1s)
-- Generating done (1.2s)
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_POLICY_DEFAULT_CMP0025
-- Build files have been written to: /nix/var/nix/builds/nix-50132-1640262001/source/host/build
cmake: enabled parallel building
cmake: enabled parallel installing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: -j10 SHELL=/nix/store/k8a78r7j84kh8vagydpb8zwaqnjch8fd-bash-5.3p3/bin/bash
[ 0%] Generating intermediate file for /nix/var/nix/builds/nix-50132-1640262001/source/host/lib/rc/cal/x4xx_pwr_zbx_rx_1_rx1.cal
[ 1%] Generating intermediate file for /nix/var/nix/builds/nix-50132-1640262001/source/host/lib/rc/cal/x4xx_pwr_zbx_rx_1_tx+rx0.cal
[ 1%] Generating intermediate file for /nix/var/nix/builds/nix-50132-1640262001/source/host/lib/rc/cal/x4xx_pwr_zbx_rx_0_rx1.cal
[ 1%] Generating uhd-resources resource loader
[ 1%] Generating intermediate file for /nix/var/nix/builds/nix-50132-1640262001/source/host/lib/rc/cal/test.cal
[ 1%] Generating intermediate file for /nix/var/nix/builds/nix-50132-1640262001/source/host/lib/rc/cal/x4xx_pwr_zbx_rx_0_tx+rx0.cal
[ 1%] Generating uhd_adc_self_cal man page
[ 1%] Generating intermediate file for /nix/var/nix/builds/nix-50132-1640262001/source/host/lib/rc/cal/x4xx_pwr_zbx_tx_0_tx+rx0.cal
[ 1%] Generating build/timestamp
[ 1%] Generating intermediate file for /nix/var/nix/builds/nix-50132-1640262001/source/host/lib/rc/cal/zbx_dsa_rx.cal
[ 1%] Generating intermediate file for /nix/var/nix/builds/nix-50132-1640262001/source/host/lib/rc/cal/x4xx_pwr_zbx_tx_1_tx+rx0.cal
[ 1%] Generating uhd_cal_rx_iq_balance man page
[ 1%] Building CXX object lib/deps/rpclib/CMakeFiles/uhd_rpclib.dir/lib/rpc/dispatcher.cc.o
[ 1%] Building CXX object tests/common/CMakeFiles/uhd_test.dir/mock_zero_copy.cpp.o
[ 1%] Building CXX object lib/deps/rpclib/CMakeFiles/uhd_rpclib.dir/lib/rpc/server.cc.o
[ 1%] Generating intermediate file for /nix/var/nix/builds/nix-50132-1640262001/source/host/lib/rc/cal/zbx_dsa_tx.cal
[ 2%] Generating uhd_cal_tx_dc_offset man page
[ 2%] Generating uhd_cal_tx_iq_balance man page
[ 2%] Generating uhd_config_info man page
[ 2%] Generating uhd_find_devices man page
[ 2%] Building CXX object lib/deps/rpclib/CMakeFiles/uhd_rpclib.dir/lib/rpc/client.cc.o
[ 2%] Generating uhd_images_downloader man page
[ 2%] Generating uhd_usrp_probe man page
[ 2%] Generating uhd_image_loader man page
[ 3%] Generating usrp_n2xx_simple_net_burner man page
[ 3%] Generating usrp2_card_burner man page
[ 3%] Generating rfnoc_modtool man page
[ 3%] Generating rfnoc_image_builder man page
[ 3%] Building CXX object lib/rc/CMakeFiles/uhd-resources.dir/__cmrc_uhd-resources/lib.cpp.o
[ 3%] Generating usrpctl man page
[ 4%] Building CXX object lib/deps/rpclib/CMakeFiles/uhd_rpclib.dir/lib/rpc/this_handler.cc.o
[ 4%] Building CXX object lib/deps/rpclib/CMakeFiles/uhd_rpclib.dir/lib/rpc/this_session.cc.o
[ 4%] Building CXX object lib/deps/rpclib/CMakeFiles/uhd_rpclib.dir/lib/rpc/this_server.cc.o
[ 4%] Built target man_page_gzips
[ 4%] Building CXX object lib/deps/rpclib/CMakeFiles/uhd_rpclib.dir/lib/rpc/rpc_error.cc.o
/nix/store/mkhg8av1vhvlhqkbalmdwrqpckfzwb3k-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
/nix/store/mkhg8av1vhvlhqkbalmdwrqpckfzwb3k-python3.13-setuptools-80.9.0/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
[ 4%] Building CXX object lib/deps/rpclib/CMakeFiles/uhd_rpclib.dir/lib/rpc/detail/server_session.cc.o
[ 4%] Built target usrp_mpm
[ 4%] Building CXX object lib/deps/rpclib/CMakeFiles/uhd_rpclib.dir/lib/rpc/detail/response.cc.o
[ 4%] Built target copy_mpm_packages
[ 5%] Building CXX object lib/deps/rpclib/CMakeFiles/uhd_rpclib.dir/lib/rpc/detail/client_error.cc.o
[ 5%] Linking CXX static library libuhd_test.a
[ 5%] Built target uhd_test
[ 6%] Building CXX object lib/rc/CMakeFiles/uhd-resources.dir/__cmrc_uhd-resources/intermediate/cal/test.cal.cpp.o
[ 6%] Building CXX object lib/rc/CMakeFiles/uhd-resources.dir/__cmrc_uhd-resources/intermediate/cal/x4xx_pwr_zbx_tx_0_tx+rx0.cal.cpp.o
[ 6%] Building CXX object lib/rc/CMakeFiles/uhd-resources.dir/__cmrc_uhd-resources/intermediate/cal/x4xx_pwr_zbx_tx_1_tx+rx0.cal.cpp.o
[ 6%] Building CXX object lib/rc/CMakeFiles/uhd-resources.dir/__cmrc_uhd-resources/intermediate/cal/x4xx_pwr_zbx_rx_0_tx+rx0.cal.cpp.o
[ 6%] Building CXX object lib/rc/CMakeFiles/uhd-resources.dir/__cmrc_uhd-resources/intermediate/cal/x4xx_pwr_zbx_rx_1_tx+rx0.cal.cpp.o
[ 6%] Building CXX object lib/rc/CMakeFiles/uhd-resources.dir/__cmrc_uhd-resources/intermediate/cal/x4xx_pwr_zbx_rx_0_rx1.cal.cpp.o
[ 6%] Building CXX object lib/rc/CMakeFiles/uhd-resources.dir/__cmrc_uhd-resources/intermediate/cal/x4xx_pwr_zbx_rx_1_rx1.cal.cpp.o
[ 7%] Building CXX object lib/rc/CMakeFiles/uhd-resources.dir/__cmrc_uhd-resources/intermediate/cal/zbx_dsa_tx.cal.cpp.o
[ 7%] Building CXX object lib/rc/CMakeFiles/uhd-resources.dir/__cmrc_uhd-resources/intermediate/cal/zbx_dsa_rx.cal.cpp.o
[ 7%] Linking CXX static library libuhd-resources.a
[ 7%] Built target uhd-resources
[ 7%] Built target uhd_rpclib
[ 7%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/transport/vrt_if_packet.cpp
[ 8%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/ad5623_regs.hpp
[ 8%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/ad9510_regs.hpp
[ 9%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/adf4351_regs.hpp
[ 9%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/ad9862_regs.hpp
[ 9%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/adf4350_regs.hpp
[ 9%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/ad9522_regs.hpp
[ 9%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/ad9777_regs.hpp
[ 9%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/convert/convert_general.cpp
[ 9%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/ad7922_regs.hpp
[ 9%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/ads62p48_regs.hpp
[ 9%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/adf4360_regs.hpp
[ 10%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/adf5355_regs.hpp
[ 10%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/ads62p44_regs.hpp
[ 10%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/lmk04828_regs.hpp
[ 10%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/adf5356_regs.hpp
[ 10%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/lmk04816_regs.hpp
[ 11%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/fbx_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/lmx2572_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/lmx2592_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/magnesium_cpld_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/max2112_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/max2871_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/max2829_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/max2870_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/max2118_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/tda18272hnm_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/rhodium_cpld_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/zbx_cpld_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/ic_reg_maps/tuner_4937di5_regs.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/include/uhdlib/usrp/common/rpc.hpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/transport/nirio/lvbitx/x310_lvbitx.cpp
[ 12%] Generating /nix/var/nix/builds/nix-50132-1640262001/source/host/build/lib/transport/nirio/lvbitx/x300_lvbitx.cpp
[ 13%] Building CXX object lib/CMakeFiles/uhd.dir/cal/pwr_cal.cpp.o
[ 13%] Building CXX object lib/CMakeFiles/uhd.dir/cal/iq_cal.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/types/ranges.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/cal/database.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/types/device_addr.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/types/mac_addr.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/types/metadata.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/cal/dsa_cal.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/features/discoverable_feature_registry.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/types/sensors.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/types/serial.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/types/time_spec.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/types/tune.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/types/types.cpp.o
[ 14%] Building CXX object lib/CMakeFiles/uhd.dir/types/wb_iface.cpp.o
[ 15%] Building CXX object lib/CMakeFiles/uhd.dir/types/filters.cpp.o
[ 15%] Building CXX object lib/CMakeFiles/uhd.dir/types/byte_vector.cpp.o
[ 15%] Building CXX object lib/CMakeFiles/uhd.dir/types/metadata_c.cpp.o
[ 15%] Building CXX object lib/CMakeFiles/uhd.dir/types/ranges_c.cpp.o
[ 15%] Building CXX object lib/CMakeFiles/uhd.dir/types/sensors_c.cpp.o
[ 15%] Building CXX object lib/CMakeFiles/uhd.dir/types/string_vector_c.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/uhd.dir/types/tune_c.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/uhd.dir/types/usrp_info_c.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/uhd.dir/convert/convert_general.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/uhd.dir/convert/convert_with_tables.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/uhd.dir/convert/convert_impl.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/uhd.dir/convert/convert_item32.cpp.o
[ 16%] Building CXX object lib/CMakeFiles/uhd.dir/convert/convert_pack_sc12.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/uhd.dir/convert/convert_unpack_sc12.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/uhd.dir/convert/convert_fc32_item32.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/actions.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/block_container.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/block_id.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/chdr_types.cpp.o
[ 17%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/chdr_packet_writer.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/chdr_ctrl_xport.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/chdr_rx_data_xport.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/chdr_tx_data_xport.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/client_zero.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/device_id.cpp.o
[ 18%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/epid_allocator.cpp.o
[ 19%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/graph.cpp.o
[ 19%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/link_stream_manager.cpp.o
[ 19%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/graph_stream_manager.cpp.o
[ 19%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/mb_controller.cpp.o
[ 19%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/noc_block_base.cpp.o
[ 19%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/node.cpp.o
[ 19%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/register_iface_holder.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/ctrlport_endpoint.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/chdr_ctrl_endpoint.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/registry_factory.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/rfnoc_graph.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/mgmt_portal.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/rfnoc_rx_streamer.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/rfnoc_tx_streamer.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/rfnoc_tx_streamer_replay_buffered.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/tx_async_msg_queue.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/topo_graph.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/mock_block.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/addsub_block_control.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/block_control.cpp.o
[ 22%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/ddc_block_control.cpp.o
[ 22%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/duc_block_control.cpp.o
[ 22%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/dmafifo_block_control.cpp.o
[ 22%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/keep_one_in_n_block_control.cpp.o
[ 22%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/fft_block_control.cpp.o
[ 22%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/fir_filter_block_control.cpp.o
[ 22%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/fosphor_block_control.cpp.o
[ 23%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/lc_block_control.cpp.o
[ 23%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/logpwr_block_control.cpp.o
[ 23%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/moving_average_block_control.cpp.o
[ 23%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/null_block_control.cpp.o
[ 23%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/radio_control_impl.cpp.o
[ 23%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/replay_block_control.cpp.o
[ 24%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/siggen_block_control.cpp.o
[ 24%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/split_stream_block_control.cpp.o
[ 24%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/switchboard_block_control.cpp.o
[ 24%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/vector_iir_block_control.cpp.o
[ 24%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/window_block_control.cpp.o
[ 24%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/rf_control/antenna.cpp.o
[ 24%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/rf_control/gain_profile.cpp.o
[ 25%] Building CXX object lib/CMakeFiles/uhd.dir/rfnoc/rf_control/nameless_gain_mixin.cpp.o
[ 25%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/dboard_base.cpp.o
[ 25%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/dboard_eeprom.cpp.o
[ 25%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/dboard_id.cpp.o
[ 25%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/dboard_iface.cpp.o
[ 25%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/dboard_manager.cpp.o
[ 26%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/gps_ctrl.cpp.o
[ 26%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/multi_usrp.cpp.o
[ 26%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/multi_usrp_rfnoc.cpp.o
[ 26%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/subdev_spec.cpp.o
[ 26%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/fe_connection.cpp.o
[ 26%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/dboard_eeprom_c.cpp.o
[ 26%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/mboard_eeprom_c.cpp.o
[ 27%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/subdev_spec_c.cpp.o
[ 27%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/usrp_c.cpp.o
[ 27%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/cores/gpio_core_200.cpp.o
[ 27%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/cores/i2c_core_200.cpp.o
[ 27%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/cores/rx_dsp_core_200.cpp.o
[ 27%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/cores/time64_core_200.cpp.o
[ 27%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/cores/tx_dsp_core_200.cpp.o
[ 28%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/cores/user_settings_core_200.cpp.o
[ 28%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/cores/xport_adapter_ctrl.cpp.o
[ 28%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/cores/dma_fifo_core_3000.cpp.o
[ 28%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/cores/gpio_atr_3000.cpp.o
In file included from /nix/var/nix/builds/nix-50132-1640262001/source/host/lib/usrp/cores/rx_dsp_core_200.cpp:9:
In file included from /nix/var/nix/builds/nix-50132-1640262001/source/host/include/uhd/types/dict.hpp:156:
In file included from /nix/var/nix/builds/nix-50132-1640262001/source/host/include/uhd/types/dict.ipp:13:
In file included from /nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast.hpp:33:
In file included from /nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/try_lexical_convert.hpp:31:
In file included from /nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/detail/converter_numeric.hpp:31:
In file included from /nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/make_unsigned.hpp:14:
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/is_signed.hpp:37:25: error: in-class initializer for static data member is not a constant expression
37 | static const no_cv_t minus_one = (static_cast<no_cv_t>(-1));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/is_signed.hpp:45:60: note: in instantiation of template class 'boost::detail::is_signed_values<uhd::stream_cmd_t::stream_mode_t>' requested here
45 | BOOST_STATIC_CONSTANT(bool, value = (!(::boost::detail::is_signed_values<T>::minus_one > boost::detail::is_signed_values<T>::zero)));
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/config/detail/suffix.hpp:410:72: note: expanded from macro 'BOOST_STATIC_CONSTANT'
410 | # define BOOST_STATIC_CONSTANT(type, assignment) static const type assignment
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/is_signed.hpp:74:40: note: in instantiation of template class 'boost::detail::is_signed_helper<uhd::stream_cmd_t::stream_mode_t>' requested here
74 | BOOST_STATIC_CONSTANT(bool, value = type::value);
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/config/detail/suffix.hpp:410:72: note: expanded from macro 'BOOST_STATIC_CONSTANT'
410 | # define BOOST_STATIC_CONSTANT(type, assignment) static const type assignment
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/is_signed.hpp:79:85: note: in instantiation of template class 'boost::detail::is_signed_impl<uhd::stream_cmd_t::stream_mode_t>' requested here
79 | template <class T> struct is_signed : public integral_constant<bool, boost::detail::is_signed_impl<T>::value> {};
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:315:44: note: in instantiation of template class 'boost::is_signed<uhd::stream_cmd_t::stream_mode_t>' requested here
315 | typename boost::enable_if_c<boost::is_signed<Type>::value && !boost::is_enum<Type>::value, bool>::type
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/detail/converter_lexical.hpp:449:67: note: while substituting deduced template arguments into function template 'stream_in' [with Type = uhd::stream_cmd_t::stream_mode_t]
449 | -> decltype(std::declval<optimized_src_stream&>().stream_in(std::declval<lcast::exact<T>>()), optimized_src_stream{});
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/detail/converter_lexical.hpp:454:46: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
454 | using from_src_stream = decltype(detect_type<Source>(1));
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/try_lexical_convert.hpp:67:20: note: in instantiation of template class 'boost::detail::lexical_converter_impl<std::string, uhd::stream_cmd_t::stream_mode_t>' requested here
67 | return caster_type::try_convert(arg, result);
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast.hpp:42:41: note: in instantiation of function template specialization 'boost::conversion::detail::try_lexical_convert<std::string, uhd::stream_cmd_t::stream_mode_t>' requested here
42 | if (!boost::conversion::detail::try_lexical_convert(arg, result)) {
| ^
/nix/var/nix/builds/nix-50132-1640262001/source/host/include/uhd/types/dict.ipp:24:39: note: in instantiation of function template specialization 'boost::lexical_cast<std::string, uhd::stream_cmd_t::stream_mode_t>' requested here
24 | % boost::lexical_cast<std::string>(key) % typeid(Key).name()
| ^
/nix/var/nix/builds/nix-50132-1640262001/source/host/include/uhd/types/dict.ipp:114:11: note: in instantiation of member function 'uhd::(anonymous namespace)::key_not_found<uhd::stream_cmd_t::stream_mode_t, std::tuple<bool, bool, bool, bool>>::key_not_found' requested here
114 | throw key_not_found<Key, Val>(key);
| ^
/nix/var/nix/builds/nix-50132-1640262001/source/host/lib/usrp/cores/rx_dsp_core_200.cpp:130:25: note: in instantiation of member function 'uhd::dict<uhd::stream_cmd_t::stream_mode_t, std::tuple<bool, bool, bool, bool>>::operator[]' requested here
130 | mode_to_inst[stream_cmd.stream_mode];
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/is_signed.hpp:37:38: note: integer value -1 is outside the valid range of values [0, 127] for the enumeration type 'stream_mode_t'
37 | static const no_cv_t minus_one = (static_cast<no_cv_t>(-1));
| ^
In file included from /nix/var/nix/builds/nix-50132-1640262001/source/host/lib/usrp/cores/rx_dsp_core_200.cpp:9:
In file included from /nix/var/nix/builds/nix-50132-1640262001/source/host/include/uhd/types/dict.hpp:156:
In file included from /nix/var/nix/builds/nix-50132-1640262001/source/host/include/uhd/types/dict.ipp:13:
In file included from /nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast.hpp:33:
In file included from /nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/try_lexical_convert.hpp:31:
In file included from /nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/detail/converter_numeric.hpp:31:
In file included from /nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/make_unsigned.hpp:15:
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/is_unsigned.hpp:38:25: error: in-class initializer for static data member is not a constant expression
38 | static const no_cv_t minus_one = (static_cast<no_cv_t>(-1));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/is_unsigned.hpp:45:58: note: in instantiation of template class 'boost::detail::is_unsigned_values<uhd::stream_cmd_t::stream_mode_t>' requested here
45 | BOOST_STATIC_CONSTANT(bool, value = (::boost::detail::is_unsigned_values<T>::minus_one > ::boost::detail::is_unsigned_values<T>::zero));
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/config/detail/suffix.hpp:410:72: note: expanded from macro 'BOOST_STATIC_CONSTANT'
410 | # define BOOST_STATIC_CONSTANT(type, assignment) static const type assignment
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/is_unsigned.hpp:74:40: note: in instantiation of template class 'boost::detail::is_ununsigned_helper<uhd::stream_cmd_t::stream_mode_t>' requested here
74 | BOOST_STATIC_CONSTANT(bool, value = type::value);
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/config/detail/suffix.hpp:410:72: note: expanded from macro 'BOOST_STATIC_CONSTANT'
410 | # define BOOST_STATIC_CONSTANT(type, assignment) static const type assignment
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/is_unsigned.hpp:79:87: note: in instantiation of template class 'boost::detail::is_unsigned<uhd::stream_cmd_t::stream_mode_t>' requested here
79 | template <class T> struct is_unsigned : public integral_constant<bool, boost::detail::is_unsigned<T>::value> {};
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:319:44: note: in instantiation of template class 'boost::is_unsigned<uhd::stream_cmd_t::stream_mode_t>' requested here
319 | typename boost::enable_if_c<boost::is_unsigned<Type>::value && !boost::is_enum<Type>::value, bool>::type
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/detail/converter_lexical.hpp:449:67: note: while substituting deduced template arguments into function template 'stream_in' [with Type = uhd::stream_cmd_t::stream_mode_t]
449 | -> decltype(std::declval<optimized_src_stream&>().stream_in(std::declval<lcast::exact<T>>()), optimized_src_stream{});
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/detail/converter_lexical.hpp:454:46: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
454 | using from_src_stream = decltype(detect_type<Source>(1));
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast/try_lexical_convert.hpp:67:20: note: in instantiation of template class 'boost::detail::lexical_converter_impl<std::string, uhd::stream_cmd_t::stream_mode_t>' requested here
67 | return caster_type::try_convert(arg, result);
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/lexical_cast.hpp:42:41: note: in instantiation of function template specialization 'boost::conversion::detail::try_lexical_convert<std::string, uhd::stream_cmd_t::stream_mode_t>' requested here
42 | if (!boost::conversion::detail::try_lexical_convert(arg, result)) {
| ^
/nix/var/nix/builds/nix-50132-1640262001/source/host/include/uhd/types/dict.ipp:24:39: note: in instantiation of function template specialization 'boost::lexical_cast<std::string, uhd::stream_cmd_t::stream_mode_t>' requested here
24 | % boost::lexical_cast<std::string>(key) % typeid(Key).name()
| ^
/nix/var/nix/builds/nix-50132-1640262001/source/host/include/uhd/types/dict.ipp:114:11: note: in instantiation of member function 'uhd::(anonymous namespace)::key_not_found<uhd::stream_cmd_t::stream_mode_t, std::tuple<bool, bool, bool, bool>>::key_not_found' requested here
114 | throw key_not_found<Key, Val>(key);
| ^
/nix/var/nix/builds/nix-50132-1640262001/source/host/lib/usrp/cores/rx_dsp_core_200.cpp:130:25: note: in instantiation of member function 'uhd::dict<uhd::stream_cmd_t::stream_mode_t, std::tuple<bool, bool, bool, bool>>::operator[]' requested here
130 | mode_to_inst[stream_cmd.stream_mode];
| ^
/nix/store/hn2ph6rpxfqkc46xjvlvmiypmznn748f-boost-1.87.0-dev/include/boost/type_traits/is_unsigned.hpp:38:38: note: integer value -1 is outside the valid range of values [0, 127] for the enumeration type 'stream_mode_t'
38 | static const no_cv_t minus_one = (static_cast<no_cv_t>(-1));
| ^
2 errors generated.
make[2]: *** [lib/CMakeFiles/uhd.dir/build.make:1623: lib/CMakeFiles/uhd.dir/usrp/cores/rx_dsp_core_200.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:1380: lib/CMakeFiles/uhd.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
Issue Description
I noticed a build failure when building via nix package manager on macos aarch64. The actual cause of failure seems to be
error: in-class initializer for static data member is not a constant expressionSetup Details
uhd version: 4.9.0.0
OS version: Macos Tahoe 26.1
clang version: 21.1.2
Expected Behavior
Successful compilation
Actual Behaviour
Build fails with logs
Steps to reproduce the problem