Package Details: python2-sipsimple 3.1.1-5

Git Clone URL: https://aur.archlinux.org/python2-sipsimple.git (read-only)
Package Base: python2-sipsimple
Description: Python SDK for development of SIP end-points
Upstream URL: http://download.ag-projects.com/SipClient
Keywords: SIP
Licenses: LGPL, custom:MIT
Submitter: promike
Maintainer: ljmf00
Last Packager: Niklas
Votes: 7
Popularity: 0.133081
First Submitted: 2016-06-01 14:02
Last Updated: 2018-08-19 21:47

Latest Comments

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

nocko commented on 2018-06-15 09:49

I automated patching suggested by @atopia in the following PKGBUILD:

https://bitbucket.org/snippets/nocko/geGKxM

It pulls the patch from another snippet (https://bitbucket.org/snippets/nocko/aeGrKX).

The best near-term solution is probably for @ogarcia to commit the patch to the repo and use the modified prepare() until something is sorted out upstream.

atopia commented on 2018-06-07 17:18

@matus: I have opened a pull request upstream but it might not be as simple if they wanted to support older ffmpeg, but haven't heard feedback yet. The right way to fix it temporarily would making a patch of these changes and adding it to the PKGBUILD, I was just too lazy ;)

matus commented on 2018-05-29 08:26

@julesm I was having the same problem as you.

I realized that the error message didn't change after editing the file that @atopia suggested. That was puzzling. Looking closely at the build project, I realized that the python-sipsimple-3.1.1.tar.gz was being uncompress on every build. So, the changes that I made on src where overwritten when the new build process was started.

To fix this, I had to uncompress the file in an alternative location, make the suggested chagnes, re-compress python-sipsimple-3.1.1.tar.gz with the altered file, move the new .tar.gz to the root foler of python2-sipsimple, and build the package with '--skipchecksums' to avoid the error message related to the checksum of python-sipsimple-3.1.1.tar.gz not being the one declared in PKGBUILD.

With this changes, I was able to build the package o/

In case anyone wants to use my modified python-sipsimple-3.1.1-fix.tar.gz, it can be downloaded from https://github.com/m4tu5/python-sipsimple/archive/release-3.1.1-fix.tar.gz ... you will need to rename the file to drop the '-fix' at the end and then build with '--skipchecksums'.

And, just in case you are looking for a simpler solution, I made a modified version of PKGBUILD that uses my modified python-sipsimple and has the updated sha256 ... you can find that at https://limbo.enmotoneta.com/index.php/s/Asyi7DKJEgNHEQ3

I don't intend to maintain the python-sipsimple package, so this is a temporary fix until this gets resolved upstream

julesm commented on 2018-05-25 13:21

@atopia: Many thanks. Changed all occurrences in the specified file, but still getting an error. Here's what I believe is the relevant bit:

../src/pjmedia-codec/ffmpeg_vid_codecs.c: In function ‘ffmpeg_codec_decode_whole’: ../src/pjmedia-codec/ffmpeg_vid_codecs.c:1692:43: error: ‘FF_INPUT_BUFFER_PADDING_SIZE’ undeclared (first use in this function); did you mean ‘AV_INPUT_BUFFER_PADDING_SIZE’? pj_bzero(avpacket.data+avpacket.size, FF_INPUT_BUFFER_PADDING_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ AV_INPUT_BUFFER_PADDING_SIZE ../src/pjmedia-codec/ffmpeg_vid_codecs.c:1692:43: note: each undeclared identifier is reported only once for each function it appears in ../src/pjmedia-codec/ffmpeg_vid_codecs.c:1704:5: warning: ‘avcodec_decode_video2’ is deprecated [-Wdeprecated-declarations] err = avcodec_decode_video2(ff->dec_ctx, &avframe, ^~~ In file included from ../src/pjmedia-codec/../pjmedia/ffmpeg_util.h:38, from ../src/pjmedia-codec/ffmpeg_vid_codecs.c:47: /usr/include/libavcodec/avcodec.h:4755:5: note: declared here int avcodec_decode_video2(AVCodecContext avctx, AVFrame picture, ^~~~~~~~~~~~~~~~~~~~~ make[2]: [/home/jules/builds/python2-sipsimple/src/python-sipsimple-release-3.1.1/build/temp.linux-x86_64-2.7/pjsip/build/rules.mak:137: output/pjmedia-codec-x86_64-unknown-linux-gnu/ffmpeg_vid_codecs.o] Error 1 make[1]: [Makefile:165: pjmedia-codec] Error 2 make: *** [Makefile:14: all] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

atopia commented on 2018-05-22 13:43

@julesm: in deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c you have to replace FF_INPUT_BUFFER_PADDING_SIZE with AV_INPUT_BUFFER_PADDING_SIZE

julesm commented on 2018-05-21 15:23

Trying to compile sipsimple to install blink and I get the following error. It compiled a month or so ago but not any longer. Is this the ffmpeg error described in previous posts? Any ideas???

make[2]: [/home/jules/.cache/aurman/python2-sipsimple/src/python-sipsimple-release-3.1.1/build/temp.linux-x86_64-2.7/pjsip/build/rules.mak:137: output/pjmedia-codec-x86_64-unknown-linux-gnu/ffmpeg_vid_codecs.o] Error 1 make[1]: [Makefile:165: pjmedia-codec] Error 2 make: *** [Makefile:14: all] Error 1 ==> ERROR: A failure occurred in build(). Aborting... 2018-05-21 17:15:41,831 - wrappers - makepkg - ERROR - makepkg query makepkg -cf --noconfirm failed

xiretza commented on 2017-11-03 12:35

For some reason the sha256sum doesn't match up (anymore): PKGBUILD has 58db6306425cf829672c69ad7bc1ae209a68c1fba818b7d896ec3f170e902647, github gives b58936acc596761020d41a8b3e617a9240e74607d8f1d07d0e87cb28eebf206a.

theforeigner commented on 2017-05-29 09:32

Hah! Finally found what was causing my problems with building and running sipsimple and blink!

I'm using ffmpeg-nvenc-full, a custom ffmpeg build. Everyone using something else but the standard ffmpeg package will most likely get the same errors. Even though blink uses ffmpeg2.8 and not 3.1+, this is what's causing it.

The workaround is simple:
1) Replace ffmpeg: pacman -S ffmpeg (choose yes to replace the current ffmpeg package)
2) Remove openh264: pacman -R openh264 (and possibly other packages installed by your custombuilt ffmpeg package that aren't installed by the default ffmpeg package)
3) Install blink: pacman -S blink
4) Re-replace the default ffmpeg with your custom ffmpeg build: pacman -S ffmpeg-full/ffmpeg-full-nvenc/whatever

theforeigner commented on 2017-05-20 09:44

Meh.. I kept getting the ol' openh264 error. Doing the workaround suggested by @eskimod and removing the openh264 package instead produces this error:

error: PJSIP TLS support was disabled, OpenSSL development files probably not present on this system

The OpenSSL workaround doesn't work for me either. I tried using openssl-1.0-compat and as well, and also recompiled the latest python2-eventlib 0.2.3 from git that supposedly fixed OpenSSL 1.1+ compatibility. But that didn't change anything.

ogarcia commented on 2017-05-10 07:09

@ngld Updated! Many thanks!