Skip to content

test_cppext.TestCPPExt.test_build broken on AMD64 FreeBSD PR buildbot #127885

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mpage opened this issue Dec 12, 2024 · 1 comment
Closed

test_cppext.TestCPPExt.test_build broken on AMD64 FreeBSD PR buildbot #127885

mpage opened this issue Dec 12, 2024 · 1 comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@mpage
Copy link
Contributor

mpage commented Dec 12, 2024

Bug report

Bug description:

First seen on https://buildbot.python.org/#/builders/1228/builds/423/. The failure looks like its coming from:

In file included from extension.cpp:9:
In file included from /buildbot/buildarea/pull_request.ware-freebsd/build/Include/Python.h:74:
/buildbot/buildarea/pull_request.ware-freebsd/build/Include/refcount.h:380:53: error: use of undeclared identifier 'UINT32_MAX'
380 |     if (op->ob_refcnt_full <= 0 || op->ob_refcnt > (UINT32_MAX - (1<<20))) {
    |                                                     ^
1 error generated.
error: command '/usr/bin/cc' failed with exit code 1
error: subprocess-exited-with-error

The use of UINT32_MAX here was introduced in #127797.

cc @markshannon

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

@mpage mpage added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir labels Dec 12, 2024
@mpage
Copy link
Contributor Author

mpage commented Dec 12, 2024

Already a PR up to fix this.

@mpage mpage closed this as completed Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant