Disable use of epoll by Python Illumos includes an implementation of epoll for Linux source compatibility that works for some programs, but (as described in some detail in the illumos epoll(7) man page and elsewhere) it does not work quite like the Linux implementation, and does not implement some odd quirks of the Linux implementation that some programs may depend on. In particular, some python programs have been reported to hang with the illumos epoll implementation. As epoll is not required, best to leave it disabled. See also NOTES in the epoll(7) man page. --- Python-3.12.11/configure.ac.~6~ 2025-07-14 20:59:57.088673426 -0400 +++ Python-3.12.11/configure.ac 2025-07-14 21:01:59.983358141 -0400 @@ -2916,7 +2916,7 @@ linux/random.h linux/soundcard.h \ linux/tipc.h linux/wait.h netdb.h net/ethernet.h netinet/in.h netpacket/packet.h poll.h process.h pthread.h pty.h \ sched.h setjmp.h shadow.h signal.h spawn.h stropts.h sys/audioio.h sys/bsdtty.h sys/devpoll.h \ - sys/endian.h sys/epoll.h sys/event.h sys/eventfd.h sys/file.h sys/ioctl.h sys/kern_control.h \ + sys/endian.h sys/event.h sys/eventfd.h sys/file.h sys/ioctl.h sys/kern_control.h \ sys/loadavg.h sys/lock.h sys/memfd.h sys/mkdev.h sys/mman.h sys/modem.h sys/param.h sys/pidfd.h sys/poll.h \ sys/random.h sys/resource.h sys/select.h sys/sendfile.h sys/socket.h sys/soundcard.h sys/stat.h \ sys/statvfs.h sys/sys_domain.h sys/syscall.h sys/sysmacros.h sys/termio.h sys/time.h sys/times.h \ @@ -4989,8 +4989,8 @@ PY_CHECK_FUNC([fchdir], [@%:@include ]) PY_CHECK_FUNC([fsync], [@%:@include ]) PY_CHECK_FUNC([fdatasync], [@%:@include ]) -PY_CHECK_FUNC([epoll_create], [@%:@include ], [HAVE_EPOLL]) -PY_CHECK_FUNC([epoll_create1], [@%:@include ]) +PY_CHECK_FUNC([NOepoll_create], [@%:@include ], [HAVE_EPOLL]) +PY_CHECK_FUNC([NOepoll_create1], [@%:@include ]) PY_CHECK_FUNC([kqueue],[ #include #include