Tried with openssl. Some progress but no success.  The configure checks
went through find.
>configure:17536: checking for openssl/ssl.h in
/home/kabira/DrivingRange//project_versa/Build
>s/openssl-1.1.1l
>configure:17543: result: yes
>configure:17559: checking whether compiling and linking against OpenSSL
works
>Trying link with
OPENSSL_LDFLAGS=-L/home/kabira/DrivingRange//project_versa/Builds/openssl-1.
>1.1l/lib; OPENSSL_LIBS=-lssl -lcrypto;
OPENSSL_INCLUDES=-I/home/kabira/DrivingRange//project_
>versa/Builds/openssl-1.1.1l/include

But for some reason module could not be imported. I could find any errors
related to import.
There were no compilation errors:

>Following modules built successfully but were removed because they could
not be imported:
>_hashlib              _ssl                  readline


There area number of warnings regarding type conversions. Just attaching
that for sanity check.
This readline error is particulary wierd. ==>
 ldd: /usr/lib/libreadline.a: not an ELF executable

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Python/pytime.c:160:10: warning: implicit conversion from 'long long' to
'double' changes value from 9223372036854775807 to 9223372036854775808
[-Wimplicit-const-int-float-conversion]
    if (!_Py_InIntegralTypeRange(time_t, intpart)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro
'_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v &&
v <= _Py_IntegralTypeMax(type))

  ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ?
