From nobody Wed Feb 15 05:03:28 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 4PGmDx1ycHz3rGvm for ; Wed, 15 Feb 2023 05:03:29 +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 4PGmDx0DwCz3MJT for ; Wed, 15 Feb 2023 05:03:29 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676437409; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=Vwod1UORtCi5U2HfjVy0b6eIFyMjxVsbqZT/E6elYPU=; b=O1laXCiYWVbzxXFUMmteqR+8LukS4eCSENC1wt2Jhx2V4ijhN6zoHGT8Vh3tpkiKURw+7L fcAoRdhBrxonNnKvyeFDaTLZ8HkuVCnJ1B2vSFoXUZhunkSLg00BtmsR5v+ywytFR5zopV ylESbwW6w1WslI9xCfQhzEr908ES5rOX+vo3P+8jlVzBoRQKqVUmlDNS7HmA2YtyMOwyPm S6ci6MBdxnRH+pnN9dtNlTgtZ2bOHbTUMtRMdN9cgAvCo+9i1AKCEM9HXrqcGIzqyrjdJC 3vhV6FT0uybp7/wiLlIAIrwRnydDnFb75vW2qd+r1M4gnq3yAGcxQednsKUeaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676437409; a=rsa-sha256; cv=none; b=OkKygbY3lnugUb+jEqO4sf+OsMOD4Yv2yKDQLgnlMmKjKnJIQ0n9pq9yfafFMXQsnj0Hsj MSeyH8HCyArZcHWkGHza2x1Lpok3dY6waLnarsjvct8T3R7DVBk+A4G5S2mRt64ry+e3/G liYz6rpRCtH2GrEYcw9Ajh3K2flJMPwv/cGMaUCnJDLZDguWM7fH9/nGwUD7Uu7l9a9ZLW 6v6cMRjEyIx6kJdhfv2U6aNPTmBJOhMfSKXePUdu6toA3C8nZUeS4K+6+JvPx2l02X4d8a Ma5vPpy0iSg0AdLfOPso5QnkyZN5IibK36ejSJ1gfGAIYpz4xrv5Z08ouu4cgg== Received: from beefy17.nyi.freebsd.org (beefy17.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:20]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PGmDw6F6yz1R8S for ; Wed, 15 Feb 2023 05:03:28 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy17.nyi.freebsd.org (localhost [127.0.0.1]) by beefy17.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 31F53Src061859 for ; Wed, 15 Feb 2023 05:03:28 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy17.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 31F53SgH061858; Wed, 15 Feb 2023 05:03:28 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Wed, 15 Feb 2023 05:03:28 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202302150503.31F53SgH061858@beefy17.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - main-i386-default][devel/py-fam] Failed for py39-fam-1.1.1_3 in build X-ThisMailContainsUnwantedMimeParts: N 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: ports@FreeBSD.org Log URL: https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pb4e310378258_s3a3450eda6/logs/py39-fam-1.1.1_3.log Build URL: https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pb4e310378258_s3a3450eda6 Log: =>> Building devel/py-fam build started at Wed Feb 15 05:03:24 UTC 2023 port directory: /usr/ports/devel/py-fam package name: py39-fam-1.1.1_3 building for: FreeBSD main-i386-default-job-07 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 i386 maintained by: ports@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400073 Jail OSVERSION: 1400079 Job Id: 07 !!! Jail is newer than host. (Jail: 1400079, Host: 1400073) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh UNAME_p=i386 UNAME_m=i386 OSVERSION=1400079 UNAME_v=FreeBSD 14.0-CURRENT 1400079 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-i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-i386-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=py39 DEPENDS_ARGS= MAKE_ARGS= FLAVOR=py39 ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/py-fam/work-py39 XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/py-fam/work-py39 XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/py-fam/work-py39/.cache HOME=/wrkdirs/usr/ports/devel/py-fam/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/py-fam/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/py-fam/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/devel/py-fam/work-py39 XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/py-fam/work-py39 XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/py-fam/work-py39/.cache HOME=/wrkdirs/usr/ports/devel/py-fam/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/py-fam/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/py-fam/work-py39/.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 LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PYTHON_INCLUDEDIR=include/python3.9 PYTHON_LIBDIR=lib/python3.9 PYTHON_PLATFORM=freebsd14 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="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/fam" EXAMPLESDIR="share/examples/fam" DATADIR="share/fam" WWWDIR="www/fam" ETCDIR="etc/fam" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fam DOCSDIR=/usr/local/share/doc/fam EXAMPLESDIR=/usr/local/share/examples/fam WWWDIR=/usr/local/www/fam ETCDIR=/usr/local/etc/fam --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 MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-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" "-m" "elf_i386_fbsd" "-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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400079 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 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-- =================================================== ===> NOTICE: The fam port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> License LGPL21+ accepted by the user =========================================================================== =================================================== ===> py39-fam-1.1.1_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.19.1_1.pkg [main-i386-default-job-07] Installing pkg-1.19.1_1... [main-i386-default-job-07] Extracting pkg-1.19.1_1: .......... done ===> py39-fam-1.1.1_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of py39-fam-1.1.1_3 =========================================================================== =================================================== =========================================================================== =================================================== ===> NOTICE: The fam port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing [main-i386-default-job-07] | `-- Installing pcre2-10.42... [main-i386-default-job-07] | `-- Extracting pcre2-10.42: .......... done [main-i386-default-job-07] `-- Extracting glib-2.74.5,2: .......... done [main-i386-default-job-07] Extracting gamin-0.1.10_10: .......... done Generating GIO modules cache Compiling glib schemas No schema files found: doing nothing. ===== Message from gamin-0.1.10_10: -- Gamin will only provide realtime notification of changes for at most n files, where n is the minimum value between (kern.maxfiles * 0.7) and (kern.maxfilesperproc - 200). Beyond that limit, files will be polled. If you often open several large folders with Nautilus, you might want to increase the kern.maxfiles tunable (you do not need to set kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles). The behavior of gamin can be controlled via the various gaminrc files. See http://www.gnome.org/~veillard/gamin/config.html on how to create these files. In particular, if you find gam_server is taking up too much CPU time polling for changes, something like the following may help in one of the gaminrc files: # reduce polling frequency to once per 10 seconds # for UFS file systems in order to lower CPU load fsset ufs poll 10 -- ===> NOTICE: The gamin port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> py39-fam-1.1.1_3 depends on shared library: libfam.so.0 - found (/usr/local/lib/libfam.so.0) ===> Returning to build of py39-fam-1.1.1_3 =========================================================================== =================================================== ===> Configuring for py39-fam-1.1.1_3 running config =========================================================================== =================================================== ===> Building for py39-fam-1.1.1_3 running build running build_ext building '_fam' extension creating build creating build/temp.freebsd-14.0-CURRENT-i386-cpython-39 cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -I/usr/local/include -I/usr/local/include/python3.9 -c _fam.c -o build/temp.freebsd-14.0-CURRENT-i386-cpython-39/_fam.o _fam.c:125:3: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'int') with an expression of type 'char[19]' [-Wint-conversion] "_fam.FAMConnection", /* tp_name */ ^~~~~~~~~~~~~~~~~~~~ _fam.c:128:3: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'int') with an expression of type 'void (PyObject *)' (aka 'void (struct _object *)') [-Wint-conversion] _fam_connection_del, /* tp_dealloc */ ^~~~~~~~~~~~~~~~~~~ _fam.c:145:3: warning: incompatible function pointer types initializing 'setattrofunc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') with an expression of type 'PyObject *(PyObject *, PyObject *)' (aka 'struct _object *(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types] PyObject_GenericGetAttr, /* tp_getattro */ ^~~~~~~~~~~~~~~~~~~~~~~ _fam.c:151:3: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'unsigned long' [-Wint-conversion] Py_TPFLAGS_DEFAULT, /* tp_flags */ ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/object.h:350:29: note: expanded from macro 'Py_TPFLAGS_DEFAULT' #define Py_TPFLAGS_DEFAULT ( \ ^~~ _fam.c:152:3: warning: incompatible pointer types initializing 'traverseproc' (aka 'int (*)(struct _object *, int (*)(struct _object *, void *), void *)') with an expression of type 'char[14]' [-Wincompatible-pointer-types] _fam_connection_type__doc__, /* doc string */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ _fam.c:160:3: warning: incompatible pointer types initializing 'struct PyMemberDef *' with an expression of type 'PyMethodDef[7]' (aka 'struct PyMethodDef[7]') [-Wincompatible-pointer-types] _fam_connection_methods, /* tp_methods */ ^~~~~~~~~~~~~~~~~~~~~~~ _fam.c:228:3: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'int') with an expression of type 'char[16]' [-Wint-conversion] "_fam.FAMRequest", /* tp_name */ ^~~~~~~~~~~~~~~~~ _fam.c:231:3: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'int') with an expression of type 'void (PyObject *)' (aka 'void (struct _object *)') [-Wint-conversion] _fam_request_del, /* tp_dealloc */ ^~~~~~~~~~~~~~~~ _fam.c:248:3: warning: incompatible function pointer types initializing 'setattrofunc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') with an expression of type 'PyObject *(PyObject *, PyObject *)' (aka 'struct _object *(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types] PyObject_GenericGetAttr, /* tp_getattro */ ^~~~~~~~~~~~~~~~~~~~~~~ _fam.c:254:3: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'unsigned long' [-Wint-conversion] Py_TPFLAGS_DEFAULT, /* tp_flags */ ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/object.h:350:29: note: expanded from macro 'Py_TPFLAGS_DEFAULT' #define Py_TPFLAGS_DEFAULT ( \ ^~~ _fam.c:255:3: warning: incompatible pointer types initializing 'traverseproc' (aka 'int (*)(struct _object *, int (*)(struct _object *, void *), void *)') with an expression of type 'char[11]' [-Wincompatible-pointer-types] _fam_request_type__doc__, /* doc string */ ^~~~~~~~~~~~~~~~~~~~~~~~ _fam.c:263:3: warning: incompatible pointer types initializing 'struct PyMemberDef *' with an expression of type 'PyMethodDef[5]' (aka 'struct PyMethodDef[5]') [-Wincompatible-pointer-types] _fam_request_methods, /* tp_methods */ ^~~~~~~~~~~~~~~~~~~~ _fam.c:371:3: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'int') with an expression of type 'char[14]' [-Wint-conversion] "_fam.FAMEvent", /* tp_name */ ^~~~~~~~~~~~~~~ _fam.c:374:3: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'int') with an expression of type 'void (PyObject *)' (aka 'void (struct _object *)') [-Wint-conversion] _fam_event_del, /* tp_dealloc */ ^~~~~~~~~~~~~~ _fam.c:392:3: warning: incompatible function pointer types initializing 'setattrofunc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') with an expression of type 'PyObject *(PyObject *, PyObject *)' (aka 'struct _object *(struct _object *, struct _object *)') [-Wincompatible-function-pointer-types] PyObject_GenericGetAttr, /* tp_getattro */ ^~~~~~~~~~~~~~~~~~~~~~~ _fam.c:393:3: warning: incompatible pointer types initializing 'PyBufferProcs *' with an expression of type 'int (PyObject *, PyObject *, PyObject *)' (aka 'int (struct _object *, struct _object *, struct _object *)') [-Wincompatible-pointer-types] PyObject_GenericSetAttr, /* tp_setattro */ ^~~~~~~~~~~~~~~~~~~~~~~ _fam.c:399:3: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'unsigned long' [-Wint-conversion] Py_TPFLAGS_DEFAULT, /* tp_flags */ ^~~~~~~~~~~~~~~~~~ /usr/local/include/python3.9/object.h:350:29: note: expanded from macro 'Py_TPFLAGS_DEFAULT' #define Py_TPFLAGS_DEFAULT ( \ ^~~ _fam.c:400:3: warning: incompatible pointer types initializing 'traverseproc' (aka 'int (*)(struct _object *, int (*)(struct _object *, void *), void *)') with an expression of type 'char[9]' [-Wincompatible-pointer-types] _fam_event_type__doc__, /* doc string */ ^~~~~~~~~~~~~~~~~~~~~~ _fam.c:408:3: warning: incompatible pointer types initializing 'struct PyMemberDef *' with an expression of type 'PyMethodDef[2]' (aka 'struct PyMethodDef[2]') [-Wincompatible-pointer-types] _fam_event_methods, /* tp_methods */ ^~~~~~~~~~~~~~~~~~ _fam.c:409:3: warning: incompatible pointer types initializing 'struct PyGetSetDef *' with an expression of type 'PyMemberDef[2]' (aka 'struct PyMemberDef[2]') [-Wincompatible-pointer-types] _fam_event_members, /* tp_members */ ^~~~~~~~~~~~~~~~~~ _fam.c:415:3: error: incompatible integer to pointer conversion initializing 'initproc' (aka 'int (*)(struct _object *, struct _object *, struct _object *)') with an expression of type 'unsigned int' [-Wint-conversion] offsetof(_fam_event_object, attr), /* tp_dictoffset */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stddef.h:75:31: note: expanded from macro 'offsetof' #define offsetof(type, field) __offsetof(type, field) ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/cdefs.h:470:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _fam.c:675:15: warning: call to undeclared function 'PyInt_FromLong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] reqid = PyInt_FromLong((long)fe.fr.reqnum); ^ _fam.c:675:13: error: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] reqid = PyInt_FromLong((long)fe.fr.reqnum); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _fam.c:683:18: warning: call to undeclared function 'PyString_FromString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] filename = PyString_FromString(fe.filename); ^ _fam.c:683:16: error: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] filename = PyString_FromString(fe.filename); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _fam.c:699:12: error: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] code = PyInt_FromLong(fe.code); ^ ~~~~~~~~~~~~~~~~~~~~~~~ _fam.c:725:16: error: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] hostname = PyString_FromString(fe.hostname); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _fam.c:772:10: warning: call to undeclared function 'PyString_FromString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rv = PyString_FromString(str); ^ _fam.c:772:8: error: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] rv = PyString_FromString(str); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ _fam.c:786:8: warning: call to undeclared function 'PyInt_FromLong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rv = PyInt_FromLong(FAMCONNECTION_GETFD(fc_obj->fc)); ^ _fam.c:786:6: error: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] rv = PyInt_FromLong(FAMCONNECTION_GETFD(fc_obj->fc)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _fam.c:801:8: warning: call to undeclared function 'PyInt_FromLong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] rv = PyInt_FromLong(FAMREQUEST_GETREQNUM(fr_obj->fr)); ^ _fam.c:801:6: error: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] rv = PyInt_FromLong(FAMREQUEST_GETREQNUM(fr_obj->fr)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _fam.c:825:7: warning: call to undeclared function 'Py_InitModule3'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] m = Py_InitModule3("_fam", ^ _fam.c:825:5: error: incompatible integer to pointer conversion assigning to 'PyObject *' (aka 'struct _object *') from 'int' [-Wint-conversion] m = Py_InitModule3("_fam", ^ ~~~~~~~~~~~~~~~~~~~~~~ _fam.c:831:3: warning: call to undeclared function 'PyInt_FromLong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] add_int(d, Changed); ^ _fam.c:35:17: note: expanded from macro 'add_int' PyObject *i = PyInt_FromLong(FAM##name); \ ^ _fam.c:831:3: error: incompatible integer to pointer conversion initializing 'PyObject *' (aka 'struct _object *') with an expression of type 'int' [-Wint-conversion] add_int(d, Changed); ^~~~~~~~~~~~~~~~~~~ _fam.c:35:13: note: expanded from macro 'add_int' PyObject *i = PyInt_FromLong(FAM##name); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ _fam.c:832:3: warning: call to undeclared function 'PyInt_FromLong'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] add_int(d, Deleted); ^ _fam.c:35:17: note: expanded from macro 'add_int' PyObject *i = PyInt_FromLong(FAM##name); \ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 19 warnings and 20 errors generated. error: command '/usr/bin/cc' failed with exit code 1 *** Error code 1 Stop. make: stopped in /usr/ports/devel/py-fam