[package - 141arm64-default][security/veracrypt] Failed for veracrypt-1.26.15 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 23 Oct 2024 10:01:50 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/ampere3/data/141arm64-default/f06faad6cb80/logs/veracrypt-1.26.15.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=141arm64-default&build=f06faad6cb80
Log:

=>> Building security/veracrypt
build started at Wed Oct 23 09:59:51 UTC 2024
port directory: /usr/ports/security/veracrypt
package name: veracrypt-1.26.15
building for: FreeBSD 141arm64-default-job-08 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 arm64
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1616 Oct  1 01:02 /usr/ports/security/veracrypt/Makefile
Ports top last git commit: f06faad6cb8
Ports top unclean checkout: no
Port dir last git commit: d9aae4d4613
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 08

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1401000
UNAME_v=FreeBSD 14.1-RELEASE-p5
UNAME_r=14.1-RELEASE-p5
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.2
MASTERMNT=/usr/local/poudriere/data/.m/141arm64-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/141arm64-default/08/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
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.15:
     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=14.1 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---
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.15 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141arm64-default-job-08] Installing pkg-1.21.3...
[141arm64-default-job-08] Extracting pkg-1.21.3: .......... done
===>   veracrypt-1.26.15 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of veracrypt-1.26.15
===========================================================================
=======================<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.15 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by veracrypt-1.26.15 for building
=> SHA256 Checksum OK for VeraCrypt_1.26.15_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.15 for building
===>  Extracting for veracrypt-1.26.15
=> SHA256 Checksum OK for VeraCrypt_1.26.15_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.15
===>  Applying FreeBSD patches for veracrypt-1.26.15 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.15/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.15/src/Setup/FreeBSD/veracrypt.desktop
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   veracrypt-1.26.15 depends on executable: yasm - not found
===>   Installing existing package /packages/All/yasm-1.3.0_1.pkg
[141arm64-default-job-08] Installing yasm-1.3.0_1...
[141arm64-default-job-08] `-- Installing gettext-runtime-0.22.5...
[141arm64-default-job-08] |   `-- Installing indexinfo-0.3.1...
[141arm64-default-job-08] |   `-- Extracting indexinfo-0.3.1: .... done
[141arm64-default-job-08] `-- Extracting gettext-runtime-0.22.5: .......... done
[141arm64-default-job-08] Extracting yasm-1.3.0_1: .......... done
===>   veracrypt-1.26.15 depends on executable: yasm - found
===>   Returning to build of veracrypt-1.26.15
===>   veracrypt-1.26.15 depends on executable: update-desktop-database - not found
===>   Installing existing package /packages/All/desktop-file-utils-0.27.pkg
[141arm64-default-job-08] Installing desktop-file-utils-0.27...
[141arm64-default-job-08] `-- Installing glib-2.80.5,2...
[141arm64-default-job-08] |   `-- Installing libffi-3.4.6...
[141arm64-default-job-08] |   `-- Extracting libffi-3.4.6: .......... done
[141arm64-default-job-08] |   `-- Installing libiconv-1.17_1...
[141arm64-default-job-08] |   `-- Extracting libiconv-1.17_1: .......... done
[141arm64-default-job-08] |   `-- Installing pcre2-10.43...
[141arm64-default-job-08] |   `-- Extracting pcre2-10.43: .......... done
[141arm64-default-job-08] |   `-- Installing py311-packaging-24.1...
[141arm64-default-job-08] |   | `-- Installing python311-3.11.10...
[141arm64-default-job-08] |   |   `-- Installing mpdecimal-4.0.0...
[141arm64-default-job-08] |   |   `-- Extracting mpdecimal-4.0.0: .......... done
[141arm64-default-job-08] |   |   `-- Installing readline-8.2.13_2...
<snip>
==> Running trigger: gtk-update-icon-cache.ucl
Generating GTK icon cache for /usr/local/share/icons/hicolor
Generating GTK icon cache for /usr/local/share/icons/Adwaita
==> Running trigger: glib-schemas.ucl
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.3:

--
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.1:

--
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.15 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.15
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for veracrypt-1.26.15
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for veracrypt-1.26.15
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 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))
      |                                     ^
Compiling VolumeException.cpp
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 VolumeHeader.cpp
3 warnings generated.
Compiling VolumeInfo.cpp
VolumeHeader.cpp:117:45: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
  117 |                                 if (typeid (*mode) != typeid (EncryptionModeXTS))
      |                                             ^
VolumeHeader.cpp:127:18: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
  127 |                                         if (typeid (*mode) == typeid (EncryptionModeXTS))
      |                                                     ^
VolumeHeader.cpp:232:15: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
  232 |                 if (typeid (*mode) == typeid (EncryptionModeXTS))
      |                             ^
VolumeHeader.cpp:286:15: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
  286 |                 if (typeid (*mode) == typeid (EncryptionModeXTS))
      |                             ^
Compiling VolumeLayout.cpp
4 warnings generated.
Compiling VolumePassword.cpp
Compiling VolumePasswordCache.cpp
Compiling EncryptionModeXTS.cpp
Compiling Aescrypt.c
Compiling Aeskey.c
Compiling Aestab.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 Pkcs5.c
Compiling cpu.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 SecurityToken.cpp
Compiling jitterentropy-base.c
Compiling blake2s_SSE41.c
cc: error: unsupported option '-mssse3' for target 'aarch64-unknown-freebsd14.1'
cc: error: unsupported option '-msse4.1' for target 'aarch64-unknown-freebsd14.1'
gmake[1]: *** [/wrkdirs/usr/ports/security/veracrypt/work/veracrypt-1.26.15/src/Build/Include/Makefile.inc:29: ../Crypto/blake2s_SSE41.osse41] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake: *** [Makefile:578: 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 in /usr/ports/security/veracrypt