[package - 132i386-default][audio/milkytracker] Failed for milkytracker-1.04.00_2 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 11 Aug 2023 08:14:13 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:     ehaupt@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy15/data/132i386-default/f68709c1b069/logs/milkytracker-1.04.00_2.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=132i386-default&build=f68709c1b069
Log:

=>> Building audio/milkytracker
build started at Fri Aug 11 08:14:01 UTC 2023
port directory: /usr/ports/audio/milkytracker
package name: milkytracker-1.04.00_2
building for: FreeBSD 132i386-default-job-07 13.2-RELEASE-p2 FreeBSD 13.2-RELEASE-p2 i386
maintained by: ehaupt@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1302001
Job Id: 07

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p2
UNAME_r=13.2-RELEASE-p2
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
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/132i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/132i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/132i386-default/ref/.p
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 milkytracker-1.04.00_2:
     DOCS=on: Build and/or install documentation
     RTMIDI=on: MIDI input support via rtmidi
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ehaupt@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/audio/milkytracker/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/milkytracker/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/audio/milkytracker/work/.cache  HOME=/wrkdirs/usr/ports/audio/milkytracker/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/audio/milkytracker/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/audio/milkytracker/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/audio/milkytracker/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/milkytracker/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/audio/milkytracker/work/.cache  HOME=/wrkdirs/usr/ports/audio/milkytracker/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/audio/milkytracker/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/audio/milkytracker/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/audio/milkytracker/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/us
r/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="" CMAKE_BUILD_TYPE="release" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/milkytracker"  EXAMPLESDIR="share/examples/milkytracker"  DATADIR="share/milkytracker"  WWWDIR="www/milkytracker"  ETCDIR="etc/milkytracker"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/milkytracker DOCSDIR=/usr/local/share/doc/milkytracker EXAMPLESDIR=/usr/local/share/examples/milkytracker  WWWDIR=/usr/local/www/milkytracker ETCDIR=/usr/local/etc/milkytracker
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.2-RELEASE-p2
OSREL=13.2
OSVERSION=1302001
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  524288
stack size              (kbytes, -s)  65536
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)  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   >============================
===>  License BSD3CLAUSE GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   milkytracker-1.04.00_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.5.pkg
[132i386-default-job-07] Installing pkg-1.20.5...
[132i386-default-job-07] Extracting pkg-1.20.5: .......... done
===>   milkytracker-1.04.00_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of milkytracker-1.04.00_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE GPLv3+ accepted by the user
===> Fetching all distfiles required by milkytracker-1.04.00_2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE GPLv3+ accepted by the user
===> Fetching all distfiles required by milkytracker-1.04.00_2 for building
=> SHA256 Checksum OK for milkytracker-MilkyTracker-v1.04.00_GH0.tar.gz.
=> SHA256 Checksum OK for 7e9171488fc47ad2de646a4536794fda21e7303d.patch.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE GPLv3+ accepted by the user
===> Fetching all distfiles required by milkytracker-1.04.00_2 for building
===>  Extracting for milkytracker-1.04.00_2
=> SHA256 Checksum OK for milkytracker-MilkyTracker-v1.04.00_GH0.tar.gz.
=> SHA256 Checksum OK for 7e9171488fc47ad2de646a4536794fda21e7303d.patch.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for milkytracker-1.04.00_2
===>  Applying distribution patches for milkytracker-1.04.00_2
===>  Applying FreeBSD patches for milkytracker-1.04.00_2 from /usr/ports/audio/milkytracker/files
===========================================================================
=======================<phase: build-depends  >============================
===>   milkytracker-1.04.00_2 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.26.1_1.pkg
[132i386-default-job-07] Installing cmake-core-3.26.1_1...
<snip>
to use this library for applications that need to monitor activity of a lot
of files.
=====
Message from wayland-1.22.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.5.0:

