Open yarda opened 3 years ago
Thanks! I'll review, test, and integrate tonight and tomorrow.
On Mon, Feb 8, 2021 at 12:34 PM Jaroslav Škarvada notifications@github.com wrote:
This is untested and absolutely without any warranty. I have just followed https://wiki.gnuradio.org/index.php/GNU_Radio_3.9_OOT_Module_Porting_Guide It was successfully compiled on Fedora Rawhide.
Fixes #111 https://github.com/bistromath/gr-air-modes/issues/111
You can view, comment on, or merge this pull request online at:
https://github.com/bistromath/gr-air-modes/pull/112 Commit Summary
- Switched to gnuradio-3.9
File Changes
- M CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a (1)
- M include/gr_air_modes/preamble.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-65a7a4d6adbbe44b5c3c4cbe3ddc74a5ea53c27e0c74237f4bd812e9ef994f2d (2)
- M include/gr_air_modes/slicer.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-42b0f20fe5979f0d4a9542672da8ea71140de487603f74defb7a1d2bf8c88a44 (2)
- M python/CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-005a07ca82fb46b215f58a3a8f4d6d6cc6ca088ade44e8f15cc2e6a51d1da6f4 (2)
- A python/bindings/CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-164fe5231ac02dcfc1939481c365c0d4ecf74cd8d372796e857267cb8a65b4f7 (39)
- A python/bindings/README.md https://github.com/bistromath/gr-air-modes/pull/112/files#diff-a902d655425f1e076d49dbb80c2519edac934a9061881bc366b183a34141ef39 (0)
- A python/bindings/bind_oot_file.py https://github.com/bistromath/gr-air-modes/pull/112/files#diff-6e8ecf5f6a5cc6d69fd0d9901f7ffb104af9edaedaaf0887741d282c8acadbf7 (57)
- A python/bindings/docstrings/README.md https://github.com/bistromath/gr-air-modes/pull/112/files#diff-54c2aa036d35f257ac11d88928464af42d44fd693a59ede424bbdbfe9a5f450e (1)
- A python/bindings/docstrings/preamble_pydoc_template.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-4df110cb7743421ede1fb7ffa81d8bde40a9405ece0060762070785222ecbcd6 (27)
- A python/bindings/docstrings/slicer_pydoc_template.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-5b42f893ccc9301977d1811a255d9be8f41bf8e9501e6106cf42a78681b556c2 (27)
- A python/bindings/header_utils.py https://github.com/bistromath/gr-air-modes/pull/112/files#diff-ae33963494ad0ad891dc60b64521416170f999b90aca465e0f3cd04dd00757eb (78)
- A python/bindings/preamble_python.cc https://github.com/bistromath/gr-air-modes/pull/112/files#diff-99f1ff8515fb5cb8a2d208c2e168e07355504276a14673ab46a31bd3a31fc3ea (59)
- A python/bindings/python_bindings.cc https://github.com/bistromath/gr-air-modes/pull/112/files#diff-e66f9ef194366de785fc178b73882033cfdf384375b825e6fdb6d61438f0abe4 (57)
- A python/bindings/slicer_python.cc https://github.com/bistromath/gr-air-modes/pull/112/files#diff-dfaa0599726a06034ac05025f683bee9c8e84193b3d3cbbcc0e4e62a379b734e (59)
- D swig/CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-929a280d17b610f071ca3dae182f52f3ac0fb7db05402f77e7e927734bd5af4b (54)
- D swig/air_modes_swig.i https://github.com/bistromath/gr-air-modes/pull/112/files#diff-85d51aeeef7fdc9ec6ae4e996420c7abb92de6604cd888d744a5d146ba1e3257 (17)
Patch Links:
- https://github.com/bistromath/gr-air-modes/pull/112.patch
- https://github.com/bistromath/gr-air-modes/pull/112.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bistromath/gr-air-modes/pull/112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADBTKYOBROWFZAKAQ22IR3S6BDFHANCNFSM4XJVV6VA .
OK, that was a good start. I've got most of it done, I think. Still largely untested but I think it's getting there. Give it a shot, if you don't mind.
On Tue, Feb 9, 2021 at 12:39 PM Nick Foster bistromath@gmail.com wrote:
Thanks! I'll review, test, and integrate tonight and tomorrow.
On Mon, Feb 8, 2021 at 12:34 PM Jaroslav Škarvada < notifications@github.com> wrote:
This is untested and absolutely without any warranty. I have just followed https://wiki.gnuradio.org/index.php/GNU_Radio_3.9_OOT_Module_Porting_Guide It was successfully compiled on Fedora Rawhide.
Fixes #111 https://github.com/bistromath/gr-air-modes/issues/111
You can view, comment on, or merge this pull request online at:
https://github.com/bistromath/gr-air-modes/pull/112 Commit Summary
- Switched to gnuradio-3.9
File Changes
- M CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a (1)
- M include/gr_air_modes/preamble.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-65a7a4d6adbbe44b5c3c4cbe3ddc74a5ea53c27e0c74237f4bd812e9ef994f2d (2)
- M include/gr_air_modes/slicer.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-42b0f20fe5979f0d4a9542672da8ea71140de487603f74defb7a1d2bf8c88a44 (2)
- M python/CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-005a07ca82fb46b215f58a3a8f4d6d6cc6ca088ade44e8f15cc2e6a51d1da6f4 (2)
- A python/bindings/CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-164fe5231ac02dcfc1939481c365c0d4ecf74cd8d372796e857267cb8a65b4f7 (39)
- A python/bindings/README.md https://github.com/bistromath/gr-air-modes/pull/112/files#diff-a902d655425f1e076d49dbb80c2519edac934a9061881bc366b183a34141ef39 (0)
- A python/bindings/bind_oot_file.py https://github.com/bistromath/gr-air-modes/pull/112/files#diff-6e8ecf5f6a5cc6d69fd0d9901f7ffb104af9edaedaaf0887741d282c8acadbf7 (57)
- A python/bindings/docstrings/README.md https://github.com/bistromath/gr-air-modes/pull/112/files#diff-54c2aa036d35f257ac11d88928464af42d44fd693a59ede424bbdbfe9a5f450e (1)
- A python/bindings/docstrings/preamble_pydoc_template.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-4df110cb7743421ede1fb7ffa81d8bde40a9405ece0060762070785222ecbcd6 (27)
- A python/bindings/docstrings/slicer_pydoc_template.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-5b42f893ccc9301977d1811a255d9be8f41bf8e9501e6106cf42a78681b556c2 (27)
- A python/bindings/header_utils.py https://github.com/bistromath/gr-air-modes/pull/112/files#diff-ae33963494ad0ad891dc60b64521416170f999b90aca465e0f3cd04dd00757eb (78)
- A python/bindings/preamble_python.cc https://github.com/bistromath/gr-air-modes/pull/112/files#diff-99f1ff8515fb5cb8a2d208c2e168e07355504276a14673ab46a31bd3a31fc3ea (59)
- A python/bindings/python_bindings.cc https://github.com/bistromath/gr-air-modes/pull/112/files#diff-e66f9ef194366de785fc178b73882033cfdf384375b825e6fdb6d61438f0abe4 (57)
- A python/bindings/slicer_python.cc https://github.com/bistromath/gr-air-modes/pull/112/files#diff-dfaa0599726a06034ac05025f683bee9c8e84193b3d3cbbcc0e4e62a379b734e (59)
- D swig/CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-929a280d17b610f071ca3dae182f52f3ac0fb7db05402f77e7e927734bd5af4b (54)
- D swig/air_modes_swig.i https://github.com/bistromath/gr-air-modes/pull/112/files#diff-85d51aeeef7fdc9ec6ae4e996420c7abb92de6604cd888d744a5d146ba1e3257 (17)
Patch Links:
- https://github.com/bistromath/gr-air-modes/pull/112.patch
- https://github.com/bistromath/gr-air-modes/pull/112.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bistromath/gr-air-modes/pull/112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADBTKYOBROWFZAKAQ22IR3S6BDFHANCNFSM4XJVV6VA .
Sorry -- merged and updated work on branch "gr3.9"
On Wed, Feb 10, 2021 at 8:57 PM Nick Foster bistromath@gmail.com wrote:
OK, that was a good start. I've got most of it done, I think. Still largely untested but I think it's getting there. Give it a shot, if you don't mind.
On Tue, Feb 9, 2021 at 12:39 PM Nick Foster bistromath@gmail.com wrote:
Thanks! I'll review, test, and integrate tonight and tomorrow.
On Mon, Feb 8, 2021 at 12:34 PM Jaroslav Škarvada < notifications@github.com> wrote:
This is untested and absolutely without any warranty. I have just followed https://wiki.gnuradio.org/index.php/GNU_Radio_3.9_OOT_Module_Porting_Guide It was successfully compiled on Fedora Rawhide.
Fixes #111 https://github.com/bistromath/gr-air-modes/issues/111
You can view, comment on, or merge this pull request online at:
https://github.com/bistromath/gr-air-modes/pull/112 Commit Summary
- Switched to gnuradio-3.9
File Changes
- M CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a (1)
- M include/gr_air_modes/preamble.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-65a7a4d6adbbe44b5c3c4cbe3ddc74a5ea53c27e0c74237f4bd812e9ef994f2d (2)
- M include/gr_air_modes/slicer.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-42b0f20fe5979f0d4a9542672da8ea71140de487603f74defb7a1d2bf8c88a44 (2)
- M python/CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-005a07ca82fb46b215f58a3a8f4d6d6cc6ca088ade44e8f15cc2e6a51d1da6f4 (2)
- A python/bindings/CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-164fe5231ac02dcfc1939481c365c0d4ecf74cd8d372796e857267cb8a65b4f7 (39)
- A python/bindings/README.md https://github.com/bistromath/gr-air-modes/pull/112/files#diff-a902d655425f1e076d49dbb80c2519edac934a9061881bc366b183a34141ef39 (0)
- A python/bindings/bind_oot_file.py https://github.com/bistromath/gr-air-modes/pull/112/files#diff-6e8ecf5f6a5cc6d69fd0d9901f7ffb104af9edaedaaf0887741d282c8acadbf7 (57)
- A python/bindings/docstrings/README.md https://github.com/bistromath/gr-air-modes/pull/112/files#diff-54c2aa036d35f257ac11d88928464af42d44fd693a59ede424bbdbfe9a5f450e (1)
- A python/bindings/docstrings/preamble_pydoc_template.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-4df110cb7743421ede1fb7ffa81d8bde40a9405ece0060762070785222ecbcd6 (27)
- A python/bindings/docstrings/slicer_pydoc_template.h https://github.com/bistromath/gr-air-modes/pull/112/files#diff-5b42f893ccc9301977d1811a255d9be8f41bf8e9501e6106cf42a78681b556c2 (27)
- A python/bindings/header_utils.py https://github.com/bistromath/gr-air-modes/pull/112/files#diff-ae33963494ad0ad891dc60b64521416170f999b90aca465e0f3cd04dd00757eb (78)
- A python/bindings/preamble_python.cc https://github.com/bistromath/gr-air-modes/pull/112/files#diff-99f1ff8515fb5cb8a2d208c2e168e07355504276a14673ab46a31bd3a31fc3ea (59)
- A python/bindings/python_bindings.cc https://github.com/bistromath/gr-air-modes/pull/112/files#diff-e66f9ef194366de785fc178b73882033cfdf384375b825e6fdb6d61438f0abe4 (57)
- A python/bindings/slicer_python.cc https://github.com/bistromath/gr-air-modes/pull/112/files#diff-dfaa0599726a06034ac05025f683bee9c8e84193b3d3cbbcc0e4e62a379b734e (59)
- D swig/CMakeLists.txt https://github.com/bistromath/gr-air-modes/pull/112/files#diff-929a280d17b610f071ca3dae182f52f3ac0fb7db05402f77e7e927734bd5af4b (54)
- D swig/air_modes_swig.i https://github.com/bistromath/gr-air-modes/pull/112/files#diff-85d51aeeef7fdc9ec6ae4e996420c7abb92de6604cd888d744a5d146ba1e3257 (17)
Patch Links:
- https://github.com/bistromath/gr-air-modes/pull/112.patch
- https://github.com/bistromath/gr-air-modes/pull/112.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bistromath/gr-air-modes/pull/112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADBTKYOBROWFZAKAQ22IR3S6BDFHANCNFSM4XJVV6VA .
I am getting the following error when trying to compile the gr3.9 branch:
CMake Error at python/bindings/CMakeLists.txt:41 (install):
install TARGETS given target "air_modes_python" which does not exist.
Can you give the complete CMake output?
On Thu, Feb 11, 2021 at 12:34 PM Jaroslav Škarvada notifications@github.com wrote:
I am getting the following error when trying to compile the gr3.9 branch:
CMake Error at python/bindings/CMakeLists.txt:41 (install): install TARGETS given target "air_modes_python" which does not exist.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bistromath/gr-air-modes/pull/112#issuecomment-777771654, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADBTK2C7E3IGN6CXRNAXP3S6Q5O3ANCNFSM4XJVV6VA .
Complete build log (I am building master branch patched by diff made form the gr3.9 branch):
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1613001600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X7RPrl
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e
+ /usr/bin/gzip -dc /builddir/build/SOURCES/gr-air-modes-20200807git9e2515a5.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /builddir/build/SOURCES/gr-air-modes-0-gnuradio-3.9.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IqcuJK
+ umask 022
+ cd /builddir/build/BUILD
+ cd gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e
+ CFLAGS='-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'
+ export CFLAGS
+ CXXFLAGS='-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'
+ export CXXFLAGS
+ FFLAGS='-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 -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-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 -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ /usr/bin/cmake -S . -B x86_64-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DENABLE_DOXYGEN=on
-- The CXX compiler identification is GNU 11.0.0
-- The C compiler identification is GNU 11.0.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - 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/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Found PythonInterp: /usr/bin/python3.9 (found version "3.9.1")
-- Found PythonLibs: /usr/lib64/libpython3.9.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found pybind11: /usr/include (found version "2.6.2" )
-- Found LOG4CPP: /usr/lib64/liblog4cpp.so
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
The package name passed to `find_package_handle_standard_args` (PkgConfig)
does not match the name of the calling package (GMP). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:67 (find_package_handle_standard_args)
/usr/lib64/cmake/gnuradio/FindGMP.cmake:2 (include)
/usr/lib64/cmake/gnuradio/FindMPLIB.cmake:1 (find_package)
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/usr/lib64/cmake/gnuradio/GnuradioConfig.cmake:14 (find_dependency)
CMakeLists.txt:97 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3")
-- Checking for module 'gmp'
-- Found gmp, version 6.2.0
-- Found GMP: /usr/lib64/libgmpxx.so
-- Checking for module 'mpir >= 3.0'
-- Package 'mpir', required by 'virtual:world', not found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- Found MPLIB: /usr/lib64/libgmpxx.so
-- 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 Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.75.0") found components: date_time program_options filesystem system regex thread unit_test_framework chrono atomic
-- Found Volk: Volk::volk
-- User set python executable /usr/bin/python3
-- Found PythonInterp: /usr/bin/python3 (found version "3.9.1")
-- Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is exact version "3.9")
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- Using install prefix: /usr
-- Building for version: v1.0-compat-xxx-xunknown / 1.0.0git
-- Python checking for pygccxml - not found
CMake Error: File /builddir/build/BUILD/gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e/docs/doxygen/pydoc_macros.h does not exist.
CMake Error at /usr/lib64/cmake/gnuradio/GrPybind.cmake:241 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
python/bindings/CMakeLists.txt:36 (GR_PYBIND_MAKE_OOT)
CMake Warning at res/CMakeLists.txt:28 (find_package):
By not providing "FindPyQt4.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "PyQt4", but
CMake did not find one.
Could not find a package configuration file provided by "PyQt4" with any of
the following names:
PyQt4Config.cmake
pyqt4-config.cmake
Add the installation prefix of "PyQt4" to CMAKE_PREFIX_PATH or set
"PyQt4_DIR" to a directory containing one of the above files. If "PyQt4"
provides a separate development package or SDK, be sure it has been
installed.
-- PyQt4 not found, not installing GUI application
-- Configuring incomplete, errors occurred!
See also "/builddir/build/BUILD/gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e/x86_64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log".
See also "/builddir/build/BUILD/gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e/x86_64-redhat-linux-gnu/CMakeFiles/CMakeError.log".
error: Bad exit status from /var/tmp/rpm-tmp.IqcuJK (%build)
Bad exit status from /var/tmp/rpm-tmp.IqcuJK (%build)
It seems Fedora python3-PyQt4-devel package doesn't have the cmake files. I will investigate this later.
Sorry the above cmake log is wrong, will provide the right one.
Build log:
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1612915200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LVDb8u
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e
+ /usr/bin/gzip -dc /builddir/build/SOURCES/gr-air-modes-20200807git9e2515a5.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /builddir/build/SOURCES/gr-air-modes-0-gnuradio-3.9.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QqV0GQ
+ umask 022
+ cd /builddir/build/BUILD
+ cd gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e
+ CFLAGS='-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'
+ export CFLAGS
+ CXXFLAGS='-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'
+ export CXXFLAGS
+ FFLAGS='-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 -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-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 -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ /usr/bin/cmake -S . -B x86_64-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DENABLE_DOXYGEN=on
-- The CXX compiler identification is GNU 11.0.0
-- The C compiler identification is GNU 11.0.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - 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/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Found PythonInterp: /usr/bin/python3.9 (found version "3.9.1")
-- Found PythonLibs: /usr/lib64/libpython3.9.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found pybind11: /usr/include (found version "2.6.2" )
-- Found LOG4CPP: /usr/lib64/liblog4cpp.so
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
The package name passed to `find_package_handle_standard_args` (PkgConfig)
does not match the name of the calling package (GMP). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:67 (find_package_handle_standard_args)
/usr/lib64/cmake/gnuradio/FindGMP.cmake:2 (include)
/usr/lib64/cmake/gnuradio/FindMPLIB.cmake:1 (find_package)
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/usr/lib64/cmake/gnuradio/GnuradioConfig.cmake:14 (find_dependency)
CMakeLists.txt:97 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3")
-- Checking for module 'gmp'
-- Found gmp, version 6.2.0
-- Found GMP: /usr/lib64/libgmpxx.so
-- Checking for module 'mpir >= 3.0'
-- Package 'mpir', required by 'virtual:world', not found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- Found MPLIB: /usr/lib64/libgmpxx.so
-- 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 Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.75.0") found components: date_time program_options filesystem system regex thread unit_test_framework chrono atomic
-- Found Volk: Volk::volk
-- User set python executable /usr/bin/python3
-- Found PythonInterp: /usr/bin/python3 (found version "3.9.1")
-- Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is exact version "3.9")
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- Using install prefix: /usr
-- Building for version: v1.0-compat-xxx-xunknown / 1.0.0git
-- Python checking for pygccxml - not found
CMake Error: File /builddir/build/BUILD/gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e/docs/doxygen/pydoc_macros.h does not exist.
CMake Error at /usr/lib64/cmake/gnuradio/GrPybind.cmake:241 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
python/bindings/CMakeLists.txt:36 (GR_PYBIND_MAKE_OOT)
CMake Error at python/bindings/CMakeLists.txt:41 (install):
install TARGETS given target "air_modes_python" which does not exist.
CMake Warning at res/CMakeLists.txt:28 (find_package):
By not providing "FindPyQt4.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "PyQt4", but
CMake did not find one.
Could not find a package configuration file provided by "PyQt4" with any of
the following names:
PyQt4Config.cmake
pyqt4-config.cmake
Add the installation prefix of "PyQt4" to CMAKE_PREFIX_PATH or set
"PyQt4_DIR" to a directory containing one of the above files. If "PyQt4"
provides a separate development package or SDK, be sure it has been
installed.
-- PyQt4 not found, not installing GUI application
-- Configuring incomplete, errors occurred!
See also "/builddir/build/BUILD/gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e/x86_64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log".
See also "/builddir/build/BUILD/gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e/x86_64-redhat-linux-gnu/CMakeFiles/CMakeError.log".
error: Bad exit status from /var/tmp/rpm-tmp.QqV0GQ (%build)
Bad exit status from /var/tmp/rpm-tmp.QqV0GQ (%build)
OK, I think this is actually because the PyBind macros seem to assume Doxygen is present. I just pushed an update, please see if this fixes it.
On Thu, Feb 11, 2021 at 1:16 PM Jaroslav Škarvada notifications@github.com wrote:
Build log:
Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1612915200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LVDb8u
- umask 022
- cd /builddir/build/BUILD
- cd /builddir/build/BUILD
- rm -rf gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e
- /usr/bin/gzip -dc /builddir/build/SOURCES/gr-air-modes-20200807git9e2515a5.tar.gz
- /usr/bin/tar -xof -
- STATUS=0
- '[' 0 -ne 0 ']'
- cd gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e
- /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
- /usr/bin/cat /builddir/build/SOURCES/gr-air-modes-0-gnuradio-3.9.patch
- /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
- RPM_EC=0 ++ jobs -p
- exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QqV0GQ
- umask 022
- cd /builddir/build/BUILD
- cd gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e
- CFLAGS='-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'
- export CFLAGS
- CXXFLAGS='-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'
- export CXXFLAGS
- FFLAGS='-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 -I/usr/lib64/gfortran/modules'
- export FFLAGS
- FCFLAGS='-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 -I/usr/lib64/gfortran/modules'
- export FCFLAGS
- LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '
- export LDFLAGS
- LT_SYS_LIBRARY_PATH=/usr/lib64:
- export LT_SYS_LIBRARY_PATH
- CC=gcc
- export CC
- CXX=g++
- export CXX
- /usr/bin/cmake -S . -B x86_64-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DENABLE_DOXYGEN=on -- The CXX compiler identification is GNU 11.0.0 -- The C compiler identification is GNU 11.0.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - 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/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Build type not specified: defaulting to release. -- Found PythonInterp: /usr/bin/python3.9 (found version "3.9.1") -- Found PythonLibs: /usr/lib64/libpython3.9.so -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Found pybind11: /usr/include (found version "2.6.2" ) -- Found LOG4CPP: /usr/lib64/liblog4cpp.so CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:426 (message): The package name passed to
find_package_handle_standard_args
(PkgConfig) does not match the name of the calling package (GMP). This can lead to problems in calling code that expectsfind_package
result variables (e.g.,_FOUND
) to follow a certain pattern. Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:67 (find_package_handle_standard_args) /usr/lib64/cmake/gnuradio/FindGMP.cmake:2 (include) /usr/lib64/cmake/gnuradio/FindMPLIB.cmake:1 (find_package) /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/lib64/cmake/gnuradio/GnuradioConfig.cmake:14 (find_dependency) CMakeLists.txt:97 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3")-- Checking for module 'gmp' -- Found gmp, version 6.2.0 -- Found GMP: /usr/lib64/libgmpxx.so -- Checking for module 'mpir >= 3.0' -- Package 'mpir', required by 'virtual:world', not found -- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR) -- Found MPLIB: /usr/lib64/libgmpxx.so -- 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 Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.75.0") found components: date_time program_options filesystem system regex thread unit_test_framework chrono atomic -- Found Volk: Volk::volk -- User set python executable /usr/bin/python3 -- Found PythonInterp: /usr/bin/python3 (found version "3.9.1") -- Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is exact version "3.9") -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Using install prefix: /usr -- Building for version: v1.0-compat-xxx-xunknown / 1.0.0git -- Python checking for pygccxml - not found CMake Error: File /builddir/build/BUILD/gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e/docs/doxygen/pydoc_macros.h does not exist. CMake Error at /usr/lib64/cmake/gnuradio/GrPybind.cmake:241 (configure_file): configure_file Problem configuring file Call Stack (most recent call first): python/bindings/CMakeLists.txt:36 (GR_PYBIND_MAKE_OOT)
CMake Error at python/bindings/CMakeLists.txt:41 (install): install TARGETS given target "air_modes_python" which does not exist.
CMake Warning at res/CMakeLists.txt:28 (find_package): By not providing "FindPyQt4.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "PyQt4", but CMake did not find one.
Could not find a package configuration file provided by "PyQt4" with any of the following names:
PyQt4Config.cmake pyqt4-config.cmake
Add the installation prefix of "PyQt4" to CMAKE_PREFIX_PATH or set "PyQt4_DIR" to a directory containing one of the above files. If "PyQt4" provides a separate development package or SDK, be sure it has been installed.
-- PyQt4 not found, not installing GUI application -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e/x86_64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/gr-air-modes-9e2515a56609658f168f0c833a14ca4d2332713e/x86_64-redhat-linux-gnu/CMakeFiles/CMakeError.log". error: Bad exit status from /var/tmp/rpm-tmp.QqV0GQ (%build) Bad exit status from /var/tmp/rpm-tmp.QqV0GQ (%build)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bistromath/gr-air-modes/pull/112#issuecomment-777796680, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADBTK5KSR7V7EB7BH733RDS6RCLJANCNFSM4XJVV6VA .
Thanks, it works now.
This is untested and absolutely without any warranty. I have just followed https://wiki.gnuradio.org/index.php/GNU_Radio_3.9_OOT_Module_Porting_Guide It was successfully compiled on Fedora Rawhide.
Fixes #111