[Bug 259830] devel/py-Jinga2 failure to stage

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 14 Nov 2021 16:35:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259830

            Bug ID: 259830
           Summary: devel/py-Jinga2 failure to stage
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: cy@FreeBSD.org

=>> Building devel/py-Jinja2
build started at Sun Nov 14 08:30:11 PST 2021
port directory: /usr/ports/devel/py-Jinja2
package name: py38-Jinja2-3.0.1
building for: FreeBSD slippy 14.0-CURRENT FreeBSD 14.0-CURRENT 1400042 amd64
maintained by: nivit@FreeBSD.org
Makefile ident: 
Poudriere version: 3.3.7
Host OSVERSION: 1400042
Jail OSVERSION: 1400042
Job Id: 01

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400042
UNAME_v=FreeBSD 14.0-CURRENT 1400042
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
POUDRIERE_ETC=/var/db/local/poudriere-cwsys
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.3.7
MASTERMNT=/poudriere/amd64/data/.m/HEADamd64-new-ports/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/poudriere/amd64/data/.m/HEADamd64-new-ports/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=HEADamd64-new-ports
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/amd64/data/.m/HEADamd64-new-ports/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=py38
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=py38
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for py38-Jinja2-3.0.1:
     BABEL=on: Enable Babel extension
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
nivit@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.8"
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/py-Jinja2/work-py38 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/py-Jinja2/work-py38 
XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/.cache 
HOME=/wrkdirs/usr/ports/devel/py-Jinja2/work-py38 TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/py-Jinja2/work-py38 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/py-Jinja2/work-py38 
XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/.cache 
HOME=/wrkdirs/usr/ports/devel/py-Jinja2/work-py38 TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=yes 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
-Wno-misleading-indentation -Wno-tautological-overlap-compare 
-fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="" 
LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe
-Wno-misleading-indentation -Wno-tautological-overlap-compare
-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--
PORTEXAMPLES="" PYTHON_INCLUDEDIR=include/python3.8 
PYTHON_LIBDIR=lib/python3.8  PYTHON_PLATFORM=freebsd14 
PYTHON_SITELIBDIR=lib/python3.8/site-packages  PYTHON_SUFFIX=38 
PYTHON_EXT_SUFFIX=.cpython-38  PYTHON_VER=3.8  PYTHON_VERSION=python3.8
PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local 
RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/Jinja2" 
EXAMPLESDIR="share/examples/py38-Jinja2"  DATADIR="share/Jinja2" 
WWWDIR="www/Jinja2"  ETCDIR="etc/Jinja2"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/Jinja2
DOCSDIR=/usr/local/share/doc/Jinja2
EXAMPLESDIR=/usr/local/share/examples/py38-Jinja2  WWWDIR=/usr/local/www/Jinja2
ETCDIR=/usr/local/etc/Jinja2
--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
#### /var/db/local/poudriere-cwsys/poudriere.d/make.conf ####
CFLAGS+=        -Wno-misleading-indentation
CFLAGS+=        -Wno-tautological-overlap-compare
MK_PROFILE=     no
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/root/.ccache
#### 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)  716800
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)  12200
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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   py38-Jinja2-3.0.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[slippy] Installing pkg-1.17.5...
[slippy] Extracting pkg-1.17.5: .......... done
===>   py38-Jinja2-3.0.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py38-Jinja2-3.0.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by py38-Jinja2-3.0.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by py38-Jinja2-3.0.1 for building
=> SHA256 Checksum OK for Jinja2-3.0.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by py38-Jinja2-3.0.1 for building
===>  Extracting for py38-Jinja2-3.0.1
=> SHA256 Checksum OK for Jinja2-3.0.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for py38-Jinja2-3.0.1
===========================================================================
=======================<phase: build-depends  >============================
===>   py38-Jinja2-3.0.1 depends on package: py38-setuptools>0 - not found
===>   Installing existing package /packages/All/py38-setuptools-57.0.0.pkg
[slippy] Installing py38-setuptools-57.0.0...
[slippy] `-- Installing python38-3.8.12_1...
[slippy] |   `-- Installing gettext-runtime-0.21...
[slippy] |   | `-- Installing indexinfo-0.3.1...
[slippy] |   | `-- Extracting indexinfo-0.3.1: .... done
[slippy] |   `-- Extracting gettext-runtime-0.21: .......... done
[slippy] |   `-- Installing libffi-3.3_1...
[slippy] |   `-- Extracting libffi-3.3_1: .......... done
[slippy] |   `-- Installing mpdecimal-2.5.1...
[slippy] |   `-- Extracting mpdecimal-2.5.1: .......... done
[slippy] |   `-- Installing readline-8.1.1...
[slippy] |   `-- Extracting readline-8.1.1: .......... done
[slippy] `-- Extracting python38-3.8.12_1: .......... done
[slippy] Extracting py38-setuptools-57.0.0: .......... done
=====
Message from python38-3.8.12_1:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py38-gdbm       databases/py-gdbm@py38
py38-sqlite3    databases/py-sqlite3@py38
py38-tkinter    x11-toolkits/py-tkinter@py38
===>   py38-Jinja2-3.0.1 depends on package: py38-setuptools>0 - found
===>   Returning to build of py38-Jinja2-3.0.1
===>   py38-Jinja2-3.0.1 depends on file: /usr/local/bin/python3.8 - found
===>   py38-Jinja2-3.0.1 depends on file: /usr/local/bin/ccache - not found
===>   Installing existing package /packages/All/ccache-3.7.12_2.pkg
[slippy] Installing ccache-3.7.12_2...
[slippy] Extracting ccache-3.7.12_2: .......... done
Create compiler links...
create symlink for cc
create symlink for cc (world)
create symlink for c++
create symlink for c++ (world)
create symlink for CC
create symlink for CC (world)
create symlink for clang
create symlink for clang (world)
create symlink for clang++
create symlink for clang++ (world)
=====
Message from ccache-3.7.12_2:

