[package - 142amd64-default][misc/libiio] Failed for libiio-0.26_1 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 01 Jul 2025 01:17:15 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:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy22/data/142amd64-default/8b06c03ce600/logs/libiio-0.26_1.log
Build URL:      https://pkg-status.freebsd.org/beefy22/build.html?mastername=142amd64-default&build=8b06c03ce600
Log:

=>> Building misc/libiio
build started at Tue Jul  1 01:16:49 UTC 2025
port directory: /usr/ports/misc/libiio
package name: libiio-0.26_1
building for: FreeBSD 142amd64-default-job-37 14.2-RELEASE-p3 FreeBSD 14.2-RELEASE-p3 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 636 Jul  1 01:01 /usr/ports/misc/libiio/Makefile
Ports top last git commit: 8b06c03ce6
Ports top unclean checkout: no
Port dir last git commit: 3068854dd0
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-12-g74a54a88
Host OSVERSION: 1500035
Jail OSVERSION: 1402000
Job Id: 37

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1402000
UNAME_v=FreeBSD 14.2-RELEASE-p3
UNAME_r=14.2-RELEASE-p3
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-12-g74a54a88
MASTERMNT=/usr/local/poudriere/data/.m/142amd64-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/142amd64-default/37/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=142amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/142amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2-12-g74a54a88
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 libiio-0.26_1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/misc/libiio/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/libiio/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/libiio/work/.cache  HOME=/wrkdirs/usr/ports/misc/libiio/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/libiio/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/libiio/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] " XDG_DATA_HOME=/wrkdirs/usr/ports/misc/libiio/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/libiio/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/libiio/work/.cache  HOME=/wrkdirs/usr/ports/misc/libiio/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/libiio/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/libiio/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/misc/libiio/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG -isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem
 /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -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--
