WARNING: [license.mk] Every package should define a LICENSE.
===> Building for ldapsdk-12311998nb12
cd config; /opt/pkg/bin/gmake
/opt/pkg/bin/mksh: cd: /Users/pbulk/build/devel/ldapsdk/work/mozilla/config/config: No such file or directory
gmake[1]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/config'
cc -o Darwin23.5.0_DBG.OBJ/nsinstall.o -c -DXP_UNIX -g -Wall -pipe -DRHAPSODY -Darm64 -fno-common -DSW_THREADS -DHAVE_STDDEF_H -DHAVE_STDLIB_H -DHAVE_FILIO_H -DNTOHL_ENDIAN_H -DMACHINE_ENDIAN_H -DNO_REGEX -DNO_REGCOMP -DHAS_PGNO_T -DNO_TZNAME -DNEEDS_GETCWD -DHAVE_SYSERRLIST -DNO_X11 -DHAVE_STRERROR  -DDEBUG -UNDEBUG -DDEBUG_pbulk -DTRACING -DNETSCAPE -DOSTYPE=\"Darwin23.5.0\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DCookieManagement -DENDER -DMOZ_ENDER_MIME -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_LDAP -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\"  -I../dist/Darwin23.5.0_DBG.OBJ/include -I../dist/include -I../include  -I/usr/include/g++   nsinstall.c
cc -o Darwin23.5.0_DBG.OBJ/pathsub.o -c -DXP_UNIX -g -Wall -pipe -DRHAPSODY -Darm64 -fno-common -DSW_THREADS -DHAVE_STDDEF_H -DHAVE_STDLIB_H -DHAVE_FILIO_H -DNTOHL_ENDIAN_H -DMACHINE_ENDIAN_H -DNO_REGEX -DNO_REGCOMP -DHAS_PGNO_T -DNO_TZNAME -DNEEDS_GETCWD -DHAVE_SYSERRLIST -DNO_X11 -DHAVE_STRERROR  -DDEBUG -UNDEBUG -DDEBUG_pbulk -DTRACING -DNETSCAPE -DOSTYPE=\"Darwin23.5.0\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DCookieManagement -DENDER -DMOZ_ENDER_MIME -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_LDAP -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\"  -I../dist/Darwin23.5.0_DBG.OBJ/include -I../dist/include -I../include  -I/usr/include/g++   pathsub.c
cc -DXP_UNIX -g -Wall -pipe -DRHAPSODY -Darm64 -fno-common -DSW_THREADS -DHAVE_STDDEF_H -DHAVE_STDLIB_H -DHAVE_FILIO_H -DNTOHL_ENDIAN_H -DMACHINE_ENDIAN_H -DNO_REGEX -DNO_REGCOMP -DHAS_PGNO_T -DNO_TZNAME -DNEEDS_GETCWD -DHAVE_SYSERRLIST -DNO_X11 -DHAVE_STRERROR  -DDEBUG -UNDEBUG -DDEBUG_pbulk -DTRACING -DNETSCAPE -DOSTYPE=\"Darwin23.5.0\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DCookieManagement -DENDER -DMOZ_ENDER_MIME -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_LDAP -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\"  -I../dist/Darwin23.5.0_DBG.OBJ/include -I../dist/include -I../include  -I/usr/include/g++   -o Darwin23.5.0_DBG.OBJ/nsinstall Darwin23.5.0_DBG.OBJ/nsinstall.o Darwin23.5.0_DBG.OBJ/pathsub.o 
rm -f nfspwd; cp nfspwd.pl nfspwd; chmod +x nfspwd
rm -f revdepth; cp revdepth.pl revdepth; chmod +x revdepth
cc -o Darwin23.5.0_DBG.OBJ/bsdecho.o -c -DXP_UNIX -g -Wall -pipe -DRHAPSODY -Darm64 -fno-common -DSW_THREADS -DHAVE_STDDEF_H -DHAVE_STDLIB_H -DHAVE_FILIO_H -DNTOHL_ENDIAN_H -DMACHINE_ENDIAN_H -DNO_REGEX -DNO_REGCOMP -DHAS_PGNO_T -DNO_TZNAME -DNEEDS_GETCWD -DHAVE_SYSERRLIST -DNO_X11 -DHAVE_STRERROR  -DDEBUG -UNDEBUG -DDEBUG_pbulk -DTRACING -DNETSCAPE -DOSTYPE=\"Darwin23.5.0\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DCookieManagement -DENDER -DMOZ_ENDER_MIME -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_LDAP -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\"  -I../dist/Darwin23.5.0_DBG.OBJ/include -I../dist/include -I../include  -I/usr/include/g++   bsdecho.c
cc -DXP_UNIX -g -Wall -pipe -DRHAPSODY -Darm64 -fno-common -DSW_THREADS -DHAVE_STDDEF_H -DHAVE_STDLIB_H -DHAVE_FILIO_H -DNTOHL_ENDIAN_H -DMACHINE_ENDIAN_H -DNO_REGEX -DNO_REGCOMP -DHAS_PGNO_T -DNO_TZNAME -DNEEDS_GETCWD -DHAVE_SYSERRLIST -DNO_X11 -DHAVE_STRERROR  -DDEBUG -UNDEBUG -DDEBUG_pbulk -DTRACING -DNETSCAPE -DOSTYPE=\"Darwin23.5.0\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DCookieManagement -DENDER -DMOZ_ENDER_MIME -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_LDAP -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\"  -I../dist/Darwin23.5.0_DBG.OBJ/include -I../dist/include -I../include  -I/usr/include/g++    -o Darwin23.5.0_DBG.OBJ/bsdecho Darwin23.5.0_DBG.OBJ/bsdecho.o
../config/Darwin23.5.0_DBG.OBJ/nsinstall -R -m 444 Darwin23.5.0_DBG.OBJ/bsdecho ../dist/Darwin23.5.0_DBG.OBJ/bin
../config/Darwin23.5.0_DBG.OBJ/nsinstall -R -m 444 Darwin23.5.0_DBG.OBJ/nsinstall ../dist/Darwin23.5.0_DBG.OBJ/bin
../config/Darwin23.5.0_DBG.OBJ/nsinstall -R -m 444 Darwin23.5.0_DBG.OBJ/nsinstall ../dist/Darwin23.5.0_DBG.OBJ/bin
gmake[1]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/config'
cd directory; /opt/pkg/bin/gmake export libs install
/opt/pkg/bin/mksh: cd: /Users/pbulk/build/devel/ldapsdk/work/mozilla/config/directory: No such file or directory
gmake[1]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/config'
../config/Darwin23.5.0_DBG.OBJ/nsinstall -R -m 444 Darwin23.5.0_DBG.OBJ/nsinstall ../dist/Darwin23.5.0_DBG.OBJ/bin
../config/Darwin23.5.0_DBG.OBJ/nsinstall -R -m 444 Darwin23.5.0_DBG.OBJ/nsinstall ../dist/Darwin23.5.0_DBG.OBJ/bin
gmake[1]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/config'
cd config; /opt/pkg/bin/gmake
gmake[1]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/config'
../config/Darwin23.5.0_DBG.OBJ/nsinstall -R -m 444 Darwin23.5.0_DBG.OBJ/nsinstall ../dist/Darwin23.5.0_DBG.OBJ/bin
../config/Darwin23.5.0_DBG.OBJ/nsinstall -R -m 444 Darwin23.5.0_DBG.OBJ/nsinstall ../dist/Darwin23.5.0_DBG.OBJ/bin
gmake[1]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/config'
cd directory; /opt/pkg/bin/gmake export libs install
gmake[1]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory'
gmake[2]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap'
  cd build; /opt/pkg/bin/gmake -f Makefile.client  export
