[Bug 255648] net/exabgp4 doesn't work with Python38

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 6 07:00:17 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255648

            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 at FreeBSD.org
          Reporter: borjam at sarenet.es
             Flags: maintainer-feedback?(zi at FreeBSD.org)
          Assignee: zi at 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 = 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", line
188, in daemonise
    if self._is_socket(sys.__stdin__.fileno()) or os.getppid() == 1:
  File "/usr/local/lib/python3.8/site-packages/exabgp/reactor/daemon.py", line
158, in _is_socket
    s = 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

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


More information about the freebsd-ports-bugs mailing list