Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 May 2021 07:00:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255648] net/exabgp4 doesn't work with Python38
Message-ID:  <bug-255648-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255648

            Bug ID: 255648
           Summary: net/exabgp4 doesn't work with Python38
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: borjam@sarenet.es
             Flags: maintainer-feedback?(zi@FreeBSD.org)
          Assignee: zi@FreeBSD.org

The port specifies Python 3.6+. However it doesn't work with Python 3.8.

Using Python3.7 instead works perfectly.


Performing sanity check on exabgp configuration.
Starting exabgp.
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.8/site-packages/exabgp/__main__.py", line 4,=
 in
<module>
    main()
  File "/usr/local/lib/python3.8/site-packages/exabgp/application/main.py",
line 43, in main
    run_exabgp()
  File "/usr/local/lib/python3.8/site-packages/exabgp/application/__init__.=
py",
line 20, in run_exabgp
    main()
  File "/usr/local/lib/python3.8/site-packages/exabgp/application/bgp.py", =
line
314, in main
    run(env, comment, configurations, root, options["--validate"])
  File "/usr/local/lib/python3.8/site-packages/exabgp/application/bgp.py", =
line
388, in run
    exit_code =3D Reactor(configurations).run(validate, root)
  File "/usr/local/lib/python3.8/site-packages/exabgp/reactor/loop.py", line
226, in run
    self.daemon.daemonise()
  File "/usr/local/lib/python3.8/site-packages/exabgp/reactor/daemon.py", l=
ine
188, in daemonise
    if self._is_socket(sys.__stdin__.fileno()) or os.getppid() =3D=3D 1:
  File "/usr/local/lib/python3.8/site-packages/exabgp/reactor/daemon.py", l=
ine
158, in _is_socket
    s =3D socket.fromfd(fd, socket.AF_INET, socket.SOCK_RAW)
  File "/usr/local/lib/python3.8/socket.py", line 544, in fromfd
    return socket(family, type, proto, nfd)
  File "/usr/local/lib/python3.8/socket.py", line 231, in __init__
    _socket.socket.__init__(self, family, type, proto, fileno)
OSError: [Errno 38] Socket operation on non-socket
/usr/local/etc/rc.d/exabgp: WARNING: failed to start exabgp

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255648-7788>