Bug 259495 - sysutils/tmux: Fails to configure with UTF8PROC=ON: configure: error: "utf8proc not found" (libutf8proc is installed)
Summary: sysutils/tmux: Fails to configure with UTF8PROC=ON: configure: error: "utf8pr...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mathieu Arnold
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2021-10-28 01:39 UTC by Alastair Hogge
Modified: 2021-10-28 03:50 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (mat)
koobs: merge-quarterly?


Attachments
config.log (output from GNU autotools configure) (125.76 KB, text/plain)
2021-10-28 03:48 UTC, Alastair Hogge
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alastair Hogge 2021-10-28 01:39:04 UTC
Hello,

On a 14-CURRENT host and guest (d524e370c4dbabf607546aec6e4bcc8d64758851) and ports at 805fa6f552403f4403d09429c80393e322abd959, enabling UTF8PROC will cause the build to fail in the configure phase:

=>> Building sysutils/tmux
build started at Thu Oct 28 01:35:55 UTC 2021
port directory: /usr/ports/sysutils/tmux
package name: tmux-3.2a
building for: FreeBSD pkg.direwolf.home.arpa. 14.0-CURRENT FreeBSD 14.0-CURRENT amd64
maintained by: mat@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 1001  1001  1981 Sep 14 01:05 /usr/ports/sysutils/tmux/Makefile
Ports top last git commit: 805fa6f55240
Ports top unclean checkout: yes
Port dir last git commit: d5e8868f4b7a
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.99.20211017_2
Host OSVERSION: 1400039
Jail OSVERSION: 1400039
Job Id: 01

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400039
UNAME_v=FreeBSD 14.0-CURRENT
UNAME_r=14.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
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20211017_2
MASTERMNT=/net/fafnir/poudriere/data/.m/direwolf-head-direwolf/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=tmux-256color
GID=0
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
UID=0
PWD=/net/fafnir/poudriere/data/.m/direwolf-head-direwolf/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=direwolf-head-direwolf
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/net/fafnir/poudriere/data/.m/direwolf-head-direwolf/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.99.20211017_2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for tmux-3.2a:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     LIBEVENT_STATIC=off: Build with static libevent
     UTF8PROC=on: Build with utf8proc support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
mat@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-utempter  --sysconfdir=/usr/local/etc --enable-utf8proc --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/tmux/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/tmux/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/tmux/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/tmux/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/tmux/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/tmux/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/tmux/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/tmux/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/tmux/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/tmux/work/.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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe -march=znver2  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -march=znver2 -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--
PORTDOCS="" PORTEXAMPLES="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tmux"  EXAMPLESDIR="share/examples/tmux"  DATADIR="share/tmux"  WWWDIR="www/tmux"  ETCDIR="etc/tmux"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/direwolf-make.conf ####
ALWAYS_CHECK_MAKE=
CPUTYPE?=		znver2
DEFAULT_VERSIONS+=	linux=c7
DEFAULT_VERSIONS+= 	pgsql=13
DEFAULT_VERSIONS+=	ssl=openssl
DIALOGPORT=		ports-mgmt/dialog4ports-static
DISTDIR=		/net/fafnir/poudriere/distfiles
LICENSES_ACCEPTED+=	MSPAT
LICENSES_ACCEPTED+=     NONE
KERNCONF=               DIREWOLF
MODULES_OVERRIDE+=	cuse
#MODULES_OVERRIDE+=	dcons dcons_crom
MODULES_OVERRIDE+=	linux_common linux linux64
MODULES_OVERRIDE+=	linuxkpi
MODULES_OVERRIDE+=	lindebugfs linprocfs linsysfs
MODULES_OVERRIDE+=	vmm
PORTS_MODULES+=		graphics/drm-devel-kmod
PORTS_MODULES+=		graphics/gpu-firmware-kmod
WINE_CROSS_BUILD=
WITH_PKG=		devel
WITH_SSP_PORTS=

.if ${.CURDIR:M*/lang/gcc48}
.undef CPUTYPE
.endif

