+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/apcupsd-3.14.14nb6/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/apcupsd-3.14.14nb6/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for apcupsd-3.14.14.tar.gz => Checksum SHA512 OK for apcupsd-3.14.14.tar.gz ===> Installing dependencies for apcupsd-3.14.14nb6 ========================================================================== The supported build options for apcupsd are: cgi The currently selected options are: cgi You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.apcupsd (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, apcupsd-3.14.14nb6. Their current value is shown below: * JPEG_DEFAULT = jpeg * LIBUSB_TYPE = compat * VARBASE = /var Based on these variables, the following variables have been set: * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency makedepend-[0-9]*: found makedepend-1.0.9 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency gd>=2.3.3nb14: found gd-2.3.3nb14 => Full dependency libusb-compat>=0.1.6rc2: found libusb-compat-0.1.8 => Full dependency brotli>=1.0.1: found brotli-1.1.0 => Full dependency bzip2>=1.0.1: found bzip2-1.0.8 => Full dependency expat>=1.95.7: found expat-2.6.3 => Full dependency fontconfig>=2.11.91: found fontconfig-2.15.0 => Full dependency freetype2>=2.13.0: found freetype2-2.13.3 => Full dependency fribidi>=0.19.1: found fribidi-1.0.16 => Full dependency glib2>=2.4.0: found glib2-2.82.2 => Full dependency graphite2>=1.2: found graphite2-1.3.14nb3 => Full dependency harfbuzz>=2.1.1: found harfbuzz-10.1.0 => Full dependency jbigkit>=2.0: found jbigkit-2.1nb1 => Full dependency jpeg>=8nb1: found jpeg-9f => Full dependency libffi>=1.20: found libffi-3.4.6 => Full dependency libimagequant>=4.2.0: found libimagequant-4.3.3 => Full dependency libusb1>=1.0.9: found libusb1-1.0.27 => Full dependency libwebp>=0.2.0: found libwebp-1.4.0 => Full dependency pcre2>=10.21: found pcre2-10.44 => Full dependency png>=1.2.4: found png-1.6.44 => Full dependency raqm>=0.10.1: found raqm-0.10.2 => Full dependency tiff>=3.6.1: found tiff-4.7.0 => Full dependency xz>=5.0.0: found xz-5.6.3 => Full dependency zlib>=1.1.4: found zlib-1.3.1 ===> Overriding tools for apcupsd-3.14.14nb6 ===> Extracting for apcupsd-3.14.14nb6 ===> Patching for apcupsd-3.14.14nb6 => Applying pkgsrc patches for apcupsd-3.14.14nb6 => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ab => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ab Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ab,v 1.7 2020/09/19 13:50:48 taca Exp $ | |* Accept connection from localhost default. |* Use proper directory. | |--- platforms/etc/apcupsd.conf.in.orig 2007-06-15 22:21:18.000000000 +0200 |+++ platforms/etc/apcupsd.conf.in 2007-06-15 22:28:16.000000000 +0200 -------------------------- Patching file platforms/etc/apcupsd.conf.in using Plan A... Hunk #1 succeeded at 207 (offset 27 lines). Hunk #2 succeeded at 218 (offset 27 lines). Hunk #3 succeeded at 226 (offset -5 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ac => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ac,v 1.5 2020/09/19 13:50:48 taca Exp $ | |* Use proper directory. | |--- include/defines.h.orig 2006-11-15 17:33:07.000000000 +0100 |+++ include/defines.h 2006-11-15 17:33:22.000000000 +0100 -------------------------- Patching file include/defines.h using Plan A... Hunk #1 succeeded at 50 (offset -2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ad => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ad Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ad,v 1.6 2020/09/19 13:50:48 taca Exp $ | |* apccontrol script. | |--- platforms/netbsd/apccontrol.in.orig 2012-04-21 20:53:17.000000000 +0000 |+++ platforms/netbsd/apccontrol.in -------------------------- (Creating file platforms/netbsd/apccontrol.in...) Patching file platforms/netbsd/apccontrol.in using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ae => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ae Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ae,v 1.8 2020/09/19 13:50:48 taca Exp $ | |* Fix for pkgsrc environment. |* Add Dragonfly support. |* Add apccontrol script on NetBSD. | |--- autoconf/configure.in.orig 2010-09-02 16:23:39.000000000 +0200 |+++ autoconf/configure.in 2011-08-01 15:40:05.000000000 +0200 -------------------------- Patching file autoconf/configure.in using Plan A... Hunk #1 succeeded at 125 (offset 36 lines). Hunk #2 succeeded at 130 (offset -10 lines). Hunk #3 succeeded at 946 (offset -37 lines). Hunk #4 succeeded at 1114 (offset -10 lines). Hunk #5 succeeded at 1121 (offset -37 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-af => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-af Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-af,v 1.9 2020/09/19 13:50:48 taca Exp $ | |* Fix installation for pkgsrc. | |--- src/Makefile.orig 2014-11-04 19:17:43.000000000 +0000 |+++ src/Makefile -------------------------- Patching file src/Makefile using Plan A... Hunk #1 succeeded at 27. Hunk #2 succeeded at 49. done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ag => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ag Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ag,v 1.6 2020/09/19 13:50:48 taca Exp $ | |* Fix installation for pkgsrc. | |--- platforms/etc/Makefile.orig 2011-08-01 16:13:04.000000000 +0200 |+++ platforms/etc/Makefile 2011-08-01 16:13:13.000000000 +0200 -------------------------- Patching file platforms/etc/Makefile using Plan A... Hunk #1 succeeded at 7. done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ah => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ah Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ah,v 1.5 2020/09/19 13:50:48 taca Exp $ | |Use standard NetBSD rc(8) scheme. | |--- platforms/netbsd/apcupsd.in.orig 2002-05-28 13:34:53.000000000 +0000 |+++ platforms/netbsd/apcupsd.in -------------------------- Patching file platforms/netbsd/apcupsd.in using Plan A... Hunk #1 succeeded at 1. done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ai => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ai Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ai,v 1.6 2020/09/19 13:50:48 taca Exp $ | |* Fix installation for pkgsrc. | |--- platforms/netbsd/Makefile.orig 2011-08-01 15:45:29.000000000 +0200 |+++ platforms/netbsd/Makefile 2011-08-01 15:45:49.000000000 +0200 -------------------------- Patching file platforms/netbsd/Makefile using Plan A... Hunk #1 succeeded at 7. done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-aj => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-aj Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aj,v 1.10 2020/09/19 13:50:48 taca Exp $ | |* Fix for pkgsrc environment. |* Add Dragonfly support. |* Add apccontrol script on NetBSD. | |--- configure.orig 2015-01-04 20:35:43.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 2260 (offset -6 lines). Hunk #2 succeeded at 4052 (offset -6 lines). Hunk #3 succeeded at 12974 (offset -134 lines). Hunk #4 succeeded at 13233 (offset -6 lines). Hunk #5 succeeded at 13139 (offset -134 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-an => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-an Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-an,v 1.9 2020/09/19 13:50:48 taca Exp $ | |* Rename upsimage.cgi to apcupsimage.cgi. |* Fix installation for pkgsrc. | |--- src/cgi/Makefile.orig 2014-11-04 19:17:43.000000000 +0000 |+++ src/cgi/Makefile -------------------------- Patching file src/cgi/Makefile using Plan A... Hunk #1 succeeded at 17. Hunk #2 succeeded at 30. Hunk #3 succeeded at 41. done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ao => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ao Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ao,v 1.8 2020/09/19 13:50:48 taca Exp $ | |* Fix installation for pkgsrc. | |--- platforms/Makefile.orig 2011-08-01 15:55:53.000000000 +0200 |+++ platforms/Makefile 2011-08-01 15:56:26.000000000 +0200 -------------------------- Patching file platforms/Makefile using Plan A... Hunk #1 succeeded at 9. done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ap => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/apcupsd/patches/patch-ap Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ap,v 1.5 2020/09/19 13:50:48 taca Exp $ | |* Fix installation for pkgsrc. | |--- platforms/sun/Makefile.orig 2008-06-01 23:57:56.000000000 +0200 |+++ platforms/sun/Makefile 2012-02-19 19:20:10.000000000 +0100 -------------------------- Patching file platforms/sun/Makefile using Plan A... Hunk #1 succeeded at 12. done ===> Creating toolchain wrappers for apcupsd-3.14.14nb6 ===> Configuring for apcupsd-3.14.14nb6 => Fixing conflicting STRIP variable name => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version checking for true... /home/pbulk/build/sysutils/apcupsd/work/.tools/bin/true checking for false... /home/pbulk/build/sysutils/apcupsd/work/.tools/bin/false checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for x86_64-redhat-linux-gcc... cc 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 how to run the C preprocessor... cc -E checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk checking for gawk... /bin/gawk checking for library containing strerror... none required checking for shutdown... /sbin/shutdown checking for mail... no configure: WARNING: mail program not found ! checking for wall... /bin/wall checking for sh... /bin/bash checking for GNU make... make checking for x86_64-redhat-linux-ranlib... no checking for ranlib... ranlib checking for rm... /bin/rm checking for cp... /bin/cp checking for echo... (cached) echo checking for ln... /bin/ln checking for sed... /bin/sed checking for x86_64-redhat-linux-ar... no checking for ar... ar checking for mv... /bin/mv checking for x86_64-redhat-linux-windres... no checking for windres... no checking for x86_64-redhat-linux-strip... no checking for x86_64-redhat-linux-true... no checking for strip... strip checking for rst2html... no checking for rst2html.py... no checking for rst2pdf... no checking for abort... yes checking for calloc... yes checking for getpid... yes checking for rewind... yes checking for signal... yes checking for strerror... yes checking for strncmp... yes checking for strncpy... yes checking for vfprintf... yes checking for snprintf... yes checking for vsnprintf... yes checking for strlcpy... no checking for strlcat... no checking for accept4... yes checking for fork... yes checking for ioctl... yes checking for kill... yes checking for select... yes checking for setsid... yes checking for tcgetattr... yes checking for syslog... yes checking for library containing nanosleep... none required checking for strftime... yes checking for library containing socket... none required checking for library containing gethostname... none required checking for library containing gethostbyname... none required checking for library containing gethostbyname_r... none required checking for library containing inet_addr... none required checking for strchr... yes using libc's strchr checking for strstr... yes checking for strcasecmp... yes checking for memmove... yes checking for getopt_long... yes checking for inet_pton... yes checking for localtime_r... yes checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking whether stat file-mode macros are broken... no checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for uid_t in sys/types.h... (cached) yes checking for socklen_t... yes checking for X... no checking whether #! works in shell scripts... yes Using halpolicydir=/usr/share/hal/fdi/policy/20thirdparty checking for gdImagePng in -lgd... yes using PNG file format. checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes Using Linux USB driver. checking pkg-config is at least version 0.9.0... no checking how many arguments gethostbyname_r() takes... six checking if libsupc++ is required... no checking whether C compiler accepts -fno-exceptions... yes checking whether C compiler accepts -fno-rtti... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wno-unused-result... yes checking for wait... yes checking for waitpid... yes checking for wait3... yes checking for snprintf... (cached) yes Enabling cgi program support... configure: creating ./config.status config.status: creating autoconf/variables.mak config.status: WARNING: 'autoconf/variables.mak.in' seems to ignore the --datarootdir setting config.status: creating platforms/apccontrol config.status: creating platforms/etc/changeme config.status: creating platforms/etc/commfailure config.status: creating platforms/etc/commok config.status: creating platforms/etc/offbattery config.status: creating platforms/etc/onbattery config.status: creating platforms/etc/apcupsd.conf config.status: creating examples/safe.apccontrol config.status: creating platforms/redhat/apcupsd config.status: creating platforms/redhat/apcupsd.spec config.status: creating platforms/redhat/awkhaltprog config.status: creating src/cgi/cgiconfig.h config.status: creating include/apcconfig.h Configuration on Sat Dec 21 00:27:48 GMT 2024: Host: x86_64-redhat-linux-gnu -- redhat (Green Apcupsd version: 3.14.14 (31 May 2016) Source code location: . Install binaries: /usr/pkg/sbin Install config files: /usr/pkg/etc/apcupsd Install man files: /usr/pkg/man Nologin file in: /etc PID directory: /var/run LOG dir (events, status) /var/db/apcupsd.events LOCK dir (for serial port) /var/spool/lock Power Fail dir /usr/pkg/etc/apcupsd Compiler: c++ 8.5.0 Preprocessor flags: -I/usr/pkg/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include/freetype2 Compiler flags: -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include/freetype2 -fno-exceptions -fno-rtti -Wall -Wno-unused-result Linker: c++ Linker flags: -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 Host and version: redhat (Green Shutdown Program: /sbin/shutdown Port/Device: /dev/tty01 Network Info Port (CGI): 3551 UPSTYPE apcsmart UPSCABLE smart drivers (no-* are disabled): apcsmart dumb net linux-usb snmp pcnet modbus no-modbus-usb no-test enable-nis: yes with-nisip: 0.0.0.0 enable-cgi: yes with-cgi-bin: /usr/pkg/libexec/cgi-bin with-libwrap: enable-pthreads: yes enable-dist-install: yes enable-gapcmon: no enable-apcagent: no Configuration complete: Run 'make' to build apcuspd.