[package - 134arm64-default][net-im/telegram-desktop] Failed for telegram-desktop-5.12.3 in patch

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 17 Mar 2025 17:05:45 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@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/134arm64-default/a66c1b68c862/logs/telegram-desktop-5.12.3.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=134arm64-default&build=a66c1b68c862
Log:

=>> Building net-im/telegram-desktop
build started at Mon Mar 17 17:05:38 UTC 2025
port directory: /usr/ports/net-im/telegram-desktop
package name: telegram-desktop-5.12.3
building for: FreeBSD 134arm64-default-job-12 13.4-RELEASE-p4 FreeBSD 13.4-RELEASE-p4 arm64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  5425 Mar 15 01:05 /usr/ports/net-im/telegram-desktop/Makefile
Ports top last git commit: a66c1b68c86
Ports top unclean checkout: no
Port dir last git commit: a32f7a2db75
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-7-gf78625a5
Host OSVERSION: 1500028
Jail OSVERSION: 1304000
Job Id: 12

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1304000
UNAME_v=FreeBSD 13.4-RELEASE-p4
UNAME_r=13.4-RELEASE-p4
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-7-gf78625a5
MASTERMNT=/usr/local/poudriere/data/.m/134arm64-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/134arm64-default/12/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=134arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/134arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2-7-gf78625a5
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 telegram-desktop-5.12.3:
     SYSTEM_FONTS=off: Use system fonts instead of bundled patched ones
====> Desktop integration: you have to choose at least one of them
     X11=on: X11 (graphics) support
     WAYLAND=on: Wayland (graphics) support
====> Audio backend for voice calls
     ALSA=on: ALSA audio architecture support
     PULSEAUDIO=off: PulseAudio sound server support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.11" QT_SELECT=qt6 QMAKEMODULES="/wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/mkspecs/modules:/usr/local/lib/qt6/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/net-im/telegram-desktop/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-im/telegram-desktop/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/telegram-desktop/work/.cache  HOME=/wrkdirs/usr/ports/net-im/telegram-desktop/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-im/telegram-desktop/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-im/telegram-desktop/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " GI_SCANNER_DISABLE_CACHE=1 QT_SELECT=qt6 QMAKEMODULES="/wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/mkspecs/modules:/usr/local/lib/qt6/mkspecs/modules" OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-im/telegram-desktop/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-im/telegram-desktop/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/telegram-desktop/work/.cache  HOME=/wrkdirs/usr/ports/net-im/telegram-desktop/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-im/telegram-desktop/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-im/telegram-desktop/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 DESTDIR=/wrkdirs/usr/ports/net-im/telegram-desktop/work/stage PREFIX=/usr/local  LOCALBAS
E=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -lBlocksRuntime -Wl,--undefined-version  -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include " 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" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" KDE_PREFIX="/usr/local" KDE_APPLICATIONS_VERSION="24.12.3"  KDE_FRAMEWORKS_VERSION="6.11.0"  KDE_PLASMA_VERSION="6.3.3" PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" QT_BINDIR="lib/qt6/bin" QT_INCDIR="include/qt6" QT_LIBDIR="lib/qt6" QT_ARCHDIR="lib/qt6" QT_PLUGINDIR="lib/qt6/plugins" QT_LIBEXECDIR="libexec/qt6" QT_IMPORTDIR="lib/qt6/imports" QT_QMLDIR="lib/qt6/qml" QT_SBOMDIR="lib/qt6/sbom" QT_DATADIR="share/qt6" QT_DOCDIR="share/doc/qt6" QT_L10NDIR="share/qt6/translations" QT_EXAMPLEDIR="share/examples/qt6" QT_TESTDIR="share/qt6/tests" QT_MKSPECDIR="lib/qt6/mkspecs" QT_TOOLDIR="libexec/qt6" OSREL=13.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DI
R=lib DOCSDIR="share/doc/telegram-desktop"  EXAMPLESDIR="share/examples/telegram-desktop"  DATADIR="share/telegram-desktop"  WWWDIR="www/telegram-desktop"  ETCDIR="etc/telegram-desktop"
--End PLIST_SUB--

--SUB_LIST--
 PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/telegram-desktop DOCSDIR=/usr/local/share/doc/telegram-desktop EXAMPLESDIR=/usr/local/share/examples/telegram-desktop  WWWDIR=/usr/local/www/telegram-desktop ETCDIR=/usr/local/etc/telegram-desktop
--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
===>   NOTICE:

The telegram-desktop 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://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   telegram-desktop-5.12.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.0.6.pkg
[134arm64-default-job-12] Installing pkg-2.0.6...
[134arm64-default-job-12] Extracting pkg-2.0.6: .......... done
===>   telegram-desktop-5.12.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of telegram-desktop-5.12.3
===========================================================================
=======================<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
===>   NOTICE:

The telegram-desktop 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://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv3 accepted by the user
=> tdesktop-5.12.3-full.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://github.com/telegramdesktop/tdesktop/releases/download/v5.12.3/tdesktop-5.12.3-full.tar.gz
tdesktop-5.12.3-full.tar.gz                             69 MB   86 MBps    01s
===> Fetching all distfiles required by telegram-desktop-5.12.3 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The telegram-desktop 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://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by telegram-desktop-5.12.3 for building
=> SHA256 Checksum OK for tdesktop-5.12.3-full.tar.gz.
===========================================================================
=======================<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
===>   NOTICE:

The telegram-desktop 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://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by telegram-desktop-5.12.3 for building
===>  Extracting for telegram-desktop-5.12.3
=> SHA256 Checksum OK for tdesktop-5.12.3-full.tar.gz.
/bin/rm -f -rf  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/GSL  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/QR  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/dispatch  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/expected  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/fcitx5-qt  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/hime  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/hunspell  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/jemalloc  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/jimf  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/kcoreaddons
  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/kimageformats  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/lz4  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/minizip  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/plasma-wayland-protocols  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/range-v3  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/wayland  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/wayland-protocols  /wrkdirs/usr/ports/net-im/telegram-desktop/work/tdesktop-5.12.3-full/Telegram/ThirdParty/xxHash
===========================================================================
=======================<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 telegram-desktop-5.12.3
===>  Applying extra patch /usr/ports/net-im/telegram-desktop/files/extrapatch-Telegram_lib__base_base_qt_qt__compare.h
1 out of 1 hunks failed--saving rejects to Telegram/lib_base/base/qt/qt_compare.h.rej
===>  FAILED Applying extra patch /usr/ports/net-im/telegram-desktop/files/extrapatch-Telegram_lib__base_base_qt_qt__compare.h
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/telegram-desktop