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

	doc

The currently selected options are:

	doc

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

	PKG_OPTIONS.frr (not defined)

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

        * CURSES_DEFAULT = ncurses
        * PYTHON_VERSION_DEFAULT = 312
        * VARBASE = /var

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

        * CURSES_TYPE = ncurses
        * PYPACKAGE = python312
        * TERMCAP_TYPE = curses

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 py312-sphinx>=7.0: found py312-sphinx-8.1.3
=> Tool dependency cmocka>=1.1.5: found cmocka-1.1.7
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency gtexinfo>=3.12: found gtexinfo-7.1.1nb1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.0: found perl-5.40.0nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency json-c>=0.14: found json-c-0.17
=> Full dependency libcares>=1.6.0: found libcares-1.34.3
=> Full dependency libyang2>=2.1.128: found libyang2-2.1.128
=> Full dependency protobuf-c>=1.5.0nb7: found protobuf-c-1.5.0nb7
=> Full dependency python312>=3.12: found python312-3.12.8nb1
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency abseil>=20220623.0: found abseil-20240722.0
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency pcre2>=10.21: found pcre2-10.44
=> Full dependency protobuf>=24.4: found protobuf-28.3
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for frr-9.1nb4
===> Extracting for frr-9.1nb4
===> Patching for frr-9.1nb4
=> Applying pkgsrc patches for frr-9.1nb4
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/frr/patches/patch-configure.ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/frr/patches/patch-configure.ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.ac,v 1.1 2024/01/09 20:17:41 chopps Exp $
|
|	use standard single equal comparison
|
|--- configure.ac.orig	2023-11-27 13:45:33.000000000 +0000
|+++ configure.ac
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 1734.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/frr/patches/patch-lib_frr__pthread.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/frr/patches/patch-lib_frr__pthread.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib_frr__pthread.c,v 1.2 2024/01/09 20:17:41 chopps Exp $
|
|	avoid tripping over NULL pointer
|
|--- lib/frr_pthread.c.orig	2023-11-27 13:45:33.000000000 +0000
|+++ lib/frr_pthread.c
--------------------------
Patching file lib/frr_pthread.c using Plan A...
Hunk #1 succeeded at 128.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/frr/patches/patch-pkgsrc_zebra.sh.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/frr/patches/patch-pkgsrc_zebra.sh.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-pkgsrc_zebra.sh.in,v 1.2 2024/01/09 20:17:41 chopps Exp $
|
|	don't hard-code quagga.quagga in chown command in
|	pkgsrc/zebra.sh.in.
|
|--- pkgsrc/zebra.sh.in.orig	2023-11-27 13:45:33.000000000 +0000
|+++ pkgsrc/zebra.sh.in
--------------------------
Patching file pkgsrc/zebra.sh.in using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/frr/patches/patch-zebra_kernel__socket.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/frr/patches/patch-zebra_kernel__socket.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-zebra_kernel__socket.c,v 1.5 2024/01/09 20:17:41 chopps Exp $
|
|	Pass IFP interface index if known (normal case) to make
|	interface specific routes work such as in
|
|		ipv6 route ::/0 <ipv6 address> carp0 100
|		ipv6 route ::/0 <other ipv6 address> 200
|
|	frr-8 now enables SO_RERROR but exits cowardly when the
|	routing socket returns ENOBUFS. ensure at least a bit more
|	socket buffer space by increasing SO_RCVBUF.
|
|--- zebra/kernel_socket.c.orig	2023-11-27 13:45:33.000000000 +0000
|+++ zebra/kernel_socket.c
--------------------------
Patching file zebra/kernel_socket.c using Plan A...
Hunk #1 succeeded at 24.
Hunk #2 succeeded at 1235.
Hunk #3 succeeded at 1446.
done
===> Creating toolchain wrappers for frr-9.1nb4
===> Configuring for frr-9.1nb4
=> Fixing user/group references.
cd /home/pbulk/build/net/frr/work/frr-frr-9.1 && /bin/bash bootstrap.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'm4/ac'.
libtoolize: linking file 'm4/ac/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:176: installing 'm4/ac/compile'
configure.ac:26: installing 'm4/ac/config.guess'
configure.ac:26: installing 'm4/ac/config.sub'
configure.ac:108: installing 'm4/ac/install-sh'
configure.ac:108: installing 'm4/ac/missing'
Makefile.am: installing 'm4/ac/depcomp'
lib/subdir.am:518: warning: user target '.l.c' defined here ...
Makefile.am:178:   'lib/subdir.am' included from here
/usr/pkg/share/automake-1.16/am/lex.am: ... overrides Automake target '.l.c' defined here
configure.ac: installing 'm4/ac/ylwrap'
lib/subdir.am:520: warning: user target '.y.c' defined here ...
Makefile.am:178:   'lib/subdir.am' included from here
/usr/pkg/share/automake-1.16/am/yacc.am: ... overrides Automake target '.y.c' defined here
parallel-tests: installing 'm4/ac/test-driver'
doc/user/subdir.am:87: warning: user target 'html' defined here ...
Makefile.am:174:   'doc/user/subdir.am' included from here
automake: ... overrides Automake target 'html' defined here
doc/user/subdir.am:87: consider using html-local instead of html
Makefile.am:174:   'doc/user/subdir.am' included from here
doc/user/subdir.am:86: warning: user target 'info' defined here ...
Makefile.am:174:   'doc/user/subdir.am' included from here
automake: ... overrides Automake target 'info' defined here
doc/user/subdir.am:86: consider using info-local instead of info
Makefile.am:174:   'doc/user/subdir.am' included from here
doc/user/subdir.am:110: warning: user target 'install-html' defined here ...
Makefile.am:174:   'doc/user/subdir.am' included from here
automake: ... overrides Automake target 'install-html' defined here
doc/user/subdir.am:110: consider using install-html-local instead of install-html
Makefile.am:174:   'doc/user/subdir.am' included from here
doc/user/subdir.am:102: warning: user target 'install-info' defined here ...
Makefile.am:174:   'doc/user/subdir.am' included from here
automake: ... overrides Automake target 'install-info' defined here
doc/user/subdir.am:102: consider using install-info-local instead of install-info
Makefile.am:174:   'doc/user/subdir.am' included from here
doc/user/subdir.am:88: warning: user target 'pdf' defined here ...
Makefile.am:174:   'doc/user/subdir.am' included from here
automake: ... overrides Automake target 'pdf' defined here
doc/user/subdir.am:88: consider using pdf-local instead of pdf
Makefile.am:174:   'doc/user/subdir.am' included from here
=> 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 python interpreter in tools/generate_support_bundle.py tools/frr-reload.py tools/frr_babeltrace.py.
=> Replacing bash interpreter in tools/frr.in tools/*.sh.in.
INFO: [replace-interpreter] Nothing changed in tools/frr.in.
INFO: [replace-interpreter] Nothing changed in tools/frrcommon.sh.in.
INFO: [replace-interpreter] Nothing changed in tools/frrinit.sh.in.
INFO: [replace-interpreter] Nothing changed in tools/watchfrr.sh.in.
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /home/pbulk/build/net/frr/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for perl... /usr/pkg/bin/perl
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-redhat-linux-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 the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking whether the compiler supports GNU C++... yes
checking whether c++ accepts -g... yes
checking for c++ option to enable C++11 features... none needed
checking dependency style of c++... gcc3
checking pkg-config is at least version 0.9.0... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking whether cc supports -fms-extensions... yes
checking whether cc supports -fno-omit-frame-pointer... yes
checking whether cc supports -funwind-tables... yes
checking whether cc supports -Wall... yes
checking whether cc supports -Wextra... yes
checking whether cc supports -Wformat-nonliteral... yes
checking whether cc supports -Wformat-security... yes
checking whether cc supports -Wswitch-enum... yes
checking whether cc supports -Wstrict-prototypes... yes
checking whether cc supports -Wmissing-prototypes... yes
checking whether cc supports -Wmissing-declarations... yes
checking whether cc supports -Wpointer-arith... yes
checking whether cc supports -Wbad-function-cast... yes
checking whether cc supports -Wwrite-strings... yes
checking whether cc supports -Wundef... yes
checking whether cc supports -Wno-unused-result... yes
checking whether cc supports -Wno-unused-parameter... yes
checking whether cc supports -Wno-missing-field-initializers... yes
checking whether cc supports -Wc++-compat... yes
checking whether cc supports -fplugin=tools/gcc-plugins/frr-format.so... no
checking whether cc supports -fplugin=frr-format... no
checking whether linker supports __start/stop_section symbols... yes
checking for pthread_join in LIBS=-lpthread -lrt with CFLAGS= -pthread ... yes
checking if compiler needs -Werror to reject unknown flags... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for library containing pthread_condattr_setclock... none required
checking for pthread_np.h... no
checking for pthread_setname_np... yes
checking for pthread_set_name_np... no
checking for pthread_getthreadid_np... no
checking whether ln -s works... yes
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking how to print strings... printf
checking for a sed that does not truncate output... sed
checking for egrep... (cached) /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/pbulk/build/net/frr/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/net/frr/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 2097152
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/pbulk/build/net/frr/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-file... no
checking for file... file
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/pbulk/build/net/frr/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /home/pbulk/build/net/frr/work/.cwrapper/bin/ld -m elf_x86_64
checking if the linker (/home/pbulk/build/net/frr/work/.cwrapper/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the c++ linker (/home/pbulk/build/net/frr/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... no
checking if c++ supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/home/pbulk/build/net/frr/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether ar supports D option... yes
checking whether ranlib supports D option... yes
checking for json-c/json.h... yes
checking for json_object_get in -ljson-c... yes
checking whether /usr/pkg/bin/python3.12 version is >= 3... yes
checking for /usr/pkg/bin/python3.12 version... 3.12
checking for /usr/pkg/bin/python3.12 platform... linux
checking for GNU default /usr/pkg/bin/python3.12 prefix... ${prefix}
checking for GNU default /usr/pkg/bin/python3.12 exec_prefix... ${exec_prefix}
checking for /usr/pkg/bin/python3.12 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.12/site-packages
checking for /usr/pkg/bin/python3.12 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.12/site-packages
checking for gelf.h... no
configure: error: libelf headers are required for building clippy.  (Host only when cross-compiling.)
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/frr
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/frr