[package - 122arm64-quarterly][cad/py-ocp] Failed for py37-ocp-7.4.r2_1 in patch

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 29 May 2021 06:35:35 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@nicandneal.net
Log URL:        http://ampere1.nyi.freebsd.org/data/122arm64-quarterly/50477f68e31b/logs/py37-ocp-7.4.r2_1.log
Build URL:      http://ampere1.nyi.freebsd.org/build.html?mastername=122arm64-quarterly&build=50477f68e31b
Log:

=>> Building cad/py-ocp
build started at Sat May 29 06:34:31 UTC 2021
port directory: /usr/ports/cad/py-ocp
package name: py37-ocp-7.4.r2_1
building for: FreeBSD 122arm64-quarterly-job-10 12.2-RELEASE FreeBSD 12.2-RELEASE arm64
maintained by: ports@nicandneal.net
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 10

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE
UNAME_r=12.2-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/122arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122arm64-quarterly/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=py37
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=py37
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
ports@nicandneal.net
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.7" XDG_DATA_HOME=/wrkdirs/usr/ports/cad/py-ocp/work-py37  XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/py-ocp/work-py37  HOME=/wrkdirs/usr/ports/cad/py-ocp/work-py37 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/cad/py-ocp/work-py37/.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/cad/py-ocp/work-py37  XDG_CONFIG_HOME=/wrkdirs/usr/ports/cad/py-ocp/work-py37  HOME=/wrkdirs/usr/ports/cad/py-ocp/work-py37 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/cad/py-ocp/work-py37/.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 DESTDIR=/wrkdirs/usr/ports/cad/py-ocp/work-py37/stage 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--
CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python3.7m  PYTHON_LIBDIR=lib/python3.7  PYTHON_PLATFORM=freebsd12  PYTHON_SITELIBDIR=lib/python3.7/site-packages  PYTHON_SUFFIX=37  PYTHON_EXT_SUFFIX=  PYTHON_VER=3.7  PYTHON_VERSION=python3.7 PYTHON2="@comment " PYTHON3="" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/ocp"  EXAMPLESDIR="share/examples/ocp"  DATADIR="share/ocp"  WWWDIR="www/ocp"  ETCDIR="etc/ocp"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/ocp DOCSDIR=/usr/local/share/doc/ocp EXAMPLESDIR=/usr/local/share/examples/ocp  WWWDIR=/usr/local/www/ocp ETCDIR=/usr/local/etc/ocp
--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 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: aarch64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: aarch64-unknown-freebsd12.2 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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: aarch64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE
OSREL=12.2
OSVERSION=1202000
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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   py37-ocp-7.4.r2_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122arm64-quarterly-job-10] Installing pkg-1.16.3...
[122arm64-quarterly-job-10] Extracting pkg-1.16.3: .......... done
===>   py37-ocp-7.4.r2_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py37-ocp-7.4.r2_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by py37-ocp-7.4.r2_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by py37-ocp-7.4.r2_1 for building
=> SHA256 Checksum OK for OCP_src_Linux.zip.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by py37-ocp-7.4.r2_1 for building
===>  Extracting for py37-ocp-7.4.r2_1
=> SHA256 Checksum OK for OCP_src_Linux.zip.
===========================================================================
=======================<phase: patch-depends  >============================
===>   py37-ocp-7.4.r2_1 depends on file: /usr/local/include/OpenCASCADE/OpenGl_HaltonSampler.hxx - not found
===>   Installing existing package /packages/All/opencascade-7.5.0_1.txz
[122arm64-quarterly-job-10] Installing opencascade-7.5.0_1...
[122arm64-quarterly-job-10] `-- Installing bash-5.1.4_1...
[122arm64-quarterly-job-10] |   `-- Installing gettext-runtime-0.21...
[122arm64-quarterly-job-10] |   | `-- Installing indexinfo-0.3.1...
[122arm64-quarterly-job-10] |   | `-- Extracting indexinfo-0.3.1: .... done
[122arm64-quarterly-job-10] |   `-- Extracting gettext-runtime-0.21: .......... done
[122arm64-quarterly-job-10] |   `-- Installing readline-8.1.0...
[122arm64-quarterly-job-10] |   `-- Extracting readline-8.1.0: .......... done
[122arm64-quarterly-job-10] `-- Extracting bash-5.1.4_1: .......... done
[122arm64-quarterly-job-10] `-- Installing ffmpeg-4.3.2_1,1...
[122arm64-quarterly-job-10] |   `-- Installing aom-3.1.0...
[122arm64-quarterly-job-10] |   `-- Extracting aom-3.1.0: .......... done
[122arm64-quarterly-job-10] |   `-- Installing dav1d-0.9.0...
[122arm64-quarterly-job-10] |   `-- Extracting dav1d-0.9.0: .......... done
[122arm64-quarterly-job-10] |   `-- Installing fontconfig-2.13.93,1...
[122arm64-quarterly-job-10] |   | `-- Installing expat-2.2.10...
[122arm64-quarterly-job-10] |   | `-- Extracting expat-2.2.10: .......... done
[122arm64-quarterly-job-10] |   | `-- Installing freetype2-2.10.4...
[122arm64-quarterly-job-10] |   |   `-- Installing png-1.6.37_1...
[122arm64-quarterly-job-10] |   |   `-- Extracting png-1.6.37_1: .......... done
[122arm64-quarterly-job-10] |   | `-- Extracting freetype2-2.10.4: .......... done
[122arm64-quarterly-job-10] |   `-- Extracting fontconfig-2.13.93,1: .......... done
[122arm64-quarterly-job-10] |   `-- Installing gmp-6.2.1...
[122arm64-quarterly-job-10] |   `-- Extracting gmp-6.2.1: .......... done
[122arm64-quarterly-job-10] |   `-- Installing gnutls-3.6.15...
<snip>
[122arm64-quarterly-job-10] |   `-- Installing qt5-uiplugin-5.15.2...
[122arm64-quarterly-job-10] |   | `-- Installing qt5-widgets-5.15.2_1...
[122arm64-quarterly-job-10] |   | `-- Extracting qt5-widgets-5.15.2_1: .......... done
[122arm64-quarterly-job-10] |   `-- Extracting qt5-uiplugin-5.15.2: .......... done
[122arm64-quarterly-job-10] |   `-- Installing qt5-x11extras-5.15.2_1...
[122arm64-quarterly-job-10] |   `-- Extracting qt5-x11extras-5.15.2_1: .......... done
[122arm64-quarterly-job-10] |   `-- Installing tiff-4.2.0...
[122arm64-quarterly-job-10] |   | `-- Installing jbigkit-2.1_1...
[122arm64-quarterly-job-10] |   | `-- Extracting jbigkit-2.1_1: .......... done
[122arm64-quarterly-job-10] |   `-- Extracting tiff-4.2.0: .......... done
[122arm64-quarterly-job-10] `-- Extracting vtk8-8.2.0: .......... done
[122arm64-quarterly-job-10] Extracting opencascade-7.5.0_1: .......... done
=====
Message from freetype2-2.10.4:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed).
=====
Message from ca_root_nss-3.63:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from python37-3.7.10:

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

py37-gdbm       databases/py-gdbm@py37
py37-sqlite3    databases/py-sqlite3@py37
py37-tkinter    x11-toolkits/py-tkinter@py37
=====
Message from trousers-0.3.14_3:

--
To run tcsd automatically, add the following line to /etc/rc.conf:

tcsd_enable="YES"

You might want to edit /usr/local/etc/tcsd.conf to reflect your setup.

If you want to use tcsd with software TPM emulator, use the following
configuration in /etc/rc.conf:

tcsd_enable="YES"
tcsd_mode="emulator"
tpmd_enable="YES"

To use TPM, add your_account to '_tss' group like following:

# pw groupmod _tss -m your_account
=====
Message from argp-standalone-1.3_4:

--
===>   NOTICE:

The argp-standalone 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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
=====
Message from wayland-1.19.0:

--
Wayland requires XDG_RUNTIME_DIR to be defined to a path that will
contain "wayland-%d" unix(4) sockets. This is usually handled by
consolekit2 (via ck-launch-session) or pam_xdg (via login).
=====
Message from gcc10-10.2.0_1:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc10

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from qtchooser-66_4:

--
qtchooser is a wrapper that allows to specify Qt version of binaries for
qmake, moc and other tools will be run when invoking the binaries in $PATH.

By default, the Qt5 versions are run. It is possible to change the behavior by
setting the QT_SELECT environment variable to "qtX", where X is desired Qt
version, provided that it is offered by the Ports Collection. See qtchooser(1)
for more information.
=====
Message from libxkbcommon-1.1.0:

--
If arrow keys don't work under X11 switch to legacy rules e.g.,

For sh/bash/ksh/zsh run and (optionally) add into ~/.profile:
  export XKB_DEFAULT_RULES=xorg

For csh/tcsh run and (optionally) add into ~/.login:
  setenv XKB_DEFAULT_RULES xorg
=====
Message from dejavu-2.37_1:

--
Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

	Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

	FontPath "/usr/local/share/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
=====
Message from qt5-sql-5.15.2_1:

--
To enable Qt database support, install the database plugin ports. The
following plugin ports are available:
 - databases/qt5-sqldrivers-ibase	InterBase/Firebird
 - databases/qt5-sqldrivers-mysql	MySQL
 - databases/qt5-sqldrivers-odbc	Open Database Connectivity
 - databases/qt5-sqldrivers-pgsql	PostgreSQL
 - databases/qt5-sqldrivers-sqlite2	SQLite 2
 - databases/qt5-sqldrivers-sqlite3	SQLite 3
 - databases/qt5-sqldrivers-tds		FreeTDS
===>   py37-ocp-7.4.r2_1 depends on file: /usr/local/include/OpenCASCADE/OpenGl_HaltonSampler.hxx - found
===>   Returning to build of py37-ocp-7.4.r2_1
===========================================================================
=======================<phase: patch          >============================
===>  Patching for py37-ocp-7.4.r2_1
/bin/mkdir -p /wrkdirs/usr/ports/cad/py-ocp/work-py37/OCP_src_Ubuntu-16.04/OCCT
cp -f /usr/local/include/OpenCASCADE/OpenGl_HaltonSampler.hxx /wrkdirs/usr/ports/cad/py-ocp/work-py37/OCP_src_Ubuntu-16.04/OCCT
===>  Applying FreeBSD patches for py37-ocp-7.4.r2_1 from /usr/ports/cad/py-ocp/files
No such line 179 in input file, ignoring
1 out of 1 hunks failed--saving rejects to OCCT/OpenGl_HaltonSampler.hxx.rej
===>  FAILED Applying FreeBSD patch-OCCT_OpenGl__HaltonSampler.hxx
===> Cleanly applied FreeBSD patch(es)  patch-FindOpenCascade.cmake
===> FAILED to apply cleanly FreeBSD patch(es)  patch-OCCT_OpenGl__HaltonSampler.hxx
*** Error code 1

Stop.
make: stopped in /usr/ports/cad/py-ocp