+ Antworten
Seite 42 von 53 ErsteErste ... 32404142434452 ... LetzteLetzte
Ergebnis 411 bis 420 von 523
  1. #411
    Neuer Benutzer
    Registriert seit
    21.10.2012
    Beiträge
    19
    Thanks
    8
    Thanked 2 Times in 2 Posts
    Hallo, large part of the message:

    Start build of python_cheetah 2.4.4.
    warning: no files found matching 'examples'
    warning: no files found matching 'docs'
    warning: no files found matching 'bin'
    warning: no files found matching '*' under directory 'docs'
    warning: no files found matching '*' under directory 'examples'
    warning: no previously-included files matching '*.pyc' found under directory 'cheetah'
    warning: no previously-included files matching '*~' found under directory 'cheetah'
    warning: no previously-included files matching '*.aux' found under directory 'cheetah'
    warning: no previously-included files matching '*~' found under directory 'docs'
    warning: no previously-included files matching '*.aux' found under directory 'docs'
    --------------------------------------------------------------
    Build of python_cheetah 2.4.4 completed.

    ================================================== ============

    Start build of python_pyopenssl 0.13.1.
    Applying Patch: python-pyopenssl-0.13.1.patch
    patching file OpenSSL/crypto/crl.c
    Patching python_pyopenssl 0.13.1 completed.

    /home/clausi/audio/buildsystem/tufsbox/host/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'
    warnings.warn(msg)
    OpenSSL/crypto/crypto.c: In function 'crypto_sign':
    OpenSSL/crypto/crypto.c:626:16: error: storage size of 'md_ctx' isn't known
    EVP_MD_CTX md_ctx;
    ^
    OpenSSL/crypto/crypto.c:626:16: warning: unused variable 'md_ctx' [-Wunused-variable]
    OpenSSL/crypto/crypto.c: In function 'crypto_verify':
    OpenSSL/crypto/crypto.c:673:16: error: storage size of 'md_ctx' isn't known
    EVP_MD_CTX md_ctx;
    ^
    OpenSSL/crypto/crypto.c:673:16: warning: unused variable 'md_ctx' [-Wunused-variable]
    OpenSSL/crypto/crypto.c: At top level:
    OpenSSL/crypto/crypto.c:743 warning: 'locking_function' defined but not used [-Wunused-function]
    static void locking_function(int mode, int n, const char * file, int line) {
    ^
    error: command 'sh4-linux-gcc' failed with exit status 1
    make: *** [make/python.mk:475: /home/clausi/audio/buildsystem/.deps/python_pyopenssl] Fehler 1

    greetings clausi_e


  2. #412
    Developer
    Registriert seit
    18.07.2012
    Ort
    Ridderkerk, Niederlande
    Beiträge
    634
    Thanks
    144
    Thanked 712 Times in 304 Posts
    Thank you for the additional info. I think I have fixed it by upgrading pyopenssl to the most recent version. It least builds through now, but I have not tested the resulting image yet.

    Regards,

    Audioniek.
    Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
    Sats: Astra 1, 2 & 3, Hotbird
    Main activity: building my own E2 images for Fortis receivers


  3. #413
    Neuer Benutzer
    Registriert seit
    21.10.2012
    Beiträge
    19
    Thanks
    8
    Thanked 2 Times in 2 Posts
    Thank You, now it works. Greets. Clausi_e


  4. #414
    Neuer Benutzer
    Registriert seit
    21.10.2012
    Beiträge
    19
    Thanks
    8
    Thanked 2 Times in 2 Posts
    Building spark7162 E2 appairs following mesage:
    /home/clausi/audio/buildsystem/tufsbox/cdkroot/usr/include/glcddrivers/driver.h:76 warning: unused parameter 'percent' [-Wunused-parameter]
    virtual void SetBrightness(unsigned int percent) {}
    ^
    /home/clausi/audio/buildsystem/tufsbox/cdkroot/usr/include/glcddrivers/driver.h:79 warning: unused parameter 'Feature' [-Wunused-parameter]
    virtual bool SetFeature (const std::string & Feature, int value) { return false; }
    ^
    /home/clausi/audio/buildsystem/tufsbox/cdkroot/usr/include/glcddrivers/driver.h:79 warning: unused parameter 'value' [-Wunused-parameter]
    gdi/lcd.cpp:406:5: warning: unused parameter 'contrast' [-Wunused-parameter]
    int eDBoxLCD::setLCDContrast(int contrast)
    ^
    gdi/lcd.cpp:425 error: no 'eDBoxLCD* eDBoxLCD::getInstance()' member function declared in class 'eDBoxLCD'
    eDBoxLCD *eDBoxLCD::getInstance()
    ^
    gdi/stmfb.cpp:36 warning: unused parameter 'src_width' [-Wunused-parameter]
    void stmfb_accel_blit(
    ^
    gdi/stmfb.cpp:36 warning: unused parameter 'src_height' [-Wunused-parameter]
    gdi/stmfb.cpp:36 warning: unused parameter 'src_format' [-Wunused-parameter]
    gdi/stmfb.cpp:36 warning: unused parameter 'dst_width' [-Wunused-parameter]
    gdi/stmfb.cpp:36 warning: unused parameter 'dst_height' [-Wunused-parameter]
    gdi/stmfb.cpp:68 warning: unused parameter 'dst_addr' [-Wunused-parameter]
    void stmfb_accel_fill(
    ^
    gdi/stmfb.cpp:68 warning: unused parameter 'dst_width' [-Wunused-parameter]
    gdi/stmfb.cpp:68 warning: unused parameter 'dst_height' [-Wunused-parameter]
    gdi/stmfb.cpp:68 warning: unused parameter 'dst_stride' [-Wunused-parameter]
    gdi/stmfb.cpp:68 warning: unused parameter 'x' [-Wunused-parameter]
    gdi/stmfb.cpp:68 warning: unused parameter 'y' [-Wunused-parameter]
    gdi/stmfb.cpp:68 warning: unused parameter 'width' [-Wunused-parameter]
    gdi/stmfb.cpp:68 warning: unused parameter 'height' [-Wunused-parameter]
    gdi/stmfb.cpp:68 warning: unused parameter 'color' [-Wunused-parameter]
    make[5]: *** [Makefile:2198: gdi/libenigma_gdi_a-lcd.o] Error 1
    make[5]: *** Waiting for unfinished jobs....
    make[4]: *** [Makefile:2875: all-recursive] Error 1
    make[3]: *** [Makefile:1211: all] Error 2
    make[2]: *** [Makefile:544: all-recursive] Error 1
    make[1]: *** [Makefile:430: all] Error 2
    make: *** [make/enigma2.mk:202: /home/clausi/audio/buildsystem/.deps/enigma2.do_compile] Fehler 2

    I hope its enough to fix it. Thank You and greets Clausi
    Geändert von clausi_e (07.08.2021 um 19:50 Uhr)


  5. #415
    Neuer Benutzer
    Registriert seit
    21.10.2012
    Beiträge
    19
    Thanks
    8
    Thanked 2 Times in 2 Posts
    I tested to build 7162 standard options and lcd4linux and got this message:
    Traceback (most recent call last):
    File "./setup.py", line 121, in <module>
    "src/_cffi_src/build_padding.py:ffi",
    File "/home/michael/buildsystem/tufsbox/host/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/setuptools/dist.py", line 272, in __init__
    _Distribution.__init__(self,attrs)
    File "/home/michael/buildsystem/tufsbox/host/lib/python2.7/distutils/dist.py", line 287, in __init__
    self.finalize_options()
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/setuptools/dist.py", line 327, in finalize_options
    ep.load()(self, ep.name, value)
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 219, in cffi_modules
    add_cffi_module(dist, cffi_module)
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
    execfile(build_file_name, mod_vars)
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 25, in execfile
    exec(code, glob, glob)
    File "src/_cffi_src/build_openssl.py", line 120, in <module>
    extra_link_args=extra_link_args(compiler_type()),
    File "./src/_cffi_src/utils.py", line 60, in build_ffi_for_binding
    extra_link_args=extra_link_args,
    File "./src/_cffi_src/utils.py", line 74, in build_ffi
    ffi = FFI()
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/api.py", line 48, in __init__
    import _cffi_backend as backend
    ImportError: /home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/_cffi_backend.so: undefined symbol: Py_InitModule4
    make/python.mk:463: recipe for target '/home/michael/buildsystem/.deps/python_cryptography' failed
    make: *** [/home/michael/buildsystem/.deps/python_cryptography] Error 1
    Thank You and greets


  6. #416
    Developer
    Registriert seit
    18.07.2012
    Ort
    Ridderkerk, Niederlande
    Beiträge
    634
    Thanks
    144
    Thanked 712 Times in 304 Posts
    Hello Clausi_e,

    I gave it a try, and the build succeeds succesfully for E2, Spark7162 and lcd4linux enabled. I recently fixed things with python_cffi to get the webif working again. First try a git pull or make update would be my suggestion.

    Regards,

    Audioniek.
    Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
    Sats: Astra 1, 2 & 3, Hotbird
    Main activity: building my own E2 images for Fortis receivers


  7. #417
    Neuer Benutzer
    Registriert seit
    21.10.2012
    Beiträge
    19
    Thanks
    8
    Thanked 2 Times in 2 Posts
    Hallo, I tested it on Ubuntu 64 and Ubuntu Mint, 7162 standard settings except Lcd4linux, did sudo ./prepare-for-bs.sh, make update and clean , ubuntu updated. Following message:

    Start build of python_cryptography 3.3.1.
    /home/michael/buildsystem/tufsbox/host/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
    warnings.warn(msg)
    /home/michael/buildsystem/tufsbox/host/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
    warnings.warn(msg)

    =============================DEBUG ASSISTANCE=============================
    If you are seeing a compilation error please try the following steps to
    successfully install cryptography:
    1) Upgrade to the latest pip and try again. This will fix errors for most
    users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
    2) Read https://cryptography.io/en/latest/installation.html for specific
    instructions for your platform.
    3) Check our frequently asked questions for more information:
    https://cryptography.io/en/latest/faq.html
    =============================DEBUG ASSISTANCE=============================

    Traceback (most recent call last):
    File "./setup.py", line 121, in <module>
    "src/_cffi_src/build_padding.py:ffi",
    File "/home/michael/buildsystem/tufsbox/host/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/setuptools/dist.py", line 272, in __init__
    _Distribution.__init__(self,attrs)
    File "/home/michael/buildsystem/tufsbox/host/lib/python2.7/distutils/dist.py", line 287, in __init__
    self.finalize_options()
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/setuptools/dist.py", line 327, in finalize_options
    ep.load()(self, ep.name, value)
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 219, in cffi_modules
    add_cffi_module(dist, cffi_module)
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
    execfile(build_file_name, mod_vars)
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 25, in execfile
    exec(code, glob, glob)
    File "src/_cffi_src/build_openssl.py", line 120, in <module>
    extra_link_args=extra_link_args(compiler_type()),
    File "./src/_cffi_src/utils.py", line 60, in build_ffi_for_binding
    extra_link_args=extra_link_args,
    File "./src/_cffi_src/utils.py", line 74, in build_ffi
    ffi = FFI()
    File "/home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/api.py", line 48, in __init__
    import _cffi_backend as backend
    ImportError: /home/michael/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/_cffi_backend.so: undefined symbol: Py_InitModule4
    make/python.mk:463: recipe for target '/home/michael/buildsystem/.deps/python_cryptography' failed
    make: *** [/home/michael/buildsystem/.deps/python_cryptography] Error 1

    Thank you for Your help. Greets Clausi_e


  8. #418
    Developer
    Registriert seit
    18.07.2012
    Ort
    Ridderkerk, Niederlande
    Beiträge
    634
    Thanks
    144
    Thanked 712 Times in 304 Posts
    Hello clausi_e,

    Are you sure you have rebuilt all python modules? If not, delete all files beginning with python in X/.deps.

    After a git pull everything builds OK with my setup:
    Code:
    Build of python_cffi 1.14.6 completed.
    
    ==============================================================
    
    Start build of python_enum34 1.0.4.
    /home/ndv/abs-ufs922/tufsbox/host/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
      warnings.warn(msg)
    /home/ndv/abs-ufs922/tufsbox/host/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
      warnings.warn(msg)
    --------------------------------------------------------------
    Build of python_enum34 1.0.4 completed.
    
    ==============================================================
    
    Start build of python_cryptography 3.3.1.
    /home/ndv/abs-ufs922/tufsbox/host/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)
    /home/ndv/abs-ufs922/tufsbox/host/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files found matching 'vectors'
    warning: no previously-included files matching '*' found under directory 'vectors'
    warning: no previously-included files matching '*' found under directory '.github'
    warning: no previously-included files found matching 'release.py'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files found matching '.readthedocs.yml'
    warning: no previously-included files found matching 'dev-requirements.txt'
    warning: no previously-included files found matching 'rtd-requirements.txt'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files matching '*' found under directory '.zuul.d'
    warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
    build/temp.linux-i686-2.7/_openssl.c: In function 'Cryptography_pem_password_cb':
    build/temp.linux-i686-2.7/_openssl.c:2385:37: warning: conversion to 'size_t' from 'int' may change the sign of the result [-Wsign-conversion]
             memcpy(buf, st->password, st->length);
                                         ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_ASN1_STRING_data':
    build/temp.linux-i686-2.7/_openssl.c:9064:3: warning: 'ASN1_STRING_data' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/asn1.h:554) [-Wdeprecated-declarations]
       return ASN1_STRING_data(x0);
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_ASN1_STRING_data':
    build/temp.linux-i686-2.7/_openssl.c:9087:3: warning: 'ASN1_STRING_data' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/asn1.h:554) [-Wdeprecated-declarations]
       { result = ASN1_STRING_data(x0); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_BIO_s_datagram':
    build/temp.linux-i686-2.7/_openssl.c:10218:3: warning: return discards 'const' qualifier from pointer target type [enabled by default]
       return BIO_s_datagram();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_BIO_s_datagram':
    build/temp.linux-i686-2.7/_openssl.c:10229:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
       { result = BIO_s_datagram(); }
                ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_BIO_s_mem':
    build/temp.linux-i686-2.7/_openssl.c:10244:3: warning: return discards 'const' qualifier from pointer target type [enabled by default]
       return BIO_s_mem();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_BIO_s_mem':
    build/temp.linux-i686-2.7/_openssl.c:10255:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
       { result = BIO_s_mem(); }
                ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_DTLSv1_client_method':
    build/temp.linux-i686-2.7/_openssl.c:15360:3: warning: 'DTLSv1_client_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1897) [-Wdeprecated-declarations]
       return DTLSv1_client_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_DTLSv1_client_method':
    build/temp.linux-i686-2.7/_openssl.c:15371:3: warning: 'DTLSv1_client_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1897) [-Wdeprecated-declarations]
       { result = DTLSv1_client_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_DTLSv1_method':
    build/temp.linux-i686-2.7/_openssl.c:15424:3: warning: 'DTLSv1_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1895) [-Wdeprecated-declarations]
       return DTLSv1_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_DTLSv1_method':
    build/temp.linux-i686-2.7/_openssl.c:15435:3: warning: 'DTLSv1_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1895) [-Wdeprecated-declarations]
       { result = DTLSv1_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_DTLSv1_server_method':
    build/temp.linux-i686-2.7/_openssl.c:15450:3: warning: 'DTLSv1_server_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1896) [-Wdeprecated-declarations]
       return DTLSv1_server_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_DTLSv1_server_method':
    build/temp.linux-i686-2.7/_openssl.c:15461:3: warning: 'DTLSv1_server_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1896) [-Wdeprecated-declarations]
       { result = DTLSv1_server_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_OCSP_resp_get0_certs':
    build/temp.linux-i686-2.7/_openssl.c:26062:3: warning: return discards 'const' qualifier from pointer target type [enabled by default]
       return OCSP_resp_get0_certs(x0);
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_OCSP_resp_get0_certs':
    build/temp.linux-i686-2.7/_openssl.c:26085:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
       { result = OCSP_resp_get0_certs(x0); }
                ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_OPENSSL_config':
    build/temp.linux-i686-2.7/_openssl.c:26550:3: warning: 'OPENSSL_config' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/conf.h:91) [-Wdeprecated-declarations]
       OPENSSL_config(x0);
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_OPENSSL_config':
    build/temp.linux-i686-2.7/_openssl.c:26571:3: warning: 'OPENSSL_config' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/conf.h:91) [-Wdeprecated-declarations]
       { OPENSSL_config(x0); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_CTX_add_extra_chain_cert':
    build/temp.linux-i686-2.7/_openssl.c:31441:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       return SSL_CTX_add_extra_chain_cert(x0, x1);
                          ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_CTX_add_extra_chain_cert':
    build/temp.linux-i686-2.7/_openssl.c:31479:26: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_CTX_add_extra_chain_cert(x0, x1); }
                              ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_CTX_clear_mode':
    build/temp.linux-i686-2.7/_openssl.c:31620:3: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       return SSL_CTX_clear_mode(x0, x1);
       ^
    build/temp.linux-i686-2.7/_openssl.c:31620:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       return SSL_CTX_clear_mode(x0, x1);
                          ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_CTX_clear_mode':
    build/temp.linux-i686-2.7/_openssl.c:31653:3: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_CTX_clear_mode(x0, x1); }
       ^
    build/temp.linux-i686-2.7/_openssl.c:31653:26: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_CTX_clear_mode(x0, x1); }
                              ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_CTX_get_mode':
    build/temp.linux-i686-2.7/_openssl.c:32109:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       return SSL_CTX_get_mode(x0);
                          ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_CTX_get_mode':
    build/temp.linux-i686-2.7/_openssl.c:32132:26: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_CTX_get_mode(x0); }
                              ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_CTX_get_session_cache_mode':
    build/temp.linux-i686-2.7/_openssl.c:32223:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       return SSL_CTX_get_session_cache_mode(x0);
                          ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_CTX_get_session_cache_mode':
    build/temp.linux-i686-2.7/_openssl.c:32246:26: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_CTX_get_session_cache_mode(x0); }
                              ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_CTX_set_mode':
    build/temp.linux-i686-2.7/_openssl.c:33948:3: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       return SSL_CTX_set_mode(x0, x1);
       ^
    build/temp.linux-i686-2.7/_openssl.c:33948:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       return SSL_CTX_set_mode(x0, x1);
                          ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_CTX_set_mode':
    build/temp.linux-i686-2.7/_openssl.c:33981:3: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_CTX_set_mode(x0, x1); }
       ^
    build/temp.linux-i686-2.7/_openssl.c:33981:26: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_CTX_set_mode(x0, x1); }
                              ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_CTX_set_session_cache_mode':
    build/temp.linux-i686-2.7/_openssl.c:34230:3: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       return SSL_CTX_set_session_cache_mode(x0, x1);
       ^
    build/temp.linux-i686-2.7/_openssl.c:34230:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       return SSL_CTX_set_session_cache_mode(x0, x1);
                          ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_CTX_set_session_cache_mode':
    build/temp.linux-i686-2.7/_openssl.c:34263:3: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_CTX_set_session_cache_mode(x0, x1); }
       ^
    build/temp.linux-i686-2.7/_openssl.c:34263:26: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_CTX_set_session_cache_mode(x0, x1); }
                              ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_CTX_set_tmp_dh':
    build/temp.linux-i686-2.7/_openssl.c:34636:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       return SSL_CTX_set_tmp_dh(x0, x1);
                          ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_CTX_set_tmp_dh':
    build/temp.linux-i686-2.7/_openssl.c:34674:26: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_CTX_set_tmp_dh(x0, x1); }
                              ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_CTX_set_tmp_ecdh':
    build/temp.linux-i686-2.7/_openssl.c:34689:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       return SSL_CTX_set_tmp_ecdh(x0, x1);
                          ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_CTX_set_tmp_ecdh':
    build/temp.linux-i686-2.7/_openssl.c:34727:26: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_CTX_set_tmp_ecdh(x0, x1); }
                              ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_SESSION_get_ticket_lifetime_hint':
    build/temp.linux-i686-2.7/_openssl.c:35356:46: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       return SSL_SESSION_get_ticket_lifetime_hint(x0);
                                                  ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_SESSION_get_ticket_lifetime_hint':
    build/temp.linux-i686-2.7/_openssl.c:35379:50: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_SESSION_get_ticket_lifetime_hint(x0); }
                                                      ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_clear_mode':
    build/temp.linux-i686-2.7/_openssl.c:35567:3: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       return SSL_clear_mode(x0, x1);
       ^
    build/temp.linux-i686-2.7/_openssl.c:35567:18: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       return SSL_clear_mode(x0, x1);
                      ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_clear_mode':
    build/temp.linux-i686-2.7/_openssl.c:35600:3: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_clear_mode(x0, x1); }
       ^
    build/temp.linux-i686-2.7/_openssl.c:35600:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_clear_mode(x0, x1); }
                          ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_get_mode':
    build/temp.linux-i686-2.7/_openssl.c:36553:18: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       return SSL_get_mode(x0);
                      ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_get_mode':
    build/temp.linux-i686-2.7/_openssl.c:36576:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_get_mode(x0); }
                          ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_SSL_set_mode':
    build/temp.linux-i686-2.7/_openssl.c:38367:3: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       return SSL_set_mode(x0, x1);
       ^
    build/temp.linux-i686-2.7/_openssl.c:38367:18: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       return SSL_set_mode(x0, x1);
                      ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_SSL_set_mode':
    build/temp.linux-i686-2.7/_openssl.c:38400:3: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_set_mode(x0, x1); }
       ^
    build/temp.linux-i686-2.7/_openssl.c:38400:22: warning: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
       { result = SSL_set_mode(x0, x1); }
                          ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_TLSv1_1_client_method':
    build/temp.linux-i686-2.7/_openssl.c:39504:3: warning: 'TLSv1_1_client_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1885) [-Wdeprecated-declarations]
       return TLSv1_1_client_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_TLSv1_1_client_method':
    build/temp.linux-i686-2.7/_openssl.c:39515:3: warning: 'TLSv1_1_client_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1885) [-Wdeprecated-declarations]
       { result = TLSv1_1_client_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_TLSv1_1_method':
    build/temp.linux-i686-2.7/_openssl.c:39530:3: warning: 'TLSv1_1_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1883) [-Wdeprecated-declarations]
       return TLSv1_1_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_TLSv1_1_method':
    build/temp.linux-i686-2.7/_openssl.c:39541:3: warning: 'TLSv1_1_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1883) [-Wdeprecated-declarations]
       { result = TLSv1_1_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_TLSv1_1_server_method':
    build/temp.linux-i686-2.7/_openssl.c:39556:3: warning: 'TLSv1_1_server_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1884) [-Wdeprecated-declarations]
       return TLSv1_1_server_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_TLSv1_1_server_method':
    build/temp.linux-i686-2.7/_openssl.c:39567:3: warning: 'TLSv1_1_server_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1884) [-Wdeprecated-declarations]
       { result = TLSv1_1_server_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_TLSv1_2_client_method':
    build/temp.linux-i686-2.7/_openssl.c:39582:3: warning: 'TLSv1_2_client_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1891) [-Wdeprecated-declarations]
       return TLSv1_2_client_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_TLSv1_2_client_method':
    build/temp.linux-i686-2.7/_openssl.c:39593:3: warning: 'TLSv1_2_client_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1891) [-Wdeprecated-declarations]
       { result = TLSv1_2_client_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_TLSv1_2_method':
    build/temp.linux-i686-2.7/_openssl.c:39608:3: warning: 'TLSv1_2_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1889) [-Wdeprecated-declarations]
       return TLSv1_2_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_TLSv1_2_method':
    build/temp.linux-i686-2.7/_openssl.c:39619:3: warning: 'TLSv1_2_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1889) [-Wdeprecated-declarations]
       { result = TLSv1_2_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_TLSv1_2_server_method':
    build/temp.linux-i686-2.7/_openssl.c:39634:3: warning: 'TLSv1_2_server_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1890) [-Wdeprecated-declarations]
       return TLSv1_2_server_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_TLSv1_2_server_method':
    build/temp.linux-i686-2.7/_openssl.c:39645:3: warning: 'TLSv1_2_server_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1890) [-Wdeprecated-declarations]
       { result = TLSv1_2_server_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_TLSv1_client_method':
    build/temp.linux-i686-2.7/_openssl.c:39660:3: warning: 'TLSv1_client_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1879) [-Wdeprecated-declarations]
       return TLSv1_client_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_TLSv1_client_method':
    build/temp.linux-i686-2.7/_openssl.c:39671:3: warning: 'TLSv1_client_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1879) [-Wdeprecated-declarations]
       { result = TLSv1_client_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_TLSv1_method':
    build/temp.linux-i686-2.7/_openssl.c:39686:3: warning: 'TLSv1_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1877) [-Wdeprecated-declarations]
       return TLSv1_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_TLSv1_method':
    build/temp.linux-i686-2.7/_openssl.c:39697:3: warning: 'TLSv1_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1877) [-Wdeprecated-declarations]
       { result = TLSv1_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_TLSv1_server_method':
    build/temp.linux-i686-2.7/_openssl.c:39712:3: warning: 'TLSv1_server_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1878) [-Wdeprecated-declarations]
       return TLSv1_server_method();
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_TLSv1_server_method':
    build/temp.linux-i686-2.7/_openssl.c:39723:3: warning: 'TLSv1_server_method' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/ssl.h:1878) [-Wdeprecated-declarations]
       { result = TLSv1_server_method(); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_X509_CRL_get_lastUpdate':
    build/temp.linux-i686-2.7/_openssl.c:40948:3: warning: 'X509_CRL_get_lastUpdate' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/x509.h:730) [-Wdeprecated-declarations]
       return X509_CRL_get_lastUpdate(x0);
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_X509_CRL_get_lastUpdate':
    build/temp.linux-i686-2.7/_openssl.c:40971:3: warning: 'X509_CRL_get_lastUpdate' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/x509.h:730) [-Wdeprecated-declarations]
       { result = X509_CRL_get_lastUpdate(x0); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_d_X509_CRL_get_nextUpdate':
    build/temp.linux-i686-2.7/_openssl.c:40986:3: warning: 'X509_CRL_get_nextUpdate' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/x509.h:731) [-Wdeprecated-declarations]
       return X509_CRL_get_nextUpdate(x0);
       ^
    build/temp.linux-i686-2.7/_openssl.c: In function '_cffi_f_X509_CRL_get_nextUpdate':
    build/temp.linux-i686-2.7/_openssl.c:41009:3: warning: 'X509_CRL_get_nextUpdate' is deprecated (declared at /home/ndv/abs-ufs922/tufsbox/cdkroot/usr/include/openssl/x509.h:731) [-Wdeprecated-declarations]
       { result = X509_CRL_get_nextUpdate(x0); }
       ^
    build/temp.linux-i686-2.7/_openssl.c: At top level:
    build/temp.linux-i686-2.7/_openssl.c:777:13: warning: 'ERR_load_Cryptography_OSRandom_strings' declared 'static' but never defined [-Wunused-function]
     static void ERR_load_Cryptography_OSRandom_strings(void);
                 ^
    build/temp.linux-i686-2.7/_openssl.c:778:13: warning: 'ERR_Cryptography_OSRandom_error' declared 'static' but never defined [-Wunused-function]
     static void ERR_Cryptography_OSRandom_error(int function, int reason,
                 ^
    /home/ndv/abs-ufs922/tufsbox/host/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)
    /home/ndv/abs-ufs922/tufsbox/host/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
      warnings.warn(msg)
    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files found matching 'vectors'
    warning: no previously-included files matching '*' found under directory 'vectors'
    warning: no previously-included files matching '*' found under directory '.github'
    warning: no previously-included files found matching 'release.py'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files found matching '.readthedocs.yml'
    warning: no previously-included files found matching 'dev-requirements.txt'
    warning: no previously-included files found matching 'rtd-requirements.txt'
    warning: no previously-included files found matching 'tox.ini'
    warning: no previously-included files matching '*' found under directory '.zuul.d'
    warning: no previously-included files matching '*' found under directory '.zuul.playbooks'
    --------------------------------------------------------------
    Build of python_cryptography 3.3.1 completed.
    
    ==============================================================
    
    Start build of python_pyopenssl 20.0.1.
    
    /home/ndv/abs-ufs922/tufsbox/host/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)
    /home/ndv/abs-ufs922/tufsbox/host/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
      warnings.warn(msg)
    warning: no previously-included files found matching 'codecov.yml'
    no previously-included directories found matching 'doc/_build'
    no previously-included directories found matching '.travis'
    --------------------------------------------------------------
    Build of python_pyopenssl 20.0.1 completed.
    
    ==============================================================
    
    Start build of enigma2_openwebif.
    Granted, the build of cryptography spits out a lot of warnings, but the OpenWebif that uses it works OK on my testboxes; however the version used (3.3.1) is the last that supports Python2.

    Regards,

    Audioniek.
    Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
    Sats: Astra 1, 2 & 3, Hotbird
    Main activity: building my own E2 images for Fortis receivers


  9. #419
    Neuer Benutzer
    Registriert seit
    21.10.2012
    Beiträge
    19
    Thanks
    8
    Thanked 2 Times in 2 Posts
    It doesn `t work. After updating pip ver. 2.7 the following message:
    =============================DEBUG ASSISTANCE=============================
    If you are seeing a compilation error please try the following steps to
    successfully install cryptography:
    1) Upgrade to the latest pip and try again. This will fix errors for most
    users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
    2) Read https://cryptography.io/en/latest/installation.html for specific
    instructions for your platform.
    3) Check our frequently asked questions for more information:
    https://cryptography.io/en/latest/faq.html
    =============================DEBUG ASSISTANCE=============================

    Traceback (most recent call last):
    File "./setup.py", line 121, in <module>
    "src/_cffi_src/build_padding.py:ffi",
    File "/home/clausi/audioniek/buildsystem/tufsbox/host/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
    File "/home/clausi/audioniek/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/setuptools/dist.py", line 272, in __init__
    _Distribution.__init__(self,attrs)
    File "/home/clausi/audioniek/buildsystem/tufsbox/host/lib/python2.7/distutils/dist.py", line 287, in __init__
    self.finalize_options()
    File "/home/clausi/audioniek/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/setuptools/dist.py", line 327, in finalize_options
    ep.load()(self, ep.name, value)
    File "/home/clausi/audioniek/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 219, in cffi_modules
    add_cffi_module(dist, cffi_module)
    File "/home/clausi/audioniek/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
    execfile(build_file_name, mod_vars)
    File "/home/clausi/audioniek/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 25, in execfile
    exec(code, glob, glob)
    File "src/_cffi_src/build_openssl.py", line 120, in <module>
    extra_link_args=extra_link_args(compiler_type()),
    File "./src/_cffi_src/utils.py", line 60, in build_ffi_for_binding
    extra_link_args=extra_link_args,
    File "./src/_cffi_src/utils.py", line 74, in build_ffi
    ffi = FFI()
    File "/home/clausi/audioniek/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/cffi/api.py", line 48, in __init__
    import _cffi_backend as backend
    ImportError: /home/clausi/audioniek/buildsystem/tufsbox/cdkroot/usr/lib/python2.7/site-packages/_cffi_backend.so: undefined symbol: Py_InitModule4
    make: *** [make/python.mk:466: /home/clausi/audioniek/buildsystem/.deps/python_cryptography] Fehler 1

    Its for me time to give up. I reinstalled git , doesn t work. Greets Clausi_e


  10. #420
    Developer
    Registriert seit
    18.07.2012
    Ort
    Ridderkerk, Niederlande
    Beiträge
    634
    Thanks
    144
    Thanked 712 Times in 304 Posts
    Hello Clausi_e,

    When I did search for py_initmodule4 I stumbled on this text in a result:

    Apparently on 64-bit linux, in libpython2.[56].so, the symbol is renamed to Py_InitModule4_64.

    I still build with a 32-bit Linux and realise that these are becoming outdated more and more. The reason for doing this is that the SH4 environment is 32 bit, and especially with python you need to compile the SH4 parts on a machine having the same python version installed as you are using on the receiver. As somebody has had the wisdom to use different symbol names for the same thing on 32- and 64-bit environments, this may well explain your problem if you are using a 64-bit Linux as your OS.

    It may therefore well be that my build succeeds because I am building on Linux Mint 18.3 32-bit, thus avoiding this puzzle by accident. In the past I have had several problems with building on 64-bit machines, and since then I have stuck with 32-bit to avoid them. As stated more and more distributions are only offering 64-bits versions, so in the future a solution for this puzzle must be found, although it may also be possible that the problem will solve itself when OpenPLi finally switches to Python3, as Python is now more than a year end-of-life.

    Regards,

    Audioniek.

    Receivers: Rebox: RE-4000, 8000, 9000, 2200, 2210, 2220, 4200, 4210, 4220, 8220, 8500, SAB Unix Triple, Golden Media Spark TripleX, Amiko Alien 2+, Sogno Spark Revolution, Kathrein UFS910(1 & 14W)/912/913/922(CX24116 & AVL2108 tuners), Vizyon revolution 820HD PVR, AB IPBox 91HD/9000HD/9000HD rev.2, Xsarius Alpha HD10, nBox BKSA/BSLA/BXZB/BZZB, Vitamin HD 5000
    Sats: Astra 1, 2 & 3, Hotbird
    Main activity: building my own E2 images for Fortis receivers

  11. The Following User Says Thank You to Audioniek For This Useful Post:



Berechtigungen

  • Neue Themen erstellen: Ja
  • Themen beantworten: Ja
  • Anhänge hochladen: Ja
  • Beiträge bearbeiten: Ja
  •