Closed xiota closed 1 year ago
Any chances you try to build against the git wip 3.11 branch of GNU Radio? The maint-3.10 branch only works w/ the GNU Radio maint-3.10 branch. They might introduce breaking changes at any time in the dev branch of the next release, so it's not possible to guarantee that this is working with the dev branch.
This seems to be an issue with libfmt v10. You already have a work-around patch as part of your build:
https://gitlab.archlinux.org/archlinux/packaging/packages/gnuradio/-/blob/main/fmt-10.patch?ref_type=heads
Here, it seems to be similar. The enum Encoding
needs some info how it should be formatted. I don't know about libfmt, but there seem to be many similar problems, e.g.: https://github.com/facebook/watchman/pull/1141/files#diff-9fd987324c3b1586ccf74a3c66cacfc8764dd912a86ccf14c559558470a482dfR26-R29
I tried to adapt that for this module. Could you please give it a try?
what a pain :-) next try?
27c8fdf builds successfully. Thank you.
Attempting to build this on Arch Linux using aur/gr-ieee802-11-git results in a "static assertion failed" error. Uses the
maint-3.10
branch. The maintainer of the aur package was able to reproduce the error.Here is a build log.
``` -- The CXX compiler identification is GNU 13.2.1 -- The C compiler identification is GNU 13.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/sbin/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/sbin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Build type not specified: defaulting to release. -- Found PkgConfig: /usr/sbin/pkg-config (found version "1.8.1") -- Found Volk: Volk::volk -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Checking for module 'gmp' -- Found gmp, version 6.3.0 -- Found GMP: /usr/lib/libgmpxx.so -- Using GMP. -- Found MPLIB: /usr/lib/libgmpxx.so -- Found Boost: /usr/lib/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/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/cmake/gnuradio/GnuradioConfig.cmake:37 (include) CMakeLists.txt:78 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /usr/bin/python3 (found version "3.11.5") CMake Warning (dev) at /usr/lib/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/cmake/gnuradio/GnuradioConfig.cmake:37 (include) CMakeLists.txt:78 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonLibs: /usr/lib/libpython3.11.so (found suitable exact version "3.11.5") -- Found Git: /usr/sbin/git -- Extracting version information from git describe... fatal: No names found, cannot describe anything. -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Looking for xmmintrin.h -- Looking for xmmintrin.h - found -- Using install prefix: /usr -- Building for version: gabed50b / 1.1.0git -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- PYTHON and GRC components are enabled -- Python checking for pygccxml - not found CMake Warning (dev) at /usr/lib/cmake/pybind11/FindPythonLibsNew.cmake:98 (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/cmake/pybind11/pybind11Tools.cmake:50 (find_package) /usr/lib/cmake/pybind11/pybind11Common.cmake:188 (include) /usr/lib/cmake/pybind11/pybind11Config.cmake:250 (include) /usr/lib/cmake/gnuradio/GrPybind.cmake:3 (find_package) python/bindings/CMakeLists.txt:25 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /usr/bin/python3 -- Found PythonLibs: /usr/lib/libpython3.11.so -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Found pybind11: /usr/include (found version "2.11.1") -- Configuring done (1.2s) -- Generating done (0.0s) -- Build files have been written to: /home/main-builder/pkgwork/src/gr-ieee802-11/build [ 10%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/decode_mac.cc.o [ 10%] Built target pygen_apps_9a6dd283c3de653fbca500f9721f634f [ 10%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/constellations_impl.cc.o [ 10%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/equalizer/base.cc.o [ 10%] Copying ieee802_11 docstring templates as pybind headers ... [ 13%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/chunks_to_symbols_impl.cc.o [ 15%] Generating __init__.pyo, utils.pyo [ 18%] Generating __init__.pyc, utils.pyc [ 21%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/equalizer/comb.cc.o [ 23%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/equalizer/ls.cc.o [ 23%] Built target pygen_python_a2f0104fb2f5f708b8952034eeae1a23 [ 26%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/equalizer/lms.cc.o copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/sync_short_pydoc.h copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/sync_long_pydoc.h copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/signal_field_pydoc.h copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/parse_mac_pydoc.h copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/mapper_pydoc.h copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/mac_pydoc.h copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/frame_equalizer_pydoc.h copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/extract_csi_pydoc.h copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/ether_encap_pydoc.h copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/decode_mac_pydoc.h copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/constellations_pydoc.h copy docstrings to /home/main-builder/pkgwork/src/gr-ieee802-11/build/python/bindings/chunks_to_symbols_pydoc.h [ 26%] Built target ieee802_11_docstrings [ 28%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/equalizer/sta.cc.o [ 31%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/ether_encap_impl.cc.o [ 34%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/extract_csi_impl.cc.o [ 36%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/frame_equalizer_impl.cc.o [ 39%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/mac.cc.o [ 42%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/mapper.cc.o [ 44%] Building CXX object lib/CMakeFiles/gnuradio-ieee802_11.dir/parse_mac.cc.o In file included from /usr/include/spdlog/fmt/fmt.h:31, from /usr/include/spdlog/common.h:50, from /usr/include/gnuradio/logger.h:36, from /usr/include/gnuradio/custom_lock.h:15, from /usr/include/gnuradio/buffer.h:15, from /usr/include/gnuradio/buffer_double_mapped.h:15, from /usr/include/gnuradio/io_signature.h:23, from /usr/include/gnuradio/basic_block.h:15, from /usr/include/gnuradio/block.h:17, from /home/main-builder/pkgwork/src/gr-ieee802-11/lib/../include/ieee802_11/decode_mac.h:20, from /home/main-builder/pkgwork/src/gr-ieee802-11/lib/decode_mac.cc:17: /usr/include/fmt/core.h: In instantiation of ‘constexpr fmt::v10::detail::value