+ 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/pari-2.15.3nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pari-2.15.3nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for pari-2.15.3.tar.gz
=> Checksum SHA512 OK for pari-2.15.3.tar.gz
===> Installing dependencies for pari-2.15.3nb1
==========================================================================
The supported build options for pari are:

	doc gmp x11

The currently selected options are:

	doc gmp

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

	PKG_OPTIONS.pari (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
pari-2.15.3nb1.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses

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

        * CURSES_TYPE = ncurses
        * 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 tex-amsfonts>=3.0: found tex-amsfonts-3.04nb1
=> Tool dependency tex-ec-[0-9]*: found tex-ec-1.0
=> Tool dependency tex-metafont-[0-9]*: found tex-metafont-2021
=> Tool dependency tex-latex-bin-[0-9]*: found tex-latex-bin-2024
=> Tool dependency dvipsk-[0-9]*: found dvipsk-2024.1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> 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 perl>=5.0: found perl-5.40.0nb1
=> Full dependency gmp>=5.0.1: found gmp-6.3.0
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
===> Overriding tools for pari-2.15.3nb1
===> Extracting for pari-2.15.3nb1
===> Patching for pari-2.15.3nb1
=> Applying pkgsrc patches for pari-2.15.3nb1
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_DOC__Make.SH
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_DOC__Make.SH
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config_DOC__Make.SH,v 1.2 2022/10/30 10:00:15 nros Exp $
|
|Rules for dvi/ps are broken, just generate PDFs to work around this.
|
|--- config/DOC_Make.SH.orig	2022-09-16 17:16:27.000000000 +0000
|+++ config/DOC_Make.SH
--------------------------
Patching file config/DOC_Make.SH using Plan A...
Hunk #1 succeeded at 42.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__archos
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__archos
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config_get__archos,v 1.2 2022/10/30 10:00:15 nros Exp $
|
|* add dragonfly support
|
|--- config/get_archos.orig	2011-09-22 20:02:11.000000000 +0000
|+++ config/get_archos
--------------------------
Patching file config/get_archos using Plan A...
Hunk #1 succeeded at 26.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__dlld
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__dlld
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config_get__dlld,v 1.2 2022/10/30 10:00:15 nros Exp $
|
|* Add dragonfly support
|
|--- config/get_dlld.orig	2022-07-27 16:29:32.000000000 +0000
|+++ config/get_dlld
--------------------------
Patching file config/get_dlld using Plan A...
Hunk #1 succeeded at 9.
Hunk #2 succeeded at 77.
Hunk #3 succeeded at 109.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__fltk
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__fltk
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config_get__fltk,v 1.1 2022/10/30 10:00:15 nros Exp $
|
|* don't explicitly link to GNU c++ standard library
|
|--- config/get_fltk.orig	2022-10-29 22:06:46.208370815 +0000
|+++ config/get_fltk
--------------------------
Patching file config/get_fltk using Plan A...
Hunk #1 succeeded at 12.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__install
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__install
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config_get__install,v 1.2 2022/10/30 10:00:15 nros Exp $
|
|* install man pages in the correct place
|
|--- config/get_install.orig	2014-07-30 13:38:47.000000000 +0000
|+++ config/get_install
--------------------------
Patching file config/get_install using Plan A...
Hunk #1 succeeded at 23.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__ld
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__ld
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config_get__ld,v 1.2 2022/10/30 10:00:15 nros Exp $
|
|* add dragonfly support
|
|--- config/get_ld.orig	2011-09-22 20:02:11.000000000 +0000
|+++ config/get_ld
--------------------------
Patching file config/get_ld using Plan A...
Hunk #1 succeeded at 70.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__PATH
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__PATH
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config_get__PATH,v 1.3 2022/10/30 10:00:15 nros Exp $
|
|* only look for binaries in pkgsrc paths
|
|--- config/get_PATH.orig	2011-09-22 20:02:11.000000000 +0000
|+++ config/get_PATH
--------------------------
Patching file config/get_PATH using Plan A...
Hunk #1 succeeded at 4.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__X11
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_get__X11
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config_get__X11,v 1.2 2022/10/30 10:00:15 nros Exp $
|
|* only look in X11BASE for X11
|
|--- config/get_X11.orig	2014-03-25 08:59:21.000000000 +0000
|+++ config/get_X11
--------------------------
Patching file config/get_X11 using Plan A...
Hunk #1 succeeded at 10.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_Makefile.SH
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_Makefile.SH
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config_Makefile.SH,v 1.4 2022/10/30 10:00:15 nros Exp $
|
|* libtoolize
|* add rpath to X11 libs
|* don't install docs implicitly
|
|--- config/Makefile.SH.orig	2022-09-18 13:13:38.000000000 +0000
|+++ config/Makefile.SH
--------------------------
Patching file config/Makefile.SH using Plan A...
Hunk #1 succeeded at 57.
Hunk #2 succeeded at 86.
Hunk #3 succeeded at 132.
Hunk #4 succeeded at 165.
Hunk #5 succeeded at 194.
Hunk #6 succeeded at 259.
Hunk #7 succeeded at 278.
Hunk #8 succeeded at 318.
Hunk #9 succeeded at 344.
Hunk #10 succeeded at 357.
Hunk #11 succeeded at 385.
Hunk #12 succeeded at 454.
Hunk #13 succeeded at 566.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_TOP__Make.SH
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-config_TOP__Make.SH
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-config_TOP__Make.SH,v 1.3 2023/04/24 08:51:13 riastradh Exp $
|
|* don't generate docs implicitly
|
|--- config/TOP_Make.SH.orig	2022-09-16 17:16:27.000000000 +0000
|+++ config/TOP_Make.SH
--------------------------
Patching file config/TOP_Make.SH using Plan A...
Hunk #1 succeeded at 40.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-Configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-Configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Configure,v 1.3 2022/10/29 18:28:06 nros Exp $
|
| * Don't refer to gzip and perl in the tools directory
|
|--- Configure.orig	2016-02-25 14:12:36.000000000 +0000
|+++ Configure
--------------------------
Patching file Configure using Plan A...
Hunk #1 succeeded at 40 (offset 1 line).
Hunk #2 succeeded at 54 (offset 1 line).
Hunk #3 succeeded at 118 (offset -2 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_basemath_nflist.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_basemath_nflist.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_basemath_nflist.c,v 1.1 2022/10/30 10:00:15 nros Exp $
|
|* Don't conflict with NetBSDs strtoi function
|
|--- src/basemath/nflist.c.orig	2022-09-16 17:16:27.000000000 +0000
|+++ src/basemath/nflist.c
--------------------------
Patching file src/basemath/nflist.c using Plan A...
Hunk #1 succeeded at 5057.
Hunk #2 succeeded at 5094.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_basemath_nflistQT.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_basemath_nflistQT.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_basemath_nflistQT.c,v 1.1 2022/10/30 10:00:15 nros Exp $
|
|* Don't conflict with NetBSDs strtoi function
|
|--- src/basemath/nflistQT.c.orig	2022-09-16 17:16:27.000000000 +0000
|+++ src/basemath/nflistQT.c
--------------------------
Patching file src/basemath/nflistQT.c using Plan A...
Hunk #1 succeeded at 19.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_headers_paridecl.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_headers_paridecl.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_headers_paridecl.h,v 1.3 2022/10/30 10:00:15 nros Exp $
|
|* Don't conflict with NetBSDs strtoi function
|
|--- src/headers/paridecl.h.orig	2022-09-16 17:16:27.000000000 +0000
|+++ src/headers/paridecl.h
--------------------------
Patching file src/headers/paridecl.h using Plan A...
Hunk #1 succeeded at 2010.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_language_anal.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_language_anal.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_language_anal.c,v 1.3 2022/10/30 10:00:15 nros Exp $
|
|* Don't conflict with NetBSDs strtoi function
|
|--- src/language/anal.c.orig	2014-10-01 14:57:39.000000000 +0000
|+++ src/language/anal.c
--------------------------
Patching file src/language/anal.c using Plan A...
Hunk #1 succeeded at 616 (offset 120 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_language_compile.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_language_compile.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_language_compile.c,v 1.2 2022/10/30 10:00:15 nros Exp $
|
|* Don't conflict with NetBSDs strtoi function
|
|--- src/language/compile.c.orig	2015-03-18 10:33:24.000000000 +0000
|+++ src/language/compile.c
--------------------------
Patching file src/language/compile.c using Plan A...
Hunk #1 succeeded at 2168 (offset 253 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_language_parsec.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/math/pari/patches/patch-src_language_parsec.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_language_parsec.h,v 1.2 2022/10/30 10:00:15 nros Exp $
|
|* Don't conflict with NetBSDs strtoi function
|
|--- src/language/parsec.h.orig	2022-07-27 16:29:32.000000000 +0000
|+++ src/language/parsec.h
--------------------------
Patching file src/language/parsec.h using Plan A...
Hunk #1 succeeded at 187.
done
===> Creating toolchain wrappers for pari-2.15.3nb1
===> Configuring for pari-2.15.3nb1
=> Adding CFLAGS to Configure scripts.
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_archos".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_archos.orig".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_config_options".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_dlcflags".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_dlld".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_dlld.orig".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_double_format".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_fltk".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_fltk.orig".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_gmp".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_graphic_lib".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_head".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_install".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_install.orig".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_kernel".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_ld".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_ld.orig".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_libc".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_MANIFEST".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_modld".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_mt".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_nl".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_objdir".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_PATH".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_PATH.orig".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_perl".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_pretty".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_Qt".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_readline".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_static".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_tests".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_X11".
WARNING: [subst.mk:fix-cfg] Nothing changed in "config/get_X11.orig".
=> Replacing Perl interpreter in src/desc/PARI/822.pm.
Configuring pari-2.15.3 (STABLE) 
Checking echo to see how to suppress newlines...
...using -n.
Looking for some tools first ...
...gzip is /bin/gzip
...cc is /home/pbulk/build/math/pari/work/.cwrapper/bin/cc
...gcc is /home/pbulk/build/math/pari/work/.cwrapper/bin/gcc
...ld is /home/pbulk/build/math/pari/work/.cwrapper/bin/ld
...perl is /home/pbulk/build/math/pari/work/.tools/bin/perl
...zcat is /bin/zcat
GNU compatible compiler: gcc version 8.5.0 20210514 (GCC)
Using mt engine single
Given the previous choices, sizeof(long) is 8 chars.
The internal word representation of a double is not needed (64bit).
==========================================================================
Building for: amd64 running linux (x86-64/GMP kernel) 64-bit version
==========================================================================
C compiler is          cc -O3 -Wall -ffp-contract=off -fno-strict-aliasing  -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/pkg/include/ncurses -fPIC
Executable linker is   cc  -O3 -Wall -ffp-contract=off -fno-strict-aliasing  -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/ncurses -I/usr/pkg/include -I/usr/pkg/include/ncurses -Wl,--export-dynamic -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
Dynamic Lib linker is  cc  -shared  $(CFLAGS) $(DLCFLAGS) -Wl,-shared,-soname=$(LIBPARI_SONAME) 
Looking in C lib for some symbols...
...Found sse2.
...I did not find avx.
...Found exp2.
...Found log2.
...Found rint.
...Found strftime.
...Found getrusage.
...Found gettimeofday.
...Found sigaction.
...Found TIOCGWINSZ.
...Found getrlimit.
...Found stat.
...Found vsnprintf.
...Found mmap.
...Found waitpid.
...Found setsid.
...Found getenv.
...Found isatty.
...Found alarm.
...Found system.
...I did not find dlopen.
Try again, with -ldl this time...
...Found dlopen.
Checking for optional libraries and headers...
...Found gmp header in /usr/pkg/include
Using GNU MP, version 6.3.0
Hi-Res Graphics: none
###
### Readline library does not seem to work. Maybe install libncurses?
###
### Building without GNU readline support
Installation prefix ? [/usr/pkg]
...for architecture-independent files (share-prefix) ? [/usr/pkg/share]
Installation directories for:
...executables (gp, gphelp) ? [/usr/pkg/bin]
...libraries (libpari) ? [/usr/pkg/lib]
...include files ? [/usr/pkg/include]
...manual pages ? [/usr/pkg/man/man1]
...other system-dependent data ? [/usr/pkg/lib/pari]
...other system-independent data ? [/usr/pkg/share/pari]
Default is dynamic executable and shared library
==========================================================================
Extracting Olinux-x86_64/Makefile.examples
Extracting Olinux-x86_64/Makefile
Extracting Makefile
Extracting Olinux-x86_64/paricfg.h
Extracting scripts and macros
...in doc
...in misc
==========================================================================
Shall we try to build pari 2.15.3 (released) now (y/n)? [n]
Ok. Type "make install" when you are ready
Bye !
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp