Package Details: openr2-git r281.a0bf085-1

Git Clone URL: https://aur.archlinux.org/openr2-git.git (read-only, click to copy)
Package Base: openr2-git
Description: Library that implements the MFC/R2 and DTMF/R2 signalling over E1 lines
Upstream URL: http://www.libopenr2.org/
Licenses: GPL, LGPL
Conflicts: openr2
Provides: openr2
Submitter: twa022
Maintainer: dreieck
Last Packager: dreieck
Votes: 0
Popularity: 0.000000
First Submitted: 2017-09-04 15:46 (UTC)
Last Updated: 2024-10-19 23:00 (UTC)

Dependencies (3)

Required by (4)

Sources (2)

Latest Comments

dreieck commented on 2024-10-19 23:00 (UTC)

Build fixed.

alerque commented on 2024-04-01 09:44 (UTC)

I don't have any relevant hardware any more, disowning.

MarsSeed commented on 2024-03-30 13:58 (UTC)

Upstream unmaintained since 2015. Build is broken (clean chroot, default settings):

==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 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 C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- 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
-- 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
-- CMAKE_SIZEOF_VOID_P: 8 MY_LIB_PATH: lib
CMake Warning (dev) at src/CMakeLists.txt:56:
  Syntax Warning in cmake code at column 50

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at src/CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 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.


-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file dlfcn.h
-- Looking for include file dlfcn.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file linux/zaptel.h
-- Looking for include file linux/zaptel.h - not found
-- Looking for include file zaptel/zaptel.h
-- Looking for include file zaptel/zaptel.h - not found
-- Looking for include file dahdi/user.h
-- Looking for include file dahdi/user.h - not found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/ioctl.h
-- Looking for include file sys/ioctl.h - found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file errno.h
-- Looking for include file errno.h - found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- r2test program will NOT be compiled
-- R2 stacks debugging disabled
-- Configuring done (2.5s)
-- Generating done (0.0s)
-- Build files have been written to: /build/openr2-git/src/openr2/build
[ 20%] Building C object src/CMakeFiles/openr2.dir/r2context.c.o
[ 20%] Building C object src/CMakeFiles/openr2.dir/r2chan.c.o
[ 30%] Building C object src/CMakeFiles/openr2.dir/r2log.c.o
[ 40%] Building C object src/CMakeFiles/openr2.dir/r2proto.c.o
/build/openr2-git/src/openr2/src/r2proto.c: In function ‘open_logfile’:
/build/openr2-git/src/openr2/src/r2proto.c:832:13: error: the comparison will always evaluate as ‘true’ for the address of ‘logdir’ will never be 
    NULL [-Werror=address]
  832 |         if (!r2chan->r2context->logdir) {
      |             ^
In file included from /build/openr2-git/src/openr2/src/r2proto.c:52:
/build/openr2-git/src/openr2/src/openr2/r2context-pvt.h:174:14: note: ‘logdir’ declared here
  174 |         char logdir[OR2_MAX_PATH];
      |              ^~~~~~
/build/openr2-git/src/openr2/src/r2proto.c:853:51: error: the comparison will always evaluate as ‘true’ for the address of ‘logdir’ will never be 
    NULL [-Werror=address]
  853 |                         r2chan->r2context->logdir ? r2chan->r2context->logdir : currdir,
      |                                                   ^
/build/openr2-git/src/openr2/src/openr2/r2context-pvt.h:174:14: note: ‘logdir’ declared here
  174 |         char logdir[OR2_MAX_PATH];
      |              ^~~~~~
[ 50%] Building C object src/CMakeFiles/openr2.dir/r2utils.c.o
[ 60%] Building C object src/CMakeFiles/openr2.dir/r2engine.c.o
cc1: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/openr2.dir/build.make:118: src/CMakeFiles/openr2.dir/r2proto.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:98: src/CMakeFiles/openr2.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...