gmake[3]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/build'
cc -DXP_UNIX -g -Wall -pipe -DRHAPSODY -Darm64 -fno-common -DSW_THREADS -DHAVE_STDDEF_H -DHAVE_STDLIB_H -DHAVE_FILIO_H -DNTOHL_ENDIAN_H -DMACHINE_ENDIAN_H -DNO_REGEX -DNO_REGCOMP -DHAS_PGNO_T -DNO_TZNAME -DNEEDS_GETCWD -DHAVE_SYSERRLIST -DNO_X11 -DHAVE_STRERROR  -DDEBUG -UNDEBUG -DDEBUG_pbulk -DTRACING -DNETSCAPE -DOSTYPE=\"Darwin23.5.0\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DCookieManagement -DENDER -DMOZ_ENDER_MIME -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_LDAP -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\"  -I../../../../dist/Darwin23.5.0_DBG.OBJ/include -I../../../../dist/include -I../../../../include  -I/usr/include/g++    -o Darwin23.5.0_DBG.OBJ/dirver dirver.c
dirver.c:58:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if(szToken = strtok(szVersion, ".\n"))
       ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
dirver.c:58:16: note: place parentheses around the assignment to silence this warning
    if(szToken = strtok(szVersion, ".\n"))
               ^
       (                                 )