--
NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for
information on using ccache with FreeBSD ports and src.
===>   py38-Jinja2-3.0.1 depends on file: /usr/local/bin/ccache - found
===>   Returning to build of py38-Jinja2-3.0.1
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for py38-Jinja2-3.0.1
running config
===========================================================================
=======================<phase: build          >============================
===>  Building for py38-Jinja2-3.0.1
running build
running build_py
creating build
creating build/lib
creating build/lib/jinja2
copying src/jinja2/debug.py -> build/lib/jinja2
copying src/jinja2/visitor.py -> build/lib/jinja2
copying src/jinja2/exceptions.py -> build/lib/jinja2
copying src/jinja2/filters.py -> build/lib/jinja2
copying src/jinja2/idtracking.py -> build/lib/jinja2
copying src/jinja2/nodes.py -> build/lib/jinja2
copying src/jinja2/ext.py -> build/lib/jinja2
copying src/jinja2/parser.py -> build/lib/jinja2
copying src/jinja2/sandbox.py -> build/lib/jinja2
copying src/jinja2/__init__.py -> build/lib/jinja2
copying src/jinja2/defaults.py -> build/lib/jinja2
copying src/jinja2/nativetypes.py -> build/lib/jinja2
copying src/jinja2/compiler.py -> build/lib/jinja2
copying src/jinja2/runtime.py -> build/lib/jinja2
copying src/jinja2/optimizer.py -> build/lib/jinja2
copying src/jinja2/bccache.py -> build/lib/jinja2
copying src/jinja2/environment.py -> build/lib/jinja2
copying src/jinja2/constants.py -> build/lib/jinja2
copying src/jinja2/lexer.py -> build/lib/jinja2
copying src/jinja2/loaders.py -> build/lib/jinja2
copying src/jinja2/async_utils.py -> build/lib/jinja2
copying src/jinja2/utils.py -> build/lib/jinja2
copying src/jinja2/_identifier.py -> build/lib/jinja2
copying src/jinja2/meta.py -> build/lib/jinja2
copying src/jinja2/tests.py -> build/lib/jinja2
running egg_info
writing src/Jinja2.egg-info/PKG-INFO
writing dependency_links to src/Jinja2.egg-info/dependency_links.txt
writing entry points to src/Jinja2.egg-info/entry_points.txt
writing requirements to src/Jinja2.egg-info/requires.txt
writing top-level names to src/Jinja2.egg-info/top_level.txt
reading manifest file 'src/Jinja2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files matching '*.pyc' found anywhere in
distribution
adding license file 'LICENSE.rst'
writing manifest file 'src/Jinja2.egg-info/SOURCES.txt'
copying src/jinja2/py.typed -> build/lib/jinja2
/usr/local/bin/python3.8 -m compileall
/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples ; 
/usr/local/bin/python3.8 -O -m compileall
/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples
Listing '/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples'...
Listing
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/cycle.py'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/debugger.py'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/inheritance.py'...
Listing
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/templates'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/test.py'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/test_filter_and_linestatements.py'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/test_loop_filter.py'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/translate.py'...
Listing '/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples'...
Listing
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/cycle.py'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/debugger.py'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/inheritance.py'...
Listing
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/templates'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/test.py'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/test_filter_and_linestatements.py'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/test_loop_filter.py'...
Compiling
'/wrkdirs/usr/ports/devel/py-Jinja2/work-py38/Jinja2-3.0.1/examples/basic/translate.py'...
===========================================================================
=======================<phase: run-depends    >============================
===>   py38-Jinja2-3.0.1 depends on package: py38-markupsafe>=2.0.0 - not found
===>   Installing existing package /packages/All/py38-markupsafe-2.0.1.pkg
[slippy] Installing py38-markupsafe-2.0.1...
[slippy] Extracting py38-markupsafe-2.0.1: .......... done
===>   py38-Jinja2-3.0.1 depends on package: py38-markupsafe>=2.0.0 - found
===>   Returning to build of py38-Jinja2-3.0.1
===>   py38-Jinja2-3.0.1 depends on package: py38-Babel>=2.7 - not found
===>   Installing existing package /packages/All/py38-Babel-2.9.1.pkg
[slippy] Installing py38-Babel-2.9.1...
[slippy] `-- Installing py38-pytz-2021.3,1...
[slippy] `-- Extracting py38-pytz-2021.3,1: .......... done
[slippy] Extracting py38-Babel-2.9.1: .......... done
===>   py38-Jinja2-3.0.1 depends on package: py38-Babel>=2.7 - found
===>   Returning to build of py38-Jinja2-3.0.1
===>   py38-Jinja2-3.0.1 depends on package: py38-setuptools>0 - found
===>   py38-Jinja2-3.0.1 depends on file: /usr/local/bin/python3.8 - found
===========================================================================
=======================<phase: stage          >============================
===>  Staging for py38-Jinja2-3.0.1
===>   Generating temporary packing list
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
2851, in get_entry_map
    ep_map = self._ep_map
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
2813, in __getattr__
    raise AttributeError(attr)
AttributeError: _ep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 4, in <module>
    setup(
  File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line
152, in setup
    _install_setup_requires(attrs)
  File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line
142, in _install_setup_requires
    dist = MinimalDistribution(attrs)
  File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line
134, in __init__
    distutils.core.Distribution.__init__(self, filtered)
  File "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 453,
in __init__
    for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
641, in <genexpr>
    for entry in dist.get_entry_map(group).values()
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
2853, in get_entry_map
    ep_map = self._ep_map = EntryPoint.parse_map(
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line
2538, in parse_map
    raise ValueError("Entry points must be listed in groups")
ValueError: Entry points must be listed in groups
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-Jinja2
=>> Cleaning up wrkdir
===>  Cleaning for py38-Jinja2-3.0.1
build of devel/py-Jinja2 | py38-Jinja2-3.0.1 ended at Sun Nov 14 08:31:15 PST
2021
build time: 00:01:04
!!! build failure encountered !!!

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