[package - main-arm64-default][security/veracrypt] Failed for veracrypt-1.26.7_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 16 Aug 2024 10:36:36 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:     acm@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/p60a177caf143_s7a8d05ba19b/logs/veracrypt-1.26.7_2.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p60a177caf143_s7a8d05ba19b
Log:

=>> Building security/veracrypt
build started at Fri Aug 16 10:33:33 UTC 2024
port directory: /usr/ports/security/veracrypt
package name: veracrypt-1.26.7_2
building for: FreeBSD main-arm64-default-job-01 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm64
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1631 Dec  2  2023 /usr/ports/security/veracrypt/Makefile
Ports top last git commit: 60a177caf14
Ports top unclean checkout: no
Port dir last git commit: 03eac77c103
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500023
Job Id: 01




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
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-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-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-arm64-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for veracrypt-1.26.7_2:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
acm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/security/veracrypt/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/veracrypt/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/veracrypt/work/.cache  HOME=/wrkdirs/usr/ports/security/veracrypt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/veracrypt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/veracrypt/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh WX_CONFIG=/usr/local/bin/wxgtk3u-3.0-config
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/veracrypt/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/veracrypt/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/veracrypt/work/.cache  HOME=/wrkdirs/usr/ports/security/veracrypt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/veracrypt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/veracrypt/work/.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 WX_CONFIG=/usr/local/bin/wxgtk3u-3.0-config PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing   -DLIBICONV_PLUG -std=c++11 " BSD_INSTALL_PROGRA
M="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--
PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/veracrypt"  EXAMPLESDIR="share/examples/veracrypt"  DATADIR="share/veracrypt"  WWWDIR="www/veracrypt"  ETCDIR="etc/veracrypt"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/veracrypt DOCSDIR=/usr/local/share/doc/veracrypt EXAMPLESDIR=/usr/local/share/examples/veracrypt  WWWDIR=/usr/local/www/veracrypt ETCDIR=/usr/local/etc/veracrypt
--End SUB_LIST--

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
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)  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)  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
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   veracrypt-1.26.7_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-arm64-default-job-01] Installing pkg-1.21.3...
[main-arm64-default-job-01] Extracting pkg-1.21.3: .......... done
===>   veracrypt-1.26.7_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of veracrypt-1.26.7_2
===========================================================================
=======================<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
===> Fetching all distfiles required by veracrypt-1.26.7_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by veracrypt-1.26.7_2 for building
=> SHA256 Checksum OK for VeraCrypt_1.26.7_Source.tar.bz2.
===========================================================================
=======================<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
===> Fetching all distfiles required by veracrypt-1.26.7_2 for building
===>  Extracting for veracrypt-1.26.7_2
=> SHA256 Checksum OK for VeraCrypt_1.26.7_Source.tar.bz2.
===========================================================================
=======================<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 veracrypt-1.26.7_2
===>  Applying FreeBSD patches for veracrypt-1.26.7_2 from /usr/ports/security/veracrypt/files
/usr/bin/sed -i.bak -e 's|wx-config|/usr/local/bin/wxgtk3u-3.0-config|g' /wrkdirs/usr/ports/security/veracrypt/work/veracrypt-1.26.7_2/src/Makefile
/usr/bin/sed -i.bak -e 's|/usr/bin|/usr/local/bin|g' -e  's|Icon=veracrypt|Icon=VeraCrypt-16x16|g' /wrkdirs/usr/ports/security/veracrypt/work/veracrypt-1.26.7_2/src/Setup/FreeBSD/veracrypt.desktop
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   veracrypt-1.26.7_2 depends on executable: yasm - not found
===>   Installing existing package /packages/All/yasm-1.3.0_1.pkg
[main-arm64-default-job-01] Installing yasm-1.3.0_1...
[main-arm64-default-job-01] `-- Installing gettext-runtime-0.22.5...
[main-arm64-default-job-01] |   `-- Installing indexinfo-0.3.1...
[main-arm64-default-job-01] |   `-- Extracting indexinfo-0.3.1: .... done
[main-arm64-default-job-01] `-- Extracting gettext-runtime-0.22.5: .......... done
[main-arm64-default-job-01] Extracting yasm-1.3.0_1: .......... done
<snip>
Compiling glib schemas
Warning: Schema ?org.gnome.system.locale? has path ?/system/locale/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy? has path ?/system/proxy/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.http? has path ?/system/proxy/http/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.https? has path ?/system/proxy/https/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.ftp? has path ?/system/proxy/ftp/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
Warning: Schema ?org.gnome.system.proxy.socks? has path ?/system/proxy/socks/?.  Paths starting with ?/apps/?, ?/desktop/? or ?/system/? are deprecated.
==> Running trigger: shared-mime-info.ucl
Building the Shared MIME-Info database cache
=====
Message from freetype2-2.13.2:

--
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/index.html, if documentation was installed).
=====
Message from wayland-1.23.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 libxkbcommon-1.7.0_1:

--
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 libsoup-2.74.3:

