Package Details: gr-op25-git 2051a96-1

Git Clone URL: https://aur.archlinux.org/gr-op25-git.git (read-only, click to copy)
Package Base: gr-op25-git
Description: Software-defined analyzer for APCO P25 signals
Upstream URL: http://op25.osmocom.org/trac/wiki/
Licenses: GPL
Provides: gr-gsm
Submitter: yuvadm
Maintainer: None
Last Packager: yuvadm
Votes: 1
Popularity: 0.000000
First Submitted: 2015-04-13 23:10 (UTC)
Last Updated: 2015-06-30 12:50 (UTC)

Latest Comments

dreieck commented on 2021-09-30 15:40 (UTC)

Fails to build for me with

CMake Error at op25/gr-op25/CMakeLists.txt:99 (message):
  GnuRadio Runtime required to compile op25

Installed is the currently latest gnuradio from the community repository, version 3.9.2.0-3.

Full build() output:

==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The CXX compiler identification is GNU 11.1.0
-- The C compiler identification is GNU 11.1.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/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/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at op25/gr-op25/CMakeLists.txt:24 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found Boost: /usr/lib64/cmake/Boost-1.76.0/BoostConfig.cmake (found suitable version "1.76.0", minimum required is "1.35") found components: filesystem system 
CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (CppUnit).  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-3.21/Modules/FindPkgConfig.cmake:70 (find_package_handle_standard_args)
  cmake/Modules/FindCppUnit.cmake:12 (INCLUDE)
  op25/gr-op25/CMakeLists.txt:86 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") 
-- Checking for module 'cppunit'
--   Found cppunit, version 1.15.1
CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (CPPUNIT)
  does not match the name of the calling package (CppUnit).  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):
  cmake/Modules/FindCppUnit.cmake:35 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  op25/gr-op25/CMakeLists.txt:86 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found CPPUNIT: /usr/lib/libcppunit.so;dl  
-- Found LOG4CPP: /usr/lib/liblog4cpp.so
-- Checking for module 'gmp'
--   Found gmp, version 6.2.1
-- Found GMP: /usr/lib/libgmpxx.so  
-- Using GMP.
-- Found MPLIB: /usr/lib/libgmpxx.so  
-- Found Boost: /usr/lib64/cmake/Boost-1.76.0/BoostConfig.cmake (found suitable version "1.76.0", minimum required is "1.76.0") found components: date_time program_options filesystem system regex thread unit_test_framework 
-- Found Volk: Volk::volk  
CMake Warning (dev) at /usr/lib64/cmake/gnuradio/GnuradioConfig.cmake:36 (if):
  if given arguments:

    "ON"

  An argument named "ON" appears in a conditional statement.  Policy CMP0012
  is not set: if() recognizes numbers and boolean constants.  Run "cmake
  --help-policy CMP0012" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
Call Stack (most recent call first):
  op25/gr-op25/CMakeLists.txt:96 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in /usr/lib64/cmake/gnuradio/GnuradioConfig.cmake:
  Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
  and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The included script

    /usr/lib64/cmake/gnuradio/GnuradioConfig.cmake

  affects policy settings.  CMake is implying the NO_POLICY_SCOPE option for
  compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
  op25/gr-op25/CMakeLists.txt:96 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at op25/gr-op25/CMakeLists.txt:99 (message):
  GnuRadio Runtime required to compile op25


-- Configuring incomplete, errors occurred!
See also "/[...]/gr-op25-git/src/op25/build/CMakeFiles/CMakeOutput.log".
See also "/[...]/gr-op25-git/src/op25/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...

Thanks for maintaining!

dreieck commented on 2021-09-30 15:39 (UTC)

  • Please, add 'gnuradio' or 'GNU Radio' to the package description, to make this package easier to find.
  • Please add provides=("${pkgname%-git}") and conflicts=("${pkgname%-git}").
  • If applicable, add conflicts=('gr-gsm').
  • $pkgver is not monotoneously increading, but this is required. It currently uses git commit has, which is erratic with respect to version number ordering.

