Package Details: freeswitch 1.10.2-1

Git Clone URL: https://aur.archlinux.org/freeswitch.git (read-only, click to copy)
Package Base: freeswitch
Description: An opensource and free (libre, price) telephony system, similar to Asterisk.
Upstream URL: http://freeswitch.org/
Licenses: MPL
Conflicts: freeswitch-fixed, freeswitch-git
Provides: freeswitch
Submitter: None
Maintainer: sanerb
Last Packager: sanerb
Votes: 15
Popularity: 0.001943
First Submitted: 2009-03-02 18:40
Last Updated: 2020-01-06 04:49

Required by (0)

Sources (15)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

TheDarkula commented on 2018-05-20 21:52

@sanerb I'm pretty sure any branch isn't building (the git main isn't compiling anymore either). You filing it with freeswitch or arch devs?

sanerb commented on 2018-05-20 04:28

so if i try building WITH openssl 1.1.x, it complains about openssl.

if i have it use openssl 1.0.x, it gives a different error:

src/switch_regex.c: In function ‘switch_regex_compile’:
src/switch_regex.c:40:9: error: returning ‘pcre *’ {aka ‘struct real_pcre8_or_16 *’} from a function with incompatible return type ‘switch_regex_t *’ {aka ‘struct real_pcre *’} [-Werror=incompatible-pointer-types]
  return pcre_compile(pattern, options, errorptr, erroroffset, tables);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:2098: libfreeswitch_la-switch_regex.lo] Error 1
make[1]: Leaving directory '/opt/dev/arch/freeswitch/src/freeswitch'
make: *** [Makefile:1414: all] Error 2

so i'll have to file a bug upstream

sanerb commented on 2018-05-19 22:47

@TheDarkula-

testing now. i'll see if i can reproduce, though yeah- dunno why it'd stop working all of a sudden. may be a gcc version inconsistency

TheDarkula commented on 2018-05-19 19:04

Build fails :( I couldn't gather why from this output though.

CC libfreeswitch_la-switch_estimators.lo src/switch_regex.c: In function ‘switch_regex_compile’: src/switch_regex.c:40:9: error: returning ‘pcre ’ {aka ‘struct real_pcre8_or_16 ’} from a function with incompatible return type ‘switch_regex_t ’ {aka ‘struct real_pcre ’} [-Werror=incompatible-pointer-types] return pcre_compile(pattern, options, errorptr, erroroffset, tables); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors distcc[4941] ERROR: compile src/switch_regex.c on localhost failed make[1]: [Makefile:2098: libfreeswitch_la-switch_regex.lo] Error 1 make[1]: Waiting for unfinished jobs.... make: *** [Makefile:1414: all] Error 2

sanerb commented on 2018-01-05 22:43

@aztec102-

i see your flagging, and 1.6.19 is indeed out. however, it fails to build:

In file included from ./crypto/include/prng.h:17:0, from ./crypto/include/crypto_kernel.h:50, from ./include/srtp.h:53, from srtp/srtp.c:46: ./crypto/include/aes_icm_ossl.h:66:20: error: field ‘ctx’ has incomplete type EVP_CIPHER_CTX ctx; ^~~ In file included from srtp/srtp.c:50:0: ./crypto/include/aes_gcm_ossl.h:58:18: error: field ‘ctx’ has incomplete type EVP_CIPHER_CTX ctx; ^~~ make[1]: [Makefile:645: srtp.lo] Error 1 make[1]: Leaving directory '/opt/dev/arch/freeswitch/src/freeswitch/libs/srtp' make: [Makefile:3931: libs/srtp/libsrtp.la] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

so i'm gonna hold off on bumping for this release if that's alright.

sanerb commented on 2017-06-24 00:13

@mal- yep, all good points. removed the extraneous env vars, and didn't bother with an export- you can set env vars at runtime (as demonstrated in the file). moved the whole configure and patching etc. to the prepare function (which, honestly, i should have done a while ago) and confirmed it still successfully builds. however, that shouldn't have any bearing on jro not being able to build for some reason. looking at it, i'd guess he's not using the right openssl version or he hit an OOM or something. hard to tell without the entire build output.

mal commented on 2017-06-23 23:27

In my first attempt I had the LDFLAGS and CFLAGS modifications, but after fixing the other problems discovered they weren't needed, so the gist had them commented. I also exported the PKG_CONFIG_PATH change. It seems to work after removing those two and exporting PKG_CONFIG_PATH, or just grab https://gist.github.com/indecisivemal/7c1bff33468db69a3104c68250b688ab
Unrelated, I think the patch apply belongs in prepare() - https://wiki.archlinux.org/index.php/Patching_in_ABS#Applying_patches

sanerb commented on 2017-06-23 22:55

@jro are you sure you're using openssl-1.0? the PKGBUILD builds cleanly for me on 1.6.17 as of two? days ago right before i pushed it.

jro commented on 2017-06-23 22:42

build fails

CC libfreeswitch_la-upnperrors.lo
CC libfreeswitch_la-natpmp.lo
CC libfreeswitch_la-getgateway.lo
CXX switch_cpp.lo
CXXLD libfreeswitch.la

*** Warning: Linking the shared library libfreeswitch.la against the
*** static library libs/libvpx/libvpx.a is not portable!
ar: `u' modifier ignored since `D' is the default (see `U')
Making all in .
make[2]: Entering directory '/tmp/yaourt-tmp-jr/aur-freeswitch/src/freeswitch'
CC libfreeswitch_la-switch_version.lo
CXXLD libfreeswitch.la

*** Warning: Linking the shared library libfreeswitch.la against the
*** static library libs/libvpx/libvpx.a is not portable!
ar: `u' modifier ignored since `D' is the default (see `U')
CC freeswitch-switch.o
CCLD freeswitch
./.libs/libfreeswitch.so: undefined reference to `ENGINE_cleanup'
./.libs/libfreeswitch.so: undefined reference to `EVP_CIPHER_CTX_cleanup'
./.libs/libfreeswitch.so: undefined reference to `EVP_MD_CTX_cleanup'
./.libs/libfreeswitch.so: undefined reference to `SSL_library_init'
./.libs/libfreeswitch.so: undefined reference to `EVP_MD_CTX_init'
./.libs/libfreeswitch.so: undefined reference to `CRYPTO_set_id_callback'
./.libs/libfreeswitch.so: undefined reference to `CRYPTO_set_locking_callback'
./.libs/libfreeswitch.so: undefined reference to `SSL_state'
./.libs/libfreeswitch.so: undefined reference to `EVP_CIPHER_CTX_init'
./.libs/libfreeswitch.so: undefined reference to `CRYPTO_num_locks'
./.libs/libfreeswitch.so: undefined reference to `CRYPTO_cleanup_all_ex_data'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1615: freeswitch] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-jr/aur-freeswitch/src/freeswitch'
make[1]: *** [Makefile:3143: all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-jr/aur-freeswitch/src/freeswitch'
make: *** [Makefile:1414: all] Error 2
==> ERROR: A failure occurred in build(

sanerb commented on 2017-06-22 00:51

@mal, @mlody_salceson-

thank you so much for both of your work on this. i don't know the first thing about any languages lower than python, so you've both been an extremely big help in fixing this and i wouldn't be able to do it without you.

i confirmed it built and am pushing fixes now. i can't imagine it breaking anything but i suppose we'll find out soon enough if it does; my use case isn't complex enough to test for SSL errors