Opened 4 years ago

Last modified 15 months ago

#62794 assigned defect

py-grpcio: error: use of undeclared identifier 'strnlen'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: emcrisostomo (Enrico Maria Crisostomo)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: snowleopard Cc: cooljeanius (Eric Gallager)
Port: py-grpcio

Description

Despite including the legacysupport portgroup, py-grpcio fails to build on 10.6 with:

src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc:568:36: error: use of undeclared identifier 'strnlen'
    const size_t lb_token_length = strnlen(
                                   ^
1 error generated.

Change History (2)

comment:1 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:2 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: snowleopard added
Owner: set to emcrisostomo
Status: newassigned

The grpc port already includes the legacysupport 1.1 portgroup (without a comment that tells us why) which should provide the implementation of strnlen so perhaps the legacysupport flags are not getting to the build for some reason.

Note: See TracTickets for help on using tickets.