--
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
===>   milkytracker-1.04.00_2 depends on file: /usr/local/bin/sdl2-config - found
===>   Returning to build of milkytracker-1.04.00_2
===========================================================================
=======================<phase: lib-depends    >============================
===>   milkytracker-1.04.00_2 depends on shared library: libjack.so - not found
===>   Installing existing package /packages/All/jackit-1.9.22_1.pkg
[132i386-default-job-07] Installing jackit-1.9.22_1...
[132i386-default-job-07] `-- Installing dbus-1.14.6,1...
[132i386-default-job-07] |   `-- Installing libICE-1.1.0_1,1...
[132i386-default-job-07] |   `-- Extracting libICE-1.1.0_1,1: .......... done
[132i386-default-job-07] |   `-- Installing libSM-1.2.3,1...
[132i386-default-job-07] |   `-- Extracting libSM-1.2.3,1: .......... done
===> Creating groups.
Creating group 'messagebus' with gid '556'.
===> Creating users
Creating user 'messagebus' with uid '556'.
[132i386-default-job-07] `-- Extracting dbus-1.14.6,1: ......... done
[132i386-default-job-07] `-- Installing libsamplerate-0.2.2_1...
[132i386-default-job-07] |   `-- Installing libsndfile-1.2.0_1...
[132i386-default-job-07] |   | `-- Installing flac-1.4.3,1...
[132i386-default-job-07] |   |   `-- Installing libogg-1.3.5,4...
[132i386-default-job-07] |   |   `-- Extracting libogg-1.3.5,4: .......... done
[132i386-default-job-07] |   | `-- Extracting flac-1.4.3,1: .......... done
[132i386-default-job-07] |   | `-- Installing lame-3.100_4...
[132i386-default-job-07] |   | `-- Extracting lame-3.100_4: .......... done
[132i386-default-job-07] |   | `-- Installing libvorbis-1.3.7_2,3...
[132i386-default-job-07] |   | `-- Extracting libvorbis-1.3.7_2,3: .......... done
[132i386-default-job-07] |   | `-- Installing mpg123-1.31.3_1...
[132i386-default-job-07] |   | `-- Extracting mpg123-1.31.3_1: .......... done
[132i386-default-job-07] |   | `-- Installing opus-1.4...
[132i386-default-job-07] |   | `-- Extracting opus-1.4: .......... done
[132i386-default-job-07] |   `-- Extracting libsndfile-1.2.0_1: .......... done
[132i386-default-job-07] `-- Extracting libsamplerate-0.2.2_1: .......... done
[132i386-default-job-07] `-- Installing libsysinfo-0.0.3_2...
[132i386-default-job-07] `-- Extracting libsysinfo-0.0.3_2: ......... done
[132i386-default-job-07] `-- Installing py39-dbus-1.3.2...
[132i386-default-job-07] |   `-- Installing dbus-glib-0.112...
[132i386-default-job-07] |   | `-- Installing glib-2.76.4,2...
[132i386-default-job-07] |   |   `-- Installing libiconv-1.17...
[132i386-default-job-07] |   |   `-- Extracting libiconv-1.17: .......... done
[132i386-default-job-07] |   |   `-- Installing pcre2-10.42...
[132i386-default-job-07] |   |   `-- Extracting pcre2-10.42: .......... done
[132i386-default-job-07] |   | `-- Extracting glib-2.76.4,2: .......... done
[132i386-default-job-07] |   `-- Extracting dbus-glib-0.112: .......... done
[132i386-default-job-07] |   `-- Installing pydbus-common-1.3.2...
[132i386-default-job-07] |   `-- Extracting pydbus-common-1.3.2: .......... done
[132i386-default-job-07] `-- Extracting py39-dbus-1.3.2: .......... done
[132i386-default-job-07] Extracting jackit-1.9.22_1: .......... 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 jackit-1.9.22_1:

--
The new JACK server comes with a DBUS control interface:

$ jack_control help
$ jack_control ds oss
$ jack_control dp
$ jack_control eps realtime False
$ jack_control start

Only root can grant real-time priority to processes for now, using rtprio(1).
Upcoming FreeBSD releases will have a MAC policy with a realtime user group.

Memory locking has to be allowed in /etc/login.conf or ~/.login_conf. Set the
resource limit ":memorylocked=unlimited:" and don't forget to run

