pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-autobahn build failure, twisted update?

On netbsd-9 only a few weeks old, pkgsrc head from about 24h ago,
py-autobahn fails to build.   I think the problem is in twisted, so I'm
omitting a fair bit of logs.

My guess is that this symbol has been removed and the call should just
be omitted:

But py-OpenSSL has not been updated for quite a while, and twisted a
month ago.   They did just both get rebuilt.

copying autobahn/xbr/contracts/XBRToken.json -> build/lib/autobahn/xbr/contracts
Traceback (most recent call last):
  File "/tmp/work/www/py-autobahn/work/autobahn-20.1.2/", line 302, in <module>
    from twisted.internet import reactor
  File "/usr/pkg/lib/python3.10/site-packages/twisted/internet/", line 38, in <module>
    from twisted.internet import default
  File "/usr/pkg/lib/python3.10/site-packages/twisted/internet/", line 55, in <module>
    install = _getInstallFunction(platform)
  File "/usr/pkg/lib/python3.10/site-packages/twisted/internet/", line 47, in _getInstallFunction
    from twisted.internet.pollreactor import install
  File "/usr/pkg/lib/python3.10/site-packages/twisted/internet/", line 29, in <module>
    from twisted.internet import posixbase
  File "/usr/pkg/lib/python3.10/site-packages/twisted/internet/", line 19, in <module>
    from twisted.internet import error, tcp, udp
  File "/usr/pkg/lib/python3.10/site-packages/twisted/internet/", line 38, in <module>
    from twisted.internet._newtls import (
  File "/usr/pkg/lib/python3.10/site-packages/twisted/internet/", line 18, in <module>
    from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
  File "/usr/pkg/lib/python3.10/site-packages/twisted/protocols/", line 50, in <module>
    Connection(Context(TLSv1_METHOD), None)
  File "/usr/pkg/lib/python3.10/site-packages/OpenSSL/", line 674, in __init__
    res = _lib.SSL_CTX_set_ecdh_auto(context, 1)
AttributeError: module 'lib' has no attribute 'SSL_CTX_set_ecdh_auto'
*** Error code 1

make[1]: stopped in /home/n0/gdt/pkgsrc-current/pkgsrc/www/py-autobahn
*** Error code 1

make: stopped in /usr/pkgsrc/www/py-autobahn

Home | Main Index | Thread Index | Old Index