Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2021 15:36:08 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-arm64-default][net/rubygem-grpc124] Failed for rubygem-grpc124-1.24.0_2 in stage
Message-ID:  <202101111536.10BFa8Fw041636@ampere2.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     sunpoet@FreeBSD.org
Last committer: sunpoet@FreeBSD.org
Ident:          $FreeBSD: head/net/rubygem-grpc124/Makefile 560568 2021-01-06 20:24:49Z sunpoet $
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/p560826_se83fdf8bb3/logs/rubygem-grpc124-1.24.0_2.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=p560826_se83fdf8bb3
Log:

=>> Building net/rubygem-grpc124
build started at Mon Jan 11 15:35:51 UTC 2021
port directory: /usr/ports/net/rubygem-grpc124
package name: rubygem-grpc124-1.24.0_2
building for: FreeBSD main-arm64-default-job-03 13.0-CURRENT FreeBSD 13.0-CURRENT 1300134 arm64
maintained by: sunpoet@FreeBSD.org
Makefile ident:      $FreeBSD: head/net/rubygem-grpc124/Makefile 560568 2021-01-06 20:24:49Z sunpoet $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300121
Jail OSVERSION: 1300134
Job Id: 03




!!! Jail is newer than host. (Jail: 1300134, Host: 1300121) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300134
UNAME_v=FreeBSD 13.0-CURRENT 1300134
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net/rubygem-grpc124/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/rubygem-grpc124/work  HOME=/wrkdirs/usr/ports/net/rubygem-grpc124/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/rubygem-grpc124/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/rubygem-grpc124/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/rubygem-grpc124/work  HOME=/wrkdirs/usr/ports/net/rubygem-grpc124/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/rubygem-grpc124/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
RUBY_LIBDIR="lib/ruby/2.7" RUBY_ARCHLIBDIR="lib/ruby/2.7/aarch64-freebsd13" RUBY_SITELIBDIR="lib/ruby/site_ruby/2.7" RUBY_SITEARCHLIBDIR="lib/ruby/site_ruby/2.7/aarch64-freebsd13" RUBY_VENDORLIBDIR="lib/ruby/vendor_ruby/2.7" RUBY_VENDORARCHLIBDIR="lib/ruby/vendor_ruby/2.7/aarch64-freebsd13" RUBY_MODDOCDIR="share/doc/ruby27/grpc" RUBY_MODEXAMPLESDIR="share/examples/ruby27/grpc" RUBY_DOCDIR="share/doc/ruby27" RUBY_EXAMPLESDIR="share/examples/ruby27" RUBY_RIDIR="share/ri/2.7/system" RUBY_SITERIDIR="share/ri/2.7/site"  RUBY_VERSION="2.7.2"  RUBY_VER="2.7"  RUBY_SHLIBVER="27"  RUBY_ARCH="aarch64-freebsd13"  RUBY_SUFFIX="27"  RUBY_NAME="ruby27"  RUBY_DEFAULT_SUFFIX="27"  RUBY25="@comment "  RUBY26="@comment "  RUBY27=""  RUBY30="@comment " PORTVERSION="1.24.0"  REV=""  GEMS_BASE_DIR="lib/ruby/gems/2.7"  GEMS_DIR="lib/ruby/gems/2.7/gems"  DOC_DIR="lib/ruby/gems/2.7/doc"  CACHE_DIR="lib/ruby/gems/2.7/cache"  SPEC_DIR="lib/ruby/gems/2.7/specifications"  EXT_DIR="lib/ruby/gems/2.7/extensions" 
  PORT="grpc-1.24.0"  GEM_NAME="grpc-1.24.0"  GEM_LIB_DIR="lib/ruby/gems/2.7/gems/grpc-1.24.0"  GEM_DOC_DIR="lib/ruby/gems/2.7/doc/grpc-1.24.0"  GEM_SPEC="lib/ruby/gems/2.7/specifications/grpc-1.24.0.gemspec"  GEM_CACHE="lib/ruby/gems/2.7/cache/grpc-1.24.0.gem"  EXTRACT_SUFX=".gem" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/grpc"  EXAMPLESDIR="share/examples/grpc"  DATADIR="share/grpc"  WWWDIR="www/grpc"  ETCDIR="etc/grpc"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/grpc DOCSDIR=/usr/local/share/doc/grpc EXAMPLESDIR=/usr/local/share/examples/grpc  WWWDIR=/usr/local/www/grpc ETCDIR=/usr/local/etc/grpc
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-rc2-0-g43ff75f2c3f) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-rc2-0-g43ff75f2c3f) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-rc2-0-g43ff75f2c3f) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300134
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  34045
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   rubygem-grpc124-1.24.0_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.1.txz
[main-arm64-default-job-03] Installing pkg-1.16.1...
[main-arm64-default-job-03] Extracting pkg-1.16.1: .......... done
===>   rubygem-grpc124-1.24.0_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of rubygem-grpc124-1.24.0_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by rubygem-grpc124-1.24.0_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by rubygem-grpc124-1.24.0_2 for building
=> SHA256 Checksum OK for rubygem/grpc-1.24.0.gem.
===========================================================================
=======================<phase: extract-depends>============================
===>   rubygem-grpc124-1.24.0_2 depends on file: /usr/local/bin/ruby27 - not found
===>   Installing existing package /packages/All/ruby-2.7.2_1,1.txz
[main-arm64-default-job-03] Installing ruby-2.7.2_1,1...
[main-arm64-default-job-03] `-- Installing libedit-3.1.20191231,1...
[main-arm64-default-job-03] `-- Extracting libedit-3.1.20191231,1: .......... done
[main-arm64-default-job-03] `-- Installing libffi-3.3_1...
[main-arm64-default-job-03] |   `-- Installing indexinfo-0.3.1...
[main-arm64-default-job-03] |   `-- Extracting indexinfo-0.3.1: .... done
[main-arm64-default-job-03] `-- Extracting libffi-3.3_1: .......... done
[main-arm64-default-job-03] `-- Installing libunwind-20200331_1...
[main-arm64-default-job-03] `-- Extracting libunwind-20200331_1: .......... done
[main-arm64-default-job-03] `-- Installing libyaml-0.2.5...
[main-arm64-default-job-03] `-- Extracting libyaml-0.2.5: ......... done
[main-arm64-default-job-03] Extracting ruby-2.7.2_1,1: .......... done
=====
Message from ruby-2.7.2_1,1:

