Package Details: gr-cc1111-git 1:r10.20141005.e6b5eb0-1

Git Clone URL: https://aur.archlinux.org/gr-cc1111-git.git (read-only, click to copy)
Package Base: gr-cc1111-git
Description: CC1111 packet encoder/decoder for GNU Radio
Upstream URL: https://github.com/funoverip/gr-cc1111
Keywords: CC1111 GNURadio SDR
Licenses: GPL3
Conflicts: gr-cc1111
Provides: gr-cc1111
Submitter: cyrozap
Maintainer: cyrozap
Last Packager: dreieck
Votes: 0
Popularity: 0.000000
First Submitted: 2015-10-16 00:19 (UTC)
Last Updated: 2021-10-20 13:09 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2021-10-20 13:10 (UTC) (edited on 2021-10-20 13:13 (UTC) by dreieck)

So far, I have no fixed PKGBUILD issues, but the code itself does not build with up to date gnuradio. Seems to be abandoned since 2014.

At least I have submitted a short upstream issue for that: → Here.

cyrozap commented on 2021-10-02 03:38 (UTC)

@dreieck, I'm very sorry for the lack of updates with this package--the sources it builds from don't seem to have been updated since 2014, and I haven't even used this package since probably 2016, so I haven't really been paying attention to it. At this point, you're probably more familiar with this package's issues than I am, so I've added you as a co-maintainer in case you'd like to fix them directly.

dreieck commented on 2021-09-30 16:23 (UTC)

Fails to build for me with

CMake Error at cmake/Modules/GrSwig.cmake:188 (GR_LIBTOOL):
  Unknown CMake command "GR_LIBTOOL".
Call Stack (most recent call first):
  swig/CMakeLists.txt:47 (GR_SWIG_INSTALL)

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

I suspect that you need to update the source to a gnuradio 3.9-branch.

Full build() output:

==> Starting build()...
CMake Deprecation Warning at 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.


-- 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
-- Build type not specified: defaulting to release.
-- 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)
  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)
  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):
  CMakeLists.txt:93 (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):
  CMakeLists.txt:93 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found SWIG: /usr/bin/swig (found version "4.0.2")  
-- Found PythonLibs: /usr/lib/libpython2.7.so (found suitable version "2.7.18", minimum required is "2") 
-- User set python executable /usr/bin/python2
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.18") 
-- Found PythonLibs: /usr/lib/libpython2.7.so (found suitable exact version "2.7.18") 
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.2") found components: doxygen dot 
-- Found PythonLibs: /usr/lib/libpython2.7.so (found suitable version "2.7.18", minimum required is "2") 
CMake Deprecation Warning at /usr/share/cmake-3.21/Modules/UseSWIG.cmake:724 (message):
  SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
  cmake/Modules/GrSwig.cmake:158 (SWIG_ADD_MODULE)
  swig/CMakeLists.txt:42 (GR_SWIG_MAKE)


CMake Warning (dev) at /usr/share/cmake-3.21/Modules/UseSWIG.cmake:765 (message):
  Policy CMP0078 is not set: UseSWIG generates standard target names.  Run
  "cmake --help-policy CMP0078" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

Call Stack (most recent call first):
  /usr/share/cmake-3.21/Modules/UseSWIG.cmake:725 (swig_add_library)
  cmake/Modules/GrSwig.cmake:158 (SWIG_ADD_MODULE)
  swig/CMakeLists.txt:42 (GR_SWIG_MAKE)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake-3.21/Modules/UseSWIG.cmake:607 (message):
  Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module
  flag.  Run "cmake --help-policy CMP0086" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  /usr/share/cmake-3.21/Modules/UseSWIG.cmake:877 (SWIG_ADD_SOURCE_TO_MODULE)
  /usr/share/cmake-3.21/Modules/UseSWIG.cmake:725 (swig_add_library)
  cmake/Modules/GrSwig.cmake:158 (SWIG_ADD_MODULE)
  swig/CMakeLists.txt:42 (GR_SWIG_MAKE)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at cmake/Modules/GrSwig.cmake:188 (GR_LIBTOOL):
  Unknown CMake command "GR_LIBTOOL".
Call Stack (most recent call first):
  swig/CMakeLists.txt:47 (GR_SWIG_INSTALL)


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

Thanks for maintaining!

dreieck commented on 2021-09-30 14:35 (UTC)

This package uses the latest checkout from a git repository.

According to the packaging guidelines, $pkgname should end with -git in that case.

Please rename your package accordingly (i.e. submit a new one and then submit a merge request on this one), and include appropriate provides and conflicts entries.

Thanks for maintaining!

dreieck commented on 2021-09-30 14:32 (UTC)

Please add provides=("${pkgname%-git}") and conflicts=("${pkgname%-git}").

Thanks for maintaining!

dreieck commented on 2021-09-30 14:31 (UTC)

$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!