dirver.c:58:16: note: use '==' to turn this assignment into an equality comparison
    if(szToken = strtok(szVersion, ".\n"))
               ^
               ==
dirver.c:61:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if(szToken = strtok(NULL, ".\n"))
           ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dirver.c:61:20: note: place parentheses around the assignment to silence this warning
        if(szToken = strtok(NULL, ".\n"))
                   ^
           (                            )
dirver.c:61:20: note: use '==' to turn this assignment into an equality comparison
        if(szToken = strtok(NULL, ".\n"))
                   ^
                   ==
dirver.c:64:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if(szToken = strtok(NULL, ".\n"))
               ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dirver.c:64:24: note: place parentheses around the assignment to silence this warning
            if(szToken = strtok(NULL, ".\n"))
                       ^
               (                            )
dirver.c:64:24: note: use '==' to turn this assignment into an equality comparison
            if(szToken = strtok(NULL, ".\n"))
                       ^
                       ==
dirver.c:51:14: warning: unused variable 'nReturn' [-Wunused-variable]
    unsigned nReturn = 0;
             ^
dirver.c:104:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if(szToken = strtok(NULL, "\\/"))
           ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dirver.c:104:20: note: place parentheses around the assignment to silence this warning
        if(szToken = strtok(NULL, "\\/"))
                   ^
           (                            )
dirver.c:104:20: note: use '==' to turn this assignment into an equality comparison
        if(szToken = strtok(NULL, "\\/"))
                   ^
                   ==
dirver.c:107:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
            if(szToken = strtok(NULL, "\\/"))
               ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
dirver.c:107:24: note: place parentheses around the assignment to silence this warning
            if(szToken = strtok(NULL, "\\/"))
                       ^
               (                            )
dirver.c:107:24: note: use '==' to turn this assignment into an equality comparison
            if(szToken = strtok(NULL, "\\/"))
                       ^
                       ==
dirver.c:135:10: warning: unused variable 'szTemp' [-Wunused-variable]
    char szTemp[128];
         ^
dirver.c:149:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int nArgc, char **lpArgv)
^
8 warnings generated.
../../../../config/Darwin23.5.0_DBG.OBJ/nsinstall -R -m 555 Darwin23.5.0_DBG.OBJ/dirver ../../../../dist/Darwin23.5.0_DBG.OBJ/bin
gmake[3]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/build'
  cd include; /opt/pkg/bin/gmake -f Makefile.client  export
gmake[3]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/include'
../../../../config/Darwin23.5.0_DBG.OBJ/nsinstall -R  -m 644 disptmpl.h lber.h ldap.h srchpref.h  ../../../../dist/public/ldap
../../../../config/Darwin23.5.0_DBG.OBJ/nsinstall -R  -m 644 disptmpl.h lber.h ldap.h srchpref.h  ../../../../dist/Darwin23.5.0_DBG.OBJ/include
gmake[3]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/include'
  cd libraries; /opt/pkg/bin/gmake -f Makefile.client  export
gmake[3]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries'
  cd liblber; /opt/pkg/bin/gmake -f Makefile.client  export
gmake[4]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries/liblber'
gmake[4]: Nothing to be done for 'export'.
gmake[4]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries/liblber'
  cd libldap; /opt/pkg/bin/gmake -f Makefile.client  export
gmake[4]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries/libldap'
gmake[4]: Nothing to be done for 'export'.
gmake[4]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries/libldap'
gmake[3]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries'
gmake[2]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap'
gmake[2]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap'
cd build; /opt/pkg/bin/gmake -f Makefile.client  install
gmake[3]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/build'
../../../../config/Darwin23.5.0_DBG.OBJ/nsinstall -R -m 555 Darwin23.5.0_DBG.OBJ/dirver ../../../../dist/Darwin23.5.0_DBG.OBJ/bin
gmake[3]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/build'
cd include; /opt/pkg/bin/gmake -f Makefile.client  install
gmake[3]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/include'
../../../../config/Darwin23.5.0_DBG.OBJ/nsinstall -R  -m 644 disptmpl.h lber.h ldap.h srchpref.h  ../../../../dist/public/ldap
../../../../config/Darwin23.5.0_DBG.OBJ/nsinstall -R  -m 644 disptmpl.h lber.h ldap.h srchpref.h  ../../../../dist/Darwin23.5.0_DBG.OBJ/include
gmake[3]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/include'
cd libraries; /opt/pkg/bin/gmake -f Makefile.client  install
gmake[3]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries'
  cd liblber; /opt/pkg/bin/gmake -f Makefile.client  install
