=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for slurm-19.05.5.tar.bz2
=> Checksum RMD160 OK for slurm-19.05.5.tar.bz2
=> Checksum SHA512 OK for slurm-19.05.5.tar.bz2
===> Installing dependencies for slurm-wlm-19.05.5nb1
==========================================================================
The following variables will affect the build process of this package,
slurm-wlm-19.05.5nb1.  Their current value is shown below:

        * CURSES_DEFAULT = curses
        * KRB5_DEFAULT = heimdal
        * LUA_VERSION_DEFAULT = 53
        * MYSQL_VERSION_DEFAULT = 57
        * PYTHON_VERSION_DEFAULT = 37
        * READLINE_DEFAULT = editline
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * CURSES_TYPE = curses
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal
        * LUA_PACKAGE = lua53
        * MYSQL_PKGSRCDIR = ../../databases/mysql57-client
        * PYPACKAGE = python37
        * READLINE_TYPE = editline
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency bash-[0-9]*: found bash-5.0.16nb1
=> Tool dependency perl>=5.0: found perl-5.30.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency man2html-[0-9]*: found man2html-3.0.1nb2
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency curl>=7.69.0nb1: found curl-7.69.1
=> Full dependency python37>=3.7.0: found python37-3.7.7
=> Full dependency munge>=0.5.10: found munge-0.5.13nb4
=> Full dependency hwloc>=1.4: found hwloc-1.11.13
=> Full dependency hdf5>=1.8.11: found hdf5-1.10.6
=> Full dependency readline>=6.0: found readline-8.0
=> Full dependency lz4>=1.7.3<100: found lz4-1.9.2
=> Full dependency json-c>=0.12: found json-c-0.13.1
=> Full dependency libssh2>=1.9.0nb1: found libssh2-1.9.0nb1
=> Full dependency lua53>=5.3.0<5.4: found lua53-5.3.5
=> Full dependency mysql-client>=5.7.28nb2<5.8: found mysql-client-5.7.29
===> Overriding tools for slurm-wlm-19.05.5nb1
===> Extracting for slurm-wlm-19.05.5nb1
===> Patching for slurm-wlm-19.05.5nb1
=> Applying pkgsrc patches for slurm-wlm-19.05.5nb1
=> Verifying /data/pkgsrc/parallel/slurm-wlm/patches/patch-etc_init.d.slurm.in
=> Applying pkgsrc patch /data/pkgsrc/parallel/slurm-wlm/patches/patch-etc_init.d.slurm.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-etc_init.d.slurm.in,v 1.1 2018/04/22 21:31:09 bacon Exp $
|
|# Provide something for SUBST to replace
|
|--- etc/init.d.slurm.in.orig	2015-03-19 19:38:01.000000000 +0000
|+++ etc/init.d.slurm.in
--------------------------
Patching file etc/init.d.slurm.in using Plan A...
Hunk #1 succeeded at 25.
done
=> Verifying /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_plugins_task_affinity_affinity.h
=> Applying pkgsrc patch /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_plugins_task_affinity_affinity.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_plugins_task_affinity_affinity.h,v 1.1 2020/02/01 00:15:02 bacon Exp $
|
|# Portability
|
|--- src/plugins/task/affinity/affinity.h.orig	2020-01-26 20:44:58.750715619 +0000
|+++ src/plugins/task/affinity/affinity.h
--------------------------
Patching file src/plugins/task/affinity/affinity.h using Plan A...
Hunk #1 succeeded at 52.
done
=> Verifying /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_common_task__plugin.c
=> Applying pkgsrc patch /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_common_task__plugin.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_slurmd_common_task__plugin.c,v 1.2 2020/02/01 00:15:02 bacon Exp $
|
|# NetBSD specifics
|
|--- src/slurmd/common/task_plugin.c.orig	2020-01-19 02:41:02.593115935 +0000
|+++ src/slurmd/common/task_plugin.c
--------------------------
Patching file src/slurmd/common/task_plugin.c using Plan A...
Hunk #1 succeeded at 514.
Hunk #2 succeeded at 589.
done
=> Verifying /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_common_task__plugin.h
=> Applying pkgsrc patch /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_common_task__plugin.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_slurmd_common_task__plugin.h,v 1.1 2018/04/22 21:31:09 bacon Exp $
|
|# cpuset functions not standardized across platforms
|
|--- src/slurmd/common/task_plugin.h.orig	2018-01-04 21:15:01.000000000 +0000
|+++ src/slurmd/common/task_plugin.h
--------------------------
Patching file src/slurmd/common/task_plugin.h using Plan A...
Hunk #1 succeeded at 48 (offset 6 lines).
done
=> Verifying /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_slurmd_slurmd.c
=> Applying pkgsrc patch /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_slurmd_slurmd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_slurmd_slurmd_slurmd.c,v 1.2 2020/02/01 00:15:02 bacon Exp $
|
|# NetBSD syntax
|
|--- src/slurmd/slurmd/slurmd.c.orig	2020-01-19 02:36:16.111141994 +0000
|+++ src/slurmd/slurmd/slurmd.c
--------------------------
Patching file src/slurmd/slurmd/slurmd.c using Plan A...
Hunk #1 succeeded at 2295.
Hunk #2 succeeded at 2399.
done
=> Verifying /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_slurmd_slurmd.h
=> Applying pkgsrc patch /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_slurmd_slurmd.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_slurmd_slurmd_slurmd.h,v 1.1 2018/04/22 21:31:09 bacon Exp $
|
|# cpuset functions not standardized across platforms
|
|--- src/slurmd/slurmd/slurmd.h.orig	2018-01-04 21:15:01.000000000 +0000
|+++ src/slurmd/slurmd/slurmd.h
--------------------------
Patching file src/slurmd/slurmd/slurmd.h using Plan A...
Hunk #1 succeeded at 48.
done
=> Verifying /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_slurmstepd_io.c
=> Applying pkgsrc patch /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_slurmstepd_io.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_slurmd_slurmstepd_io.c,v 1.1 2018/04/22 21:31:09 bacon Exp $
|
|# Portability
|
|--- src/slurmd/slurmstepd/io.c.orig	2018-01-05 23:43:03.000000000 +0000
|+++ src/slurmd/slurmstepd/io.c
--------------------------
Patching file src/slurmd/slurmstepd/io.c using Plan A...
Hunk #1 succeeded at 45.
done
=> Verifying /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_slurmstepd_task.c
=> Applying pkgsrc patch /data/pkgsrc/parallel/slurm-wlm/patches/patch-src_slurmd_slurmstepd_task.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_slurmd_slurmstepd_task.c,v 1.2 2020/02/01 00:15:02 bacon Exp $
|
|# Linux compat
|
|--- src/slurmd/slurmstepd/task.c.orig	2019-12-20 20:44:51.000000000 +0000
|+++ src/slurmd/slurmstepd/task.c
--------------------------
Patching file src/slurmd/slurmstepd/task.c using Plan A...
Hunk #1 succeeded at 573.
done
===> Creating toolchain wrappers for slurm-wlm-19.05.5nb1
/bin/ln -s /data/scratch/parallel/slurm-wlm/work/.buildlink/lib/pkgconfig/lua-5.3.pc /data/scratch/parallel/slurm-wlm/work/.buildlink/lib/pkgconfig/lua.pc
===> Configuring for slurm-wlm-19.05.5nb1
=> Substituting "gtk" in configure
=> Substituting "linuxinit" in etc/init.d.slurm.in
=> Substituting "prefix" in configure
=> Generating pkg-config files for builtin xz package.
=> Generating pkg-config files for builtin libevent package.
=> 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 portability problems in extracted files
ERROR: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] etc/init.d.slurm.in:154:     if [ "$base" == "slurmd" ] ; then
ERROR: [check-portability.awk] etc/init.d.slurm.in:206: 	if [ "$RETVAL" == "0" ]; then

Explanation:
===========================================================================
The "test" command, as well as the "[" command, are not required to know
the "==" operator. Only a few implementations like bash and some
versions of ksh support it.

When you run "test foo == foo" on a platform that does not support the
"==" operator, the result will be "false" instead of "true". This can
lead to unexpected behavior.

There are two ways to fix this error message. If the file that contains
the "test ==" is needed for building the package, you should create a
patch for it, replacing the "==" operator with "=". If the file is not
needed, add its name to the CHECK_PORTABILITY_SKIP variable in the
package Makefile.
===========================================================================

*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/parallel/slurm-wlm
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/parallel/slurm-wlm