[package - main-arm64-default][devel/py-fam] Failed for py39-fam-1.1.1_3 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Mar 2023 05:05:47 UTC
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: ports@FreeBSD.org Log URL: https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/pb73012d372f5_s91b2da1370/logs/py39-fam-1.1.1_3.log Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=pb73012d372f5_s91b2da1370 Log: =>> Building devel/py-fam build started at Sun Mar 19 05:05:40 UTC 2023 port directory: /usr/ports/devel/py-fam package name: py39-fam-1.1.1_3 building for: FreeBSD main-arm64-default-job-06 14.0-CURRENT FreeBSD 14.0-CURRENT 1400082 arm64 maintained by: ports@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-23-ga7f8d188 Host OSVERSION: 1400073 Jail OSVERSION: 1400082 Job Id: 06 !!! Jail is newer than host. (Jail: 1400082, Host: 1400073) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400082 UNAME_v=FreeBSD 14.0-CURRENT 1400082 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-arm64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-arm64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR=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: aarch64-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: aarch64-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: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=aarch64 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400082 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 1048576 stack size (kbytes, -s) 1048576 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===> 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 =========================================================================== =======================<phase: pkg-depends >============================ ===> 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-arm64-default-job-06] Installing pkg-1.19.1_1... [main-arm64-default-job-06] 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 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> 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 =========================================================================== =======================<phase: checksum >============================ <snip> [main-arm64-default-job-06] | `-- Installing pcre2-10.42... [main-arm64-default-job-06] | `-- Extracting pcre2-10.42: .......... done [main-arm64-default-job-06] `-- Extracting glib-2.74.6,2: .......... done [main-arm64-default-job-06] 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 =========================================================================== =======================<phase: configure >============================ ===> Configuring for py39-fam-1.1.1_3 running config =========================================================================== =======================<phase: build >============================ ===> 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-arm64-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-arm64-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