[package - main-amd64-default][net-mgmt/wmi-client] Failed for wmi-client-1.3.16_4 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 25 Jun 2023 04:09:22 UTC
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:     koichiro@rworks.jp
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p4785b313b958_se8efee297c/logs/wmi-client-1.3.16_4.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p4785b313b958_se8efee297c
Log:

=>> Building net-mgmt/wmi-client
build started at Sun Jun 25 04:08:28 UTC 2023
port directory: /usr/ports/net-mgmt/wmi-client
package name: wmi-client-1.3.16_4
building for: FreeBSD main-amd64-default-job-11 14.0-CURRENT FreeBSD 14.0-CURRENT 1400091 amd64
maintained by: koichiro@rworks.jp
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400091
Job Id: 11




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400091
UNAME_v=FreeBSD 14.0-CURRENT 1400091
UNAME_r=14.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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-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--
koichiro@rworks.jp
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/wmi-client/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/wmi-client/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/wmi-client/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/wmi-client/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/wmi-client/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/wmi-client/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/wmi-client/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/wmi-client/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/wmi-client/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/wmi-client/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/wmi-client/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/wmi-client/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DEFAULT_AUTOCONF=2.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="in
stall  -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--
OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/wmi"  EXAMPLESDIR="share/examples/wmi"  DATADIR="share/wmi"  WWWDIR="www/wmi"  ETCDIR="etc/wmi"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/wmi DOCSDIR=/usr/local/share/doc/wmi EXAMPLESDIR=/usr/local/share/examples/wmi  WWWDIR=/usr/local/www/wmi ETCDIR=/usr/local/etc/wmi
--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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400091
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
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)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   wmi-client-1.3.16_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-amd64-default-job-11] Installing pkg-1.19.1_1...
[main-amd64-default-job-11] Extracting pkg-1.19.1_1: .......... done
===>   wmi-client-1.3.16_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of wmi-client-1.3.16_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by wmi-client-1.3.16_4 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by wmi-client-1.3.16_4 for building
=> SHA256 Checksum OK for wmi-1.3.16.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by wmi-client-1.3.16_4 for building
===>  Extracting for wmi-client-1.3.16_4
=> SHA256 Checksum OK for wmi-1.3.16.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for wmi-client-1.3.16_4
===>  Applying FreeBSD patches for wmi-client-1.3.16_4 from /usr/ports/net-mgmt/wmi-client/files
===========================================================================
=======================<phase: build-depends  >============================
===>   wmi-client-1.3.16_4 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[main-amd64-default-job-11] Installing gmake-4.3_2...
[main-amd64-default-job-11] `-- Installing gettext-runtime-0.21.1...
[main-amd64-default-job-11] |   `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-11] |   `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-11] `-- Extracting gettext-runtime-0.21.1: .......... done
[main-amd64-default-job-11] Extracting gmake-4.3_2: .......... done
<snip>
Creating libcli/util/asn1_proto.h
Creating lib/gencache/gencache.h
Creating param/secrets_proto.h
Creating nbt_server/nbt_server_proto.h
Creating torture/auth/proto.h
Creating torture/nbt/proto.h
Creating lib/com/dcom/proto.h
Creating rpc_server/common/proto.h
Creating libcli/wrepl/winsrepl_proto.h
Creating libcli/security/proto.h
Creating ntvfs/posix/vfs_posix_proto.h
Creating ntvfs/cifs_posix_cli/proto.h
Creating wrepl_server/wrepl_server_proto.h
Creating lib/util/wrap_xattr.h
Creating winbind/wb_helper.h
Creating libcli/raw/raw_proto.h
Creating torture/ldap/proto.h
Creating torture/raw/proto.h
Creating lib/com/proto.h
Creating smb_server/service_smb_proto.h
Creating auth/kerberos/proto.h
Creating auth/gensec/schannel_proto.h
Creating lib/db_wrap_proto.h
Creating librpc/ndr/libndr_proto.h
Creating ntptr/ntptr_proto.h
Creating torture/smb2/proto.h
Generating librpc/gen_ndr/tables.c
mv librpc/gen_ndr/tables.x librpc/gen_ndr/tables.c
Creating librpc/rpc/dcerpc_table.h
Creating smbd/service_proto.h
Creating lib/registry/reg_backend_rpc.h
Creating smb_server/smb2/smb2_proto.h
Creating lib/samba3/samba3_proto.h
Creating lib/ldb/samba/ldif_handlers.h
Creating torture/util.h
Creating rpc_server/dcerpc_server_proto.h
Creating auth/gensec/schannel_state.h
Creating libcli/ldap/ldap_proto.h
Creating web_server/proto.h
Creating ntvfs/common/proto.h
Creating nbt_server/wins/winsserver_proto.h
Creating torture/rap/proto.h
Creating scripting/ejs/proto.h
Creating ldap_server/proto.h
Creating wmi/proto.h
Creating auth/ntlmssp/proto.h
Creating lib/cmdline/popt_credentials.h
Creating utils/net/net_proto.h
Creating torture/local/proto.h
Creating torture/rpc/proto.h
Creating librpc/rpc/dcerpc_proto.h
Creating lib/cmdline/credentials.h
Creating libcli/nbt/nbt_proto.h
Creating ntvfs/ntvfs_proto.h
Creating auth/auth_proto.h
Creating cldap_server/proto.h
Creating torture/nbench/proto.h
Creating torture/proto.h
Creating winbind/wb_proto.h
Creating libcli/finddcs.h
Creating auth/credentials/credentials_proto.h
Creating torture/basic/proto.h
Creating libcli/smb2/smb2_proto.h
Creating librpc/ndr/ndr_spoolss_buf.h
Creating libcli/nbt/nbtname.h
Creating lib/util/util_tdb.h
Creating lib/util/unix_privs.h
Creating rpc_server/srvsvc/proto.h
Creating libcli/smb_composite/proto.h
Creating librpc/ndr/ndr_compression.h
Creating libcli/util/clilsa.h
Creating lib/tdr/tdr_proto.h
Creating param/share_proto.h
Creating lib/socket/netif_proto.h
Creating libcli/composite/proto.h
Creating torture/dcom/proto.h
Creating smbd/pidfile.h
Creating rpc_server/samr/proto.h
Creating dsdb/samdb/samdb_proto.h
Creating auth/ntlmssp/msrpc_parse.h
Creating auth/pam_errors.h
Creating nbt_server/dgram/proto.h
Creating libcli/resolve/proto.h
Creating auth/credentials/credentials_krb5_proto.h
Creating libcli/auth/proto.h
Creating libcli/libcli_proto.h
Creating smb_server/smb/smb_proto.h
Creating auth/auth_sam.h
Creating smbd/process_model_proto.h
Compiling heimdal/lib/asn1/lex.c with host compiler
Linking bin/static/libheimdal_asn1_compile_lex.a
Compiling lib/replace/replace.c
Compiling lib/replace/snprintf.c
Linking bin/static/libreplace.a
Compiling lib/replace/replace.c with host compiler
Compiling lib/replace/snprintf.c with host compiler
Linking bin/static/libreplace_hostcc.a
Compiling heimdal/lib/asn1/main.c with host compiler
Compiling heimdal/lib/asn1/gen.c with host compiler
Compiling heimdal/lib/asn1/gen_copy.c with host compiler
Compiling heimdal/lib/asn1/gen_decode.c with host compiler
Compiling heimdal/lib/asn1/gen_encode.c with host compiler
Compiling heimdal/lib/asn1/gen_free.c with host compiler
Compiling heimdal/lib/asn1/gen_glue.c with host compiler
Compiling heimdal/lib/asn1/gen_length.c with host compiler
Compiling heimdal/lib/asn1/gen_seq.c with host compiler
Compiling heimdal/lib/asn1/hash.c with host compiler
Compiling heimdal/lib/asn1/parse.c with host compiler
Compiling heimdal/lib/roken/emalloc.c with host compiler
Compiling heimdal/lib/roken/getarg.c with host compiler
Compiling heimdal/lib/roken/setprogname.c with host compiler
Compiling heimdal/lib/roken/strupr.c with host compiler
Compiling heimdal/lib/roken/get_window_size.c with host compiler
Compiling heimdal/lib/roken/estrdup.c with host compiler
Compiling heimdal/lib/roken/ecalloc.c with host compiler
Compiling heimdal/lib/asn1/symbol.c with host compiler
Compiling heimdal/lib/vers/print_version.c with host compiler
heimdal/lib/vers/print_version.c:53:61: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
    fprintf(stderr, "Copyright 1999-2005 Kungliga Tekniska H<F6>gskolan\n");
                                                            ^~~~
