[Bug 267235] security/py-ospd-openvas: poudriere build failure (FBSD 13.1-RELENG)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 Oct 2022 06:24:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267235

            Bug ID: 267235
           Summary: security/py-ospd-openvas: poudriere build failure
                    (FBSD 13.1-RELENG)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: ohartmann@walstatt.org
          Assignee: acm@FreeBSD.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)

Host: XigmaNAS 13.X
JAIL: 131-amd64 13.1-RELEASE-p2  amd64 http   2022-10-21 06:10:27
/mnt/poudriere/jails/131-amd64

The port repeatedly fails when building in poudriere.

Failure Log:
[...]

===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=nobody UID=65534 GID=65534
===>  Configuring for py39-ospd-openvas-22.4.1
Traceback (most recent call last):
  File "/usr/local/bin/poetry2setup", line 33, in <module>
    sys.exit(load_entry_point('poetry2setup==1.0.0', 'console_scripts',
'poetry2setup')())
  File "/usr/local/lib/python3.9/site-packages/poetry2setup.py", line 13, in
main
    print(build_setup_py().decode("utf8"))
  File "/usr/local/lib/python3.9/site-packages/poetry2setup.py", line 9, in
build_setup_py
    return
SdistBuilder(Factory().create_poetry(Path(".").resolve())).build_setup()
  File "/usr/local/lib/python3.9/site-packages/poetry/core/factory.py", line
63, in create_poetry
    package = self.get_package(name, version)
  File "/usr/local/lib/python3.9/site-packages/poetry/core/factory.py", line
72, in get_package
    from poetry.core.packages.project_package import ProjectPackage
  File
"/usr/local/lib/python3.9/site-packages/poetry/core/packages/project_package.py",
line 6, in <module>
    from poetry.core.constraints.version import parse_constraint
ModuleNotFoundError: No module named 'poetry.core.constraints'
*** Error code 1

Stop.
make: stopped in /usr/ports/security/py-ospd-openvas
=>> Cleaning up wrkdir
===>  Cleaning for py39-ospd-openvas-22.4.1
build of security/py-ospd-openvas@py39 | py39-ospd-openvas-22.4.1 ended at Fri
Oct 21 04:53:03 UTC 2022
build time: 00:00:09
!!! build failure encountered !!!

[...]

Environment:

=>> Building security/py-ospd-openvas
build started at Fri Oct 21 04:52:56 UTC 2022
port directory: /usr/ports/security/py-ospd-openvas
package name: py39-ospd-openvas-22.4.1
building for: FreeBSD some.host.name 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2
amd64
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  1923 Sep  9 08:56
/usr/ports/security/py-ospd-openvas/Makefile
Ports top last git commit: 03027a1273
Ports top unclean checkout: no
Port dir last git commit: fb16dfecae
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20220831
Host OSVERSION: 1301000
Jail OSVERSION: 1301000
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p2
UNAME_r=13.1-RELEASE-p2
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
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20220831
MASTERMNT=/mnt/poudriere/data/.m/131-amd64-head-default/ref
FTP_PROXY=10.130.165.20:3128
HTTPS_PROXY=10.130.165.20:3128
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
GID=0
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
UID=0
PWD=/mnt/poudriere/data/.m/131-amd64-head-default/03/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131-amd64-head-default
HTTP_PROXY=XXX.XXX.XXX.XXX:YYYY
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/mnt/poudriere/data/.m/131-amd64-head-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.99.20220831
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--
acm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

-- 
You are receiving this mail because:
You are the assignee for the bug.