You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2024/02/26 04:11:00 UTC

[jira] [Commented] (BIGTOP-4067) Fix build failure of Python 2.7 on Rocky Linux 9

    [ https://issues.apache.org/jira/browse/BIGTOP-4067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17820537#comment-17820537 ] 

Masatake Iwasaki commented on BIGTOP-4067:
------------------------------------------

The error is emitted on running tests. Since {{--enable-optimizations}} makes the tests mandatory, we can skip tests by removing the configure option.

{noformat}
0:08:41 load avg: 0.67 [256/399] test_poplib                                                                                                                                                                                       
Exception in thread Thread-332:                                                                                                                                                                                                    
Traceback (most recent call last):                                                                                                                                                                                                 
  File "/usr/src/Python-2.7.14/Lib/threading.py", line 801, in __bootstrap_inner                                                                                                                                                   
    self.run()                                                                                                                                                                                                                     
  File "/usr/src/Python-2.7.14/Lib/test/test_poplib.py", line 132, in run
    asyncore.loop(timeout=0.1, count=1)
  File "/usr/src/Python-2.7.14/Lib/asyncore.py", line 220, in loop
    poll_fun(timeout, map)                                                                                                                                                                                                         
  File "/usr/src/Python-2.7.14/Lib/asyncore.py", line 156, in poll                                                                                                                                                                 
    read(obj)                                                                                                                                                                                                                      
  File "/usr/src/Python-2.7.14/Lib/asyncore.py", line 87, in read                                                                                                                                                                  
    obj.handle_error()
  File "/usr/src/Python-2.7.14/Lib/asyncore.py", line 83, in read
    obj.handle_read_event()
  File "/usr/src/Python-2.7.14/Lib/asyncore.py", line 443, in handle_read_event
    self.handle_accept()                                                                                                                                                                                                           
  File "/usr/src/Python-2.7.14/Lib/test/test_poplib.py", line 143, in handle_accept                                                                                                                                                
    self.handler = self.handler(conn)                                                                                                                                                                                              
  File "/usr/src/Python-2.7.14/Lib/test/test_poplib.py", line 240, in __init__
    do_handshake_on_connect=False)                                                                                                                                                                                                 
  File "/usr/src/Python-2.7.14/Lib/ssl.py", line 943, in wrap_socket
    ciphers=ciphers)
  File "/usr/src/Python-2.7.14/Lib/ssl.py", line 554, in __init__
    self._context.load_cert_chain(certfile, keyfile)                                                                                                                                                                               
SSLError: [SSL: EE_KEY_TOO_SMALL] ee key too small (_ssl.c:2693)
{noformat}

> Fix build failure of Python 2.7 on Rocky Linux 9
> ------------------------------------------------
>
>                 Key: BIGTOP-4067
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-4067
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Masatake Iwasaki
>            Priority: Major
>
> Building Python 2.7 fails due to {{SSLError: [SSL: EE_KEY_TOO_SMALL] ee key too small}} during tests on Rocky Linux 9. Recent OpenSSL bundled by OS distro seems not to allow small size key by default.
> The reason why building Python on Rocky Linux 9 is that python2 package was dropped on the RHEL 9 and clones. While migrating to Python 3 is the right solution, it is not yet done.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)