Package Details: bctoolbox-git 5.3.0.alpha.r10.gb0027df-1

Git Clone URL: https://aur.archlinux.org/bctoolbox-git.git (read-only, click to copy)
Package Base: bctoolbox-git
Description: Utilities library for Belledonne Communications software
Upstream URL: http://www.linphone.org/
Licenses: GPL
Conflicts: bctoolbox
Provides: bctoolbox
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 3
Popularity: 0.000000
First Submitted: 2017-07-08 19:02 (UTC)
Last Updated: 2023-11-06 21:16 (UTC)

Dependencies (5)

Required by (13)

Sources (1)

Latest Comments

1 2 Next › Last »

dreieck commented on 2023-12-22 14:31 (UTC)

I have added -DENABLE_STRICT="NO" to the cmake call, but I still get the following build error:

[ 41%] Building C object src/CMakeFiles/bctoolbox.dir/crypto/mbedtls.c.o
/tmp/makepkg/build/bctoolbox-git/src/bctoolbox/src/crypto/mbedtls.c:1425:9: error: conflicting types for ‘bctbx_ssl_get_dtls_srtp_key_material’; have ‘int32_t(bctbx_ssl_config_t *, uint8_t *, size_t *)’ {aka ‘int(struct bctbx_ssl_config_struct *, unsigned char *, long unsigned int *)’}
 1425 | int32_t bctbx_ssl_get_dtls_srtp_key_material(BCTBX_UNUSED(bctbx_ssl_config_t *ssl_ctx),
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Regards!

simona commented on 2023-11-04 17:45 (UTC)

Add the installation prefix of "BCUnit" to CMAKE_PREFIX_PATH or set "BCUnit_DIR" to a directory containing one of the above files. If "BCUnit" provides a separate development package or SDK, be sure it has been installed.

sph commented on 2023-08-27 11:57 (UTC) (edited on 2023-08-27 11:58 (UTC) by sph)

currently it won't build, as arch has BCUnit 5.2.0 available (which fulfills the dependency constraint bcunit>=3.0.2+12) but the makescript in the repository has version 3.0.2 hardcoded

to build, you'll either have to bump the BCUnit version in src/bctoolbox/CMakeLists.txt:94 or disable testing by setting

- DENABLE_TESTS_COMPONENT="YES"

to NO in the PKGBUILD for now

asnelling commented on 2023-03-15 04:23 (UTC)

Build failed with the following until I added -DENABLE_STRICT="NO":

/home/asnell/code/packaging/bctoolbox-git/src/bctoolbox/src/crypto/mbedtls.c: In function ‘bctbx_ssl_set_mtu’:
/home/asnell/code/packaging/bctoolbox-git/src/bctoolbox/src/crypto/mbedtls.c:1038:45: error: unused parameter ‘ssl_ctx’ [-Werror=unused-parameter]
 1038 | void bctbx_ssl_set_mtu(bctbx_ssl_context_t *ssl_ctx, uint16_t mtu) {
      |                        ~~~~~~~~~~~~~~~~~~~~~^~~~~~~

The patch for git apply <patch>:

diff --git a/PKGBUILD b/PKGBUILD
index ef2293f..8ca776e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,6 +26,7 @@ build() {
     -DENABLE_STATIC="NO" \
     -DENABLE_TESTS="YES" \
     -DENABLE_TESTS_COMPONENT="YES" \
+    -DENABLE_STRICT="NO" \
     -Wno-dev
   make -C build
 }

cknoblauch commented on 2020-12-20 03:05 (UTC)

Thanks @thrasibule, everything builds fine now.

thrasibule commented on 2020-12-20 02:27 (UTC)

Sorry I reversed the cmake patch on libdecaf by mistake when bumping to 1.0.1. Should be all fixed now.

cknoblauch commented on 2020-12-20 01:08 (UTC) (edited on 2020-12-20 01:09 (UTC) by cknoblauch)

I tried @thrasibule's suggestion and rebuilt libdecaf (1.0.1-1), it still didn't work. I get the same errors as @Maniaxx.

Btw I'm trying to install this as a dependency of AUR/lime-git; the latest version switched from depending on bctoolbox to bctoolbox-git.

thrasibule commented on 2019-12-06 18:51 (UTC)

@sergiodlc and @Maniaxx can you try to rebuild libdecaf. I forgot to bump the pkgrel, so you probably don't have the latest patch.

sergiodlc commented on 2019-12-06 18:39 (UTC)

Same issue here as @Maniaxx

Maniaxx commented on 2019-11-11 16:11 (UTC)

I'm using your one (AUR/libdecaf 1.0.0-2).