--
Some of the standard commands are provided as separate ports for ease
of upgrading:

	devel/ruby-gems:		gem - RubyGems package manager
	devel/rubygem-irb:		irb - Interactive Ruby
<snip>
===>   rubygem-grpc124-1.24.0_2 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of rubygem-grpc124-1.24.0_2
===========================================================================
=======================<phase: lib-depends    >============================
===>   rubygem-grpc124-1.24.0_2 depends on shared library: libcares.so - not found
===>   Installing existing package /packages/All/c-ares-1.16.1.txz
[main-arm64-default-job-03] Installing c-ares-1.16.1...
[main-arm64-default-job-03] Extracting c-ares-1.16.1: .......... done
===>   rubygem-grpc124-1.24.0_2 depends on shared library: libcares.so - found (/usr/local/lib/libcares.so)
===>   Returning to build of rubygem-grpc124-1.24.0_2
===>   rubygem-grpc124-1.24.0_2 depends on shared library: libgrpc.so - not found
===>   Installing existing package /packages/All/grpc-1.34.0,2.txz
[main-arm64-default-job-03] Installing grpc-1.34.0,2...
[main-arm64-default-job-03] `-- Installing abseil-20200923.2_1...
[main-arm64-default-job-03] `-- Extracting abseil-20200923.2_1: .......... done
[main-arm64-default-job-03] `-- Installing benchmark-1.5.2...
[main-arm64-default-job-03] `-- Extracting benchmark-1.5.2: .......... done
[main-arm64-default-job-03] `-- Installing gflags-2.2.2_2...
[main-arm64-default-job-03] `-- Extracting gflags-2.2.2_2: .......... done
[main-arm64-default-job-03] `-- Installing protobuf-3.13.0,1...
[main-arm64-default-job-03] `-- Extracting protobuf-3.13.0,1: .......... done
[main-arm64-default-job-03] `-- Installing re2-20200401...
[main-arm64-default-job-03] `-- Extracting re2-20200401: .......... done
[main-arm64-default-job-03] Extracting grpc-1.34.0,2: .......... done
===>   rubygem-grpc124-1.24.0_2 depends on shared library: libgrpc.so - found (/usr/local/lib/libgrpc.so)
===>   Returning to build of rubygem-grpc124-1.24.0_2
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for rubygem-grpc124-1.24.0_2
===========================================================================
=======================<phase: build          >============================
===>  Building for rubygem-grpc124-1.24.0_2
  Successfully built RubyGem
  Name: grpc
  Version: 1.24.0
  File: grpc-1.24.0.gem
