+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/amule-2.3.3nb4/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/amule-2.3.3nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for aMule-2.3.3.tar.bz2
=> Checksum SHA512 OK for aMule-2.3.3.tar.bz2
===> Installing dependencies for amule-2.3.3nb4
==========================================================================
The supported build options for amule are:

	amule-alc amule-alcc amule-cas amule-cmd amule-daemon
	amule-ed2k amule-gui amule-monolithic amule-webserver
	amule-wxcas debug geoip upnp

The currently selected options are:

	amule-ed2k amule-monolithic geoip upnp

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.amule (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
amule-2.3.3nb4.  Their current value is shown below:

        * JPEG_DEFAULT = libjpeg-turbo

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo

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
`/opt/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.74.3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb7
=> Tool dependency gmake>=3.81: found gmake-4.4
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.21nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1
=> Build dependency gcc12>=12.2.0: found gcc12-12.2.0
=> Full dependency perl>=5.0: found perl-5.36.0
=> Full dependency GeoIP>=1.3.4nb1: found GeoIP-1.6.12nb1
=> Full dependency libupnp>=1.6.14: found libupnp-1.14.7
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.21
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency cryptopp>=8.7.0: found cryptopp-8.7.0
=> Full dependency wxGTK30>=3.0.5.1nb8: found wxGTK30-3.0.5.1nb8
=> Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0
===> Overriding tools for amule-2.3.3nb4
===> Extracting for amule-2.3.3nb4
===> Patching for amule-2.3.3nb4
=> Applying pkgsrc patches for amule-2.3.3nb4
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/amule/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/amule/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.11 2013/10/20 18:00:57 joerg Exp $
|
|* pthread flags portabilities
|* avoid check for gettext>=0.11.5
|* fixes to install all supported L10N man pages
|
|--- configure.orig	2011-11-11 20:59:26.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 3782 (offset 437 lines).
Hunk #2 succeeded at 3799 (offset 437 lines).
Hunk #3 succeeded at 14636 (offset 877 lines).
Hunk #4 succeeded at 14236 (offset 437 lines).
Hunk #5 succeeded at 14694 (offset 877 lines).
Hunk #6 succeeded at 14272 (offset 437 lines).
Hunk #7 succeeded at 14730 (offset 877 lines).
Hunk #8 succeeded at 14308 (offset 437 lines).
Hunk #9 succeeded at 14766 (offset 877 lines).
Hunk #10 succeeded at 14344 (offset 437 lines).
Hunk #11 succeeded at 14802 (offset 877 lines).
Hunk #12 succeeded at 14380 (offset 437 lines).
Hunk #13 succeeded at 14838 (offset 877 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/amule/patches/patch-src_OScopeCtrl.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/net/amule/patches/patch-src_OScopeCtrl.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_OScopeCtrl.cpp,v 1.1 2013/05/04 12:59:48 joerg Exp $
|
|--- src/OScopeCtrl.cpp.orig	2013-05-03 11:38:05.000000000 +0000
|+++ src/OScopeCtrl.cpp
--------------------------
Patching file src/OScopeCtrl.cpp using Plan A...
Hunk #1 succeeded at 23.
done
===> Creating toolchain wrappers for amule-2.3.3nb4
===> Configuring for amule-2.3.3nb4
=> 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
=> Replacing Perl interpreter in src/libs/ec/file_generator.pl src/utils/scripts/kadnodescreate.pl src/utils/scripts/stats.pl src/utils/scripts/mldonkey_importer.pl src/utils/xas/xas.pl.
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-wx-version
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking if this is a FreeBSD 4 or earlier system... no
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for x86_64-sun-solaris2.11-gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) /usr/bin/nawk
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for a sed that does not truncate output... /usr/bin/sed
checking for x86_64-sun-solaris2.11-ranlib... ranlib
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-ld... no
checking for ld... ld
checking pkg-config is at least version 0.9.0... yes
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 for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for zlib >= 1.1.4... yes (version 1.2.13)
checking GeoIP.h usability... yes
checking GeoIP.h presence... yes
checking for GeoIP.h... yes
checking for GeoIP_open in -lGeoIP... yes
checking for the --with-toolkit option... will be automatically detected
checking for the --with-wxshared option... will be automatically detected
checking for the --with-wxdebug option... will be automatically detected
checking for the --with-wxversion option... will be automatically detected
checking for wx-config... /opt/local/libexec/wx-3.0/wx-config
checking for wxWidgets version >= 2.8.12 (--unicode=yes)... yes (version 3.0.5)
checking for wxWidgets static library... no
checking if wxWidgets was built with UNICODE enabled... yes
checking if wxWidgets was built in DEBUG mode... no
checking if wxWidgets was built in STATIC mode... no
checking which wxWidgets toolkit was selected... gtk3
checking for libupnp version >= 1.6.6... yes (version 1.14.7)
checking for crypto++ version >= 5.5... yes (version 8.7)
checking whether the C++ compiler (g++) uses strict aliasing... yes
checking that wxWidgets has support for large files... yes
checking for exception-handling... yes
checking typeinfo usability... yes
checking typeinfo presence... yes
checking for typeinfo... yes
checking for <cxxabi.h> and __cxa_demangle()... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.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 for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking mntent.h usability... no
checking mntent.h presence... no
checking for mntent.h... no
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 stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.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/mntent.h usability... yes
checking sys/mntent.h presence... yes
checking for sys/mntent.h... yes
checking sys/mnttab.h usability... yes
checking sys/mnttab.h presence... yes
checking for sys/mnttab.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking whether gcc needs -traditional... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking for library containing getmntent... none required
checking whether lstat accepts an empty string... no
checking whether lstat correctly handles trailing slash... (cached) yes
checking for working memcmp... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for __argz_count... no
checking for __argz_next... no
checking for __argz_stringify... no
checking for endpwent... yes
checking for floor... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyaddr... no
checking for gethostbyname... no
checking for gethostname... yes
checking for getopt_long... yes
checking for getpass... yes
checking for getrlimit... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for localeconv... yes
checking for memmove... yes
checking for mempcpy... no
checking for memset... yes
checking for mkdir... yes
checking for nl_langinfo... yes
checking for pow... yes
checking for select... yes
checking for setlocale... yes
checking for setrlimit... yes
checking for sigaction... yes
checking for socket... no
checking for sqrt... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strtoul... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for fallocate... no
checking for SYS_fallocate... no
checking for posix_fallocate... yes
checking for msgfmt... /home/pbulk/build/net/amule/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/net/amule/work/.tools/bin/msgfmt
checking for xgettext... /opt/local/bin/xgettext
checking for msgmerge... /opt/local/bin/msgmerge
checking for strerror in -lcposix... no
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... no
checking for shared library run path origin... done
checking for argz.h... (cached) no
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for nl_types.h... (cached) yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... no
checking for fgets_unlocked... no
checking for getc_unlocked... yes
checking for getcwd... (cached) yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... (cached) no
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... (cached) yes
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking for tsearch... yes
checking for __argz_count... (cached) no
checking for __argz_stringify... (cached) no
checking for __argz_next... (cached) no
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... no
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for requested languages... all
checking ansidecl.h usability... yes
checking ansidecl.h presence... yes
checking for ansidecl.h... yes
checking bfd.h usability... yes
checking bfd.h presence... yes
checking for bfd.h... yes
checking for libraries required to link with bfd... not found
configure: WARNING:
        Cannot link to the library containing the bfd functions.
checking for <execinfo.h> and backtrace()... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for docdir... ${datarootdir}/doc/${PACKAGE_TARNAME}
checking for SVNDATE... None required
checking denoising level... 4
checking whether ccache support should be added... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/man/Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/pixmaps/Makefile
config.status: creating src/pixmaps/flags_xpm/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/ec/Makefile
config.status: creating src/libs/ec/cpp/Makefile
config.status: creating src/libs/common/Makefile
config.status: creating src/utils/Makefile
config.status: creating src/utils/aLinkCreator/Makefile
config.status: creating src/utils/aLinkCreator/docs/Makefile
config.status: creating src/utils/aLinkCreator/src/Makefile
config.status: creating src/utils/cas/Makefile
config.status: creating src/utils/cas/docs/Makefile
config.status: creating src/utils/fileview/Makefile
config.status: creating src/utils/plasmamule/Makefile
config.status: creating src/utils/wxCas/Makefile
config.status: creating src/utils/wxCas/docs/Makefile
config.status: creating src/utils/wxCas/src/Makefile
config.status: creating src/utils/xas/Makefile
config.status: creating src/utils/xas/autostart-xas
config.status: creating src/utils/xas/docs/Makefile
config.status: creating src/skins/Makefile
config.status: creating src/webserver/Makefile
config.status: creating src/webserver/src/Makefile
config.status: creating src/webserver/default/Makefile
config.status: creating unittests/Makefile
config.status: creating unittests/muleunit/Makefile
config.status: creating unittests/tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing denoiser commands
"1{x;s/.*/1/;x;};/^[	 ]* ...": 2: unexpected EOF (pending }'s)
configure: WARNING: unrecognized options: --with-wx-version


  Configure script has finished system check.

  Configured aMule 2.3.3 for 'x86_64-sun-solaris2.11'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /opt/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    no
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  Should aMule be compiled with UPnP support?                yes
  Should aMule be compiled with IP2country support?          yes
  Should aMule monolithic application be built?              yes
  Should aMule daemon version be built?                      no
  Should aMule remote gui be built?                          no

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no
  Should xas XChat2 plugin be installed?                     yes
  Should plasmaMule plasma-applet be built?                  no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Should aMule file viewer for console be built?             no
  Libraries aMule will use to build:
                             wxWidgets             3.0.5 (gtk3,shared)
                             crypto++              8.7 (in /home/pbulk/build/net/amule/work/.buildlink)
                             libupnp               1.14.7 (in /opt/local)
                             libintl               system
                             libGeoIP              system
                             zlib                  1.2.13


 *** Warnings during configuration ***

* Cannot link to the library containing the bfd functions.
=> Overriding intltool.