-
-
Notifications
You must be signed in to change notification settings - Fork 34k
Open
Labels
OS-freebsdbuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
FreeBSD 15 buildbot: https://buildbot.python.org/#/builders/1238/builds/7690
Build error:
--- Modules/selectmodule.o ---
./Modules/selectmodule.c:703:23: error: call to undeclared function 'ppoll'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
703 | poll_result = ppoll(self->ufds, self->ufd_len, ts_p, NULL);
| ^
./Modules/selectmodule.c:703:23: note: did you mean 'poll'?
/usr/include/poll.h:117:5: note: 'poll' declared here
117 | int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout);
| ^
1 error generated.
configure:
checking for ppoll... yes
...
checking for sys/poll.h... yes
Python has been modified to use the ppoll() function by PR gh-143529.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other
Linked PRs
jeremiahjordanisaacson
Metadata
Metadata
Assignees
Labels
OS-freebsdbuildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error