From nobody Tue Jun 06 17:16:24 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 4QbHFP0vWyz4Zbs4 for ; Tue, 6 Jun 2023 17:16:25 +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 4QbHFN6Cswz49jV for ; Tue, 6 Jun 2023 17:16:24 +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=1686071784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=e7iSQYvNbCOXyVBtPDt8+5QYtbaA4x8UsbkaiVNdJN4=; b=QHWsVU9YOgb/AZp2Z7Z/ojm+znnMc8+NjOCQFK3FDNDDycmfcgq9TQLK1wfYjKyfj2Fdzm fm2yHxPIhB3jaF/qU+WOhMez6yr5bfu3pOC+ZDoQpqemA6eov3/Mn1F6EJN8w+3SkJcwIG jmigaUqeSbR1qLLuZElspqShVfozku0T3dhnEmC3veUUdIJoYbBaQkGhscul/7FaCTsecP JHK8xHFxJRF+qEHgQY/I/RpT7drvwFVUgZvqOmjbaq839kcW/86i70G06uALhSuGvAWY7h aU4Udo/Zkprzc/C5AE6hj9d0516DVtGGvHb3I7vFRPbbhSbS33MbG95jxhfnWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686071784; a=rsa-sha256; cv=none; b=Fv2V6VMvPdWO8upzCpP1lbrEnRXauYQiI6ol/Lz61Ii2wqpov7dradPqdj0916g086kJdH vQWptzyDkky1gvCMmIeZU2yTnmOGr3UXYB5NblHPfl28GJSCJUP3C4OvAO7UhPKgiLcQHt w5bgcaH8TLa9EgEOb/puPfEszzt/qNNhe+TNy0vbA48A3bCe3PXp82R8PxJSCGbDOPUaop 5Wn4gY20DlARmwLVR4t181azh+1CQXr4+qioUdQEbd9zuS1AdrYMK6pwqOK09jWHqOf2TR qlIqcF2/td5D5ZtvJtFnXlIcE+PK6LiH0puE8NorOlMdRPnjAtRel1iWPF93JA== Received: from foul2.nyi.freebsd.org (foul2.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:27]) (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 4QbHFN5026zf1r for ; Tue, 6 Jun 2023 17:16:24 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from foul2.nyi.freebsd.org (localhost [127.0.0.1]) by foul2.nyi.freebsd.org (8.17.1/8.17.1) with ESMTP id 356HGOud055738 for ; Tue, 6 Jun 2023 17:16:24 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by foul2.nyi.freebsd.org (8.17.1/8.17.1/Submit) id 356HGObS055735; Tue, 6 Jun 2023 17:16:24 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Tue, 6 Jun 2023 17:16:24 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202306061716.356HGObS055735@foul2.nyi.freebsd.org> To: pkg-fallout@FreeBSD.org Subject: [package - main-powerpc64le-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/foul2/data/main-powerpc64le-default/p7eaa0461e219_s572b77f8da/logs/py39-fam-1.1.1_3.log Build URL: https://pkg-status.freebsd.org/foul2/build.html?mastername=main-powerpc64le-default&build=p7eaa0461e219_s572b77f8da Log: =>> Building devel/py-fam build started at Tue Jun 6 17:15:57 UTC 2023 port directory: /usr/ports/devel/py-fam package name: py39-fam-1.1.1_3 building for: FreeBSD main-powerpc64le-default-job-22 14.0-CURRENT FreeBSD 14.0-CURRENT 1400088 powerpc maintained by: ports@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400088 Jail OSVERSION: 1400088 Job Id: 22 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400088 UNAME_v=FreeBSD 14.0-CURRENT 1400088 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-powerpc64le-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-powerpc64le-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-powerpc64le-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64le-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-- PYTHON_INCLUDEDIR=/usr/local/include/python3.9 PYTHON_LIBDIR=/usr/local/lib/python3.9 PYTHON_PLATFORM=freebsd14 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/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 #### /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: powerpc64le-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: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_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: powerpc64le-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=powerpc64le OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400088 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) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===> 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-powerpc64le-default-job-22] Installing pkg-1.19.1_1... [main-powerpc64le-default-job-22] 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 ===> License LGPL21+ accepted by the user ===> Fetching all distfiles required by py39-fam-1.1.1_3 for building =========================================================================== =================================================== ===> 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: [main-powerpc64le-default-job-22] | `-- Installing pcre2-10.42... [main-powerpc64le-default-job-22] | `-- Extracting pcre2-10.42: .......... done [main-powerpc64le-default-job-22] `-- Extracting glib-2.76.3,2: .......... done [main-powerpc64le-default-job-22] 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-powerpc-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-powerpc-cpython-39/_fam.o _fam.c:125:3: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') 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 'long') 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 'long') 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 'long') 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 'long') 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 'long') 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 long' [-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