Please, use a strictly monotonic increasing versioning scheme.

Best, try to figure out if there is some official upstream version. Then use it as the first part of the version number.

Then, or if the former is not available only, use e.g. git commit count, optionally for information's sake latest commit date and latest git commit hash.

And don't forget to increment $epoch if you change the versioning scheme.

Thanks for maintaining!

Thanks for maintaining!

deviousway commented on 2020-06-29 16:59 (UTC) (edited on 2020-06-29 18:49 (UTC) by deviousway)

as gnuradio 3.8|python3 standart in Archlinux need to aplly patch

cat gr3.8.patch | patch -p1

masterplayer31 commented on 2020-04-25 16:16 (UTC)

Will not build again:

CMake Error at op25/gr-op25/CMakeLists.txt:99 (message): GnuRadio Runtime required to compile op25

-- Configuring incomplete, errors occurred! See also "/var/tmp/pamac-build-bobby/gr-op25-git/src/op25/build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/pamac-build-bobby/gr-op25-git/src/op25/build/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in build(). Aborting...

dlaw commented on 2019-10-27 18:05 (UTC)

I was not able to reproduce the build failure reported by masterplayer31.

The build failure reported by rmm is still present, and the provided solution works. Build succeeds after that.

dlaw commented on 2019-10-27 17:48 (UTC)

Missing build dependency "cppunit"

-- Checking for module 'cppunit'
--   Package 'cppunit', required by 'virtual:world', not found
-- Could NOT find CPPUNIT (missing: CPPUNIT_INCLUDE_DIRS) 
CMake Error at op25/gr-op25/CMakeLists.txt:105 (message):
  CppUnit required to compile op25


-- Configuring incomplete, errors occurred!

masterplayer31 commented on 2019-09-17 19:43 (UTC)

Will not build!

[ 30%] Building CXX object op25/gr-op25/lib/CMakeFiles/gnuradio-op25.dir/pickle.cc.o [ 31%] Linking CXX shared library libgnuradio-op25.so [ 31%] Built target gnuradio-op25 make: *** [Makefile:130: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

rmm commented on 2018-08-27 04:55 (UTC) (edited on 2018-08-27 04:59 (UTC) by rmm)

Stepping through the PKGBUILD steps manually, most of it works fine. However it looks like the project used to be built with an older compiler that was less strict about C++ narrowing conversions.

Changing the make command to the following worked for me.

make -j3 CXX_FLAGS="-Wno-narrowing -fPIC"

This will tell the compiler to ignore the narrowing warning, and the package should build successfully.

The problematic line of code in the project is in p25_frame_assembler.cc (line 42), but changing the make command is much easier than changing this line and dealing with the ripple effect through the rest of the code.

Dark-Sky commented on 2017-02-18 16:27 (UTC)

gcc 6 and up compilers has a problem compiling. But that is not the only issue I found out after getting everything compiled. The depends gnuradio and gnuradio-osmosdr are now compiled with gtk3 and the op25 author as I have been told on their forumm has custom built widgets coded for gtk2 and he has no intrest at this time upgrading his code as he is running ubuntu 14.2 LTS. What I finally did was to install a minimum linux mint 17.3 on my hard drive with op25 completely working and then run it under arch-chroot / xhost using a script: #!/bin/bash sudo mount /dev/sdb6 /mnt/chroot xhost + sudo arch-chroot /mnt/chroot Once in chroot run another script to start op25: #!/bin/bash cd /root/src/op25/op25/gr-op25_repeater/apps ./scope.py --args rtl=0 -N LNA:46 -S 2048000 -f 856.1875e6 -o 15.0e3 -v 0 -V -q -2 -T trunk.tsv I know this is crude but I got tired of messing with this.

drws commented on 2017-01-24 23:16 (UTC)

During build I get: gr-op25_repeater/lib/imbe_vocoder/pitch_est.cc:60:1: error: narrowing conversion of ‘32970’ from ‘int’ to ‘Word16 {aka short int}’ inside { } [-Wnarrowing]