Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
@mpage

Description

@mpage
Issue body actions

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

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.