Opened 3 years ago

Last modified 3 years ago

#62959 closed defect

py-grpcio: various buildbot failures — at Version 11

Reported by: mascguy (Christopher Nielsen) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cjones051073 (Chris Jones), emcrisostomo (Enrico Maria Crisostomo)
Port: grpc py-grpcio

Description (last modified by mascguy (Christopher Nielsen))

There are a few different issues with this port build, depending on the platform.

The following is what we're seeing for the latest buildbot jobs:

Big Sur x86_64:

https://build.macports.org/builders/ports-11_x86_64-builder/builds/31390/steps/install-port/logs/stdio

distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "11.0" but "11.2" during configure

10.6:

https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/57438/steps/install-port/logs/stdio

error: invalid argument '-std=c++11' not allowed with 'C'

For 10.7 through 10.9:

https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/53892/steps/install-port/logs/stdio

https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/47452/steps/install-port/logs/stdio

https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/147853/steps/install-port/logs/stdio

In file included from src/core/lib/iomgr/gethostname_sysconf.cc:26:
In file included from /opt/local/include/LegacySupport/unistd.h:92:
In file included from /usr/include/unistd.h:72:
/opt/local/include/LegacySupport/sys/unistd.h:76:16: error: unknown type name 'size_t'
                         void *buf, size_t size, uint32_t flags);
                                    ^

This might be a case of blacklisting older clang versions, and perhaps blacklisting Xcode clang entirely (if necessary).

Change History (16)

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Some of these might be fixable with compiler blacklisting.

But others might relate to our portgroups. CJones, any thoughts/ideas?

comment:2 Changed 3 years ago by cjones051073 (Chris Jones)

can you attached a complete logs ?

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

These are all from buildbot jobs that ran within the last 10 minutes, grab them from the waterfall display.

comment:4 Changed 3 years ago by cjones051073 (Chris Jones)

I'm on a mobile device and thats not so easy. It would be useful to have parma-links to these logs here as in time they will be hard to find.

comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)

Description: modified (diff)

Added links to specific buildbot jobs

comment:6 Changed 3 years ago by mascguy (Christopher Nielsen)

Description: modified (diff)

comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)

Summary: py-grpcio: build failurespy-grpcio: various buildbot failures

Changed 3 years ago by mascguy (Christopher Nielsen)

Changed 3 years ago by mascguy (Christopher Nielsen)

Changed 3 years ago by mascguy (Christopher Nielsen)

Changed 3 years ago by mascguy (Christopher Nielsen)

comment:8 Changed 3 years ago by mascguy (Christopher Nielsen)

Attached full logs from the various buildbot jobs, so that they're not lost when build history ages out.

comment:9 Changed 3 years ago by mascguy (Christopher Nielsen)

I'll take a look at fixing the builds on 10.6 through 10.9.

CJones/anyone, thoughts regarding the Big Sur failure ($MACOSX_DEPLOYMENT_TARGET mismatch: now "11.0" but "11.2" during configure)?

comment:10 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: emcrisostomo added
Owner: changed from emcrisostomo to mascguy

comment:11 Changed 3 years ago by mascguy (Christopher Nielsen)

Description: modified (diff)

Changed 3 years ago by mascguy (Christopher Nielsen)

Note: See TracTickets for help on using tickets.