Add ICU dependency to sipsimple #6

Manually merged
hasufell merged 1 commits from tombriden/hasufell-repository:sipsimple_depfix into master 2019-01-23 14:56:27 +00:00
Collaborator

Having removed icu<63 i got the follwing error, even after a recompile os sipsimple

  File "/usr/host/bin/blink", line 67, in <module>
    from blink import Blink
  File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/blink/__init__.py", line 15, in <module>
    from sipsimple.account import Account, AccountManager, BonjourAccount
  File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/sipsimple/account/__init__.py", line 23, in <module>
    from sipsimple.account.bonjour import BonjourServices, _bonjour
  File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/sipsimple/account/bonjour/__init__.py", line 21, in <module>
    from sipsimple.core import FrozenSIPURI, SIPCoreError, NoGRUU
  File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/sipsimple/core/__init__.py", line 2, in <module>
    from sipsimple.core._core import *
ImportError: libicui18n.so.62: cannot open shared object file: No such file or directory
Having removed icu<63 i got the follwing error, even after a recompile os sipsimple ``` File "/usr/host/bin/blink", line 67, in <module> from blink import Blink File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/blink/__init__.py", line 15, in <module> from sipsimple.account import Account, AccountManager, BonjourAccount File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/sipsimple/account/__init__.py", line 23, in <module> from sipsimple.account.bonjour import BonjourServices, _bonjour File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/sipsimple/account/bonjour/__init__.py", line 21, in <module> from sipsimple.core import FrozenSIPURI, SIPCoreError, NoGRUU File "/usr/x86_64-pc-linux-gnu/lib/python2.7/site-packages/sipsimple/core/__init__.py", line 2, in <module> from sipsimple.core._core import * ImportError: libicui18n.so.62: cannot open shared object file: No such file or directory ```
Owner

Can't even build this shit

 void HMAC_CTX_free(HMAC_CTX *ctx);
      ^~~~~~~~~~~~~
In file included from ../../zsrtp/zrtp/srtp/crypto/openssl/hmac.cpp:40:0:
../../zsrtp/include/openssl_compat.h: In function 'int HMAC_CTX_reset(HMAC_CTX*)':
../../zsrtp/include/openssl_compat.h:23:12: error: 'int HMAC_CTX_reset(HMAC_CTX*)' was declared 'extern' and later 'static' [-fpermissive]
 static int HMAC_CTX_reset(HMAC_CTX *ctx)
            ^~~~~~~~~~~~~~
In file included from ../../zsrtp/zrtp/srtp/crypto/openssl/hmac.cpp:37:0:
/usr/x86_64-pc-linux-gnu/include/openssl/hmac.h:89:5: note: previous declaration of 'int HMAC_CTX_reset(HMAC_CTX*)'
 int HMAC_CTX_reset(HMAC_CTX *ctx);
     ^~~~~~~~~~~~~~
make[3]: *** [/var/tmp/paludis/build/dev-python-python-sipsimple-3.3.0/work/PYTHON_ABIS/2.7/python-sipsimple-release-3.3.0/build/temp.linux-x86_64-2.7/pjsip/build/rules.mak:147: output/libzsrtp-x86_64-unknown-linux-gnu/zrtp/srtp/crypto/openssl/hmac.o] Error 1
make[2]: *** [Makefile:116: libzsrtp] Error 2
make[1]: *** [Makefile:7: all] Error 1
make: *** [Makefile:14: all] Error 1
Can't even build this shit ``` void HMAC_CTX_free(HMAC_CTX *ctx); ^~~~~~~~~~~~~ In file included from ../../zsrtp/zrtp/srtp/crypto/openssl/hmac.cpp:40:0: ../../zsrtp/include/openssl_compat.h: In function 'int HMAC_CTX_reset(HMAC_CTX*)': ../../zsrtp/include/openssl_compat.h:23:12: error: 'int HMAC_CTX_reset(HMAC_CTX*)' was declared 'extern' and later 'static' [-fpermissive] static int HMAC_CTX_reset(HMAC_CTX *ctx) ^~~~~~~~~~~~~~ In file included from ../../zsrtp/zrtp/srtp/crypto/openssl/hmac.cpp:37:0: /usr/x86_64-pc-linux-gnu/include/openssl/hmac.h:89:5: note: previous declaration of 'int HMAC_CTX_reset(HMAC_CTX*)' int HMAC_CTX_reset(HMAC_CTX *ctx); ^~~~~~~~~~~~~~ make[3]: *** [/var/tmp/paludis/build/dev-python-python-sipsimple-3.3.0/work/PYTHON_ABIS/2.7/python-sipsimple-release-3.3.0/build/temp.linux-x86_64-2.7/pjsip/build/rules.mak:147: output/libzsrtp-x86_64-unknown-linux-gnu/zrtp/srtp/crypto/openssl/hmac.o] Error 1 make[2]: *** [Makefile:116: libzsrtp] Error 2 make[1]: *** [Makefile:7: all] Error 1 make: *** [Makefile:14: all] Error 1 ```
hasufell closed this pull request 2019-01-23 14:56:27 +00:00
Owner

pushed nonetheless

pushed nonetheless
Author
Collaborator

thanks. looks like somethings broken in the openssl-1.0/1.1 compatibility. are you still on openssl-1.0?

thanks. looks like somethings broken in the openssl-1.0/1.1 compatibility. are you still on openssl-1.0?
Owner

I'm using LibreSSL.

I'm using LibreSSL.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hasufell/hasufell-repository#6
No description provided.