From nobody Sat Dec 23 22:59:20 2023 X-Original-To: pkg-fallout@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SyKNn0fS1z557WB for ; Sat, 23 Dec 2023 22:59:21 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SyKNm51jrz4dLL for ; Sat, 23 Dec 2023 22:59:20 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703372360; a=rsa-sha256; cv=none; b=w8n1bU27Qv7qDlBF2A5LHMeIUH/ulhnyAsNcE2+G/tmG1JgINRKtNPVLA6JNelQkZJK1EQ SUXY5/QG6xKWNiih+j5EqO9NBnOSBW2f1h3Yy4BdsVr7WaISj+9tYe4mbKVSS/xuaeiSzp yFO6XbnVE/S0YM6I3Qz0nu+yWSPP4yUkior4/w1ehgfom8JSAf15IRxkgKHj/wT6A/CbVa 763aacDbfINbrNcynQ7HdIq58J0ZbpZV6Muds+tnAsa8cs21igo+bTgVuIRYtdfE0M9GA8 l/ZVMoMeXKe/4Fp9qzRhAEA58LRDbFOZlZbYOBuoD12rpfsQ7Ld9IZJPIH0WGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703372360; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=VfxgUiU9rXOrDTX50ach27wHrCb0q2Z8/zIMhgQ/YCQ=; b=yzZqhYPleRxRmjSpcMw3z/zyxAbddETk9xBxT7ZYN3wwCVuVtDpF9ea49Mr1zK/1ZaHbe1 N9S4Htiy+ppecQuf9eCxHQi5baD4OSB3L2cLcBVFA2Wo8Y62fi4tB5ImlbSiMzHzSLhJwd N9DlfuPWYl5LSLO1DCQXnY/Dt52RxwjXHMbnUbzasRs/fmfJyAPYM55CqXk5lLVd2ZJL4I OViRwVTmM09OiUpfQfGCV9brlzYJJt1yYIX19vjvXjbmxux3zxxkTGQ1G5Nan6Q1nVooly J9d5Sy/S/hZHWHiP/6RrFxYd/qpaMAfAXEDllF1GanHkxJRK4400zSfs6u5vOw== Received: from beefy18.nyi.freebsd.org (beefy18.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:21]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4SyKNm45nYz1HwM for ; Sat, 23 Dec 2023 22:59:20 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from root (uid 0) (envelope-from pkg-fallout@FreeBSD.org) id 147e by beefy18.nyi.freebsd.org (DragonFly Mail Agent v0.13+ on beefy18.nyi.freebsd.org); Sat, 23 Dec 2023 22:59:20 +0000 To: yuri@FreeBSD.org Subject: [package - main-amd64-default][misc/pytorch] Failed for pytorch-2.1.0_1 in build Cc: pkg-fallout@FreeBSD.org Date: Sat, 23 Dec 2023 22:59:20 +0000 Message-Id: <65876648.147e.3bfde397@beefy18.nyi.freebsd.org> From: List-Id: Fallout logs from package building List-Archive: https://lists.freebsd.org/archives/freebsd-pkg-fallout List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg-fallout@freebsd.org 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: yuri@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p471524a16046_sdac33a65b9/logs/pytorch-2.1.0_1.log Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p471524a16046_sdac33a65b9 Log: =>> Building misc/pytorch build started at Sat Dec 23 19:49:11 UTC 2023 port directory: /usr/ports/misc/pytorch package name: pytorch-2.1.0_1 building for: FreeBSD main-amd64-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500007 amd64 maintained by: yuri@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2750 Dec 19 01:01 /usr/ports/misc/pytorch/Makefile Ports top last git commit: 471524a1604 Ports top unclean checkout: no Port dir last git commit: 69e2e87fa56 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.0 Host OSVERSION: 1500006 Jail OSVERSION: 1500007 Job Id: 02 !!! Jail is newer than host. (Jail: 1500007, Host: 1500006) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500007 UNAME_v=FreeBSD 15.0-CURRENT 1500007 UNAME_r=15.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 MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.0 MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/main-amd64-default/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.0 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for pytorch-2.1.0_1: PYTHON=on: Python bindings or support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- yuri@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/misc/pytorch/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/pytorch/work XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/pytorch/work/.cache HOME=/wrkdirs/usr/ports/misc/pytorch/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/pytorch/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/pytorch/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" --End CONFIGURE_ENV-- --MAKE_ENV-- USE_NINJA=no NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/misc/pytorch/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/pytorch/work XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/pytorch/work/.cache HOME=/wrkdirs/usr/ports/misc/pytorch/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/pytorch/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/pytorch/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 DESTDIR=/wrkdirs/usr/ports/misc/pytorch/work/stage PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" -lexecinfo -fstack-protector-strong -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/incl ude -fno-strict-aliasing -isystem /usr/local/include " 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-- PYTHON="" NO_PYTHON="@comment " CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python3.9 PYTHON_LIBDIR=lib/python3.9 PYTHON_PLATFORM=freebsd15 PYTHON_SITELIBDIR=lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" AMD64="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pytorch" EXAMPLESDIR="share/examples/pytorch" DATADIR="share/pytorch" WWWDIR="www/pytorch" ETCDIR="etc/pytorch" --End PLIST_SUB-- --SUB_LIST-- PYTHON="" NO_PYTHON="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.9 PYTHON_LIBDIR=/usr/local/lib/python3.9 PYTHON_PLATFORM=freebsd15 PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pytorch DOCSDIR=/usr/local/share/doc/pytorch EXAMPLESDIR=/usr/local/share/examples/pytorch WWWDIR=/usr/local/www/pytorch ETCDIR=/usr/local/etc/pytorch --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 #### #### # 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 3 jobs MAKE_JOBS_NUMBER=3 #### Misc Poudriere #### .include "/etc/make.conf.ports_env" 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) 8192 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-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License BSD3CLAUSE accepted by the user =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pytorch-2.1.0_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9.pkg [main-amd64-default-job-02] Installing pkg-1.20.9... [main-amd64-default-job-02] Extracting pkg-1.20.9: .......... done ===> pytorch-2.1.0_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pytorch-2.1.0_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by pytorch-2.1.0_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by pytorch-2.1.0_1 for building => SHA256 Checksum OK for pytorch/pytorch-v2.1.0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by pytorch-2.1.0_1 for building ===> Extracting for pytorch-2.1.0_1 => SHA256 Checksum OK for pytorch/pytorch-v2.1.0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for pytorch-2.1.0_1 ===> Applying FreeBSD patches for pytorch-2.1.0_1 from /usr/ports/misc/pytorch/files grep: warning: third_party/ittapi/rust/ittapi-sys/c-library: recursive directory loop =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pytorch-2.1.0_1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.3_2.pkg [main-amd64-default-job-02] Installing gmake-4.3_2... [main-amd64-default-job-02] `-- Installing gettext-runtime-0.22.3... [main-amd64-default-job-02] | `-- Installing indexinfo-0.3.1... [main-amd64-default-job-02] | `-- Extracting indexinfo-0.3.1: .... done [main-amd64-default-job-02] `-- Extracting gettext-runtime-0.22.3: .......... done [main-amd64-default-job-02] Extracting gmake-4.3_2: .......... done ===> pytorch-2.1.0_1 depends on executable: gmake - found ===> Returning to build of pytorch-2.1.0_1 ===> pytorch-2.1.0_1 depends on file: /usr/local/include/fxdiv.h - not found ===> Installing existing package /packages/All/fxdiv-g20181121.pkg [ 92% 1687/1830] : && /usr/bin/c++ -fPIC -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=braced-scalar-init -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wno-range-loop-analysis -Wno-pass-failed -Wsuggest-override -Wno-error=pedantic -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override -Wno-error=inconsistent-missing-destructor-override -Wconstant-conversion -Wno-invalid-partial-special ization -Wno-unused-private-field -Wno-missing-braces -Wunused-lambda-capture -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -DNDEBUG -lexecinfo -fstack-protector-strong -L/usr/local/lib -rdynamic -shared -Wl,-soname,libtorch.so -o lib/libtorch.so caffe2/CMakeFiles/torch.dir/__/empty.cpp.o -Wl,-rpath,/wrkdirs/usr/ports/misc/pytorch/work/.build/lib: lib/libtorch_cpu.so /usr/local/lib/libprotobuf.so.24.4.0 /usr/local/lib/libabsl_log_internal_check_op.so.2301.0.0 /usr/local/lib/libabsl_leak_check.so.2301.0.0 /usr/local/lib/libabsl_die_if_null.so.2301.0.0 /usr/local/lib/libabsl_log_internal_conditions.so.2301.0.0 /usr/local/lib/libabsl_log_internal_message.so.2301.0.0 /usr/local/lib/ libabsl_log_internal_nullguard.so.2301.0.0 /usr/local/lib/libabsl_examine_stack.so.2301.0.0 /usr/local/lib/libabsl_log_internal_format.so.2301.0.0 /usr/local/lib/libabsl_log_internal_proto.so.2301.0.0 /usr/local/lib/libabsl_log_internal_log_sink_set.so.2301.0.0 /usr/local/lib/libabsl_log_sink.so.2301.0.0 /usr/local/lib/libabsl_log_entry.so.2301.0.0 /usr/local/lib/libabsl_flags.so.2301.0.0 /usr/local/lib/libabsl_flags_internal.so.2301.0.0 /usr/local/lib/libabsl_flags_marshalling.so.2301.0.0 /usr/local/lib/libabsl_flags_reflection.so.2301.0.0 /usr/local/lib/libabsl_flags_config.so.2301.0.0 /usr/local/lib/libabsl_flags_program_name.so.2301.0.0 /usr/local/lib/libabsl_flags_private_handle_accessor.so.2301.0.0 /usr/local/lib/libabsl_flags_commandlineflag.so.2301.0.0 /usr/local/lib/libabsl_flags_commandlineflag_internal.so.2301.0.0 /usr/local/lib/libabsl_log_initialize.so.2301.0.0 /usr/local/lib/libabsl_log_globals.so.2301.0.0 /usr/local/lib/libabsl_log_internal_g lobals.so.2301.0.0 /usr/local/lib/libabsl_hash.so.2301.0.0 /usr/local/lib/libabsl_city.so.2301.0.0 /usr/local/lib/libabsl_low_level_hash.so.2301.0.0 /usr/local/lib/libabsl_raw_hash_set.so.2301.0.0 /usr/local/lib/libabsl_hashtablez_sampler.so.2301.0.0 /usr/local/lib/libabsl_statusor.so.2301.0.0 /usr/local/lib/libabsl_status.so.2301.0.0 /usr/local/lib/libabsl_cord.so.2301.0.0 /usr/local/lib/libabsl_cordz_info.so.2301.0.0 /usr/local/lib/libabsl_cord_internal.so.2301.0.0 /usr/local/lib/libabsl_cordz_functions.so.2301.0.0 /usr/local/lib/libabsl_exponential_biased.so.2301.0.0 /usr/local/lib/libabsl_cordz_handle.so.2301.0.0 /usr/local/lib/libabsl_crc_cord_state.so.2301.0.0 /usr/local/lib/libabsl_crc32c.so.2301.0.0 /usr/local/lib/libabsl_crc_internal.so.2301.0.0 /usr/local/lib/libabsl_crc_cpu_detect.so.2301.0.0 /usr/local/lib/libabsl_bad_optional_access.so.2301.0.0 /usr/local/lib/libabsl_str_format_internal.so.2301.0.0 /usr/local/lib/libabsl_strerror.so.2301.0.0 /usr/local/lib/libabsl_synchronization.so.2301.0.0 /usr/local/lib/libabsl_stacktrace.so.2301.0.0 /usr/local/lib/libabsl_symbolize.so.2301.0.0 /usr/local/lib/libabsl_debugging_internal.so.2301.0.0 /usr/local/lib/libabsl_demangle_internal.so.2301.0.0 /usr/local/lib/libabsl_graphcycles_internal.so.2301.0.0 /usr/local/lib/libabsl_malloc_internal.so.2301.0.0 /usr/local/lib/libabsl_time.so.2301.0.0 /usr/local/lib/libabsl_strings.so.2301.0.0 /usr/local/lib/libabsl_throw_delegate.so.2301.0.0 /usr/local/lib/libabsl_strings_internal.so.2301.0.0 /usr/local/lib/libabsl_base.so.2301.0.0 /usr/local/lib/libabsl_spinlock_wait.so.2301.0.0 -pthread /usr/local/lib/libabsl_int128.so.2301.0.0 /usr/local/lib/libabsl_civil_time.so.2301.0.0 /usr/local/lib/libabsl_time_zone.so.2301.0.0 /usr/local/lib/libabsl_bad_variant_access.so.2301.0.0 /usr/local/lib/libabsl_raw_logging_internal.so.2301.0.0 /usr/local/lib/libabsl_log_severity.so.2301.0.0 lib/libc10.so && : [ 92% 1688/1830] /usr/bin/c++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dshm_EXPORTS -I/wrkdirs/usr/ports/misc/pytorch/work/.build/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm/../../../torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/c10/.. -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v 2.1.0/third_party/ittapi/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/cmake/../third_party/eigen -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/mkl-dnn/include/oneapi/dnnl -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=braced-scalar-init -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wnewline-eof -Winconsistent-missing-override -Winconsistent-miss ing-destructor-override -Wno-range-loop-analysis -Wno-pass-failed -Wsuggest-override -Wno-error=pedantic -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override -Wno-error=inconsistent-missing-destructor-override -Wconstant-conversion -Wno-invalid-partial-specialization -Wno-unused-private-field -Wno-missing-braces -Wunused-lambda-capture -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DTH_HAVE_THREAD -pthread -MD -MT caffe2/torch/lib/libshm/CMakeFiles/shm.dir/core.cpp.o -MF caffe2/torch/lib/libshm/CMakeFiles/shm.dir/core.cpp.o.d -o caffe2/torch/lib/libshm/CMakeFiles/shm.dir/core.cpp.o -c /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/l ibshm/core.cpp [ 92% 1689/1830] : && /usr/bin/c++ -fPIC -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=braced-scalar-init -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wno-range-loop-analysis -Wno-pass-failed -Wsuggest-override -Wno-error=pedantic -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override -Wno-error=inconsistent-missing-destructor-override -Wconstant-conversion -Wno-invalid-partial-special ization -Wno-unused-private-field -Wno-missing-braces -Wunused-lambda-capture -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -DNDEBUG -lexecinfo -fstack-protector-strong -L/usr/local/lib -rdynamic -shared -Wl,-soname,libshm.so -o lib/libshm.so caffe2/torch/lib/libshm/CMakeFiles/shm.dir/core.cpp.o -Wl,-rpath,/wrkdirs/usr/ports/misc/pytorch/work/.build/lib: lib/libtorch.so -lrt lib/libtorch_cpu.so /usr/local/lib/libprotobuf.so.24.4.0 /usr/local/lib/libabsl_log_internal_check_op.so.2301.0.0 /usr/local/lib/libabsl_leak_check.so.2301.0.0 /usr/local/lib/libabsl_die_if_null.so.2301.0.0 /usr/local/lib/libabsl_log_internal_conditions.so.2301.0.0 /usr/local/lib/libabsl_log_internal_messag e.so.2301.0.0 /usr/local/lib/libabsl_log_internal_nullguard.so.2301.0.0 /usr/local/lib/libabsl_examine_stack.so.2301.0.0 /usr/local/lib/libabsl_log_internal_format.so.2301.0.0 /usr/local/lib/libabsl_log_internal_proto.so.2301.0.0 /usr/local/lib/libabsl_log_internal_log_sink_set.so.2301.0.0 /usr/local/lib/libabsl_log_sink.so.2301.0.0 /usr/local/lib/libabsl_log_entry.so.2301.0.0 /usr/local/lib/libabsl_flags.so.2301.0.0 /usr/local/lib/libabsl_flags_internal.so.2301.0.0 /usr/local/lib/libabsl_flags_marshalling.so.2301.0.0 /usr/local/lib/libabsl_flags_reflection.so.2301.0.0 /usr/local/lib/libabsl_flags_config.so.2301.0.0 /usr/local/lib/libabsl_flags_program_name.so.2301.0.0 /usr/local/lib/libabsl_flags_private_handle_accessor.so.2301.0.0 /usr/local/lib/libabsl_flags_commandlineflag.so.2301.0.0 /usr/local/lib/libabsl_flags_commandlineflag_internal.so.2301.0.0 /usr/local/lib/libabsl_log_initialize.so.2301.0.0 /usr/local/lib/libabsl_log_globals.so.2301.0.0 /usr/lo cal/lib/libabsl_log_internal_globals.so.2301.0.0 /usr/local/lib/libabsl_hash.so.2301.0.0 /usr/local/lib/libabsl_city.so.2301.0.0 /usr/local/lib/libabsl_low_level_hash.so.2301.0.0 /usr/local/lib/libabsl_raw_hash_set.so.2301.0.0 /usr/local/lib/libabsl_hashtablez_sampler.so.2301.0.0 /usr/local/lib/libabsl_statusor.so.2301.0.0 /usr/local/lib/libabsl_status.so.2301.0.0 /usr/local/lib/libabsl_cord.so.2301.0.0 /usr/local/lib/libabsl_cordz_info.so.2301.0.0 /usr/local/lib/libabsl_cord_internal.so.2301.0.0 /usr/local/lib/libabsl_cordz_functions.so.2301.0.0 /usr/local/lib/libabsl_exponential_biased.so.2301.0.0 /usr/local/lib/libabsl_cordz_handle.so.2301.0.0 /usr/local/lib/libabsl_crc_cord_state.so.2301.0.0 /usr/local/lib/libabsl_crc32c.so.2301.0.0 /usr/local/lib/libabsl_crc_internal.so.2301.0.0 /usr/local/lib/libabsl_crc_cpu_detect.so.2301.0.0 /usr/local/lib/libabsl_bad_optional_access.so.2301.0.0 /usr/local/lib/libabsl_str_format_internal.so.2301.0.0 /usr/local/lib /libabsl_strerror.so.2301.0.0 /usr/local/lib/libabsl_synchronization.so.2301.0.0 /usr/local/lib/libabsl_stacktrace.so.2301.0.0 /usr/local/lib/libabsl_symbolize.so.2301.0.0 /usr/local/lib/libabsl_debugging_internal.so.2301.0.0 /usr/local/lib/libabsl_demangle_internal.so.2301.0.0 /usr/local/lib/libabsl_graphcycles_internal.so.2301.0.0 /usr/local/lib/libabsl_malloc_internal.so.2301.0.0 /usr/local/lib/libabsl_time.so.2301.0.0 /usr/local/lib/libabsl_strings.so.2301.0.0 /usr/local/lib/libabsl_throw_delegate.so.2301.0.0 /usr/local/lib/libabsl_strings_internal.so.2301.0.0 /usr/local/lib/libabsl_base.so.2301.0.0 /usr/local/lib/libabsl_spinlock_wait.so.2301.0.0 -pthread /usr/local/lib/libabsl_int128.so.2301.0.0 /usr/local/lib/libabsl_civil_time.so.2301.0.0 /usr/local/lib/libabsl_time_zone.so.2301.0.0 /usr/local/lib/libabsl_bad_variant_access.so.2301.0.0 /usr/local/lib/libabsl_raw_logging_internal.so.2301.0.0 /usr/local/lib/libabsl_log_severity.so.2301.0.0 lib/libc 10.so && : [ 92% 1689/1830] /usr/bin/c++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/wrkdirs/usr/ports/misc/pytorch/work/.build/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm/../../../torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/c10/.. -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_pa rty/ittapi/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/cmake/../third_party/eigen -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/mkl-dnn/include/oneapi/dnnl -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=braced-scalar-init -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor -override -Wno-range-loop-analysis -Wno-pass-failed -Wsuggest-override -Wno-error=pedantic -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override -Wno-error=inconsistent-missing-destructor-override -Wconstant-conversion -Wno-invalid-partial-specialization -Wno-unused-private-field -Wno-missing-braces -Wunused-lambda-capture -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -DNDEBUG -std=gnu++17 -fPIE -DTH_HAVE_THREAD -pthread -MD -MT caffe2/torch/lib/libshm/CMakeFiles/torch_shm_manager.dir/manager.cpp.o -MF caffe2/torch/lib/libshm/CMakeFiles/torch_shm_manager.dir/manager.cpp.o.d -o caffe2/torch/lib/libshm/CMakeFiles/torch_shm_manager.dir/manager.cpp.o -c /wrkdirs/usr/ports/misc/py torch/work/pytorch-v2.1.0/torch/lib/libshm/manager.cpp [ 92% 1690/1830] : && /usr/bin/c++ -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=braced-scalar-init -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wno-range-loop-analysis -Wno-pass-failed -Wsuggest-override -Wno-error=pedantic -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override -Wno-error=inconsistent-missing-destructor-override -Wconstant-conversion -Wno-invalid-partial-specializatio n -Wno-unused-private-field -Wno-missing-braces -Wunused-lambda-capture -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -DNDEBUG -lexecinfo -fstack-protector-strong -L/usr/local/lib -rdynamic caffe2/torch/lib/libshm/CMakeFiles/torch_shm_manager.dir/manager.cpp.o -o bin/torch_shm_manager -Wl,-rpath,/wrkdirs/usr/ports/misc/pytorch/work/.build/lib: lib/libshm.so lib/libtorch.so lib/libtorch_cpu.so /usr/local/lib/libprotobuf.so.24.4.0 /usr/local/lib/libabsl_log_internal_check_op.so.2301.0.0 /usr/local/lib/libabsl_leak_check.so.2301.0.0 /usr/local/lib/libabsl_die_if_null.so.2301.0.0 /usr/local/lib/libabsl_log_internal_conditions.so.2301.0.0 /usr/local/lib/libabsl_log_internal_message.s o.2301.0.0 /usr/local/lib/libabsl_log_internal_nullguard.so.2301.0.0 /usr/local/lib/libabsl_examine_stack.so.2301.0.0 /usr/local/lib/libabsl_log_internal_format.so.2301.0.0 /usr/local/lib/libabsl_log_internal_proto.so.2301.0.0 /usr/local/lib/libabsl_log_internal_log_sink_set.so.2301.0.0 /usr/local/lib/libabsl_log_sink.so.2301.0.0 /usr/local/lib/libabsl_log_entry.so.2301.0.0 /usr/local/lib/libabsl_flags.so.2301.0.0 /usr/local/lib/libabsl_flags_internal.so.2301.0.0 /usr/local/lib/libabsl_flags_marshalling.so.2301.0.0 /usr/local/lib/libabsl_flags_reflection.so.2301.0.0 /usr/local/lib/libabsl_flags_config.so.2301.0.0 /usr/local/lib/libabsl_flags_program_name.so.2301.0.0 /usr/local/lib/libabsl_flags_private_handle_accessor.so.2301.0.0 /usr/local/lib/libabsl_flags_commandlineflag.so.2301.0.0 /usr/local/lib/libabsl_flags_commandlineflag_internal.so.2301.0.0 /usr/local/lib/libabsl_log_initialize.so.2301.0.0 /usr/local/lib/libabsl_log_globals.so.2301.0.0 /usr/local /lib/libabsl_log_internal_globals.so.2301.0.0 /usr/local/lib/libabsl_hash.so.2301.0.0 /usr/local/lib/libabsl_city.so.2301.0.0 /usr/local/lib/libabsl_low_level_hash.so.2301.0.0 /usr/local/lib/libabsl_raw_hash_set.so.2301.0.0 /usr/local/lib/libabsl_hashtablez_sampler.so.2301.0.0 /usr/local/lib/libabsl_statusor.so.2301.0.0 /usr/local/lib/libabsl_status.so.2301.0.0 /usr/local/lib/libabsl_cord.so.2301.0.0 /usr/local/lib/libabsl_cordz_info.so.2301.0.0 /usr/local/lib/libabsl_cord_internal.so.2301.0.0 /usr/local/lib/libabsl_cordz_functions.so.2301.0.0 /usr/local/lib/libabsl_exponential_biased.so.2301.0.0 /usr/local/lib/libabsl_cordz_handle.so.2301.0.0 /usr/local/lib/libabsl_crc_cord_state.so.2301.0.0 /usr/local/lib/libabsl_crc32c.so.2301.0.0 /usr/local/lib/libabsl_crc_internal.so.2301.0.0 /usr/local/lib/libabsl_crc_cpu_detect.so.2301.0.0 /usr/local/lib/libabsl_bad_optional_access.so.2301.0.0 /usr/local/lib/libabsl_str_format_internal.so.2301.0.0 /usr/local/lib/li babsl_strerror.so.2301.0.0 /usr/local/lib/libabsl_synchronization.so.2301.0.0 /usr/local/lib/libabsl_stacktrace.so.2301.0.0 /usr/local/lib/libabsl_symbolize.so.2301.0.0 /usr/local/lib/libabsl_debugging_internal.so.2301.0.0 /usr/local/lib/libabsl_demangle_internal.so.2301.0.0 /usr/local/lib/libabsl_graphcycles_internal.so.2301.0.0 /usr/local/lib/libabsl_malloc_internal.so.2301.0.0 /usr/local/lib/libabsl_time.so.2301.0.0 /usr/local/lib/libabsl_strings.so.2301.0.0 /usr/local/lib/libabsl_throw_delegate.so.2301.0.0 /usr/local/lib/libabsl_strings_internal.so.2301.0.0 /usr/local/lib/libabsl_base.so.2301.0.0 /usr/local/lib/libabsl_spinlock_wait.so.2301.0.0 -pthread /usr/local/lib/libabsl_int128.so.2301.0.0 /usr/local/lib/libabsl_civil_time.so.2301.0.0 /usr/local/lib/libabsl_time_zone.so.2301.0.0 /usr/local/lib/libabsl_bad_variant_access.so.2301.0.0 /usr/local/lib/libabsl_raw_logging_internal.so.2301.0.0 /usr/local/lib/libabsl_log_severity.so.2301.0.0 lib/libc10. so -lrt && : [ 92% 1690/1830] cd /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 && /usr/local/bin/python3.9 -mtools.pyi.gen_pyi --native-functions-path aten/src/ATen/native/native_functions.yaml --tags-path aten/src/ATen/native/tags.yaml --deprecated-functions-path tools/autograd/deprecated.yaml [ 92% 1693/1830] /usr/bin/c++ -DAT_PER_OPERATOR_HEADERS -DBUILD_ONEDNN_GRAPH -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTHP_BUILD_MAIN_LIB -DUSE_EXTERNAL_MZCRC -DUSE_ITT -DUSE_NUMPY -D_FILE_OFFSET_BITS=64 -Dtorch_python_EXPORTS -I/wrkdirs/usr/ports/misc/pytorch/work/.build/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src/TH -I/wrkdirs/usr/ports/mi sc/pytorch/work/.build/caffe2/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/valgrind-headers -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/gloo -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/flatbuffers/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/kineto/libkineto/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api -I/wrkdirs/usr/ports/misc/pytorch/wo rk/pytorch-v2.1.0/c10/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm/../../../torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/fmt/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ittapi/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/cmake/../third_party/eigen -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/mkl-dnn/include/oneapi/dnnl -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/include -isystem /usr/local/include/python3.9 -isystem /usr/local/lib/python3.9/site-packages/numpy/core/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=bra ced-scalar-init -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wno-range-loop-analysis -Wno-pass-failed -Wsuggest-override -Wno-error=pedantic -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override -Wno-error=inconsistent-missing-destructor-override -Wconstant-conversion -Wno-invalid-partial-specialization -Wno-unused-private-field -Wno-missing-braces -Wunused-lambda-capture -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-s trict-aliasing -isystem /usr/local/include -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DTH_HAVE_THREAD -Wno-unused-variable -fno-strict-aliasing -Wno-strict-aliasing -pthread -MD -MT caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_2.cpp.o -MF caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_2.cpp.o.d -o caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_2.cpp.o -c /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp FAILED: caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_2.cpp.o /usr/bin/c++ -DAT_PER_OPERATOR_HEADERS -DBUILD_ONEDNN_GRAPH -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTHP_BUILD_MAIN_LIB -DUSE_EXTERNAL_MZCRC -DUSE_ITT -DUSE_NUMPY -D_FILE_OFFSET_BITS=64 -Dtorch_python_EXPORTS -I/wrkdirs/usr/ports/misc/pytorch/work/.build/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src/TH -I/wrkdirs/usr/ports/misc/pytorch/work/. build/caffe2/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/valgrind-headers -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/gloo -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/flatbuffers/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/kineto/libkineto/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 /c10/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm/../../../torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/fmt/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ittapi/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/cmake/../third_party/eigen -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/mkl-dnn/include/oneapi/dnnl -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/include -isystem /usr/local/include/python3.9 -isystem /usr/local/lib/python3.9/site-packages/numpy/core/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=braced-scalar-init - Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wno-range-loop-analysis -Wno-pass-failed -Wsuggest-override -Wno-error=pedantic -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override -Wno-error=inconsistent-missing-destructor-override -Wconstant-conversion -Wno-invalid-partial-specialization -Wno-unused-private-field -Wno-missing-braces -Wunused-lambda-capture -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing - isystem /usr/local/include -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DTH_HAVE_THREAD -Wno-unused-variable -fno-strict-aliasing -Wno-strict-aliasing -pthread -MD -MT caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_2.cpp.o -MF caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_2.cpp.o.d -o caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_2.cpp.o -c /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:56:27: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 56 | {(char*)"_saved_alpha", (getter)THPAddBackward0_alpha_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:123:29: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 123 | {(char*)"_saved_tensor1", (getter)THPAddcdivBackward0_tensor1_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:124:33: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 124 | {(char*)"_raw_saved_tensor1", (getter)THPAddcdivBackward0_tensor1_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:125:29: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 125 | {(char*)"_saved_tensor2", (getter)THPAddcdivBackward0_tensor2_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:126:33: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 126 | {(char*)"_raw_saved_tensor2", (getter)THPAddcdivBackward0_tensor2_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:127:27: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 127 | {(char*)"_saved_value", (getter)THPAddcdivBackward0_value_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:148:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 148 | {(char*)"_saved_self", (getter)THPAngleBackward0_self_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:149:30: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 149 | {(char*)"_raw_saved_self", (getter)THPAngleBackward0_self_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:178:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 178 | {(char*)"_saved_self", (getter)THPAsinhBackward0_self_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:179:30: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 179 | {(char*)"_raw_saved_self", (getter)THPAsinhBackward0_self_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:242:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 242 | {(char*)"_saved_size", (getter)THPAsStridedBackward1_size_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:243:36: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 243 | {(char*)"_saved_storage_offset", (getter)THPAsStridedBackward1_storage_offset_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:244:28: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 244 | {(char*)"_saved_stride", (getter)THPAsStridedBackward1_stride_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:280:27: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 280 | {(char*)"_saved_other", (getter)THPAtan2Backward0_other_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:281:31: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 281 | {(char*)"_raw_saved_other", (getter)THPAtan2Backward0_other_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:282:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 282 | {(char*)"_saved_self", (getter)THPAtan2Backward0_self_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:283:30: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 283 | {(char*)"_raw_saved_self", (getter)THPAtan2Backward0_self_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:365:27: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 365 | {(char*)"_saved_alpha", (getter)THPBaddbmmBackward0_alpha_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_2.cpp:366:28: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 366 | {(char*)"_saved_batch1", (getter)THPBaddbmmBackward0_batch1_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [ 92% 1693/1830] /usr/bin/c++ -DAT_PER_OPERATOR_HEADERS -DBUILD_ONEDNN_GRAPH -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTHP_BUILD_MAIN_LIB -DUSE_EXTERNAL_MZCRC -DUSE_ITT -DUSE_NUMPY -D_FILE_OFFSET_BITS=64 -Dtorch_python_EXPORTS -I/wrkdirs/usr/ports/misc/pytorch/work/.build/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src/TH -I/wrkdirs/usr/ports/mi sc/pytorch/work/.build/caffe2/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/valgrind-headers -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/gloo -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/flatbuffers/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/kineto/libkineto/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api -I/wrkdirs/usr/ports/misc/pytorch/wo rk/pytorch-v2.1.0/c10/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm/../../../torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/fmt/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ittapi/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/cmake/../third_party/eigen -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/mkl-dnn/include/oneapi/dnnl -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/include -isystem /usr/local/include/python3.9 -isystem /usr/local/lib/python3.9/site-packages/numpy/core/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=bra ced-scalar-init -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wno-range-loop-analysis -Wno-pass-failed -Wsuggest-override -Wno-error=pedantic -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override -Wno-error=inconsistent-missing-destructor-override -Wconstant-conversion -Wno-invalid-partial-specialization -Wno-unused-private-field -Wno-missing-braces -Wunused-lambda-capture -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-s trict-aliasing -isystem /usr/local/include -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DTH_HAVE_THREAD -Wno-unused-variable -fno-strict-aliasing -Wno-strict-aliasing -pthread -MD -MT caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_0.cpp.o -MF caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_0.cpp.o.d -o caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_0.cpp.o -c /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp FAILED: caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_0.cpp.o /usr/bin/c++ -DAT_PER_OPERATOR_HEADERS -DBUILD_ONEDNN_GRAPH -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTHP_BUILD_MAIN_LIB -DUSE_EXTERNAL_MZCRC -DUSE_ITT -DUSE_NUMPY -D_FILE_OFFSET_BITS=64 -Dtorch_python_EXPORTS -I/wrkdirs/usr/ports/misc/pytorch/work/.build/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src/TH -I/wrkdirs/usr/ports/misc/pytorch/work/. build/caffe2/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/valgrind-headers -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/gloo -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/flatbuffers/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/kineto/libkineto/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 /c10/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm/../../../torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/fmt/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ittapi/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/cmake/../third_party/eigen -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/mkl-dnn/include/oneapi/dnnl -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/include -isystem /usr/local/include/python3.9 -isystem /usr/local/lib/python3.9/site-packages/numpy/core/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=braced-scalar-init - Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wno-range-loop-analysis -Wno-pass-failed -Wsuggest-override -Wno-error=pedantic -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override -Wno-error=inconsistent-missing-destructor-override -Wconstant-conversion -Wno-invalid-partial-specialization -Wno-unused-private-field -Wno-missing-braces -Wunused-lambda-capture -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing - isystem /usr/local/include -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DTH_HAVE_THREAD -Wno-unused-variable -fno-strict-aliasing -Wno-strict-aliasing -pthread -MD -MT caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_0.cpp.o -MF caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_0.cpp.o.d -o caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_0.cpp.o -c /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:86:29: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 86 | {(char*)"_saved_tensor1", (getter)THPAddcmulBackward0_tensor1_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:87:33: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 87 | {(char*)"_raw_saved_tensor1", (getter)THPAddcmulBackward0_tensor1_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:88:29: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 88 | {(char*)"_saved_tensor2", (getter)THPAddcmulBackward0_tensor2_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:89:33: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 89 | {(char*)"_raw_saved_tensor2", (getter)THPAddcmulBackward0_tensor2_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:90:27: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 90 | {(char*)"_saved_value", (getter)THPAddcmulBackward0_value_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:240:27: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 240 | {(char*)"_saved_alpha", (getter)THPAddmmBackward0_alpha_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:241:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 241 | {(char*)"_saved_beta", (getter)THPAddmmBackward0_beta_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:242:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 242 | {(char*)"_saved_mat1", (getter)THPAddmmBackward0_mat1_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:243:30: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 243 | {(char*)"_raw_saved_mat1", (getter)THPAddmmBackward0_mat1_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:244:36: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 244 | {(char*)"_saved_mat1_sym_sizes", (getter)THPAddmmBackward0_mat1_sym_sizes_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:245:38: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 245 | {(char*)"_saved_mat1_sym_strides", (getter)THPAddmmBackward0_mat1_sym_strides_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:246:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 246 | {(char*)"_saved_mat2", (getter)THPAddmmBackward0_mat2_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:247:30: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 247 | {(char*)"_raw_saved_mat2", (getter)THPAddmmBackward0_mat2_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:248:36: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 248 | {(char*)"_saved_mat2_sym_sizes", (getter)THPAddmmBackward0_mat2_sym_sizes_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:249:38: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 249 | {(char*)"_saved_mat2_sym_strides", (getter)THPAddmmBackward0_mat2_sym_strides_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:365:27: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 365 | {(char*)"_saved_alpha", (getter)THPSparseAddmmBackward0_alpha_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:366:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 366 | {(char*)"_saved_beta", (getter)THPSparseAddmmBackward0_beta_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:367:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 367 | {(char*)"_saved_mat1", (getter)THPSparseAddmmBackward0_mat1_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_0.cpp:368:30: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 368 | {(char*)"_raw_saved_mat1", (getter)THPSparseAddmmBackward0_mat1_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [ 92% 1693/1830] /usr/bin/c++ -DAT_PER_OPERATOR_HEADERS -DBUILD_ONEDNN_GRAPH -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTHP_BUILD_MAIN_LIB -DUSE_EXTERNAL_MZCRC -DUSE_ITT -DUSE_NUMPY -D_FILE_OFFSET_BITS=64 -Dtorch_python_EXPORTS -I/wrkdirs/usr/ports/misc/pytorch/work/.build/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src/TH -I/wrkdirs/usr/ports/mi sc/pytorch/work/.build/caffe2/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/valgrind-headers -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/gloo -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/flatbuffers/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/kineto/libkineto/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api -I/wrkdirs/usr/ports/misc/pytorch/wo rk/pytorch-v2.1.0/c10/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm/../../../torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/fmt/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ittapi/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/cmake/../third_party/eigen -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/mkl-dnn/include/oneapi/dnnl -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/include -isystem /usr/local/include/python3.9 -isystem /usr/local/lib/python3.9/site-packages/numpy/core/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=bra ced-scalar-init -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wno-range-loop-analysis -Wno-pass-failed -Wsuggest-override -Wno-error=pedantic -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override -Wno-error=inconsistent-missing-destructor-override -Wconstant-conversion -Wno-invalid-partial-specialization -Wno-unused-private-field -Wno-missing-braces -Wunused-lambda-capture -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-s trict-aliasing -isystem /usr/local/include -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DTH_HAVE_THREAD -Wno-unused-variable -fno-strict-aliasing -Wno-strict-aliasing -pthread -MD -MT caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_1.cpp.o -MF caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_1.cpp.o.d -o caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_1.cpp.o -c /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp FAILED: caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_1.cpp.o /usr/bin/c++ -DAT_PER_OPERATOR_HEADERS -DBUILD_ONEDNN_GRAPH -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_ML=1 -DONNX_NAMESPACE=onnx -DPROTOBUF_USE_DLLS -DTHP_BUILD_MAIN_LIB -DUSE_EXTERNAL_MZCRC -DUSE_ITT -DUSE_NUMPY -D_FILE_OFFSET_BITS=64 -Dtorch_python_EXPORTS -I/wrkdirs/usr/ports/misc/pytorch/work/.build/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/foxi -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../aten/src/TH -I/wrkdirs/usr/ports/misc/pytorch/work/. build/caffe2/aten/src -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party -I/wrkdirs/usr/ports/misc/pytorch/work/.build/third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/valgrind-headers -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/gloo -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/onnx -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/flatbuffers/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/../third_party/kineto/libkineto/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api/include -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/api -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0 /c10/.. -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/lib/libshm/../../../torch/lib -I/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/fmt/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ittapi/include -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/cmake/../third_party/eigen -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/mkl-dnn/include/oneapi/dnnl -isystem /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/third_party/ideep/include -isystem /usr/local/include/python3.9 -isystem /usr/local/lib/python3.9/site-packages/numpy/core/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=braced-scalar-init - Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wvla-extension -Wnewline-eof -Winconsistent-missing-override -Winconsistent-missing-destructor-override -Wno-range-loop-analysis -Wno-pass-failed -Wsuggest-override -Wno-error=pedantic -Wno-error=old-style-cast -Wno-error=inconsistent-missing-override -Wno-error=inconsistent-missing-destructor-override -Wconstant-conversion -Wno-invalid-partial-specialization -Wno-unused-private-field -Wno-missing-braces -Wunused-lambda-capture -Qunused-arguments -fcolor-diagnostics -faligned-new -Wno-unused-but-set-variable -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing - isystem /usr/local/include -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DTH_HAVE_THREAD -Wno-unused-variable -fno-strict-aliasing -Wno-strict-aliasing -pthread -MD -MT caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_1.cpp.o -MF caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_1.cpp.o.d -o caffe2/torch/CMakeFiles/torch_python.dir/csrc/autograd/generated/python_functions_1.cpp.o -c /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:48:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 48 | {(char*)"_saved_self", (getter)THPAbsBackward0_self_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:49:30: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 49 | {(char*)"_raw_saved_self", (getter)THPAbsBackward0_self_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:131:27: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 131 | {(char*)"_saved_alpha", (getter)THPAddmvBackward0_alpha_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:132:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 132 | {(char*)"_saved_beta", (getter)THPAddmvBackward0_beta_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:133:25: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 133 | {(char*)"_saved_mat", (getter)THPAddmvBackward0_mat_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:134:29: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 134 | {(char*)"_raw_saved_mat", (getter)THPAddmvBackward0_mat_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:135:25: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 135 | {(char*)"_saved_vec", (getter)THPAddmvBackward0_vec_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:136:29: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 136 | {(char*)"_raw_saved_vec", (getter)THPAddmvBackward0_vec_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:218:27: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 218 | {(char*)"_saved_alpha", (getter)THPAddrBackward0_alpha_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:219:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 219 | {(char*)"_saved_beta", (getter)THPAddrBackward0_beta_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:220:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 220 | {(char*)"_saved_vec1", (getter)THPAddrBackward0_vec1_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:221:30: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 221 | {(char*)"_raw_saved_vec1", (getter)THPAddrBackward0_vec1_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:222:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 222 | {(char*)"_saved_vec2", (getter)THPAddrBackward0_vec2_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:223:30: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 223 | {(char*)"_raw_saved_vec2", (getter)THPAddrBackward0_vec2_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:252:26: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 252 | {(char*)"_saved_self", (getter)THPAtanBackward0_self_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:253:30: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 253 | {(char*)"_raw_saved_self", (getter)THPAtanBackward0_self_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:293:27: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 293 | {(char*)"_saved_upper", (getter)THPLinalgCholeskyExBackward0_upper_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:294:23: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 294 | {(char*)"_saved_L", (getter)THPLinalgCholeskyExBackward0_L_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.1.0/torch/csrc/autograd/generated/python_functions_1.cpp:295:27: error: cast from 'PyObject *(*)(THPCppFunction *, void *)' (aka '_object *(*)(torch::autograd::THPCppFunction *, void *)') to 'getter' (aka '_object *(*)(_object *, void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] 295 | {(char*)"_raw_saved_L", (getter)THPLinalgCholeskyExBackward0_L_raw_getter, nullptr, nullptr, nullptr}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/misc/pytorch