PORTDOCS="" CMAKE_BUILD_TYPE="release" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libiio"  EXAMPLESDIR="share/examples/libiio"  DATADIR="share/libiio"  WWWDIR="www/libiio"  ETCDIR="etc/libiio"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libiio DOCSDIR=/usr/local/share/doc/libiio EXAMPLESDIR=/usr/local/share/examples/libiio  WWWDIR=/usr/local/www/libiio ETCDIR=/usr/local/etc/libiio
--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
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
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)  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
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libiio-0.26_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.1.pkg
[142amd64-default-job-37] Installing pkg-2.2.1...
[142amd64-default-job-37] Extracting pkg-2.2.1: .......... done
===>   libiio-0.26_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libiio-0.26_1
===========================================================================
=======================<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
===>  License BSL accepted by the user
===> Fetching all distfiles required by libiio-0.26_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSL accepted by the user
===> Fetching all distfiles required by libiio-0.26_1 for building
=> SHA256 Checksum OK for analogdevicesinc-libiio-v0.26_GH0.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
===>  License BSL accepted by the user
===> Fetching all distfiles required by libiio-0.26_1 for building
===>  Extracting for libiio-0.26_1
=> SHA256 Checksum OK for analogdevicesinc-libiio-v0.26_GH0.tar.gz.
===========================================================================
=======================<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 libiio-0.26_1
===>  Applying FreeBSD patches for libiio-0.26_1 from /usr/ports/misc/libiio/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libiio-0.26_1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.31.7.pkg
[142amd64-default-job-37] Installing cmake-core-3.31.7...
[142amd64-default-job-37] `-- Installing expat-2.7.1...
[142amd64-default-job-37] `-- Extracting expat-2.7.1: .......... done
[142amd64-default-job-37] `-- Installing jsoncpp-1.9.6_1...
[142amd64-default-job-37] `-- Extracting jsoncpp-1.9.6_1: .......... done
[142amd64-default-job-37] `-- Installing libidn2-2.3.8...
[142amd64-default-job-37] |   `-- Installing indexinfo-0.3.1_1...
[142amd64-default-job-37] |   `-- Extracting indexinfo-0.3.1_1: .... done
[142amd64-default-job-37] |   `-- Installing libunistring-1.3...
[142amd64-default-job-37] |   `-- Extracting libunistring-1.3: .......... done
[142amd64-default-job-37] `-- Extracting libidn2-2.3.8: .......... done
[142amd64-default-job-37] `-- Installing libuv-1.51.0...
[142amd64-default-job-37] `-- Extracting libuv-1.51.0: .......... done
[142amd64-default-job-37] `-- Installing rhash-1.4.4_1...
[142amd64-default-job-37] |   `-- Installing gettext-runtime-0.23.1...
[142amd64-default-job-37] |   `-- Extracting gettext-runtime-0.23.1: .......... done
[142amd64-default-job-37] `-- Extracting rhash-1.4.4_1: .......... done
[142amd64-default-job-37] Extracting cmake-core-3.31.7: .......... done
===>   libiio-0.26_1 depends on file: /usr/local/bin/cmake - found
===>   Returning to build of libiio-0.26_1
===>   libiio-0.26_1 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.11.1,4.pkg
[142amd64-default-job-37] Installing ninja-1.11.1,4...
[142amd64-default-job-37] `-- Installing python311-3.11.13...
[142amd64-default-job-37] |   `-- Installing libffi-3.5.1...
[142amd64-default-job-37] |   `-- Extracting libffi-3.5.1: .......... done
[142amd64-default-job-37] |   `-- Installing mpdecimal-4.0.1...
[142amd64-default-job-37] |   `-- Extracting mpdecimal-4.0.1: .......... done
[142amd64-default-job-37] |   `-- Installing readline-8.2.13_2...
[142amd64-default-job-37] |   `-- Extracting readline-8.2.13_2: .......... done
[142amd64-default-job-37] `-- Extracting python311-3.11.13: .......... done
[142amd64-default-job-37] Extracting ninja-1.11.1,4: ........ done
=====
Message from python311-3.11.13:

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

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
===>   libiio-0.26_1 depends on executable: ninja - found
===>   Returning to build of libiio-0.26_1
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   libiio-0.26_1 depends on shared library: libavahi-client.so - not found
===>   Installing existing package /packages/All/avahi-app-0.8_6.pkg
[142amd64-default-job-37] Installing avahi-app-0.8_6...
[142amd64-default-job-37] `-- Installing dbus-1.16.2_3,1...
[142amd64-default-job-37] |   `-- Installing libICE-1.1.1,1...
[142amd64-default-job-37] |   `-- Extracting libICE-1.1.1,1: .......... done
[142amd64-default-job-37] |   `-- Installing libSM-1.2.6,1...
[142amd64-default-job-37] |   `-- Extracting libSM-1.2.6,1: .......... done
[142amd64-default-job-37] |   `-- Installing libX11-1.8.12,1...
[142amd64-default-job-37] |   | `-- Installing libxcb-1.17.0...
[142amd64-default-job-37] |   |   `-- Installing libXau-1.0.11...
[142amd64-default-job-37] |   |   `-- Extracting libXau-1.0.11: .......... done
[142amd64-default-job-37] |   |   `-- Installing libXdmcp-1.1.5...
[142amd64-default-job-37] |   |   | `-- Installing xorgproto-2024.1...
[142amd64-default-job-37] |   |   | `-- Extracting xorgproto-2024.1: .......... done
[142amd64-default-job-37] |   |   `-- Extracting libXdmcp-1.1.5: ......... done
[142amd64-default-job-37] |   | `-- Extracting libxcb-1.17.0: .......... done
[142amd64-default-job-37] |   `-- Extracting libX11-1.8.12,1: .......... done
[142amd64-default-job-37] |   `-- Installing libxml2-2.14.4...
[142amd64-default-job-37] |   `-- Extracting libxml2-2.14.4: .......... done
===> Creating groups
Creating group 'messagebus' with gid '556'
===> Creating users
Creating user 'messagebus' with uid '556'
[142amd64-default-job-37] `-- Extracting dbus-1.16.2_3,1: ......... done
[142amd64-default-job-37] `-- Installing dbus-glib-0.114...
[142amd64-default-job-37] |   `-- Installing glib-2.84.1_2,2...
[142amd64-default-job-37] |   | `-- Installing libiconv-1.17_1...
[142amd64-default-job-37] |   | `-- Extracting libiconv-1.17_1: .......... done
[142amd64-default-job-37] |   | `-- Installing libinotify-20240724_1...
[142amd64-default-job-37] |   | `-- Extracting libinotify-20240724_1: .......... done
[142amd64-default-job-37] |   | `-- Installing pcre2-10.45_1...
[142amd64-default-job-37] |   | `-- Extracting pcre2-10.45_1: .......... done
[142amd64-default-job-37] |   | `-- Installing py311-packaging-25.0...
[142amd64-default-job-37] |   | `-- Extracting py311-packaging-25.0: .......... done
[142amd64-default-job-37] |   `-- Extracting glib-2.84.1_2,2: .......... done
[142amd64-default-job-37] `-- Extracting dbus-glib-0.114: .......... done
[142amd64-default-job-37] `-- Installing gdbm-1.25...
[142amd64-default-job-37] `-- Extracting gdbm-1.25: .......... done
[142amd64-default-job-37] `-- Installing gnome_subr-1.0...
[142amd64-default-job-37] `-- Extracting gnome_subr-1.0: .... done
[142amd64-default-job-37] `-- Installing libdaemon-0.14_1...
[142amd64-default-job-37] `-- Extracting libdaemon-0.14_1: .......... done
[142amd64-default-job-37] `-- Installing libevent-2.1.12...
[142amd64-default-job-37] `-- Extracting libevent-2.1.12: .......... done
===> Creating groups
Creating group 'avahi' with gid '558'
===> Creating users
Creating user 'avahi' with uid '558'
[142amd64-default-job-37] Extracting avahi-app-0.8_6: .......... done
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from libinotify-20240724_1:

--
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
===>   libiio-0.26_1 depends on shared library: libavahi-client.so - found (/usr/local/lib/libavahi-client.so)
===>   Returning to build of libiio-0.26_1
===>   libiio-0.26_1 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for libiio-0.26_1
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/misc/libiio/work/.build
-- cmake version: 3.31.7
-- The C compiler identification is Clang 18.1.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strndup
-- Looking for strndup - found
-- Looking for strerror_r
-- Looking for strerror_r - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for newlocale
-- Looking for newlocale - found
-- Looking for in6addr_any
-- Looking for in6addr_any - found
-- Looking for libusb_get_version
-- Looking for libusb_get_version - found
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
CMake Error at /usr/local/lib/cmake/libxml2/libxml2-config.cmake:53 (if):
  Flow control statements are not properly nested.
Call Stack (most recent call first):
  CMakeLists.txt:402 (find_package)


CMake Error at CMakeLists.txt:402 (find_package):
  find_package Error reading CMake code from
  "/usr/local/lib/cmake/libxml2/libxml2-config.cmake".


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/libiio