gr-air-modes icon indicating copy to clipboard operation
gr-air-modes copied to clipboard

Switched to gnuradio-3.9

Open yarda opened this issue 3 years ago • 10 comments

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

yarda avatar Feb 08 '21 20:02 yarda

Thanks! I'll review, test, and integrate tonight and tomorrow.

On Mon, Feb 8, 2021 at 12:34 PM Jaroslav Škarvada [email protected] 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

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 .

bistromath avatar Feb 09 '21 20:02 bistromath

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 [email protected] wrote:

Thanks! I'll review, test, and integrate tonight and tomorrow.

On Mon, Feb 8, 2021 at 12:34 PM Jaroslav Škarvada < [email protected]> 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

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 .

bistromath avatar Feb 11 '21 04:02 bistromath

Sorry -- merged and updated work on branch "gr3.9"

On Wed, Feb 10, 2021 at 8:57 PM Nick Foster [email protected] 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 [email protected] wrote:

Thanks! I'll review, test, and integrate tonight and tomorrow.

On Mon, Feb 8, 2021 at 12:34 PM Jaroslav Škarvada < [email protected]> 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

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 .

bistromath avatar Feb 11 '21 04:02 bistromath

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.

yarda avatar Feb 11 '21 20:02 yarda

Can you give the complete CMake output?

On Thu, Feb 11, 2021 at 12:34 PM Jaroslav Škarvada [email protected] 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 .

bistromath avatar Feb 11 '21 20:02 bistromath

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.

yarda avatar Feb 11 '21 21:02 yarda

Sorry the above cmake log is wrong, will provide the right one.

yarda avatar Feb 11 '21 21:02 yarda

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)

yarda avatar Feb 11 '21 21:02 yarda

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 [email protected] 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 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)

— 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 .

bistromath avatar Feb 12 '21 00:02 bistromath

Thanks, it works now.

yarda avatar Feb 23 '21 19:02 yarda