.if ${.CURDIR:M*/devel/gprbuild}
.undef CPUTYPE
.endif
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  63738
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License ISCL GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   tmux-3.2a depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.99.7.pkg
[pkg.direwolf.home.arpa.] Installing pkg-1.17.99.7...
[pkg.direwolf.home.arpa.] Extracting pkg-1.17.99.7: .......... done
===>   tmux-3.2a depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of tmux-3.2a
===========================================================================
=======================<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 ISCL GPLv2 accepted by the user
===> Fetching all distfiles required by tmux-3.2a for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License ISCL GPLv2 accepted by the user
===> Fetching all distfiles required by tmux-3.2a for building
=> SHA256 Checksum OK for tmux-3.2a.tar.gz.
=> SHA256 Checksum OK for imomaliev-tmux-bash-completion-f5d5323_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 ISCL GPLv2 accepted by the user
===> Fetching all distfiles required by tmux-3.2a for building
===>  Extracting for tmux-3.2a
=> SHA256 Checksum OK for tmux-3.2a.tar.gz.
=> SHA256 Checksum OK for imomaliev-tmux-bash-completion-f5d5323_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 tmux-3.2a
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   tmux-3.2a depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.8.0,1.pkg
[pkg.direwolf.home.arpa.] Installing pkgconf-1.8.0,1...
[pkg.direwolf.home.arpa.] Extracting pkgconf-1.8.0,1: .......... done
===>   tmux-3.2a depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of tmux-3.2a
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   tmux-3.2a depends on shared library: libevent.so - not found
===>   Installing existing package /packages/All/libevent-2.1.12.pkg
[pkg.direwolf.home.arpa.] Installing libevent-2.1.12...
[pkg.direwolf.home.arpa.] `-- Installing openssl-1.1.1l,1...
[pkg.direwolf.home.arpa.] `-- Extracting openssl-1.1.1l,1: .......... done
[pkg.direwolf.home.arpa.] Extracting libevent-2.1.12: .......... done
===>   tmux-3.2a depends on shared library: libevent.so - found (/usr/local/lib/libevent.so)
===>   Returning to build of tmux-3.2a
===>   tmux-3.2a depends on shared library: libutf8proc.so - not found
===>   Installing existing package /packages/All/utf8proc-2.6.1_1.pkg
[pkg.direwolf.home.arpa.] Installing utf8proc-2.6.1_1...
[pkg.direwolf.home.arpa.] Extracting utf8proc-2.6.1_1: .......... done
===>   tmux-3.2a depends on shared library: libutf8proc.so - found (/usr/local/lib/libutf8proc.so)
===>   Returning to build of tmux-3.2a
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for tmux-3.2a
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... amd64-portbld-freebsd14.0
checking host system type... amd64-portbld-freebsd14.0
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for cc option to accept ISO C99... none needed
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for bison... no
checking for byacc... byacc
checking pkg-config is at least version 0.9.0... yes
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking bitstring.h usability... yes
checking bitstring.h presence... yes
checking for bitstring.h... yes
checking for dirent.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for inttypes.h... (cached) yes
checking libproc.h usability... yes
checking libproc.h presence... yes
checking for libproc.h... yes
checking for libutil.h... (cached) yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking for paths.h... (cached) yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking for stdint.h... (cached) yes
checking sys/dir.h usability... no
checking sys/dir.h presence... no
checking for sys/dir.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/tree.h usability... yes
checking sys/tree.h presence... yes
checking for sys/tree.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking for library containing sys_signame... none required
checking for fmod in -lm... yes
checking for library containing flock... none required
checking for dirfd... (cached) yes
checking for flock... yes
checking for prctl... no
checking for proc_pidinfo... no
checking for sysconf... (cached) yes
checking for asprintf... (cached) yes
checking for cfmakeraw... yes
checking for clock_gettime... (cached) yes
checking for closefrom... (cached) yes
checking for explicit_bzero... yes
checking for fgetln... yes
checking for freezero... no
checking for getdtablecount... no
checking for getdtablesize... (cached) yes
checking for getline... (cached) yes
checking for getprogname... yes
checking for memmem... yes
checking for setenv... (cached) yes
checking for setproctitle... (cached) yes
checking for strcasestr... (cached) yes
checking for strlcat... (cached) yes
checking for strlcpy... (cached) yes
checking for strndup... (cached) yes
checking for strsep... (cached) yes
checking for working strnlen... (cached) yes
checking for working strtonum... yes
checking for working reallocarray... yes
checking for working recallocarray... no
checking for library containing clock_gettime... none required
checking for libevent_core >= 2... yes
checking event2/event.h usability... yes
checking event2/event.h presence... yes
checking for event2/event.h... yes
checking for tinfo... yes
checking utempter.h usability... yes
checking utempter.h presence... yes
checking for utempter.h... yes
checking for library containing utempter_add_record... -lutempter
checking utf8proc.h usability... no
checking utf8proc.h presence... no
checking for utf8proc.h... no
configure: error: "utf8proc not found"
===>  Script "configure" failed unexpectedly.
Please report the problem to mat@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/sysutils/tmux/work/tmux-3.2a/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/tmux
=>> Cleaning up wrkdir
===>  Cleaning for tmux-3.2a
build of sysutils/tmux | tmux-3.2a ended at Thu Oct 28 01:35:59 UTC 2021
build time: 00:00:04
!!! build failure encountered !!!
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-10-28 02:58:05 UTC
Thank you for the report Alastair

Could you include the config.log file in the ports wrksrc (path is shown in the build output failure), as an attachment and compressed if necessary
Comment 2 Alastair Hogge 2021-10-28 03:48:26 UTC
Created attachment 229086 [details]
config.log (output from GNU autotools configure)
Comment 3 Alastair Hogge 2021-10-28 03:50:18 UTC
(In reply to Kubilay Kocak from comment #1)
Shit, knew I forgot something, thanks for reminding me. The Attachments for this bug report has the log.