WARNING: [license.mk] Every package should define a LICENSE.
===> Building for electric-fence-2.1.13.0.1nb2
libtool --tag=CC --mode=compile clang -o efence.lo  -c -D_REENTRANT -pipe -Os -g -D_REENTRANT efence.c
libtool: compile:  clang -c -D_REENTRANT -pipe -Os -g -D_REENTRANT efence.c  -fno-common -DPIC -o .libs/efence.o
libtool: compile:  clang -c -D_REENTRANT -pipe -Os -g -D_REENTRANT efence.c -o efence.o >/dev/null 2>&1
libtool --tag=CC --mode=compile clang -o page.lo  -c -D_REENTRANT -pipe -Os -g -D_REENTRANT page.c
libtool: compile:  clang -c -D_REENTRANT -pipe -Os -g -D_REENTRANT page.c  -fno-common -DPIC -o .libs/page.o
libtool: compile:  clang -c -D_REENTRANT -pipe -Os -g -D_REENTRANT page.c -o page.o >/dev/null 2>&1
libtool --tag=CC --mode=compile clang -o print.lo  -c -D_REENTRANT -pipe -Os -g -D_REENTRANT print.c
libtool: compile:  clang -c -D_REENTRANT -pipe -Os -g -D_REENTRANT print.c  -fno-common -DPIC -o .libs/print.o
libtool: compile:  clang -c -D_REENTRANT -pipe -Os -g -D_REENTRANT print.c -o print.o >/dev/null 2>&1
clang -pipe -Os -g -D_REENTRANT -D_REENTRANT -c tstheap.c
clang -pipe -Os -g -D_REENTRANT -D_REENTRANT -c eftest.c
libtool --tag=CC --mode=link clang -o libefence.la  efence.lo page.lo print.lo -L/opt/pkg/lib   -rpath /opt/pkg/lib -version-info 0:0
libtool: link: clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libefence.0.dylib  .libs/efence.o .libs/page.o .libs/print.o   -L/Users/pbulk/build/devel/electric-fence/work/.buildlink/lib    -install_name  /opt/pkg/lib/libefence.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
libtool: link: (cd ".libs" && rm -f "libefence.dylib" && ln -s "libefence.0.dylib" "libefence.dylib")
libtool: link: ar cr .libs/libefence.a  efence.o page.o print.o
libtool: link: ranlib .libs/libefence.a
libtool: link: ( cd ".libs" && rm -f "libefence.la" && ln -s "../libefence.la" "libefence.la" )
rm -f tstheap
clang -pipe -Os -g -D_REENTRANT tstheap.o .libs/libefence.a -o tstheap -lpthread
rm -f eftest
clang -pipe -Os -g -D_REENTRANT eftest.o .libs/libefence.a -o eftest -lpthread

Testing Electric Fence.
After the last test, it should print that the test has PASSED.
./eftest
  Electric Fence 2.1 Copyright (C) 1987-1998 Bruce Perens.
Bus error 
*** [all] Error code 138

bmake: stopped making "all" in /Users/pbulk/build/devel/electric-fence/work/electric-fence-2.1.13
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/devel/electric-fence/work/electric-fence-2.1.13
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/electric-fence
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/electric-fence