--
libsoup can use NTLM authentication if it is compiled
with the SMB option. To use it, you must install a
port that provides NTLM, like net/samba412 or net/samba413.
===>   veracrypt-1.26.7_2 depends on shared library: libwx_baseu-3.0.so - found (/usr/local/lib/libwx_baseu-3.0.so)
===>   Returning to build of veracrypt-1.26.7_2
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for veracrypt-1.26.7_2
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for veracrypt-1.26.7_2
Compiling Buffer.cpp
Compiling Exception.cpp
Compiling Event.cpp
Compiling FileCommon.cpp
Compiling MemoryStream.cpp
Compiling Memory.cpp
Compiling PlatformTest.cpp
Compiling Serializable.cpp
Compiling Serializer.cpp
PlatformTest.cpp:283:4: warning: expression result unused [-Wunused-value]
  283 |                         dynamic_cast <RttiTest &> (rttiBaseRef);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling SerializerFactory.cpp
Compiling StringConverter.cpp
1 warning generated.
Compiling TextReader.cpp
Compiling Directory.cpp
Compiling File.cpp
Compiling FilesystemPath.cpp
Compiling Mutex.cpp
Compiling Pipe.cpp
Compiling Poller.cpp
Compiling Process.cpp
Compiling SyncEvent.cpp
Compiling SystemException.cpp
Compiling SystemInfo.cpp
Compiling SystemLog.cpp
Compiling Thread.cpp
Compiling Time.cpp
Updating library Platform.a
Compiling Cipher.cpp
Compiling EncryptionAlgorithm.cpp
Compiling EncryptionMode.cpp
Compiling EncryptionModeXTS.cpp
Compiling EncryptionTest.cpp
Compiling EncryptionThreadPool.cpp
Compiling Hash.cpp
Compiling Keyfile.cpp
Compiling Pkcs5Kdf.cpp
Compiling Volume.cpp
Pkcs5Kdf.cpp:46:16: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
   46 |                         if (typeid (*kdf->GetHash()) == typeid (hash))
      |                                     ^
Volume.cpp:126:39: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
  126 |                                 if (skipLayoutV1Normal && typeid (*layout) == typeid (VolumeLayoutV1Normal))
      |                                                                   ^
Volume.cpp:177:17: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
  177 |                                 if (typeid (*layout) == typeid (VolumeLayoutV2Normal))
      |                                             ^
Volume.cpp:192:18: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
  192 |                                         if (typeid (*layout) == typeid (VolumeLayoutV2Normal) && header->GetRequiredMinProgramVersion() < 0x10b)
      |                                                     ^
1 warning generated.
Compiling VolumeException.cpp
Compiling VolumeHeader.cpp
VolumeHeader.cpp:103:17: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
  103 |                                 if (typeid (*mode) != typeid (EncryptionModeXTS))
      |                                             ^
VolumeHeader.cpp:111:18: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
  111 |                                         if (typeid (*mode) == typeid (EncryptionModeXTS))
      |                                                     ^
VolumeHeader.cpp:209:15: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
  209 |                 if (typeid (*mode) == typeid (EncryptionModeXTS))
      |                             ^
VolumeHeader.cpp:253:15: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
  253 |                 if (typeid (*mode) == typeid (EncryptionModeXTS))
      |                             ^
3 warnings generated.
Compiling VolumeInfo.cpp
Compiling VolumeLayout.cpp
4 warnings generated.
Compiling VolumePassword.cpp
Compiling VolumePasswordCache.cpp
Compiling Aescrypt.c
Compiling Aeskey.c
Compiling Aestab.c
Compiling cpu.c
Compiling blake2s.c
Compiling blake2s_SSE2.c
Compiling SerpentFast.c
Compiling SerpentFast_simd.cpp
Compiling Sha2.c
Compiling Twofish.c
Compiling Whirlpool.c
Compiling Camellia.c
Compiling Streebog.c
Compiling kuznyechik.c
Compiling kuznyechik_simd.c
Compiling CommandAPDU.cpp
Compiling PCSCException.cpp
Compiling ResponseAPDU.cpp
Compiling SCard.cpp
Compiling SCardLoader.cpp
Compiling SCardManager.cpp
Compiling SCardReader.cpp
Compiling Token.cpp
Compiling Crc.c
Compiling TLVParser.cpp
Compiling EMVCard.cpp
Compiling EMVToken.cpp
Compiling Endian.c
Compiling GfMul.c
Compiling Pkcs5.c
../Common/EMVCard.cpp:28:29: warning: ISO C++11 does not allow conversion from string literal to 'wchar_t *' [-Wwritable-strings]
   28 |                 static wchar_t* hexChar = L"0123456789ABCDEF";
      |                                           ^
Compiling SecurityToken.cpp
Compiling jitterentropy-base.c
Compiling blake2s_SSE41.c
cc: error: unsupported option '-mssse3' for target 'aarch64-unknown-freebsd15.0'
cc: error: unsupported option '-msse4.1' for target 'aarch64-unknown-freebsd15.0'
gmake[1]: *** [/wrkdirs/usr/ports/security/veracrypt/work/veracrypt-1.26.7_2/src/Build/Include/Makefile.inc:29: ../Crypto/blake2s_SSE41.osse41] Error 1
gmake[1]: *** Waiting for unfinished jobs....
1 warning generated.
gmake: *** [Makefile:520: all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/security/veracrypt