Opened 3 years ago

Last modified 3 years ago

#62959 closed defect

py-grpcio: build failures — at Version 5

Reported by: mascguy (Christopher Nielsen) Owned by: emcrisostomo (Enrico Maria Crisostomo)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cjones051073 (Chris Jones)
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.8/10.9:

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 (5)

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

Note: See TracTickets for help on using tickets.