Package Details: freeswitch 1.6.17-2

Git Clone URL: https://aur.archlinux.org/freeswitch.git (read-only)
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: 14
Popularity: 0.000123
First Submitted: 2009-03-02 18:40
Last Updated: 2017-06-24 00:11

Pinned Comments

sanerb commented on 2016-06-26 04:38

Please note the following additions:

# Bug reports can be filed at https://bugs.square-r00t.net/index.php?project=3
# News updates for packages can be followed at https://devblog.square-r00t.net

(If you want an RSS-feed only pertaining to my AUR packages, you can subscribe to https://devblog.square-r00t.net/rss/?category=aur in your favourite RSS reader.)

Note that you should still use the AUR web interface for flagging packages as out-of-date if a new version is released; the aforementioned bug tracker is to aid in issues with building/packaging/the PKGBUILD formats/etc. specifically.

GPG signature "errors" are explained here:
https://devblog.square-r00t.net/articles/a-note-on-using-gpg-signatures-in-pkgbuilds

Please read; it's not a bug.


Thanks!

Latest Comments

sanerb commented on 2018-05-21 02:18

https://freeswitch.org/jira/browse/FS-11170

sanerb commented on 2018-05-21 01:03

@TheDarkula -

it's direct upstream, it'd have to be with Freeswitch devs. i'll do that now and post the link here so you can follow progress, moment please...

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.

All comments