(((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)
                                `
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Python/pytime.c:213:14: warning: implicit conversion from 'long long' to
'double' changes value from 9223372036854775807 to 9223372036854775808
[-Wimplicit-const-int-float-conversion]
        if (!_Py_InIntegralTypeRange(time_t, intpart)) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro
'_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v &&
v <= _Py_IntegralTypeMax(type))

  ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ?
(((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Python/pytime.c:398:10: warning: implicit conversion from 'long long' to
'double' changes value from 9223372036854775807 to 9223372036854775808
[-Wimplicit-const-int-float-conversion]
    if (!_Py_InIntegralTypeRange(_PyTime_t, d)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro
'_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v &&
v <= _Py_IntegralTypeMax(type))

  ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ?
(((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
3 warnings generated.
./Modules/_threadmodule.c:1644:26: warning: implicit conversion from
'_PyTime_t' (aka 'long long') to 'double' changes value from
9223372036854775 to 9223372036854776 [-Wimplicit-const-int-float-conversion]
    double timeout_max = (_PyTime_t)PY_TIMEOUT_MAX * 1e-6;
                         ^~~~~~~~~~~~~~~~~~~~~~~~~ ~
1 warning generated.
ldd: /usr/lib/libreadline.a: not an ELF executable
/home/kabira/DrivingRange/project_versa/downloads/Python-3.10.0/Modules/readline.c:1258:37:
warning: assigning to 'char *' from 'const char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
    completer_word_break_characters =
                                    ^
1 warning generated.
*** WARNING: renaming "readline" since importing it failed: dynamic module
does not define module export function (PyInit_readline)
*** WARNING: renaming "_ssl" since importing it failed: Cannot load
specified object
*** WARNING: renaming "_hashlib" since importing it failed: Cannot load
specified object
renaming build/scripts-3.10/pydoc3 to build/scripts-3.10/pydoc3.10
renaming build/scripts-3.10/idle3 to build/scripts-3.10/idle3.10
renaming build/scripts-3.10/2to3 to build/scripts-3.10/2to3-3.10
*** Warning in
/home/kabira/DrivingRange/project_versa/downloads/Python-3.10.0:
'$(LLVM_PROF_MERGER)' expands to '' while building build_all_merge_profile
(Makefile:539)
Python/pytime.c:160:10: warning: implicit conversion from 'long long' to
'double' changes value from 9223372036854775807 to 9223372036854775808
[-Wimplicit-const-int-float-conversion]
    if (!_Py_InIntegralTypeRange(time_t, intpart)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro
'_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v &&
v <= _Py_IntegralTypeMax(type))

  ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ?
(((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Python/pytime.c:213:14: warning: implicit conversion from 'long long' to
'double' changes value from 9223372036854775807 to 9223372036854775808
[-Wimplicit-const-int-float-conversion]
        if (!_Py_InIntegralTypeRange(time_t, intpart)) {
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro
'_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v &&
v <= _Py_IntegralTypeMax(type))

  ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ?
(((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
Python/pytime.c:398:10: warning: implicit conversion from 'long long' to
'double' changes value from 9223372036854775807 to 9223372036854775808
[-Wimplicit-const-int-float-conversion]
    if (!_Py_InIntegralTypeRange(_PyTime_t, d)) {
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:228:82: note: expanded from macro
'_Py_InIntegralTypeRange'
#define _Py_InIntegralTypeRange(type, v) (_Py_IntegralTypeMin(type) <= v &&
v <= _Py_IntegralTypeMax(type))

  ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
./Include/pymath.h:221:124: note: expanded from macro '_Py_IntegralTypeMax'
#define _Py_IntegralTypeMax(type) ((_Py_IntegralTypeSigned(type)) ?
(((((type)1 << (sizeof(type)*CHAR_BIT - 2)) - 1) << 1) + 1) : ~(type)0)

 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
3 warnings generated.
./Modules/_threadmodule.c:1644:26: warning: implicit conversion from
'_PyTime_t' (aka 'long long') to 'double' changes value from
9223372036854775 to 9223372036854776 [-Wimplicit-const-int-float-conversion]
    double timeout_max = (_PyTime_t)PY_TIMEOUT_MAX * 1e-6;
                         ^~~~~~~~~~~~~~~~~~~~~~~~~ ~
1 warning generated.
ldd: /usr/lib/libreadline.a: not an ELF executable
/home/kabira/DrivingRange/project_versa/downloads/Python-3.10.0/Modules/readline.c:1258:37:
warning: assigning to 'char *' from 'const char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
    completer_word_break_characters =
                                    ^
1 warning generated.
*** WARNING: renaming "readline" since importing it failed: dynamic module
does not define module export function (PyInit_readline)
*** WARNING: renaming "_ssl" since importing it failed: Cannot load
specified object
*** WARNING: renaming "_hashlib" since importing it failed: Cannot load
specified object
renaming build/scripts-3.10/pydoc3 to build/scripts-3.10/pydoc3.10
renaming build/scripts-3.10/idle3 to build/scripts-3.10/idle3.10
renaming build/scripts-3.10/2to3 to build/scripts-3.10/2to3-3.10

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>



On Tuesday, October 5, 2021, Christian Heimes <christ...@python.org> wrote:

> On 05/10/2021 16.40, Sandeep Gupta wrote:
>
>> Trying to compile python3.10 on openbsd 7.0 on Pi4. It seems to run into
>> several openssl issue.  I have installed openssl as I couldn't find
>> libreSSL in the package manager.
>>
>
> Your installation is picking up header files from LibreSSL. Python 3.10
> requires a fully OpenSSL 1.1.1 API compliant OpenSSL. LibreSSL is missing a
> bunch of required features.
>
> Please follow the instruction https://docs.python.org/3.10/u
> sing/unix.html#custom-openssl to compile, install, and use a custom
> installation of OpenSSL. I recommend that you use the latest OpenSSL 1.1.1
> version.
>
> Regards,
> Christian
>
> _______________________________________________
> Python-Dev mailing list -- python-dev@python.org
> To unsubscribe send an email to python-dev-le...@python.org
> https://mail.python.org/mailman3/lists/python-dev.python.org/
> Message archived at https://mail.python.org/archiv
> es/list/python-dev@python.org/message/BK22LJ5LICXUMIU6MYB746FSZ57KJX2T/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/3HSNZJW57VIOOHGKXTLTYF6AYILY2LE7/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to