===========================================================================
=======================<phase: run-depends    >============================
===>   rubygem-grpc124-1.24.0_2 depends on package: ca_root_nss>=0 - not found
===>   Installing existing package /packages/All/ca_root_nss-3.58.txz
[main-arm64-default-job-03] Installing ca_root_nss-3.58...
[main-arm64-default-job-03] Extracting ca_root_nss-3.58: ........ done
=====
Message from ca_root_nss-3.58:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
===>   rubygem-grpc124-1.24.0_2 depends on package: ca_root_nss>=0 - found
===>   Returning to build of rubygem-grpc124-1.24.0_2
===>   rubygem-grpc124-1.24.0_2 depends on package: rubygem-google-protobuf38>=3.8<4 - not found
===>   Installing existing package /packages/All/rubygem-google-protobuf38-3.8.0.txz
[main-arm64-default-job-03] Installing rubygem-google-protobuf38-3.8.0...
[main-arm64-default-job-03] Extracting rubygem-google-protobuf38-3.8.0: .......... done
===>   rubygem-grpc124-1.24.0_2 depends on package: rubygem-google-protobuf38>=3.8<4 - found
===>   Returning to build of rubygem-grpc124-1.24.0_2
===>   rubygem-grpc124-1.24.0_2 depends on package: rubygem-googleapis-common-protos-types104>=1.0<2 - not found
===>   Installing existing package /packages/All/rubygem-googleapis-common-protos-types104-1.0.4.txz
[main-arm64-default-job-03] Installing rubygem-googleapis-common-protos-types104-1.0.4...
[main-arm64-default-job-03] Extracting rubygem-googleapis-common-protos-types104-1.0.4: .......... done
===>   rubygem-grpc124-1.24.0_2 depends on package: rubygem-googleapis-common-protos-types104>=1.0<2 - found
===>   Returning to build of rubygem-grpc124-1.24.0_2
===>   rubygem-grpc124-1.24.0_2 depends on file: /usr/local/bin/ruby27 - found
===>   rubygem-grpc124-1.24.0_2 depends on file: /usr/local/bin/gem27 - found
===========================================================================
=======================<phase: stage          >============================
===>  Staging for rubygem-grpc124-1.24.0_2
===>   Generating temporary packing list
(cd /wrkdirs/usr/ports/net/rubygem-grpc124/work/grpc-1.24.0; /usr/bin/env RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem27 install -l --no-update-sources --install-dir /wrkdirs/usr/ports/net/rubygem-grpc124/work/stage/usr/local/lib/ruby/gems/2.7 --ignore-dependencies --bindir=/wrkdirs/usr/ports/net/rubygem-grpc124/work/stage/usr/local/bin --no-document grpc-1.24.0.gem -- )
/usr/local/lib/ruby/site_ruby/2.7/rubygems/package.rb:509: warning: Using the last argument as keyword parameters is deprecated
/usr/local/lib/ruby/site_ruby/2.7/rubygems/package.rb:509: warning: Using the last argument as keyword parameters is deprecated
Building native extensions. This could take a while...
ERROR:  Error installing grpc-1.24.0.gem:
	ERROR: Failed to build gem native extension.

    current directory: /wrkdirs/usr/ports/net/rubygem-grpc124/work/stage/usr/local/lib/ruby/gems/2.7/gems/grpc-1.24.0/src/ruby/ext/grpc
/usr/local/bin/ruby27 -I /usr/local/lib/ruby/site_ruby/2.7 -r ./siteconf20210111-41312-17v8tx.rb extconf.rb
Generating Makefile for grpc/grpc_c
creating Makefile

current directory: /wrkdirs/usr/ports/net/rubygem-grpc124/work/stage/usr/local/lib/ruby/gems/2.7/gems/grpc-1.24.0/src/ruby/ext/grpc
make "DESTDIR=" clean

current directory: /wrkdirs/usr/ports/net/rubygem-grpc124/work/stage/usr/local/lib/ruby/gems/2.7/gems/grpc-1.24.0/src/ruby/ext/grpc
make "DESTDIR="
compiling rb_byte_buffer.c
In file included from rb_byte_buffer.c:19:
/usr/local/include/ruby-2.7/ruby/ruby.h:2521:20: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
    __attribute__((diagnose_if(rb_scan_args_count(fmt)<0,"bad scan arg format","error")))
                   ^
/usr/local/include/ruby-2.7/ruby/ruby.h:2522:20: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
    __attribute__((diagnose_if(rb_scan_args_count(fmt)!=varc,"variable argument length doesn't match","error")))
                   ^
