Robert Swindells writes: > > Is anyone else having problems doing a clean build ? > > It is stopping for me in src/lib/libtelnet with this: > > # create libtelnet/sra.d > CC=/u8/build/aarch64-tools/bin/aarch64--netbsd-gcc > /u8/build/aarch64-tools/bin/n > bmkdep -f sra.d.tmp -- -std=gnu99 --sysroot=/var/obj/aarch64 > -DHAS_CGETENT > -I/u1/src/lib/libtelnet -DENCRYPTION -DAUTHENTICATION -DDES_ENCRYPTION -DKRB5 > -D > SRA /u1/src/lib/libtelnet/sra.c && mv -f sra.d.tmp sra.d > /u1/src/lib/libtelnet/sra.c:51:10: fatal error: security/pam_appl.h: No such > fil > e or directory > #include <security/pam_appl.h> > ^~~~~~~~~~~~~~~~~~~~~ > > The $DESTDIR/usr/include/security directory isn't populated at this > point.
i saw this recently, where MKPAM was not set consistently in the build. eg, the headers weren't installed (that's why it is empty) because MKPAM was "no" for src/lib but not for src/lib/libtelnet. is there something odd in your build setup? MKPAM set conditionally in mk.conf or something? try forcing it always on or off. .mrg.