# cap_mkdb /etc/login.conf

It's still possible to start JACK server as an RC service for a dedicated user.
Note that only one JACK server can be run at a time. An /etc/rc.conf example:

jackd_enable="YES"
jackd_user="joe"
jackd_rtprio="YES"
jackd_args="-R -doss -r48000 -p1024 -n1 -w16 \
            --capture /dev/dsp0 --playback /dev/dsp0"

Official JACK example clients and tools are available as jack-example-tools.

JACK 1.9.22 introduces a latency correction fix.
Latency correction parameters have to be measured again after an update.
===>   milkytracker-1.04.00_2 depends on shared library: libjack.so - found (/usr/local/lib/libjack.so)
===>   Returning to build of milkytracker-1.04.00_2
===>   milkytracker-1.04.00_2 depends on shared library: liblhasa.so - not found
===>   Installing existing package /packages/All/lhasa-0.3.1.pkg
[132i386-default-job-07] Installing lhasa-0.3.1...
[132i386-default-job-07] Extracting lhasa-0.3.1: .......... done
===>   milkytracker-1.04.00_2 depends on shared library: liblhasa.so - found (/usr/local/lib/liblhasa.so)
===>   Returning to build of milkytracker-1.04.00_2
===>   milkytracker-1.04.00_2 depends on shared library: libzzip.so - not found
===>   Installing existing package /packages/All/zziplib-0.13.72_1.pkg
[132i386-default-job-07] Installing zziplib-0.13.72_1...
[132i386-default-job-07] Extracting zziplib-0.13.72_1: .......... done
===>   milkytracker-1.04.00_2 depends on shared library: libzzip.so - found (/usr/local/lib/libzzip.so)
===>   Returning to build of milkytracker-1.04.00_2
===>   milkytracker-1.04.00_2 depends on shared library: libasound.so - not found
===>   Installing existing package /packages/All/alsa-lib-1.2.2_1.pkg
[132i386-default-job-07] Installing alsa-lib-1.2.2_1...
[132i386-default-job-07] Extracting alsa-lib-1.2.2_1: .......... done
=====
Message from alsa-lib-1.2.2_1:

--
===>   NOTICE:

The alsa-lib 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
===>   milkytracker-1.04.00_2 depends on shared library: libasound.so - found (/usr/local/lib/libasound.so)
===>   Returning to build of milkytracker-1.04.00_2
===>   milkytracker-1.04.00_2 depends on shared library: librtmidi.so - not found
===>   Installing existing package /packages/All/rtmidi-6.0.0.pkg
[132i386-default-job-07] Installing rtmidi-6.0.0...
[132i386-default-job-07] Extracting rtmidi-6.0.0: ......... done
===>   milkytracker-1.04.00_2 depends on shared library: librtmidi.so - found (/usr/local/lib/librtmidi.so)
===>   Returning to build of milkytracker-1.04.00_2
===>   milkytracker-1.04.00_2 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for milkytracker-1.04.00_2
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/audio/milkytracker/work/.build
-- The C compiler identification is Clang 14.0.5
-- The CXX compiler identification is Clang 14.0.5
-- 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
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:172 (cmake_policy):
  The OLD behavior for policy CMP0004 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13")  
-- Could NOT find LHASA (missing: LHASA_INCLUDE_DIR) 
-- Found ZZIPLIB: /usr/local/lib/libzzip.so  
-- Found ALSA: /usr/local/lib/libasound.so (found version "1.2.2") 
-- Found JACK: /usr/local/lib/libjack.so  
CMake Error at cmake/FindRTMIDI.cmake:51 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:201 (find_package)


-- Found RTMIDI: /usr/local/lib/librtmidi.so (Required is at least version "2.1.0") 
-- Enabled MIDI support (ALSA/RtMidi)
LHA decompressor disabled (lhasa unavailable)
-- Enabled GZIP decompressor
-- Enabled ZIP decompressor
-- Enabled ALSA support
-- Enabled JACK support
-- Enabled SDL2 support
-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make: stopped in /usr/ports/audio/milkytracker