1 warning generated.
Compiling heimdal_build/replace.c with host compiler
Linking bin/asn1_compile
Compiling ASN1 file heimdal/lib/hdb/hdb.asn1
Compiling ASN1 file heimdal/lib/gssapi/spnego/spnego.asn1
Compiling ASN1 file heimdal/lib/gssapi/mech/gssapi.asn1
Compiling ASN1 file heimdal/lib/asn1/k5.asn1
Compiling heimdal/lib/com_err/lex.c with host compiler
Linking bin/static/libheimdal_com_err_compile_lex.a
Compiling heimdal/lib/com_err/parse.c with host compiler
Compiling heimdal/lib/com_err/compile_et.c with host compiler
Linking bin/compile_et
Compiling error table heimdal/lib/asn1/asn1_err.et
Compiling ASN1 file heimdal/lib/asn1/digest.asn1
Compiling error table heimdal/lib/hdb/hdb_err.et
Compiling error table heimdal/lib/krb5/heim_err.et
Compiling error table heimdal/lib/krb5/k524_err.et
Compiling error table heimdal/lib/krb5/krb5_err.et
Compiling error table heimdal/lib/gssapi/krb5/gkrb5_err.et
Compiling wmi/wbemdata.c
Compiling wmi/wmicore.c
Linking bin/static/libwmi.a
Compiling librpc/gen_ndr/ndr_winreg_c.c
Linking bin/static/librpc_ndr_winreg.a
Compiling librpc/gen_ndr/ndr_lsa_c.c
Linking bin/static/librpc_ndr_lsa.a
Compiling librpc/gen_ndr/ndr_samr_c.c
Linking bin/static/librpc_ndr_samr.a
Compiling lib/com/dcom/main.c
Compiling lib/com/dcom/tables.c
Linking bin/static/libdcom.a
Compiling lib/com/tables.c
Compiling lib/com/rot.c
Compiling lib/com/main.c
Compiling lib/com/classes/simple.c
lib/com/classes/simple.c:90:2: error: incompatible function pointer types initializing 'struct composite_context *(*)(struct IUnknown *, TALLOC_CTX *, struct GUID *)' (aka 'struct composite_context *(*)(struct IUnknown *, void *, struct GUID *)') with an expression of type 'WERROR (struct IUnknown *, TALLOC_CTX *, struct GUID *, struct IUnknown **)' (aka 'WERROR (struct IUnknown *, void *, struct GUID *, struct IUnknown **)') [-Wincompatible-function-pointer-types]
        simpleclass_IUnknown_QueryInterface, 
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/com/classes/simple.c:91:2: error: incompatible function pointer types initializing 'struct composite_context *(*)(struct IUnknown *, TALLOC_CTX *)' (aka 'struct composite_context *(*)(struct IUnknown *, void *)') with an expression of type 'uint32_t (struct IUnknown *, TALLOC_CTX *)' (aka 'unsigned int (struct IUnknown *, void *)') [-Wincompatible-function-pointer-types]
        simpleclass_IUnknown_AddRef, 
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/com/classes/simple.c:92:2: error: incompatible function pointer types initializing 'struct composite_context *(*)(struct IUnknown *, TALLOC_CTX *)' (aka 'struct composite_context *(*)(struct IUnknown *, void *)') with an expression of type 'uint32_t (struct IUnknown *, TALLOC_CTX *)' (aka 'unsigned int (struct IUnknown *, void *)') [-Wincompatible-function-pointer-types]
        simpleclass_IUnknown_Release,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/com/classes/simple.c:93:2: error: incompatible function pointer types initializing 'struct composite_context *(*)(struct IClassFactory *, TALLOC_CTX *, struct MInterfacePointer *, struct GUID *)' (aka 'struct composite_context *(*)(struct IClassFactory *, void *, struct MInterfacePointer *, struct GUID *)') with an expression of type 'WERROR (struct IClassFactory *, TALLOC_CTX *, struct IUnknown *, struct GUID *, struct IUnknown **)' (aka 'WERROR (struct IClassFactory *, void *, struct IUnknown *, struct GUID *, struct IUnknown **)') [-Wincompatible-function-pointer-types]
        simpleclass_IClassFactory_CreateInstance,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/com/classes/simple.c:101:2: error: incompatible function pointer types initializing 'struct composite_context *(*)(struct IUnknown *, TALLOC_CTX *, struct GUID *)' (aka 'struct composite_context *(*)(struct IUnknown *, void *, struct GUID *)') with an expression of type 'WERROR (struct IUnknown *, TALLOC_CTX *, struct GUID *, struct IUnknown **)' (aka 'WERROR (struct IUnknown *, void *, struct GUID *, struct IUnknown **)') [-Wincompatible-function-pointer-types]
        simple_IUnknown_QueryInterface,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/com/classes/simple.c:102:2: error: incompatible function pointer types initializing 'struct composite_context *(*)(struct IUnknown *, TALLOC_CTX *)' (aka 'struct composite_context *(*)(struct IUnknown *, void *)') with an expression of type 'uint32_t (struct IUnknown *, TALLOC_CTX *)' (aka 'unsigned int (struct IUnknown *, void *)') [-Wincompatible-function-pointer-types]
        simple_IUnknown_AddRef, 
        ^~~~~~~~~~~~~~~~~~~~~~
