Bug 2099182
Summary: | F37FailsToInstall: uhd | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | uhd | Assignee: | Jaroslav Škarvada <jskarvad> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | dan, jskarvad |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | uhd-4.2.0.0-3.fc37 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-06-21 14:01:18 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2098866 | ||
Bug Blocks: | 2016048, 2045102, 2045109, 2098711, 2098713, 2098714, 2098715, 2098716, 2098717, 2098718 |
Description
Miro Hrončok
2022-06-20 09:44:23 UTC
This bugzilla is likely a fallout from the Python 3.11 rebuild. If your package (or some of the dependencies it has) failed to rebuild during the Python 3.11 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide. We will slowly triage the bugzillas, but we'd appreciate your help. If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.11, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize. If this is not Python 3.11 related, please remove the PYTHON3.11 blocking tracker. Thank you and sorry for the inconvenience. Let me know if you need any help. Waiting for python-cheetah. May be a problem in pybind11: [ 59%] Building CXX object lib/CMakeFiles/uhd.dir/usrp/usrp2/usrp2_iface.cpp.o cd /builddir/build/BUILD/uhd-4.2.0.0/host/redhat-linux-build/lib && /usr/bin/g++ -DBOOST_ASIO_DISABLE_STD_EXPERIMENTAL_STRING_VIEW -DBOOST_ASIO_DISABLE_STD_STRING_VIEW -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_SERIALIZATION_DYN_LINK -DBOOST_SERIALIZATION_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DHAVE_CONFIG_H -DUHD_DLL_EXPORTS -DUHD_LOG_CONSOLE_COLOR -DUHD_LOG_CONSOLE_LEVEL=2 -DUHD_LOG_FILE_LEVEL=2 -DUHD_LOG_MIN_LEVEL=1 -I/builddir/build/BUILD/uhd-4.2.0.0/host/redhat-linux-build/include -I/builddir/build/BUILD/uhd-4.2.0.0/host/include -I/builddir/build/BUILD/uhd-4.2.0.0/host/lib/include -I/builddir/build/BUILD/uhd-4.2.0.0/host/redhat-linux-build/lib/include -I/builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/flatbuffers/include -I/builddir/build/BUILD/uhd-4.2.0.0/host/redhat-linux-build/lib/ic_reg_maps -I/builddir/build/BUILD/uhd-4.2.0.0/host/lib/convert -I/builddir/build/BUILD/uhd-4.2.0.0/host/redhat-linux-build/lib/convert -I/builddir/build/BUILD/uhd-4.2.0.0/host/lib/usrp -I/builddir/build/BUILD/uhd-4.2.0.0/host/lib/usrp/common/ad9361_driver -I/builddir/build/BUILD/uhd-4.2.0.0/host/lib/usrp/common -I/builddir/build/BUILD/uhd-4.2.0.0/host/redhat-linux-build/lib/transport/nirio/lvbitx -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/rpclib/include -I/usr/include/python3.11 -I/builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include -I/builddir/build/BUILD/uhd-4.2.0.0/host/redhat-linux-build/_cmrc/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fvisibility=hidden -fvisibility-inlines-hidden -DNDEBUG -fPIC -Wall -Wextra -Wsign-compare -std=gnu++14 -MD -MT lib/CMakeFiles/uhd.dir/usrp/usrp2/usrp2_iface.cpp.o -MF CMakeFiles/uhd.dir/usrp/usrp2/usrp2_iface.cpp.o.d -o CMakeFiles/uhd.dir/usrp/usrp2/usrp2_iface.cpp.o -c /builddir/build/BUILD/uhd-4.2.0.0/host/lib/usrp/usrp2/usrp2_iface.cpp In file included from /builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include/pybind11/attr.h:11, from /builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include/pybind11/pybind11.h:43, from /builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include/pybind11/embed.h:11, from /builddir/build/BUILD/uhd-4.2.0.0/host/lib/usrp/mpmd/sim_find.cpp:14: /builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include/pybind11/cast.h: In function 'std::string pybind11::detail::error_string()': /builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include/pybind11/cast.h:422:36: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'} 422 | " " + handle(frame->f_code->co_filename).cast<std::string>() + | ^~ In file included from /usr/include/python3.11/Python.h:42, from /builddir/build/BUILD/uhd-4.2.0.0/host/lib/usrp/mpmd/sim_find.cpp:13: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject' {aka 'struct _frame'} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include/pybind11/cast.h:422:75: error: expected primary-expression before '>' token 422 | " " + handle(frame->f_code->co_filename).cast<std::string>() + | ^ /builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include/pybind11/cast.h:422:77: error: expected primary-expression before ')' token 422 | " " + handle(frame->f_code->co_filename).cast<std::string>() + | ^ /builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include/pybind11/cast.h:424:29: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'} 424 | handle(frame->f_code->co_name).cast<std::string>() + "\n"; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject' {aka 'struct _frame'} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ /builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include/pybind11/cast.h:424:64: error: expected primary-expression before '>' token 424 | handle(frame->f_code->co_name).cast<std::string>() + "\n"; | ^ /builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include/pybind11/cast.h:424:66: error: expected primary-expression before ')' token 424 | handle(frame->f_code->co_name).cast<std::string>() + "\n"; | ^ /builddir/build/BUILD/uhd-4.2.0.0/host/lib/deps/pybind11/include/pybind11/cast.h:425:26: error: invalid use of incomplete type 'PyFrameObject' {aka 'struct _frame'} 425 | frame = frame->f_back; | ^~ /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject' {aka 'struct _frame'} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ Or maybe rather https://github.com/pybind/pybind11/pull/3694 -- will try that in Copr to see if it works and helps. Oh, we already fixed this in the past, but uhd bundles pybind11. Consider unbundling it. Trying with: BuildRequires: pybind11-devel ... -DPYBIND11_INCLUDE_DIR="%{_includedir}/pybind11/" Not sure how to delete the bundled copy because I cannot find it. uhd-4.2.0.0/host/lib/deps/pybind11 is populated during build somehow, but I don't where from :D FEDORA-2022-ae2dd4c83d has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ae2dd4c83d FEDORA-2022-ae2dd4c83d has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. |