[package - main-armv7-default][math/py-ducc0] Failed for py39-ducc0-0.27.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 19 Dec 2022 23:28:24 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/ampere2/data/main-armv7-default/p762ba391cbeb_s4e240e55d8/logs/py39-ducc0-0.27.0.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p762ba391cbeb_s4e240e55d8
Log:

=>> Building math/py-ducc0
build started at Mon Dec 19 23:24:57 UTC 2022
port directory: /usr/ports/math/py-ducc0
package name: py39-ducc0-0.27.0
building for: FreeBSD main-armv7-default-job-03 14.0-CURRENT FreeBSD 14.0-CURRENT 1400074 arm
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400074
Job Id: 03




!!! Jail is newer than host. (Jail: 1400074, Host: 1400073) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400074
UNAME_v=FreeBSD 14.0-CURRENT 1400074
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-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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--
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-ducc0/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/py-ducc0/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/py-ducc0/work-py39/.cache  HOME=/wrkdirs/usr/ports/math/py-ducc0/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/py-ducc0/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-ducc0/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--
DUCC0_OPTIMIZATION=none XDG_DATA_HOME=/wrkdirs/usr/ports/math/py-ducc0/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/py-ducc0/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/py-ducc0/work-py39/.cache  HOME=/wrkdirs/usr/ports/math/py-ducc0/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/py-ducc0/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-ducc0/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/ducc0"  EXAMPLESDIR="share/examples/ducc0"  DATADIR="share/ducc0"  WWWDIR="www/ducc0"  ETCDIR="etc/ducc0"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ducc0 DOCSDIR=/usr/local/share/doc/ducc0 EXAMPLESDIR=/usr/local/share/examples/ducc0  WWWDIR=/usr/local/www/ducc0 ETCDIR=/usr/local/etc/ducc0
--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 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf 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" "-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 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400074
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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   py39-ducc0-0.27.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[main-armv7-default-job-03] Installing pkg-1.18.4...
[main-armv7-default-job-03] Extracting pkg-1.18.4: .......... done
===>   py39-ducc0-0.27.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py39-ducc0-0.27.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by py39-ducc0-0.27.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by py39-ducc0-0.27.0 for building
=> SHA256 Checksum OK for ducc0-0.27.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by py39-ducc0-0.27.0 for building
===>  Extracting for py39-ducc0-0.27.0
=> SHA256 Checksum OK for ducc0-0.27.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for py39-ducc0-0.27.0
===========================================================================
=======================<phase: build-depends  >============================
===>   py39-ducc0-0.27.0 depends on package: py39-pybind11>0 - not found
===>   Installing existing package /packages/All/py39-pybind11-2.10.0.pkg
[main-armv7-default-job-03] Installing py39-pybind11-2.10.0...
[main-armv7-default-job-03] `-- Installing py39-setuptools-63.1.0...
[main-armv7-default-job-03] |   `-- Installing python39-3.9.15_1...
[main-armv7-default-job-03] |   | `-- Installing gettext-runtime-0.21.1...
<snip>
                        }
                    }
                }
            },
            "dynamic": {
                "type": "array",
                "$$description": [
                    "Specifies which fields are intentionally unspecified and expected to be",
                    "dynamically provided by build tools"
                ],
                "items": {
                    "enum": [
                        "version",
                        "description",
                        "readme",
                        "requires-python",
                        "license",
                        "authors",
                        "maintainers",
                        "keywords",
                        "classifiers",
                        "urls",
                        "scripts",
                        "gui-scripts",
                        "entry-points",
                        "dependencies",
                        "optional-dependencies"
                    ]
                }
            }
        },
        "required": [
            "name"
        ],
        "additionalProperties": false,
        "if": {
            "not": {
                "required": [
                    "dynamic"
                ],
                "properties": {
                    "dynamic": {
                        "contains": {
                            "const": "version"
                        },
                        "$$description": [
                            "version is listed in ``dynamic``"
                        ]
                    }
                }
            },
            "$$comment": [
                "According to :pep:`621`:",
                "    If the core metadata specification lists a field as \"Required\", then",
                "    the metadata MUST specify the field statically or list it in dynamic",
                "In turn, `core metadata`_ defines:",
                "    The required fields are: Metadata-Version, Name, Version.",
                "    All the other fields are optional.",
                "Since ``Metadata-Version`` is defined by the build back-end, ``name`` and",
                "``version`` are the only mandatory information in ``pyproject.toml``.",
                ".. _core metadata: https://packaging.python.org/specifications/core-metadata/"
            ]
        },
        "then": {
            "required": [
                "version"
            ],
            "$$description": [
                "version should be statically defined in the ``version`` field"
            ]
        },
        "definitions": {
            "author": {
                "$id": "#/definitions/author",
                "title": "Author or Maintainer",
                "$comment": "https://www.python.org/dev/peps/pep-0621/#authors-maintainers",
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string",
                        "$$description": [
                            "MUST be a valid email name, i.e. whatever can be put as a name, before an",
                            "email, in :rfc:`822`."
                        ]
                    },
                    "email": {
                        "type": "string",
                        "format": "idn-email",
                        "description": "MUST be a valid email address"
                    }
                }
            },
            "entry-point-group": {
                "$id": "#/definitions/entry-point-group",
                "title": "Entry-points",
                "type": "object",
                "$$description": [
                    "Entry-points are grouped together to indicate what sort of capabilities they",
                    "provide.",
                    "See the `packaging guides",
                    "<https://packaging.python.org/specifications/entry-points/>`_",
                    "and `setuptools docs",
                    "<https://setuptools.pypa.io/en/latest/userguide/entry_point.html>`_",
                    "for more information."
                ],
                "propertyNames": {
                    "format": "python-entrypoint-name"
                },
                "additionalProperties": false,
                "patternProperties": {
                    "^.+$": {
                        "type": "string",
                        "$$description": [
                            "Reference to a Python object. It is either in the form",
                            "``importable.module``, or ``importable.module:object.attr``."
                        ],
                        "format": "python-entrypoint-reference",
                        "$comment": "https://packaging.python.org/specifications/entry-points/"
                    }
                }
            },
            "dependency": {
                "$id": "#/definitions/dependency",
                "title": "Dependency",
                "type": "string",
                "description": "Project dependency specification according to PEP 508",
                "format": "pep508"
            }
        }
    }
