[Blink] sipsimple and cython 3.0
Carlos E
cemotyz09 at yahoo.com
Sun Oct 13 01:05:49 CEST 2024
I'm using fedora 40 trying to build blink's dependencies for an RPM and
so far the only one that doesn't build successfully is sipsimple. I'll
attach the build log and the spec file so maybe it helps shed some
light. I had this issue with fedora 39 and the solution was to use
cython 0.29 but that package is not available in fedora 40. Are there
any workarounds for this issue?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-sipsimple.spec
Type: text/x-rpm-spec
Size: 3459 bytes
Desc: not available
URL: <http://lists.ag-projects.com/pipermail/blink/attachments/20241012/3146eb5d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: installed_pkgs.log
Type: text/x-log
Size: 45703 bytes
Desc: not available
URL: <http://lists.ag-projects.com/pipermail/blink/attachments/20241012/3146eb5d/attachment-0003.bin>
-------------- next part --------------
Mock Version: 5.6
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-sipsimple.spec'], chrootPath='/var/lib/mock/fedora-40-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f0d7dc3b770>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v2gf369:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v2gf369:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e1d64d065af643ffaace3803a3b253c4', '-D', '/var/lib/mock/fedora-40-x86_64/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v2gf369:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-sipsimple.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1728691200
Wrote: /builddir/build/SRPMS/python-sipsimple-5.3.0-1.fc40.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-sipsimple.spec'], chrootPath='/var/lib/mock/fedora-40-x86_64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f0d7dc3b770>timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v2gf369:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v2gf369:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5455bcaccea24cc6babd1bd357c7e387', '-D', '/var/lib/mock/fedora-40-x86_64/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v2gf369:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/python-sipsimple.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1728691200
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sTXdBA
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf python3-sipsimple-5.3.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/python-sipsimple-5.3.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd python3-sipsimple-5.3.0
+ rm -rf /builddir/build/BUILD/python3-sipsimple-5.3.0-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/python3-sipsimple-5.3.0-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
pyproject-rpm-macros
python3-devel
python3dist(packaging)
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(packaging)'
+ echo 'python3dist(pip) >= 19'
+ '[' -f pyproject.toml ']'
+ '[' -f setup.py ']'
+ echo 'python3dist(setuptools) >= 40.8'
+ echo 'python3dist(wheel)'
+ rm -rfv '*.dist-info/'
python3dist(pip) >= 19
python3dist(setuptools) >= 40.8
python3dist(wheel)
+ '[' -f /usr/bin/python3 ']'
+ mkdir -p /builddir/build/BUILD/.pyproject-builddir
+ echo -n
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ VALAFLAGS=-g
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ CC=gcc
+ CXX=g++
+ TMPDIR=/builddir/build/BUILD/.pyproject-builddir
+ RPM_TOXENV=py312
+ HOSTNAME=rpmbuild
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pyproject-wheeldir --output /builddir/build/BUILD/python-sipsimple-5.3.0-1.fc40.x86_64-pyproject-buildrequires -C--legacy_implicit_noexcept=True
Handling setuptools >= 40.8 from default build backend
Requirement satisfied: setuptools >= 40.8
(installed: setuptools 69.0.3)
Handling wheel from default build backend
Requirement not satisfied: wheel
Exiting dependency generation pass: build backend
+ cat /builddir/build/BUILD/python-sipsimple-5.3.0-1.fc40.x86_64-pyproject-buildrequires
python3dist(setuptools) >= 40.8
python3dist(wheel)
+ rm -rfv '*.dist-info/'
+ sh build_inplace
Preparing PJSIP sources...
Preparing ZRTP sources...
Applying patch patches/001_pjsip_210.patch
Applying patch patches/002_zsrtp.patch
Applying patch patches/003_pjsip_tls_log_fix.patch
Applying patch patches/003_vpx.patch
Applying patch patches/004_mac_audio_device_fix.patch
Applying patch patches/005_fix_ffmpeg.patch
Applying patch patches/006_fix_uint_zrtp.patch
Applying patch patches/007_video_support_dshow_mingw.patch
Applying patch patches/008_support_mingw_w64.patch
/builddir/build/BUILD/python3-sipsimple-5.3.0/setup_pjsip.py:152: SyntaxWarning: invalid escape sequence '\w'
return dict(tup for tup in re.findall("(^[a-zA-Z]\w+)\s*:?=\s*(.*)$", stdout, re.MULTILINE))
/builddir/build/BUILD/python3-sipsimple-5.3.0/setup_pjsip.py:247: SyntaxWarning: invalid escape sequence '\S'
frameworks = re.findall("-framework (\S+)(?:\s|$)", build_mak_vars["PJ_LDLIBS"])
warning: sipsimple/core/_core.ua.pxi:825:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310
performance hint: sipsimple/core/_core.lib.pxi:516:5: Exception check on '_transport_state_cb' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_transport_state_cb' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_transport_state_cb' to allow an error code to be returned.
performance hint: sipsimple/core/_core.video.pxi:1007:5: Exception check on 'FrameBufferVideoRenderer_frame_handler' will always require the GIL to be acquired.
Possible solutions:
1. Declare 'FrameBufferVideoRenderer_frame_handler' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on 'FrameBufferVideoRenderer_frame_handler' to allow an error code to be returned.
performance hint: sipsimple/core/_core.ua.pxi:1009:5: Exception check on '_cb_audio_dev_process_event' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_cb_audio_dev_process_event' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_cb_audio_dev_process_event' to allow an error code to be returned.
performance hint: sipsimple/core/_core.ua.pxi:1038:5: Exception check on '_cb_detect_nat_type' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_cb_detect_nat_type' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_cb_detect_nat_type' to allow an error code to be returned.
performance hint: sipsimple/core/_core.request.pxi:469:5: Exception check on '_Request_cb_tsx_state' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Request_cb_tsx_state' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Request_cb_tsx_state' to allow an error code to be returned.
performance hint: sipsimple/core/_core.request.pxi:490:5: Exception check on '_Request_cb_timer' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Request_cb_timer' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Request_cb_timer' to allow an error code to be returned.
performance hint: sipsimple/core/_core.subscription.pxi:773:5: Exception check on '_Subscription_cb_state' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Subscription_cb_state' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Subscription_cb_state' to allow an error code to be returned.
performance hint: sipsimple/core/_core.subscription.pxi:814:5: Exception check on '_Subscription_cb_tsx' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Subscription_cb_tsx' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Subscription_cb_tsx' to allow an error code to be returned.
performance hint: sipsimple/core/_core.subscription.pxi:845:5: Exception check on '_Subscription_cb_notify' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Subscription_cb_notify' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Subscription_cb_notify' to allow an error code to be returned.
performance hint: sipsimple/core/_core.subscription.pxi:869:5: Exception check on '_Subscription_cb_refresh' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Subscription_cb_refresh' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Subscription_cb_refresh' to allow an error code to be returned.
performance hint: sipsimple/core/_core.subscription.pxi:873:5: Exception check on '_Subscription_cb_timer' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Subscription_cb_timer' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Subscription_cb_timer' to allow an error code to be returned.
performance hint: sipsimple/core/_core.subscription.pxi:894:5: Exception check on '_IncomingSubscription_cb_rx_refresh' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_IncomingSubscription_cb_rx_refresh' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_IncomingSubscription_cb_rx_refresh' to allow an error code to be returned.
performance hint: sipsimple/core/_core.subscription.pxi:920:5: Exception check on '_IncomingSubscription_cb_server_timeout' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_IncomingSubscription_cb_server_timeout' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_IncomingSubscription_cb_server_timeout' to allow an error code to be returned.
performance hint: sipsimple/core/_core.subscription.pxi:937:5: Exception check on '_IncomingSubscription_cb_tsx' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_IncomingSubscription_cb_tsx' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_IncomingSubscription_cb_tsx' to allow an error code to be returned.
performance hint: sipsimple/core/_core.invitation.pxi:1394:5: Exception check on '_Invitation_cb_state' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Invitation_cb_state' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Invitation_cb_state' to allow an error code to be returned.
performance hint: sipsimple/core/_core.invitation.pxi:1466:5: Exception check on '_Invitation_cb_sdp_done' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Invitation_cb_sdp_done' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Invitation_cb_sdp_done' to allow an error code to be returned.
performance hint: sipsimple/core/_core.invitation.pxi:1560:5: Exception check on '_Invitation_cb_tsx_state_changed' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Invitation_cb_tsx_state_changed' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Invitation_cb_tsx_state_changed' to allow an error code to be returned.
performance hint: sipsimple/core/_core.invitation.pxi:1628:5: Exception check on '_Invitation_cb_new' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Invitation_cb_new' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Invitation_cb_new' to allow an error code to be returned.
performance hint: sipsimple/core/_core.invitation.pxi:1632:5: Exception check on '_Invitation_transfer_cb_state' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Invitation_transfer_cb_state' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Invitation_transfer_cb_state' to allow an error code to be returned.
performance hint: sipsimple/core/_core.invitation.pxi:1680:5: Exception check on '_Invitation_transfer_cb_tsx' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Invitation_transfer_cb_tsx' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Invitation_transfer_cb_tsx' to allow an error code to be returned.
performance hint: sipsimple/core/_core.invitation.pxi:1714:5: Exception check on '_Invitation_transfer_cb_notify' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Invitation_transfer_cb_notify' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Invitation_transfer_cb_notify' to allow an error code to be returned.
performance hint: sipsimple/core/_core.invitation.pxi:1742:5: Exception check on '_Invitation_transfer_cb_refresh' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Invitation_transfer_cb_refresh' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Invitation_transfer_cb_refresh' to allow an error code to be returned.
performance hint: sipsimple/core/_core.invitation.pxi:1746:5: Exception check on '_Invitation_transfer_in_cb_rx_refresh' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Invitation_transfer_in_cb_rx_refresh' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Invitation_transfer_in_cb_rx_refresh' to allow an error code to be returned.
performance hint: sipsimple/core/_core.invitation.pxi:1780:5: Exception check on '_Invitation_transfer_in_cb_server_timeout' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Invitation_transfer_in_cb_server_timeout' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Invitation_transfer_in_cb_server_timeout' to allow an error code to be returned.
performance hint: sipsimple/core/_core.invitation.pxi:1804:5: Exception check on '_Invitation_transfer_in_cb_tsx' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Invitation_transfer_in_cb_tsx' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Invitation_transfer_in_cb_tsx' to allow an error code to be returned.
performance hint: sipsimple/core/_core.referral.pxi:806:5: Exception check on '_Referral_cb_state' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Referral_cb_state' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Referral_cb_state' to allow an error code to be returned.
performance hint: sipsimple/core/_core.referral.pxi:848:5: Exception check on '_Referral_cb_tsx' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Referral_cb_tsx' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Referral_cb_tsx' to allow an error code to be returned.
performance hint: sipsimple/core/_core.referral.pxi:879:5: Exception check on '_Referral_cb_notify' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Referral_cb_notify' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Referral_cb_notify' to allow an error code to be returned.
performance hint: sipsimple/core/_core.referral.pxi:903:5: Exception check on '_Referral_cb_refresh' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Referral_cb_refresh' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Referral_cb_refresh' to allow an error code to be returned.
performance hint: sipsimple/core/_core.referral.pxi:907:5: Exception check on '_Referral_cb_timer' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_Referral_cb_timer' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_Referral_cb_timer' to allow an error code to be returned.
performance hint: sipsimple/core/_core.referral.pxi:926:5: Exception check on '_IncomingReferral_cb_rx_refresh' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_IncomingReferral_cb_rx_refresh' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_IncomingReferral_cb_rx_refresh' to allow an error code to be returned.
performance hint: sipsimple/core/_core.referral.pxi:950:5: Exception check on '_IncomingReferral_cb_server_timeout' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_IncomingReferral_cb_server_timeout' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_IncomingReferral_cb_server_timeout' to allow an error code to be returned.
performance hint: sipsimple/core/_core.referral.pxi:967:5: Exception check on '_IncomingReferral_cb_tsx' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_IncomingReferral_cb_tsx' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_IncomingReferral_cb_tsx' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2189:5: Exception check on '_RTPTransport_cb_ice_complete' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_ice_complete' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_ice_complete' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2256:5: Exception check on '_RTPTransport_cb_ice_state' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_ice_state' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_ice_state' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2285:5: Exception check on '_RTPTransport_cb_ice_stop' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_ice_stop' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_ice_stop' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2315:5: Exception check on '_RTPTransport_cb_zrtp_secure_on' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_zrtp_secure_on' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_zrtp_secure_on' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2330:5: Exception check on '_RTPTransport_cb_zrtp_secure_off' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_zrtp_secure_off' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_zrtp_secure_off' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2345:5: Exception check on '_RTPTransport_cb_zrtp_show_sas' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_zrtp_show_sas' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_zrtp_show_sas' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2360:5: Exception check on '_RTPTransport_cb_zrtp_confirm_goclear' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_zrtp_confirm_goclear' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_zrtp_confirm_goclear' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2375:5: Exception check on '_RTPTransport_cb_zrtp_show_message' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_zrtp_show_message' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_zrtp_show_message' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2396:5: Exception check on '_RTPTransport_cb_zrtp_negotiation_failed' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_zrtp_negotiation_failed' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_zrtp_negotiation_failed' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2414:5: Exception check on '_RTPTransport_cb_zrtp_not_supported_by_other' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_zrtp_not_supported_by_other' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_zrtp_not_supported_by_other' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2429:5: Exception check on '_RTPTransport_cb_zrtp_ask_enrollment' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_zrtp_ask_enrollment' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_zrtp_ask_enrollment' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2444:5: Exception check on '_RTPTransport_cb_zrtp_inform_enrollment' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_RTPTransport_cb_zrtp_inform_enrollment' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_RTPTransport_cb_zrtp_inform_enrollment' to allow an error code to be returned.
performance hint: sipsimple/core/_core.mediatransport.pxi:2459:5: Exception check on '_AudioTransport_cb_dtmf' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_AudioTransport_cb_dtmf' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_AudioTransport_cb_dtmf' to allow an error code to be returned.
Error compiling Cython file:
------------------------------------------------------------
...
ua._handle_exception(1)
# globals
cdef pjsip_evsub_user _subs_cb
_subs_cb.on_evsub_state = _Subscription_cb_state
^
------------------------------------------------------------
sipsimple/core/_core.subscription.pxi:957:26: Cannot assign type 'void (pjsip_evsub *, pjsip_event *) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Subscription_cb_state'.
Error compiling Cython file:
------------------------------------------------------------
...
# globals
cdef pjsip_evsub_user _subs_cb
_subs_cb.on_evsub_state = _Subscription_cb_state
_subs_cb.on_tsx_state = _Subscription_cb_tsx
^
------------------------------------------------------------
sipsimple/core/_core.subscription.pxi:958:24: Cannot assign type 'void (pjsip_evsub *, pjsip_transaction *, pjsip_event *) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_transaction *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Subscription_cb_tsx'.
Error compiling Cython file:
------------------------------------------------------------
...
# globals
cdef pjsip_evsub_user _subs_cb
_subs_cb.on_evsub_state = _Subscription_cb_state
_subs_cb.on_tsx_state = _Subscription_cb_tsx
_subs_cb.on_rx_notify = _Subscription_cb_notify
^
------------------------------------------------------------
sipsimple/core/_core.subscription.pxi:959:24: Cannot assign type 'void (pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Subscription_cb_notify'.
Error compiling Cython file:
------------------------------------------------------------
...
cdef pjsip_evsub_user _subs_cb
_subs_cb.on_evsub_state = _Subscription_cb_state
_subs_cb.on_tsx_state = _Subscription_cb_tsx
_subs_cb.on_rx_notify = _Subscription_cb_notify
_subs_cb.on_client_refresh = _Subscription_cb_refresh
^
------------------------------------------------------------
sipsimple/core/_core.subscription.pxi:960:29: Cannot assign type 'void (pjsip_evsub *) except * nogil' to 'void (*)(pjsip_evsub *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Subscription_cb_refresh'.
Error compiling Cython file:
------------------------------------------------------------
...
_subs_cb.on_evsub_state = _Subscription_cb_state
_subs_cb.on_tsx_state = _Subscription_cb_tsx
_subs_cb.on_rx_notify = _Subscription_cb_notify
_subs_cb.on_client_refresh = _Subscription_cb_refresh
cdef pjsip_evsub_user _incoming_subs_cb
_incoming_subs_cb.on_rx_refresh = _IncomingSubscription_cb_rx_refresh
^
------------------------------------------------------------
sipsimple/core/_core.subscription.pxi:962:34: Cannot assign type 'void (pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_IncomingSubscription_cb_rx_refresh'.
Error compiling Cython file:
------------------------------------------------------------
...
_subs_cb.on_tsx_state = _Subscription_cb_tsx
_subs_cb.on_rx_notify = _Subscription_cb_notify
_subs_cb.on_client_refresh = _Subscription_cb_refresh
cdef pjsip_evsub_user _incoming_subs_cb
_incoming_subs_cb.on_rx_refresh = _IncomingSubscription_cb_rx_refresh
_incoming_subs_cb.on_server_timeout = _IncomingSubscription_cb_server_timeout
^
------------------------------------------------------------
sipsimple/core/_core.subscription.pxi:963:38: Cannot assign type 'void (pjsip_evsub *) except * nogil' to 'void (*)(pjsip_evsub *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_IncomingSubscription_cb_server_timeout'.
Error compiling Cython file:
------------------------------------------------------------
...
_subs_cb.on_rx_notify = _Subscription_cb_notify
_subs_cb.on_client_refresh = _Subscription_cb_refresh
cdef pjsip_evsub_user _incoming_subs_cb
_incoming_subs_cb.on_rx_refresh = _IncomingSubscription_cb_rx_refresh
_incoming_subs_cb.on_server_timeout = _IncomingSubscription_cb_server_timeout
_incoming_subs_cb.on_tsx_state = _IncomingSubscription_cb_tsx
^
------------------------------------------------------------
sipsimple/core/_core.subscription.pxi:964:33: Cannot assign type 'void (pjsip_evsub *, pjsip_transaction *, pjsip_event *) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_transaction *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_IncomingSubscription_cb_tsx'.
Error compiling Cython file:
------------------------------------------------------------
...
# Globals
#
cdef pjsip_inv_callback _inv_cb
_inv_cb.on_state_changed = _Invitation_cb_state
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1844:27: Cannot assign type 'void (pjsip_inv_session *, pjsip_event *) except * nogil' to 'void (*)(pjsip_inv_session *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_cb_state'.
Error compiling Cython file:
------------------------------------------------------------
...
# Globals
#
cdef pjsip_inv_callback _inv_cb
_inv_cb.on_state_changed = _Invitation_cb_state
_inv_cb.on_media_update = _Invitation_cb_sdp_done
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1845:26: Cannot assign type 'void (pjsip_inv_session *, int) except * nogil' to 'void (*)(pjsip_inv_session *, int) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_cb_sdp_done'.
Error compiling Cython file:
------------------------------------------------------------
...
#
cdef pjsip_inv_callback _inv_cb
_inv_cb.on_state_changed = _Invitation_cb_state
_inv_cb.on_media_update = _Invitation_cb_sdp_done
_inv_cb.on_rx_reinvite = _Invitation_cb_rx_reinvite
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1846:25: Cannot assign type 'int (pjsip_inv_session *, pjmedia_sdp_session_ptr_const, pjsip_rx_data *) except? -1 nogil' to 'int (*)(pjsip_inv_session *, pjmedia_sdp_session_ptr_const, pjsip_rx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_cb_rx_reinvite'.
Error compiling Cython file:
------------------------------------------------------------
...
cdef pjsip_inv_callback _inv_cb
_inv_cb.on_state_changed = _Invitation_cb_state
_inv_cb.on_media_update = _Invitation_cb_sdp_done
_inv_cb.on_rx_reinvite = _Invitation_cb_rx_reinvite
_inv_cb.on_tsx_state_changed = _Invitation_cb_tsx_state_changed
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1847:31: Cannot assign type 'void (pjsip_inv_session *, pjsip_transaction *, pjsip_event *) except * nogil' to 'void (*)(pjsip_inv_session *, pjsip_transaction *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_cb_tsx_state_changed'.
Error compiling Cython file:
------------------------------------------------------------
...
cdef pjsip_inv_callback _inv_cb
_inv_cb.on_state_changed = _Invitation_cb_state
_inv_cb.on_media_update = _Invitation_cb_sdp_done
_inv_cb.on_rx_reinvite = _Invitation_cb_rx_reinvite
_inv_cb.on_tsx_state_changed = _Invitation_cb_tsx_state_changed
_inv_cb.on_new_session = _Invitation_cb_new
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1848:25: Cannot assign type 'void (pjsip_inv_session *, pjsip_event *) except * nogil' to 'void (*)(pjsip_inv_session *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_cb_new'.
Error compiling Cython file:
------------------------------------------------------------
...
_inv_cb.on_rx_reinvite = _Invitation_cb_rx_reinvite
_inv_cb.on_tsx_state_changed = _Invitation_cb_tsx_state_changed
_inv_cb.on_new_session = _Invitation_cb_new
cdef pjsip_evsub_user _transfer_cb
_transfer_cb.on_evsub_state = _Invitation_transfer_cb_state
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1851:30: Cannot assign type 'void (pjsip_evsub *, pjsip_event *) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_transfer_cb_state'.
Error compiling Cython file:
------------------------------------------------------------
...
_inv_cb.on_tsx_state_changed = _Invitation_cb_tsx_state_changed
_inv_cb.on_new_session = _Invitation_cb_new
cdef pjsip_evsub_user _transfer_cb
_transfer_cb.on_evsub_state = _Invitation_transfer_cb_state
_transfer_cb.on_tsx_state = _Invitation_transfer_cb_tsx
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1852:28: Cannot assign type 'void (pjsip_evsub *, pjsip_transaction *, pjsip_event *) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_transaction *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_transfer_cb_tsx'.
Error compiling Cython file:
------------------------------------------------------------
...
_inv_cb.on_new_session = _Invitation_cb_new
cdef pjsip_evsub_user _transfer_cb
_transfer_cb.on_evsub_state = _Invitation_transfer_cb_state
_transfer_cb.on_tsx_state = _Invitation_transfer_cb_tsx
_transfer_cb.on_rx_notify = _Invitation_transfer_cb_notify
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1853:28: Cannot assign type 'void (pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_transfer_cb_notify'.
Error compiling Cython file:
------------------------------------------------------------
...
cdef pjsip_evsub_user _transfer_cb
_transfer_cb.on_evsub_state = _Invitation_transfer_cb_state
_transfer_cb.on_tsx_state = _Invitation_transfer_cb_tsx
_transfer_cb.on_rx_notify = _Invitation_transfer_cb_notify
_transfer_cb.on_client_refresh = _Invitation_transfer_cb_refresh
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1854:33: Cannot assign type 'void (pjsip_evsub *) except * nogil' to 'void (*)(pjsip_evsub *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_transfer_cb_refresh'.
Error compiling Cython file:
------------------------------------------------------------
...
_transfer_cb.on_tsx_state = _Invitation_transfer_cb_tsx
_transfer_cb.on_rx_notify = _Invitation_transfer_cb_notify
_transfer_cb.on_client_refresh = _Invitation_transfer_cb_refresh
cdef pjsip_evsub_user _incoming_transfer_cb
_incoming_transfer_cb.on_rx_refresh = _Invitation_transfer_in_cb_rx_refresh
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1857:38: Cannot assign type 'void (pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_transfer_in_cb_rx_refresh'.
Error compiling Cython file:
------------------------------------------------------------
...
_transfer_cb.on_rx_notify = _Invitation_transfer_cb_notify
_transfer_cb.on_client_refresh = _Invitation_transfer_cb_refresh
cdef pjsip_evsub_user _incoming_transfer_cb
_incoming_transfer_cb.on_rx_refresh = _Invitation_transfer_in_cb_rx_refresh
_incoming_transfer_cb.on_server_timeout = _Invitation_transfer_in_cb_server_timeout
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1858:42: Cannot assign type 'void (pjsip_evsub *) except * nogil' to 'void (*)(pjsip_evsub *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_transfer_in_cb_server_timeout'.
Error compiling Cython file:
------------------------------------------------------------
...
_transfer_cb.on_client_refresh = _Invitation_transfer_cb_refresh
cdef pjsip_evsub_user _incoming_transfer_cb
_incoming_transfer_cb.on_rx_refresh = _Invitation_transfer_in_cb_rx_refresh
_incoming_transfer_cb.on_server_timeout = _Invitation_transfer_in_cb_server_timeout
_incoming_transfer_cb.on_tsx_state = _Invitation_transfer_in_cb_tsx
^
------------------------------------------------------------
sipsimple/core/_core.invitation.pxi:1859:37: Cannot assign type 'void (pjsip_evsub *, pjsip_transaction *, pjsip_event *) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_transaction *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Invitation_transfer_in_cb_tsx'.
Error compiling Cython file:
------------------------------------------------------------
...
# Globals
#
cdef pjsip_evsub_user _refer_cb
_refer_cb.on_evsub_state = _Referral_cb_state
^
------------------------------------------------------------
sipsimple/core/_core.referral.pxi:989:27: Cannot assign type 'void (pjsip_evsub *, pjsip_event *) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Referral_cb_state'.
Error compiling Cython file:
------------------------------------------------------------
...
# Globals
#
cdef pjsip_evsub_user _refer_cb
_refer_cb.on_evsub_state = _Referral_cb_state
_refer_cb.on_tsx_state = _Referral_cb_tsx
^
------------------------------------------------------------
sipsimple/core/_core.referral.pxi:990:25: Cannot assign type 'void (pjsip_evsub *, pjsip_transaction *, pjsip_event *) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_transaction *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Referral_cb_tsx'.
Error compiling Cython file:
------------------------------------------------------------
...
#
cdef pjsip_evsub_user _refer_cb
_refer_cb.on_evsub_state = _Referral_cb_state
_refer_cb.on_tsx_state = _Referral_cb_tsx
_refer_cb.on_rx_notify = _Referral_cb_notify
^
------------------------------------------------------------
sipsimple/core/_core.referral.pxi:991:25: Cannot assign type 'void (pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Referral_cb_notify'.
Error compiling Cython file:
------------------------------------------------------------
...
cdef pjsip_evsub_user _refer_cb
_refer_cb.on_evsub_state = _Referral_cb_state
_refer_cb.on_tsx_state = _Referral_cb_tsx
_refer_cb.on_rx_notify = _Referral_cb_notify
_refer_cb.on_client_refresh = _Referral_cb_refresh
^
------------------------------------------------------------
sipsimple/core/_core.referral.pxi:992:30: Cannot assign type 'void (pjsip_evsub *) except * nogil' to 'void (*)(pjsip_evsub *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Referral_cb_refresh'.
Error compiling Cython file:
------------------------------------------------------------
...
_refer_cb.on_evsub_state = _Referral_cb_state
_refer_cb.on_tsx_state = _Referral_cb_tsx
_refer_cb.on_rx_notify = _Referral_cb_notify
_refer_cb.on_client_refresh = _Referral_cb_refresh
cdef pjsip_evsub_user _incoming_refer_subs_cb
_incoming_refer_subs_cb.on_rx_refresh = _IncomingReferral_cb_rx_refresh
^
------------------------------------------------------------
sipsimple/core/_core.referral.pxi:994:40: Cannot assign type 'void (pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_rx_data *, int *, pj_str_t **, pjsip_hdr *, pjsip_msg_body **) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_IncomingReferral_cb_rx_refresh'.
Error compiling Cython file:
------------------------------------------------------------
...
_refer_cb.on_tsx_state = _Referral_cb_tsx
_refer_cb.on_rx_notify = _Referral_cb_notify
_refer_cb.on_client_refresh = _Referral_cb_refresh
cdef pjsip_evsub_user _incoming_refer_subs_cb
_incoming_refer_subs_cb.on_rx_refresh = _IncomingReferral_cb_rx_refresh
_incoming_refer_subs_cb.on_server_timeout = _IncomingReferral_cb_server_timeout
^
------------------------------------------------------------
sipsimple/core/_core.referral.pxi:995:44: Cannot assign type 'void (pjsip_evsub *) except * nogil' to 'void (*)(pjsip_evsub *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_IncomingReferral_cb_server_timeout'.
Error compiling Cython file:
------------------------------------------------------------
...
_refer_cb.on_rx_notify = _Referral_cb_notify
_refer_cb.on_client_refresh = _Referral_cb_refresh
cdef pjsip_evsub_user _incoming_refer_subs_cb
_incoming_refer_subs_cb.on_rx_refresh = _IncomingReferral_cb_rx_refresh
_incoming_refer_subs_cb.on_server_timeout = _IncomingReferral_cb_server_timeout
_incoming_refer_subs_cb.on_tsx_state = _IncomingReferral_cb_tsx
^
------------------------------------------------------------
sipsimple/core/_core.referral.pxi:996:39: Cannot assign type 'void (pjsip_evsub *, pjsip_transaction *, pjsip_event *) except * nogil' to 'void (*)(pjsip_evsub *, pjsip_transaction *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_IncomingReferral_cb_tsx'.
Error compiling Cython file:
------------------------------------------------------------
...
ua._handle_exception(1)
# globals
cdef pjmedia_ice_cb _ice_cb
_ice_cb.on_ice_complete = _RTPTransport_cb_ice_complete
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2476:26: Cannot assign type 'void (pjmedia_transport *, pj_ice_strans_op, int) except * nogil' to 'void (*)(pjmedia_transport *, pj_ice_strans_op, int) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_ice_complete'.
Error compiling Cython file:
------------------------------------------------------------
...
# globals
cdef pjmedia_ice_cb _ice_cb
_ice_cb.on_ice_complete = _RTPTransport_cb_ice_complete
_ice_cb.on_ice_state = _RTPTransport_cb_ice_state
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2477:23: Cannot assign type 'void (pjmedia_transport *, pj_ice_strans_state, pj_ice_strans_state) except * nogil' to 'void (*)(pjmedia_transport *, pj_ice_strans_state, pj_ice_strans_state) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_ice_state'.
Error compiling Cython file:
------------------------------------------------------------
...
# globals
cdef pjmedia_ice_cb _ice_cb
_ice_cb.on_ice_complete = _RTPTransport_cb_ice_complete
_ice_cb.on_ice_state = _RTPTransport_cb_ice_state
_ice_cb.on_ice_stop = _RTPTransport_cb_ice_stop
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2478:22: Cannot assign type 'void (pjmedia_transport *, char *, int) except * nogil' to 'void (*)(pjmedia_transport *, char *, int) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_ice_stop'.
Error compiling Cython file:
------------------------------------------------------------
...
valid_sdp_directions = (b"sendrecv", b"sendonly", b"recvonly", b"inactive")
# ZRTP
cdef pjmedia_zrtp_cb _zrtp_cb
_zrtp_cb.secure_on = _RTPTransport_cb_zrtp_secure_on
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2485:21: Cannot assign type 'void (pjmedia_transport *, char *) except * nogil' to 'void (*)(pjmedia_transport *, char *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_zrtp_secure_on'.
Error compiling Cython file:
------------------------------------------------------------
...
# ZRTP
cdef pjmedia_zrtp_cb _zrtp_cb
_zrtp_cb.secure_on = _RTPTransport_cb_zrtp_secure_on
_zrtp_cb.secure_off = _RTPTransport_cb_zrtp_secure_off
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2486:22: Cannot assign type 'void (pjmedia_transport *) except * nogil' to 'void (*)(pjmedia_transport *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_zrtp_secure_off'.
Error compiling Cython file:
------------------------------------------------------------
...
# ZRTP
cdef pjmedia_zrtp_cb _zrtp_cb
_zrtp_cb.secure_on = _RTPTransport_cb_zrtp_secure_on
_zrtp_cb.secure_off = _RTPTransport_cb_zrtp_secure_off
_zrtp_cb.show_sas = _RTPTransport_cb_zrtp_show_sas
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2487:20: Cannot assign type 'void (pjmedia_transport *, char *, int) except * nogil' to 'void (*)(pjmedia_transport *, char *, int) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_zrtp_show_sas'.
Error compiling Cython file:
------------------------------------------------------------
...
cdef pjmedia_zrtp_cb _zrtp_cb
_zrtp_cb.secure_on = _RTPTransport_cb_zrtp_secure_on
_zrtp_cb.secure_off = _RTPTransport_cb_zrtp_secure_off
_zrtp_cb.show_sas = _RTPTransport_cb_zrtp_show_sas
_zrtp_cb.confirm_go_clear = _RTPTransport_cb_zrtp_confirm_goclear
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2488:28: Cannot assign type 'void (pjmedia_transport *) except * nogil' to 'void (*)(pjmedia_transport *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_zrtp_confirm_goclear'.
Error compiling Cython file:
------------------------------------------------------------
...
cdef pjmedia_zrtp_cb _zrtp_cb
_zrtp_cb.secure_on = _RTPTransport_cb_zrtp_secure_on
_zrtp_cb.secure_off = _RTPTransport_cb_zrtp_secure_off
_zrtp_cb.show_sas = _RTPTransport_cb_zrtp_show_sas
_zrtp_cb.confirm_go_clear = _RTPTransport_cb_zrtp_confirm_goclear
_zrtp_cb.show_message = _RTPTransport_cb_zrtp_show_message
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2489:24: Cannot assign type 'void (pjmedia_transport *, int, int) except * nogil' to 'void (*)(pjmedia_transport *, int, int) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_zrtp_show_message'.
Error compiling Cython file:
------------------------------------------------------------
...
_zrtp_cb.secure_on = _RTPTransport_cb_zrtp_secure_on
_zrtp_cb.secure_off = _RTPTransport_cb_zrtp_secure_off
_zrtp_cb.show_sas = _RTPTransport_cb_zrtp_show_sas
_zrtp_cb.confirm_go_clear = _RTPTransport_cb_zrtp_confirm_goclear
_zrtp_cb.show_message = _RTPTransport_cb_zrtp_show_message
_zrtp_cb.negotiation_failed = _RTPTransport_cb_zrtp_negotiation_failed
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2490:30: Cannot assign type 'void (pjmedia_transport *, int, int) except * nogil' to 'void (*)(pjmedia_transport *, int, int) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_zrtp_negotiation_failed'.
Error compiling Cython file:
------------------------------------------------------------
...
_zrtp_cb.secure_off = _RTPTransport_cb_zrtp_secure_off
_zrtp_cb.show_sas = _RTPTransport_cb_zrtp_show_sas
_zrtp_cb.confirm_go_clear = _RTPTransport_cb_zrtp_confirm_goclear
_zrtp_cb.show_message = _RTPTransport_cb_zrtp_show_message
_zrtp_cb.negotiation_failed = _RTPTransport_cb_zrtp_negotiation_failed
_zrtp_cb.not_supported_by_other = _RTPTransport_cb_zrtp_not_supported_by_other
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2491:34: Cannot assign type 'void (pjmedia_transport *) except * nogil' to 'void (*)(pjmedia_transport *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_zrtp_not_supported_by_other'.
Error compiling Cython file:
------------------------------------------------------------
...
_zrtp_cb.show_sas = _RTPTransport_cb_zrtp_show_sas
_zrtp_cb.confirm_go_clear = _RTPTransport_cb_zrtp_confirm_goclear
_zrtp_cb.show_message = _RTPTransport_cb_zrtp_show_message
_zrtp_cb.negotiation_failed = _RTPTransport_cb_zrtp_negotiation_failed
_zrtp_cb.not_supported_by_other = _RTPTransport_cb_zrtp_not_supported_by_other
_zrtp_cb.ask_enrollment = _RTPTransport_cb_zrtp_ask_enrollment
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2492:26: Cannot assign type 'void (pjmedia_transport *, int) except * nogil' to 'void (*)(pjmedia_transport *, int) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_zrtp_ask_enrollment'.
Error compiling Cython file:
------------------------------------------------------------
...
_zrtp_cb.confirm_go_clear = _RTPTransport_cb_zrtp_confirm_goclear
_zrtp_cb.show_message = _RTPTransport_cb_zrtp_show_message
_zrtp_cb.negotiation_failed = _RTPTransport_cb_zrtp_negotiation_failed
_zrtp_cb.not_supported_by_other = _RTPTransport_cb_zrtp_not_supported_by_other
_zrtp_cb.ask_enrollment = _RTPTransport_cb_zrtp_ask_enrollment
_zrtp_cb.inform_enrollment = _RTPTransport_cb_zrtp_inform_enrollment
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:2493:29: Cannot assign type 'void (pjmedia_transport *, int) except * nogil' to 'void (*)(pjmedia_transport *, int) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_RTPTransport_cb_zrtp_inform_enrollment'.
Error compiling Cython file:
------------------------------------------------------------
...
raise PJSIPError("Could not set fake DNS resolver on endpoint", status)
tpmgr = pjsip_endpt_get_tpmgr(self._obj)
if tpmgr == NULL:
raise SIPCoreError("Could not get the transport manager")
status = pjsip_tpmgr_set_state_cb(tpmgr, _transport_state_cb)
^
------------------------------------------------------------
sipsimple/core/_core.lib.pxi:83:49: Cannot assign type 'void (pjsip_transport *, pjsip_transport_state, pjsip_transport_state_info_ptr_const) except * nogil' to 'pjsip_tp_state_callback' (alias of 'void (*)(pjsip_transport *, pjsip_transport_state, pjsip_transport_state_info_ptr_const) noexcept nogil'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_transport_state_cb'.
Error compiling Cython file:
------------------------------------------------------------
...
with nogil:
status = pjmedia_wav_player_port_create(pool, filename, 0, PJMEDIA_FILE_NO_LOOP, 0, port_address)
if status != 0:
raise PJSIPError("Could not open WAV file", status)
with nogil:
status = pjmedia_wav_player_set_eof_cb(port_address[0], weakref, cb_play_wav_eof)
^
------------------------------------------------------------
sipsimple/core/_core.sound.pxi:1133:85: Cannot assign type 'int (pjmedia_port *, void *) except? -1 nogil' to 'int (pjmedia_port *, void *) noexcept nogil'
Error compiling Cython file:
------------------------------------------------------------
...
raise ValueError("invalid media port")
self._video_stream = stream
ptr = <void*>self
with nogil:
pjmedia_event_subscribe(NULL, &RemoteVideoStream_on_event, ptr, media_port);
^
------------------------------------------------------------
sipsimple/core/_core.video.pxi:635:42: Cannot assign type 'int (*)(pjmedia_event *, void *) except? -1 nogil' to 'pjmedia_event_cb *'. Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.
Error compiling Cython file:
------------------------------------------------------------
...
consumer = self._consumers.pop()
consumer.producer = None
ptr = <void*>self
media_port = self.producer_port
with nogil:
pjmedia_event_unsubscribe(NULL, &RemoteVideoStream_on_event, ptr, media_port)
^
------------------------------------------------------------
sipsimple/core/_core.video.pxi:742:48: Cannot assign type 'int (*)(pjmedia_event *, void *) except? -1 nogil' to 'pjmedia_event_cb *'. Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.
Error compiling Cython file:
------------------------------------------------------------
...
if video_stream == NULL:
raise SIPCoreError("invalid video device stream")
self._video_stream = video_stream
ptr = <void*>self.weakref
status = pjmedia_vid_dev_fb_set_callback(video_stream, FrameBufferVideoRenderer_frame_handler, ptr)
^
------------------------------------------------------------
sipsimple/core/_core.video.pxi:882:67: Cannot assign type 'void (pjmedia_frame_ptr_const, pjmedia_rect_size, void *) except * nogil' to 'pjmedia_vid_dev_fb_frame_cb' (alias of 'void (*)(pjmedia_frame_ptr_const, pjmedia_rect_size, void *) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of 'FrameBufferVideoRenderer_frame_handler'.
Error compiling Cython file:
------------------------------------------------------------
...
if kwargs["log_level"] < 0 or kwargs["log_level"] > PJ_LOG_MAX_LEVEL:
raise ValueError("Log level should be between 0 and %d" % PJ_LOG_MAX_LEVEL)
pj_log_set_level(kwargs["log_level"])
pj_log_set_decor(PJ_LOG_HAS_YEAR | PJ_LOG_HAS_MONTH | PJ_LOG_HAS_DAY_OF_MON |
PJ_LOG_HAS_TIME | PJ_LOG_HAS_MICRO_SEC | PJ_LOG_HAS_SENDER | PJ_LOG_HAS_INDENT)
pj_log_set_log_func(_cb_log)
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:92:28: Cannot assign type 'void (int, char_ptr_const, int) except *' to 'void (int, char_ptr_const, int) noexcept'
Error compiling Cython file:
------------------------------------------------------------
...
self._module_name = PJSTR(b"mod-core")
self._module.name = self._module_name.pj_str
self._module.id = -1
self._module.priority = PJSIP_MOD_PRIORITY_APPLICATION
self._module.on_rx_request = _PJSIPUA_cb_rx_request
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:113:37: Cannot assign type 'int (pjsip_rx_data *) except? -1 nogil' to 'int (*)(pjsip_rx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_PJSIPUA_cb_rx_request'.
Error compiling Cython file:
------------------------------------------------------------
...
self._module_name = PJSTR(b"mod-core")
self._module.name = self._module_name.pj_str
self._module.id = -1
self._module.priority = PJSIP_MOD_PRIORITY_APPLICATION
self._module.on_rx_request = _PJSIPUA_cb_rx_request
self._module.on_tsx_state = _Request_cb_tsx_state
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:114:36: Cannot assign type 'void (pjsip_transaction *, pjsip_event *) except * nogil' to 'void (*)(pjsip_transaction *, pjsip_event *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_Request_cb_tsx_state'.
Error compiling Cython file:
------------------------------------------------------------
...
self._opus_fix_module_name = PJSTR(b"mod-core-opus-fix")
self._opus_fix_module.name = self._opus_fix_module_name.pj_str
self._opus_fix_module.id = -1
self._opus_fix_module.priority = PJSIP_MOD_PRIORITY_TRANSPORT_LAYER+1
self._opus_fix_module.on_rx_request = _cb_opus_fix_rx
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:140:46: Cannot assign type 'int (pjsip_rx_data *) except? -1 nogil' to 'int (*)(pjsip_rx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_cb_opus_fix_rx'.
Error compiling Cython file:
------------------------------------------------------------
...
self._opus_fix_module_name = PJSTR(b"mod-core-opus-fix")
self._opus_fix_module.name = self._opus_fix_module_name.pj_str
self._opus_fix_module.id = -1
self._opus_fix_module.priority = PJSIP_MOD_PRIORITY_TRANSPORT_LAYER+1
self._opus_fix_module.on_rx_request = _cb_opus_fix_rx
self._opus_fix_module.on_rx_response = _cb_opus_fix_rx
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:141:47: Cannot assign type 'int (pjsip_rx_data *) except? -1 nogil' to 'int (*)(pjsip_rx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_cb_opus_fix_rx'.
Error compiling Cython file:
------------------------------------------------------------
...
self._opus_fix_module.name = self._opus_fix_module_name.pj_str
self._opus_fix_module.id = -1
self._opus_fix_module.priority = PJSIP_MOD_PRIORITY_TRANSPORT_LAYER+1
self._opus_fix_module.on_rx_request = _cb_opus_fix_rx
self._opus_fix_module.on_rx_response = _cb_opus_fix_rx
self._opus_fix_module.on_tx_request = _cb_opus_fix_tx
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:142:46: Cannot assign type 'int (pjsip_tx_data *) except? -1 nogil' to 'int (*)(pjsip_tx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_cb_opus_fix_tx'.
Error compiling Cython file:
------------------------------------------------------------
...
self._opus_fix_module.id = -1
self._opus_fix_module.priority = PJSIP_MOD_PRIORITY_TRANSPORT_LAYER+1
self._opus_fix_module.on_rx_request = _cb_opus_fix_rx
self._opus_fix_module.on_rx_response = _cb_opus_fix_rx
self._opus_fix_module.on_tx_request = _cb_opus_fix_tx
self._opus_fix_module.on_tx_response = _cb_opus_fix_tx
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:143:47: Cannot assign type 'int (pjsip_tx_data *) except? -1 nogil' to 'int (*)(pjsip_tx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_cb_opus_fix_tx'.
Error compiling Cython file:
------------------------------------------------------------
...
self._trace_module_name = PJSTR(b"mod-core-sip-trace")
self._trace_module.name = self._trace_module_name.pj_str
self._trace_module.id = -1
self._trace_module.priority = 0
self._trace_module.on_rx_request = _cb_trace_rx
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:152:43: Cannot assign type 'int (pjsip_rx_data *) except? -1 nogil' to 'int (*)(pjsip_rx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_cb_trace_rx'.
Error compiling Cython file:
------------------------------------------------------------
...
self._trace_module_name = PJSTR(b"mod-core-sip-trace")
self._trace_module.name = self._trace_module_name.pj_str
self._trace_module.id = -1
self._trace_module.priority = 0
self._trace_module.on_rx_request = _cb_trace_rx
self._trace_module.on_rx_response = _cb_trace_rx
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:153:44: Cannot assign type 'int (pjsip_rx_data *) except? -1 nogil' to 'int (*)(pjsip_rx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_cb_trace_rx'.
Error compiling Cython file:
------------------------------------------------------------
...
self._trace_module.name = self._trace_module_name.pj_str
self._trace_module.id = -1
self._trace_module.priority = 0
self._trace_module.on_rx_request = _cb_trace_rx
self._trace_module.on_rx_response = _cb_trace_rx
self._trace_module.on_tx_request = _cb_trace_tx
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:154:43: Cannot assign type 'int (pjsip_tx_data *) except? -1 nogil' to 'int (*)(pjsip_tx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_cb_trace_tx'.
Error compiling Cython file:
------------------------------------------------------------
...
self._trace_module.id = -1
self._trace_module.priority = 0
self._trace_module.on_rx_request = _cb_trace_rx
self._trace_module.on_rx_response = _cb_trace_rx
self._trace_module.on_tx_request = _cb_trace_tx
self._trace_module.on_tx_response = _cb_trace_tx
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:155:44: Cannot assign type 'int (pjsip_tx_data *) except? -1 nogil' to 'int (*)(pjsip_tx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_cb_trace_tx'.
Error compiling Cython file:
------------------------------------------------------------
...
self._ua_tag_module_name = PJSTR(b"mod-core-ua-tag")
self._ua_tag_module.name = self._ua_tag_module_name.pj_str
self._ua_tag_module.id = -1
self._ua_tag_module.priority = PJSIP_MOD_PRIORITY_TRANSPORT_LAYER+1
self._ua_tag_module.on_tx_request = _cb_add_user_agent_hdr
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:164:44: Cannot assign type 'int (pjsip_tx_data *) except? -1 nogil' to 'int (*)(pjsip_tx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_cb_add_user_agent_hdr'.
Error compiling Cython file:
------------------------------------------------------------
...
self._ua_tag_module_name = PJSTR(b"mod-core-ua-tag")
self._ua_tag_module.name = self._ua_tag_module_name.pj_str
self._ua_tag_module.id = -1
self._ua_tag_module.priority = PJSIP_MOD_PRIORITY_TRANSPORT_LAYER+1
self._ua_tag_module.on_tx_request = _cb_add_user_agent_hdr
self._ua_tag_module.on_tx_response = _cb_add_server_hdr
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:165:45: Cannot assign type 'int (pjsip_tx_data *) except? -1 nogil' to 'int (*)(pjsip_tx_data *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of '_cb_add_server_hdr'.
Error compiling Cython file:
------------------------------------------------------------
...
self._enable_colorbar_device = int(bool(kwargs["enable_colorbar_device"]))
self._user_agent = PJSTR(kwargs["user_agent"].encode())
self.rtp_port_range = kwargs["rtp_port_range"]
self.zrtp_cache = kwargs["zrtp_cache"].encode() if kwargs["zrtp_cache"] else None
status = pjmedia_aud_dev_set_observer_cb(_cb_audio_dev_process_event);
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:185:49: Cannot assign type 'void (pjmedia_aud_dev_event) except * nogil' to 'pjmedia_aud_dev_observer_callback' (alias of 'void (*)(pjmedia_aud_dev_event) noexcept'). Exception values are incompatible. Suggest adding 'noexcept' to the type of '_cb_audio_dev_process_event'.
Error compiling Cython file:
------------------------------------------------------------
...
raise ValueError("Not a valid IPv4 address: %s" % stun_server_address)
_str_to_pj_str(stun_server_address.encode(), &stun_server_address_pj)
status = pj_sockaddr_in_init(&stun_server, &stun_server_address_pj, stun_server_port)
if status != 0:
raise PJSIPError("Could not init STUN server address", status)
status = pj_stun_detect_nat_type(&stun_server, &self._stun_cfg, <void *> user_data, _cb_detect_nat_type)
^
------------------------------------------------------------
sipsimple/core/_core.ua.pxi:735:92: Cannot assign type 'void (void *, pj_stun_nat_detect_result_ptr_const) except * nogil' to 'void (void *, pj_stun_nat_detect_result_ptr_const) noexcept nogil'
Error compiling Cython file:
------------------------------------------------------------
...
# public methods
def __cinit__(self, *args, **kwargs):
self.state = "INIT"
self.peer_address = None
pj_timer_entry_init(&self._timer, 0, <void *> self, _Request_cb_timer)
^
------------------------------------------------------------
sipsimple/core/_core.request.pxi:65:60: Cannot assign type 'void (pj_timer_heap_t *, pj_timer_entry *) except * nogil' to 'void (pj_timer_heap_t *, pj_timer_entry *) noexcept nogil'
Error compiling Cython file:
------------------------------------------------------------
...
#public methods
def __cinit__(self, *args, **kwargs):
self.state = "NULL"
pj_timer_entry_init(&self._timeout_timer, 0, <void *> self, _Subscription_cb_timer)
^
------------------------------------------------------------
sipsimple/core/_core.subscription.pxi:12:68: Cannot assign type 'void (pj_timer_heap_t *, pj_timer_entry *) except * nogil' to 'void (pj_timer_heap_t *, pj_timer_entry *) noexcept nogil'
Error compiling Cython file:
------------------------------------------------------------
...
def __cinit__(self, *args, **kwargs):
self.state = "NULL"
pj_timer_entry_init(&self._timeout_timer, 0, <void *> self, _Subscription_cb_timer)
self._timeout_timer_active = 0
pj_timer_entry_init(&self._refresh_timer, 1, <void *> self, _Subscription_cb_timer)
^
------------------------------------------------------------
sipsimple/core/_core.subscription.pxi:14:68: Cannot assign type 'void (pj_timer_heap_t *, pj_timer_entry *) except * nogil' to 'void (pj_timer_heap_t *, pj_timer_entry *) noexcept nogil'
Error compiling Cython file:
------------------------------------------------------------
...
cdef class Referral:
expire_warning_time = 30
def __cinit__(self, *args, **kwargs):
self.state = "NULL"
pj_timer_entry_init(&self._timeout_timer, 0, <void *> self, _Referral_cb_timer)
^
------------------------------------------------------------
sipsimple/core/_core.referral.pxi:9:68: Cannot assign type 'void (pj_timer_heap_t *, pj_timer_entry *) except * nogil' to 'void (pj_timer_heap_t *, pj_timer_entry *) noexcept nogil'
Error compiling Cython file:
------------------------------------------------------------
...
def __cinit__(self, *args, **kwargs):
self.state = "NULL"
pj_timer_entry_init(&self._timeout_timer, 0, <void *> self, _Referral_cb_timer)
self._timeout_timer_active = 0
pj_timer_entry_init(&self._refresh_timer, 1, <void *> self, _Referral_cb_timer)
^
------------------------------------------------------------
sipsimple/core/_core.referral.pxi:11:68: Cannot assign type 'void (pj_timer_heap_t *, pj_timer_entry *) except * nogil' to 'void (pj_timer_heap_t *, pj_timer_entry *) noexcept nogil'
Error compiling Cython file:
------------------------------------------------------------
...
status = pjmedia_stream_create(media_endpoint, pool, stream_info_address,
transport, NULL, stream_address)
if status != 0:
raise PJSIPError("Could not initialize RTP for audio session", status)
with nogil:
status = pjmedia_stream_set_dtmf_callback(stream_address[0], _AudioTransport_cb_dtmf, <void *> self.weakref)
^
------------------------------------------------------------
sipsimple/core/_core.mediatransport.pxi:1285:77: Cannot assign type 'void (pjmedia_stream *, void *, int) except * nogil' to 'void (pjmedia_stream *, void *, int) noexcept nogil'
Compiling sipsimple/core/_core.pyx because it changed.
[1/1] Cythonizing sipsimple/core/_core.pyx
Traceback (most recent call last):
File "/builddir/build/BUILD/python3-sipsimple-5.3.0/setup.py", line 28, in <module>
setup(
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 963, in run_command
super().run_command(command)
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
self._build_extensions_serial()
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
self.build_extension(ext)
File "/usr/lib64/python3.12/site-packages/Cython/Distutils/build_ext.py", line 130, in build_extension
new_ext = cythonize(
^^^^^^^^^^
File "/usr/lib64/python3.12/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize
cythonize_one(*args)
File "/usr/lib64/python3.12/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: sipsimple/core/_core.pyx
error: Bad exit status from /var/tmp/rpm-tmp.sTXdBA (%prep)
Bad exit status from /var/tmp/rpm-tmp.sTXdBA (%prep)
RPM build errors:
Child return code was: 1
More information about the Blink
mailing list