-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switched to gnuradio-3.9 #112
Open
yarda
wants to merge
1
commit into
bistromath:master
Choose a base branch
from
yarda:gnuradio-3.9
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Jaroslav Škarvada <[email protected]>
I am getting the following error when trying to compile the gr3.9 branch:
|
Can you give the complete CMake output?
…On Thu, Feb 11, 2021 at 12:34 PM Jaroslav Škarvada ***@***.***> 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
<#112 (comment)>,
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):
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:
|
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 ***@***.***> 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
<#112 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADBTK5KSR7V7EB7BH733RDS6RCLJANCNFSM4XJVV6VA>
.
|
Thanks, it works now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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