[package - main-amd64-default][math/py-petsc4py] Failed for py39-petsc4py-3.20.4 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Apr 2024 19:32:44 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: yuri@FreeBSD.org
Log URL: https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p65ec83d48838_s77c3e564b4b/logs/py39-petsc4py-3.20.4.log
Build URL: https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p65ec83d48838_s77c3e564b4b
Log:
=>> Building math/py-petsc4py
build started at Tue Apr 2 19:31:40 UTC 2024
port directory: /usr/ports/math/py-petsc4py
package name: py39-petsc4py-3.20.4
building for: FreeBSD main-amd64-default-job-04 15.0-CURRENT FreeBSD 15.0-CURRENT 1500017 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r-- 1 root wheel 900 Feb 3 01:01 /usr/ports/math/py-petsc4py/Makefile
Ports top last git commit: 65ec83d4883
Ports top unclean checkout: no
Port dir last git commit: ad8dfd6a692
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1500017
Job Id: 04
!!! Jail is newer than host. (Jail: 1500017, Host: 1500006) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500017
UNAME_v=FreeBSD 15.0-CURRENT 1500017
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.1-1-g1e9f97d6
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/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES 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.1-1-g1e9f97d6
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=py39
MAKE_ARGS= FLAVOR=py39
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for py39-petsc4py-3.20.4:
====> MPI (Message Passing Interface) support: you have to select exactly one of them
MPICH=on: Parallel processing support via MPICH 3
OPENMPI=off: Parallel processing support via Open MPI
===> 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/math/py-petsc4py/work-py39 XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/py-petsc4py/work-py39 XDG_CACHE_HOME=/wrkdirs/usr/ports/math/py-petsc4py/work-py39/.cache HOME=/wrkdirs/usr/ports/math/py-petsc4py/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/py-petsc4py/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/py-petsc4py/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--
PETSC_DIR=/usr/local XDG_DATA_HOME=/wrkdirs/usr/ports/math/py-petsc4py/work-py39 XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/py-petsc4py/work-py39 XDG_CACHE_HOME=/wrkdirs/usr/ports/math/py-petsc4py/work-py39/.cache HOME=/wrkdirs/usr/ports/math/py-petsc4py/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/py-petsc4py/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/py-petsc4py/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 " 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=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="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/petsc4py" EXAMPLESDIR="share/examples/petsc4py" DATADIR="share/petsc4py" WWWDIR="www/petsc4py" ETCDIR="etc/petsc4py"
--End PLIST_SUB--
--SUB_LIST--
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/petsc4py DOCSDIR=/usr/local/share/doc/petsc4py EXAMPLESDIR=/usr/local/share/examples/petsc4py WWWDIR=/usr/local/www/petsc4py ETCDIR=/usr/local/etc/petsc4py
--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--
=======================<phase: check-sanity >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> py39-petsc4py-3.20.4 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.20.9_1.pkg
[main-amd64-default-job-04] Installing pkg-1.20.9_1...
[main-amd64-default-job-04] Extracting pkg-1.20.9_1: .......... done
===> py39-petsc4py-3.20.4 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of py39-petsc4py-3.20.4
===========================================================================
=======================<phase: fetch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py39-petsc4py-3.20.4 for building
===========================================================================
=======================<phase: checksum >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py39-petsc4py-3.20.4 for building
=> SHA256 Checksum OK for petsc4py-3.20.4.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py39-petsc4py-3.20.4 for building
===> Extracting for py39-petsc4py-3.20.4
=> SHA256 Checksum OK for petsc4py-3.20.4.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Patching for py39-petsc4py-3.20.4
===========================================================================
=======================<phase: build-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> py39-petsc4py-3.20.4 depends on package: py39-numpy>=1.16,1<1.26,1 - not found
===> Installing existing package /packages/All/py39-numpy-1.25.0_6,1.pkg
[main-amd64-default-job-04] Installing py39-numpy-1.25.0_6,1...
[main-amd64-default-job-04] `-- Installing gcc13-13.2.0_4...
[main-amd64-default-job-04] | `-- Installing binutils-2.40_5,1...
[main-amd64-default-job-04] | | `-- Installing gettext-runtime-0.22.5...
[main-amd64-default-job-04] | | `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-04] | | `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-04] | | `-- Extracting gettext-runtime-0.22.5: .......... done
[main-amd64-default-job-04] | | `-- Installing zstd-1.5.6...
[main-amd64-default-job-04] | | `-- Installing liblz4-1.9.4_1,1...
[main-amd64-default-job-04] | | `-- Extracting liblz4-1.9.4_1,1: .......... done
<snip>
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Building for py39-petsc4py-3.20.4
running build
running build_src
using Cython 3.0.10
cythonizing 'petsc4py/PETSc.pyx' -> 'petsc4py/PETSc.c'
running build_py
creating build
creating build/lib.freebsd-15.0-CURRENT-amd64-cpython-39
creating build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py
copying src/petsc4py/__main__.py -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py
copying src/petsc4py/__init__.py -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py
copying src/petsc4py/PETSc.py -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py
copying src/petsc4py/typing.py -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py
creating build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py/lib
copying src/petsc4py/lib/__init__.py -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py/lib
copying src/petsc4py/PETSc.pxd -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py
copying src/petsc4py/PETSc_api.h -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py
copying src/petsc4py/PETSc.h -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py
creating build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py/include
creating build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py/include/petsc4py
copying src/petsc4py/include/petsc4py/numpy.h -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py/include/petsc4py
copying src/petsc4py/include/petsc4py/pyscalar.h -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py/include/petsc4py
copying src/petsc4py/include/petsc4py/petsc4py.h -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py/include/petsc4py
copying src/petsc4py/include/petsc4py/pybuffer.h -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py/include/petsc4py
copying src/petsc4py/include/petsc4py/petsc4py.i -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py/include/petsc4py
copying src/petsc4py/py.typed -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py
copying src/petsc4py/__main__.pyi -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py
copying src/petsc4py/__init__.pyi -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py
copying src/petsc4py/lib/__init__.pyi -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py/lib
copying src/petsc4py/lib/petsc.cfg -> build/lib.freebsd-15.0-CURRENT-amd64-cpython-39/petsc4py/lib
running build_ext
PETSC_DIR: /usr/local
PETSC_ARCH:
version: 3.21.0 release
integer-size: 64-bit
scalar-type: real
precision: double
language: CONLY
compiler: mpicc
linker: mpicc
building 'PETSc' extension
creating build/temp.freebsd-15.0-CURRENT-amd64-cpython-39
creating build/temp.freebsd-15.0-CURRENT-amd64-cpython-39/src
creating build/temp.freebsd-15.0-CURRENT-amd64-cpython-39/src/petsc4py
mpicc -pthread -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -fstack-protector -Qunused-arguments -g3 -O0 -fPIC -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DMPICH_SKIP_MPICXX=1 -DOMPI_SKIP_MPICXX=1 -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -Isrc -Isrc/petsc4py/include -I/usr/local/lib/python3.9/site-packages/numpy/core/include -I/usr/local/include -I/usr/local/include/python3.9 -c src/petsc4py/PETSc.c -o build/temp.freebsd-15.0-CURRENT-amd64-cpython-39/src/petsc4py/PETSc.o
src/petsc4py/PETSc.c:5065:74: error: unknown type name 'DMPlexReorderDefaultFlag'; did you mean 'DMReorderDefaultFlag'?
5065 | static CYTHON_INLINE PyObject* __Pyx_PyInt_From_DMPlexReorderDefaultFlag(DMPlexReorderDefaultFlag value);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| DMReorderDefaultFlag
/usr/local/include/petscdmtypes.h:294:3: note: 'DMReorderDefaultFlag' declared here
294 | } DMReorderDefaultFlag;
| ^
src/petsc4py/PETSc.c:5290:22: error: unknown type name 'DMPlexReorderDefaultFlag'; did you mean 'DMReorderDefaultFlag'?
5290 | static CYTHON_INLINE DMPlexReorderDefaultFlag __Pyx_PyInt_As_DMPlexReorderDefaultFlag(PyObject *);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| DMReorderDefaultFlag
/usr/local/include/petscdmtypes.h:294:3: note: 'DMReorderDefaultFlag' declared here
294 | } DMReorderDefaultFlag;
| ^
src/petsc4py/PETSc.c:133345:26: error: use of undeclared identifier 'PETSC_STREAM_DEFAULT_BLOCKING'; did you mean 'PETSC_STREAM_NONBLOCKING'?
133345 | __pyx_v_cstream_type = PETSC_STREAM_DEFAULT_BLOCKING;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| PETSC_STREAM_NONBLOCKING
/usr/local/include/petscdevicetypes.h:321:3: note: 'PETSC_STREAM_NONBLOCKING' declared here
321 | PETSC_STREAM_NONBLOCKING,
| ^
src/petsc4py/PETSc.c:134470:26: error: use of undeclared identifier 'PETSC_STREAM_DEFAULT_BLOCKING'; did you mean 'PETSC_STREAM_NONBLOCKING'?
134470 | __pyx_v_cstream_type = PETSC_STREAM_DEFAULT_BLOCKING;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| PETSC_STREAM_NONBLOCKING
/usr/local/include/petscdevicetypes.h:321:3: note: 'PETSC_STREAM_NONBLOCKING' declared here
321 | PETSC_STREAM_NONBLOCKING,
| ^
src/petsc4py/PETSc.c:200863:160: error: too few arguments to function call, expected 6, have 5
200863 | __pyx_t_2 = __pyx_f_8petsc4py_5PETSc_CHKERR(PetscSectionCreateGlobalSection(__pyx_v_self->sec, __pyx_v_sf->sf, PETSC_FALSE, PETSC_FALSE, (&__pyx_v_gsec->sec))); if (unlikely(__pyx_t_2 == ((PetscErrorCode)PETSC_ERR_PYTHON))) __PYX_ERR(45, 884, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/local/include/petscsection.h:68:29: note: 'PetscSectionCreateGlobalSection' declared here
68 | PETSC_EXTERN PetscErrorCode PetscSectionCreateGlobalSection(PetscSection, PetscSF, PetscBool, PetscBool, PetscBool, PetscSection *);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/petsc4py/PETSc.c:353375:49: warning: 'TaoSetMonitor' is deprecated: Use "TaoMonitorSet()" (since version 3.21.0) instead. Silence this warning (as well as all others for this version) by defining PETSC_SILENCE_DEPRECATION_WARNINGS_3_21_0. [-Wdeprecated-declarations]
353375 | __pyx_t_3 = __pyx_f_8petsc4py_5PETSc_CHKERR(TaoSetMonitor(__pyx_v_self->tao, __pyx_f_8petsc4py_5PETSc_TAO_Monitor, NULL, NULL)); if (unlikely(__pyx_t_3 == ((PetscErrorCode)PETSC_ERR_PYTHON))) __PYX_ERR(52, 1193, __pyx_L1_error)
| ^
/usr/local/include/petsctao_deprecations.h:42:1: note: 'TaoSetMonitor' has been explicitly marked deprecated here
42 | PETSC_DEPRECATED_FUNCTION(3, 21, 0, "TaoMonitorSet()", ) static inline PetscErrorCode TaoSetMonitor(Tao tao, PetscErrorCode (*monitor)(Tao, void *), void *ctx, PetscErrorCode (*destroy)(void **))
| ^
/usr/local/include/petscmacros.h:1282:105: note: expanded from macro 'PETSC_DEPRECATED_FUNCTION'
1282 | #define PETSC_DEPRECATED_FUNCTION(major, minor, subminor, replacement, ...) PETSC_DEPRECATED_IDENTIFIER(PETSC_DEPRECATED_FUNCTION_BASE, major, minor, subminor, replacement, __VA_ARGS__)
| ^
src/petsc4py/PETSc.c:353621:47: warning: 'TaoCancelMonitors' is deprecated: Use "TaoMonitorCancel()" (since version 3.21.0) instead. Silence this warning (as well as all others for this version) by defining PETSC_SILENCE_DEPRECATION_WARNINGS_3_21_0. [-Wdeprecated-declarations]
353621 | __pyx_t_1 = __pyx_f_8petsc4py_5PETSc_CHKERR(TaoCancelMonitors(__pyx_v_self->tao)); if (unlikely(__pyx_t_1 == ((PetscErrorCode)PETSC_ERR_PYTHON))) __PYX_ERR(52, 1220, __pyx_L1_error)
| ^
/usr/local/include/petsctao_deprecations.h:46:1: note: 'TaoCancelMonitors' has been explicitly marked deprecated here
46 | PETSC_DEPRECATED_FUNCTION(3, 21, 0, "TaoMonitorCancel()", ) static inline PetscErrorCode TaoCancelMonitors(Tao tao)
| ^
/usr/local/include/petscmacros.h:1282:105: note: expanded from macro 'PETSC_DEPRECATED_FUNCTION'
1282 | #define PETSC_DEPRECATED_FUNCTION(major, minor, subminor, replacement, ...) PETSC_DEPRECATED_IDENTIFIER(PETSC_DEPRECATED_FUNCTION_BASE, major, minor, subminor, replacement, __VA_ARGS__)
| ^
src/petsc4py/PETSc.c:374018:47: warning: call to undeclared function 'DMProjectCoordinates'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
374018 | __pyx_t_1 = __pyx_f_8petsc4py_5PETSc_CHKERR(DMProjectCoordinates(__pyx_v_self->dm, __pyx_v_disc->fe)); if (unlikely(__pyx_t_1 == ((PetscErrorCode)PETSC_ERR_PYTHON))) __PYX_ERR(54, 1089, __pyx_L1_error)
| ^
src/petsc4py/PETSc.c:413616:3: error: unknown type name 'DMPlexReorderDefaultFlag'; did you mean 'DMReorderDefaultFlag'?
413616 | DMPlexReorderDefaultFlag __pyx_v_reorder;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| DMReorderDefaultFlag
/usr/local/include/petscdmtypes.h:294:3: note: 'DMReorderDefaultFlag' declared here
294 | } DMReorderDefaultFlag;
| ^
src/petsc4py/PETSc.c:413633:21: error: use of undeclared identifier 'DMPLEX_REORDER_DEFAULT_NOTSET'; did you mean 'DM_REORDER_DEFAULT_NOTSET'?
413633 | __pyx_v_reorder = DMPLEX_REORDER_DEFAULT_NOTSET;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| DM_REORDER_DEFAULT_NOTSET
/usr/local/include/petscdmtypes.h:291:3: note: 'DM_REORDER_DEFAULT_NOTSET' declared here
291 | DM_REORDER_DEFAULT_NOTSET = -1,
| ^
src/petsc4py/PETSc.c:413782:3: error: unknown type name 'DMPlexReorderDefaultFlag'; did you mean 'DMReorderDefaultFlag'?
413782 | DMPlexReorderDefaultFlag __pyx_v_reorder;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| DMReorderDefaultFlag
/usr/local/include/petscdmtypes.h:294:3: note: 'DMReorderDefaultFlag' declared here
294 | } DMReorderDefaultFlag;
| ^
src/petsc4py/PETSc.c:413785:3: error: unknown type name 'DMPlexReorderDefaultFlag'; did you mean 'DMReorderDefaultFlag'?
413785 | DMPlexReorderDefaultFlag __pyx_t_1;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| DMReorderDefaultFlag
/usr/local/include/petscdmtypes.h:294:3: note: 'DMReorderDefaultFlag' declared here
294 | } DMReorderDefaultFlag;
| ^
src/petsc4py/PETSc.c:413799:17: error: use of undeclared identifier 'DMPlexReorderDefaultFlag'; did you mean 'DMPlexReorderSetDefault'?
413799 | __pyx_t_1 = ((DMPlexReorderDefaultFlag)__Pyx_PyInt_As_DMPlexReorderDefaultFlag(__pyx_v_flag)); if (unlikely(PyErr_Occurred())) __PYX_ERR(57, 2171, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~
| DMPlexReorderSetDefault
/usr/local/include/petscdmplex.h:260:29: note: 'DMPlexReorderSetDefault' declared here
260 | PETSC_EXTERN PetscErrorCode DMPlexReorderSetDefault(DM, DMReorderDefaultFlag);
| ^
src/petsc4py/PETSc.c:413799:42: error: expected ')'
413799 | __pyx_t_1 = ((DMPlexReorderDefaultFlag)__Pyx_PyInt_As_DMPlexReorderDefaultFlag(__pyx_v_flag)); if (unlikely(PyErr_Occurred())) __PYX_ERR(57, 2171, __pyx_L1_error)
| ^
src/petsc4py/PETSc.c:413799:15: note: to match this '('
413799 | __pyx_t_1 = ((DMPlexReorderDefaultFlag)__Pyx_PyInt_As_DMPlexReorderDefaultFlag(__pyx_v_flag)); if (unlikely(PyErr_Occurred())) __PYX_ERR(57, 2171, __pyx_L1_error)
| ^
src/petsc4py/PETSc.c:413799:13: error: incompatible pointer to integer conversion assigning to 'DMReorderDefaultFlag' from 'PetscErrorCode (DM, DMReorderDefaultFlag)' (aka 'int (struct _p_DM *, DMReorderDefaultFlag)') [-Wint-conversion]
413799 | __pyx_t_1 = ((DMPlexReorderDefaultFlag)__Pyx_PyInt_As_DMPlexReorderDefaultFlag(__pyx_v_flag)); if (unlikely(PyErr_Occurred())) __PYX_ERR(57, 2171, __pyx_L1_error)
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
src/petsc4py/PETSc.c:451814:169: error: too few arguments to function call, expected 6, have 5
451814 | __pyx_t_7 = __pyx_f_8petsc4py_5PETSc_CHKERR(DMSwarmProjectFields(__pyx_v_self->__pyx_base.dm, __pyx_v_cnfields, __pyx_v_cfieldnames, __pyx_v_cfieldvecs, __pyx_v_cmode)); if (unlikely(__pyx_t_7 == ((PetscErrorCode)PETSC_ERR_PYTHON))) __PYX_ERR(62, 832, __pyx_L1_error)
| ~~~~~~~~~~~~~~~~~~~~ ^
/usr/local/include/petscksp.h:1126:29: note: 'DMSwarmProjectFields' declared here
1126 | PETSC_EXTERN PetscErrorCode DMSwarmProjectFields(DM, DM, PetscInt, const char **, Vec[], ScatterMode mode);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/petsc4py/PETSc.c:525065:49: error: use of undeclared identifier 'PETSC_STREAM_GLOBAL_BLOCKING'; did you mean 'PETSC_STREAM_NONBLOCKING'?
525065 | __pyx_t_11 = __Pyx_PyInt_From_PetscStreamType(PETSC_STREAM_GLOBAL_BLOCKING); if (unlikely(!__pyx_t_11)) __PYX_ERR(2, 47, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| PETSC_STREAM_NONBLOCKING
/usr/local/include/petscdevicetypes.h:321:3: note: 'PETSC_STREAM_NONBLOCKING' declared here
321 | PETSC_STREAM_NONBLOCKING,
| ^
src/petsc4py/PETSc.c:525083:49: error: use of undeclared identifier 'PETSC_STREAM_DEFAULT_BLOCKING'; did you mean 'PETSC_STREAM_NONBLOCKING'?
525083 | __pyx_t_11 = __Pyx_PyInt_From_PetscStreamType(PETSC_STREAM_DEFAULT_BLOCKING); if (unlikely(!__pyx_t_11)) __PYX_ERR(2, 48, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| PETSC_STREAM_NONBLOCKING
/usr/local/include/petscdevicetypes.h:321:3: note: 'PETSC_STREAM_NONBLOCKING' declared here
321 | PETSC_STREAM_NONBLOCKING,
| ^
src/petsc4py/PETSc.c:525101:49: error: use of undeclared identifier 'PETSC_STREAM_GLOBAL_NONBLOCKING'; did you mean 'PETSC_STREAM_NONBLOCKING'?
525101 | __pyx_t_11 = __Pyx_PyInt_From_PetscStreamType(PETSC_STREAM_GLOBAL_NONBLOCKING); if (unlikely(!__pyx_t_11)) __PYX_ERR(2, 49, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| PETSC_STREAM_NONBLOCKING
/usr/local/include/petscdevicetypes.h:321:3: note: 'PETSC_STREAM_NONBLOCKING' declared here
321 | PETSC_STREAM_NONBLOCKING,
| ^
src/petsc4py/PETSc.c:537735:58: error: use of undeclared identifier 'DMPLEX_REORDER_DEFAULT_NOTSET'; did you mean 'DM_REORDER_DEFAULT_NOTSET'?
537735 | __pyx_t_11 = __Pyx_PyInt_From_DMPlexReorderDefaultFlag(DMPLEX_REORDER_DEFAULT_NOTSET); if (unlikely(!__pyx_t_11)) __PYX_ERR(57, 4, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| DM_REORDER_DEFAULT_NOTSET
/usr/local/include/petscdmtypes.h:291:3: note: 'DM_REORDER_DEFAULT_NOTSET' declared here
291 | DM_REORDER_DEFAULT_NOTSET = -1,
| ^
src/petsc4py/PETSc.c:537747:58: error: use of undeclared identifier 'DMPLEX_REORDER_DEFAULT_FALSE'; did you mean 'DM_REORDER_DEFAULT_FALSE'?
537747 | __pyx_t_11 = __Pyx_PyInt_From_DMPlexReorderDefaultFlag(DMPLEX_REORDER_DEFAULT_FALSE); if (unlikely(!__pyx_t_11)) __PYX_ERR(57, 5, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| DM_REORDER_DEFAULT_FALSE
/usr/local/include/petscdmtypes.h:292:3: note: 'DM_REORDER_DEFAULT_FALSE' declared here
292 | DM_REORDER_DEFAULT_FALSE = 0,
| ^
src/petsc4py/PETSc.c:537759:58: error: use of undeclared identifier 'DMPLEX_REORDER_DEFAULT_TRUE'; did you mean 'DM_REORDER_DEFAULT_TRUE'?
537759 | __pyx_t_11 = __Pyx_PyInt_From_DMPlexReorderDefaultFlag(DMPLEX_REORDER_DEFAULT_TRUE); if (unlikely(!__pyx_t_11)) __PYX_ERR(57, 6, __pyx_L1_error)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| DM_REORDER_DEFAULT_TRUE
/usr/local/include/petscdmtypes.h:293:3: note: 'DM_REORDER_DEFAULT_TRUE' declared here
293 | DM_REORDER_DEFAULT_TRUE
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
3 warnings and 20 errors generated.
error: command '/usr/local/bin/mpicc' failed with exit code 1
*** Error code 1
Stop.
make: stopped in /usr/ports/math/py-petsc4py