2 warnings generated.
compiling rb_call.c
In file included from rb_call.c:19:
/usr/local/include/ruby-2.7/ruby/ruby.h:2521:20: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
    __attribute__((diagnose_if(rb_scan_args_count(fmt)<0,"bad scan arg format","error")))
                   ^
/usr/local/include/ruby-2.7/ruby/ruby.h:2522:20: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
    __attribute__((diagnose_if(rb_scan_args_count(fmt)!=varc,"variable argument length doesn't match","error")))
                   ^
rb_call.c:111:13: warning: excess elements in scalar initializer [-Wexcess-initializers]
     {NULL, NULL}},
            ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
rb_call.c:111:18: warning: missing field 'reserved' initializer [-Wmissing-field-initializers]
     {NULL, NULL}},
                 ^
rb_call.c:129:60: warning: excess elements in scalar initializer [-Wexcess-initializers]
                                                    {NULL, NULL}},
                                                           ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
rb_call.c:129:65: warning: missing field 'reserved' initializer [-Wmissing-field-initializers]
                                                    {NULL, NULL}},
                                                                ^
6 warnings generated.
compiling rb_call_credentials.c
In file included from rb_call_credentials.c:19:
/usr/local/include/ruby-2.7/ruby/ruby.h:2521:20: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
    __attribute__((diagnose_if(rb_scan_args_count(fmt)<0,"bad scan arg format","error")))
                   ^
/usr/local/include/ruby-2.7/ruby/ruby.h:2522:20: warning: 'diagnose_if' is a clang extension [-Wgcc-compat]
    __attribute__((diagnose_if(rb_scan_args_count(fmt)!=varc,"variable argument length doesn't match","error")))
                   ^
rb_call_credentials.c:71:72: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
      rb_funcall(rb_funcall(exception_object, rb_intern("backtrace"), 0),
                                                                       ^
/usr/local/include/ruby-2.7/ruby/ruby.h:2683:10: note: macro 'rb_funcall' defined here
# define rb_funcall(recv, mid, argc, ...) \
         ^
rb_call_credentials.c:74:59: warning: must specify at least one argument for '...' parameter of variadic macro [-Wgnu-zero-variadic-macro-arguments]
      rb_funcall(exception_object, rb_intern("inspect"), 0);
                                                          ^
/usr/local/include/ruby-2.7/ruby/ruby.h:2683:10: note: macro 'rb_funcall' defined here
# define rb_funcall(recv, mid, argc, ...) \
         ^
rb_call_credentials.c:118:19: warning: unused parameter 'creds_md' [-Wunused-parameter]
    grpc_metadata creds_md[GRPC_METADATA_CREDENTIALS_PLUGIN_SYNC_MAX],
                  ^
rb_call_credentials.c:119:13: warning: unused parameter 'num_creds_md' [-Wunused-parameter]
    size_t* num_creds_md, grpc_status_code* status,
            ^
rb_call_credentials.c:119:45: warning: unused parameter 'status' [-Wunused-parameter]
    size_t* num_creds_md, grpc_status_code* status,
                                            ^
rb_call_credentials.c:120:18: warning: unused parameter 'error_details' [-Wunused-parameter]
    const char** error_details) {
                 ^
rb_call_credentials.c:171:13: warning: excess elements in scalar initializer [-Wexcess-initializers]
     {NULL, NULL}},
            ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
rb_call_credentials.c:171:18: warning: missing field 'reserved' initializer [-Wmissing-field-initializers]
     {NULL, NULL}},
                 ^
rb_call_credentials.c:232:68: error: too few arguments to function call, expected 3, have 2
  creds = grpc_metadata_credentials_create_from_plugin(plugin, NULL);
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             ^
/usr/local/include/grpc/grpc_security.h:469:32: note: 'grpc_metadata_credentials_create_from_plugin' declared here
GRPCAPI grpc_call_credentials* grpc_metadata_credentials_create_from_plugin(
                               ^
10 warnings and 1 error generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net/rubygem-grpc124/work/stage/usr/local/lib/ruby/gems/2.7/gems/grpc-1.24.0/src/ruby/ext/grpc

make failed, exit code 1

Gem files will remain installed in /wrkdirs/usr/ports/net/rubygem-grpc124/work/stage/usr/local/lib/ruby/gems/2.7/gems/grpc-1.24.0 for inspection.
Results logged to /wrkdirs/usr/ports/net/rubygem-grpc124/work/stage/usr/local/lib/ruby/gems/2.7/extensions/aarch64-freebsd-13/2.7/grpc-1.24.0/gem_make.out
*** Error code 1

Stop.
make: stopped in /usr/ports/net/rubygem-grpc124



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101111536.10BFa8Fw041636>