lib/com/classes/simple.c:103:2: error: incompatible function pointer types initializing 'struct composite_context *(*)(struct IUnknown *, TALLOC_CTX *)' (aka 'struct composite_context *(*)(struct IUnknown *, void *)') with an expression of type 'uint32_t (struct IUnknown *, TALLOC_CTX *)' (aka 'unsigned int (struct IUnknown *, void *)') [-Wincompatible-function-pointer-types]
        simple_IUnknown_Release,
        ^~~~~~~~~~~~~~~~~~~~~~~
lib/com/classes/simple.c:104:2: error: incompatible function pointer types initializing 'struct composite_context *(*)(struct IStream *, TALLOC_CTX *, uint32_t, uint32_t *)' (aka 'struct composite_context *(*)(struct IStream *, void *, unsigned int, unsigned int *)') with an expression of type 'WERROR (struct IStream *, TALLOC_CTX *, uint8_t *, uint32_t, uint32_t *, uint32_t)' (aka 'WERROR (struct IStream *, void *, unsigned char *, unsigned int, unsigned int *, unsigned int)') [-Wincompatible-function-pointer-types]
        simple_IStream_Read,
        ^~~~~~~~~~~~~~~~~~~
lib/com/classes/simple.c:105:2: error: incompatible function pointer types initializing 'struct composite_context *(*)(struct IStream *, TALLOC_CTX *, uint8_t *, uint32_t)' (aka 'struct composite_context *(*)(struct IStream *, void *, unsigned char *, unsigned int)') with an expression of type 'WERROR (struct IStream *, TALLOC_CTX *, uint8_t *, uint32_t, uint32_t)' (aka 'WERROR (struct IStream *, void *, unsigned char *, unsigned int, unsigned int)') [-Wincompatible-function-pointer-types]
        simple_IStream_Write
        ^~~~~~~~~~~~~~~~~~~~
9 errors generated.
The following command failed:
cc  -Ilib/replace -fvisibility=hidden  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I./include -I. -I./lib -I./lib/replace -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H  -fPIC -DPIC -c lib/com/classes/simple.c -o lib/com/classes/simple.o
gmake[2]: *** [Makefile:28486: lib/com/classes/simple.o] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/wmi-client/work/wmi-1.3.16/Samba/source'
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-mgmt/wmi-client/work/wmi-1.3.16'
===========================================================================
=======================<phase: run-depends    >============================
===========================================================================
=======================<phase: stage          >============================
===>  Staging for wmi-client-1.3.16_4
===>   Generating temporary packing list
install  -s -m 555 /wrkdirs/usr/ports/net-mgmt/wmi-client/work/wmi-1.3.16/Samba/source/bin/wmic /wrkdirs/usr/ports/net-mgmt/wmi-client/work/stage/usr/local/bin/wmic
install: /wrkdirs/usr/ports/net-mgmt/wmi-client/work/wmi-1.3.16/Samba/source/bin/wmic: No such file or directory
*** Error code 71

Stop.
make: stopped in /usr/ports/net-mgmt/wmi-client