gmake[4]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries/liblber'
cc -o Darwin23.5.0_DBG.OBJ/decode.o -c -DXP_UNIX -g -Wall -pipe -DRHAPSODY -Darm64 -fno-common -DSW_THREADS -DHAVE_STDDEF_H -DHAVE_STDLIB_H -DHAVE_FILIO_H -DNTOHL_ENDIAN_H -DMACHINE_ENDIAN_H -DNO_REGEX -DNO_REGCOMP -DHAS_PGNO_T -DNO_TZNAME -DNEEDS_GETCWD -DHAVE_SYSERRLIST -DNO_X11 -DHAVE_STRERROR  -DDEBUG -UNDEBUG -DDEBUG_pbulk -DTRACING -DNETSCAPE -DOSTYPE=\"Darwin23.5.0\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DCookieManagement -DENDER -DMOZ_ENDER_MIME -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_LDAP -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\" -DUSE_WAITPID -DNEEDPROTOS -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_NDBM   -I../../../../../dist/public/nspr -I../../../../../dist/Darwin23.5.0_DBG.OBJ/include -I../../../../../dist/include -I../../../../../include  -I/usr/include/g++ -I../../include   decode.c
In file included from decode.c:33:
./lber-int.h:48:11: fatal error: 'malloc.h' file not found
# include <malloc.h>
          ^~~~~~~~~~
1 error generated.
gmake[4]: *** [../../../../../config/rules.mk:419: Darwin23.5.0_DBG.OBJ/decode.o] Error 1
gmake[4]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries/liblber'
  cd libldap; /opt/pkg/bin/gmake -f Makefile.client  install
gmake[4]: Entering directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries/libldap'
cc -o Darwin23.5.0_DBG.OBJ/abandon.o -c -DXP_UNIX -g -Wall -pipe -DRHAPSODY -Darm64 -fno-common -DSW_THREADS -DHAVE_STDDEF_H -DHAVE_STDLIB_H -DHAVE_FILIO_H -DNTOHL_ENDIAN_H -DMACHINE_ENDIAN_H -DNO_REGEX -DNO_REGCOMP -DHAS_PGNO_T -DNO_TZNAME -DNEEDS_GETCWD -DHAVE_SYSERRLIST -DNO_X11 -DHAVE_STRERROR  -DDEBUG -UNDEBUG -DDEBUG_pbulk -DTRACING -DNETSCAPE -DOSTYPE=\"Darwin23.5.0\" -DMOZILLA_CLIENT -DMOZ_COMMUNICATOR_IIDS -DCookieManagement -DENDER -DMOZ_ENDER_MIME -DEDITOR -DEDITOR_UI -DLAYERS -DUNIX_LDAP -DOJI -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DDEVELOPER_DEBUG -DMOZ_USER_DIR=\".netscape\" -DUSE_WAITPID -DNEEDPROTOS -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_NDBM   -DLDAP_SSLIO_HOOKS -DFILTERFILE="\"/opt/pkg/etc/ldapsdk/ldapfilter.conf\"" -DTEMPLATEFILE="\"/opt/pkg/etc/ldapsdk/ldaptemplates.conf\"" -DNET_SSL -UMOZILLA_CLIENT -I../../../../../dist/public/nspr -I../../../../../dist/Darwin23.5.0_DBG.OBJ/include -I../../../../../dist/include -I../../../../../include  -I/usr/include/g++ -I../../include    abandon.c
In file included from abandon.c:32:
In file included from ./ldap-int.h:62:
./../liblber/lber-int.h:48:11: fatal error: 'malloc.h' file not found
# include <malloc.h>
          ^~~~~~~~~~
1 error generated.
gmake[4]: *** [../../../../../config/rules.mk:419: Darwin23.5.0_DBG.OBJ/abandon.o] Error 1
gmake[4]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries/libldap'
gmake[3]: *** [Makefile.client:13: install] Error 2
gmake[3]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap/libraries'
gmake[2]: *** [Makefile.client:14: install] Error 2
gmake[2]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/c-sdk/ldap'
gmake[1]: *** [Makefile:41: libs] Error 2
gmake[1]: Leaving directory '/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory'
gmake: *** [/Users/pbulk/build/devel/ldapsdk/work/mozilla/directory/ldapsdk.mk:63: build] Error 2
*** Error code 2

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

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