Package Details: gr-dab-git r199.6856a8b-1

Git Clone URL: https://aur.archlinux.org/gr-dab-git.git (read-only, click to copy)
Package Base: gr-dab-git
Description: GNU Radio DAB (digital audio broadcasting) module
Upstream URL: https://github.com/andrmuel/gr-dab
Licenses: GPL3
Conflicts: gr-dab
Provides: gr-dab
Submitter: Mikos
Maintainer: None
Last Packager: Mikos
Votes: 4
Popularity: 0.000000
First Submitted: 2015-12-03 16:08 (UTC)
Last Updated: 2015-12-03 16:08 (UTC)

Dependencies (7)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2021-09-30 16:52 (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:56 (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()...
-- 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
-- FAAD found
-- Found LOG4CPP: /usr/lib/liblog4cpp.so
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 (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-3.21/Modules/FindPkgConfig.cmake:70 (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-3.21/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/lib64/cmake/gnuradio/GnuradioConfig.cmake:14 (find_dependency)
  CMakeLists.txt:99 (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 '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  
-- User set python executable /usr/bin/python3
-- Found PythonInterp: /usr/bin/python2 (found version "2.7.18") 
-- Found PythonLibs: /usr/lib/libpython2.7.so (found suitable exact version "2.7.18") 
-- Checking for module 'sndfile'
--   Found sndfile, version 1.0.31
-- Found SNDFILE: /usr/lib/libsndfile.so  
-- Checking for module 'fftw3f >= 3.0'
--   Found fftw3f , version 3.3.10
-- Found FFTW3f: /lib/libfftw3f.so  
-- Found Git: /usr/bin/git  
-- Extracting version information from git describe...
-- Found Doxygen: /usr/bin/doxygen (found version "1.9.2") found components: doxygen dot 
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:139 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- 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:139 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found CPPUNIT: /usr/lib/libcppunit.so;dl  
-- Using install prefix: /usr
-- Building for version: 3.8.0. / 3.8.0
-- No C++ unit tests... skipping
-- Found SWIG: /usr/bin/swig (found version "4.0.2")  
-- Found PythonLibs: /usr/lib/libpython2.7.so (found version "2.7.18") 
-- Found PythonLibs: /usr/lib/libpython2.7.so  
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success
CMake Error at cmake/Modules/GrSwig.cmake:188 (GR_LIBTOOL):
  Unknown CMake command "GR_LIBTOOL".
Call Stack (most recent call first):
  swig/CMakeLists.txt:56 (GR_SWIG_INSTALL)


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

Thanks for maintaining!

cyberpunkrocker commented on 2021-06-17 20:07 (UTC)

Fixed and cleaned up, working PKGBUILD:

# Maintainer: Michal Krenek (Mikos) <m.krenek@gmail.com>
# Contributor: Jouni Rinne <l33tmmx swirlything gmail dot com>
pkgname=gr-dab-git
_pkgname=gr-dab
pkgver=r313.6ba3600
pkgrel=1
pkgdesc="GNU Radio DAB (digital audio broadcasting) module"
arch=('i686' 'x86_64')
url="https://github.com/andrmuel/gr-dab"
license=('GPL3')
depends=('gnuradio' 'boost' 'swig' 'cppunit' 'python')
makedepends=('git' 'cmake')
source=('git+https://github.com/andrmuel/gr-dab.git')
sha256sums=('SKIP')

pkgver() {
    cd $srcdir/${_pkgname}
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd $srcdir/${_pkgname}
    mkdir build
    cd build
    cmake ../ \
        -Wno-dev \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DENABLE_DOXYGEN=OFF
    make
}

package() {
    cd $srcdir/${_pkgname}/build
    make DESTDIR=${pkgdir} install
}