/usr/local/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py:125: _InvalidFile: The given `pyproject.toml` file is invalid and would be ignored.
    !!


    ############################
    # Invalid `pyproject.toml` #
    ############################

    Any configurations in `pyproject.toml` will be ignored.
    Please note that future releases of setuptools will halt the build process
    if an invalid file is given.

    To prevent setuptools from considering `pyproject.toml` please
    DO NOT include the `[project]` or `[tool.setuptools]` tables in your file.
    

!!
    
  if _skip_bad_config(project_table, orig_setuptools_table, dist):
running build
running build_ext
building 'ducc0' extension
creating build
creating build/temp.freebsd-14.0-CURRENT-arm-cpython-39
creating build/temp.freebsd-14.0-CURRENT-arm-cpython-39/python
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 -DPKGNAME=ducc0 -DPKGVERSION=0.27.0 -I. -I./src/ -I/usr/local/lib/python3.9/site-packages/pybind11/include -I/usr/local/lib/python3.9/site-packages/pybind11/include -I/usr/local/include/python3.9 -c python/ducc.cc -o build/temp.freebsd-14.0-CURRENT-arm-cpython-39/python/ducc.o -std=c++17 -fvisibility=hidden -g0 -O0 -pthread
LLVM ERROR: out of memory
Allocation failed
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /usr/bin/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 -DPKGNAME=ducc0 -DPKGVERSION=0.27.0 -I. -I./src/ -I/usr/local/lib/python3.9/site-packages/pybind11/include -I/usr/local/lib/python3.9/site-packages/pybind11/include -I/usr/local/include/python3.9 -c python/ducc.cc -o build/temp.freebsd-14.0-CURRENT-arm-cpython-39/python/ducc.o -std=c++17 -fvisibility=hidden -g0 -O0 -pthread
1.	<eof> parser at end of file
2.	./python/nufft_pymod.cc:35:53: instantiating function definition 'ducc0::detail_pymodule_nufft::Py2_u2nu<float, float>'
3.	./src/ducc0/nufft/nufft.h:1677:8: instantiating function definition 'ducc0::detail_nufft::u2nu<float, float, float, float, float>'
4.	./src/ducc0/nufft/nufft.h:1193:3 <Spelling=./src/ducc0/nufft/nufft.h:463:53>: instantiating function definition 'ducc0::detail_nufft::Nufft<float, float, float, 3>::u2nu<float, float>'
5.	./src/ducc0/nufft/nufft.h:1556:53: instantiating function definition 'ducc0::detail_nufft::Nufft<float, float, float, 3>::uni2nonuni<float, float>'
6.	./src/ducc0/infra/mav.h:992:8: instantiating function definition 'ducc0::detail_mav::mav_apply<(lambda at ./src/ducc0/nufft/nufft.h:1565:17), ducc0::detail_mav::vmav<std::complex<float>, 3>>'
7.	./src/ducc0/infra/mav.h:973:15: instantiating function definition 'ducc0::detail_mav::applyHelper<(lambda at ./src/ducc0/nufft/nufft.h:1565:17), std::tuple<std::complex<float> *>>'
8.	/usr/include/c++/v1/__functional/function.h:998:5: instantiating function definition 'std::function<void (unsigned int, unsigned int)>::function<(lambda at ./src/ducc0/infra/mav.h:982:36), void>'
9.	/usr/include/c++/v1/__functional/function.h:428:40: instantiating function definition 'std::__function::__value_func<void (unsigned int, unsigned int)>::__value_func<(lambda at ./src/ducc0/infra/mav.h:982:36), void>'
10.	/usr/include/c++/v1/__functional/function.h:398:31: instantiating function definition 'std::__function::__value_func<void (unsigned int, unsigned int)>::__value_func<(lambda at ./src/ducc0/infra/mav.h:982:36), std::allocator<(lambda at ./src/ducc0/infra/mav.h:982:36)>>'
11.	/usr/include/c++/v1/__functional/function.h:298:14: instantiating function definition 'std::__function::__func<(lambda at ./src/ducc0/infra/mav.h:982:36), std::allocator<(lambda at ./src/ducc0/infra/mav.h:982:36)>, void (unsigned int, unsigned int)>::__func'
12.	/usr/include/c++/v1/__functional/function.h:170:14: instantiating function definition 'std::__function::__alloc_func<(lambda at ./src/ducc0/infra/mav.h:982:36), std::allocator<(lambda at ./src/ducc0/infra/mav.h:982:36)>, void (unsigned int, unsigned int)>::__alloc_func'
13.	/usr/include/c++/v1/tuple:1300:1: instantiating function definition 'std::forward_as_tuple<(lambda at ./src/ducc0/infra/mav.h:982:36)>'
14.	/usr/include/c++/v1/tuple:470:28: instantiating class definition 'std::tuple<(lambda at ./src/ducc0/infra/mav.h:982:36) &&>'
#0 0x045b5af8 (/usr/bin/cc+0x45b5af8)
#1 0x045b3990 (/usr/bin/cc+0x45b3990)
#2 0x0455c9a8 (/usr/bin/cc+0x455c9a8)
#3 0x0455cb7c (/usr/bin/cc+0x455cb7c)
#4 0x45ea4148 (/lib/libthr.so.3+0x26148)
cc: error: clang frontend command failed with exit code 134 (use -v to see invocation)
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
Target: armv7-unknown-freebsd14.0-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/ducc-cf816a.cpp
cc: note: diagnostic msg: /tmp/ducc-cf816a.sh
cc: note: diagnostic msg: 

********************
error: command '/usr/bin/cc' failed with exit code 134
*** Error code 1

Stop.
make: stopped in /usr/ports/math/py-ducc0