Bug 260953 - lang/python38: compile error: implicit declaration of function 'CPU_COUNT_S'
Summary: lang/python38: compile error: implicit declaration of function 'CPU_COUNT_S'
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-05 14:56 UTC by O. Hartmann
Modified: 2022-01-05 14:56 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (python)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2022-01-05 14:56:59 UTC
on recent CURRENT, FreeBSD 14.0-CURRENT #0 main-n252058-5e6a2d6eb220: Thu Dec 30 19:21:01 CET 2021 amd64, compiling port lang/python38 fails du to the error shown below:

[...]
--- Modules/posixmodule.o ---
./Modules/posixmodule.c:6676:27: error: implicit declaration of function 'CPU_COUNT_S' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    for (cpu = 0, count = CPU_COUNT_S(setsize, mask); count; cpu++) {