=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/newmail", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for newmail-1.0.1nb1 --- newmail.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -Wall -I/usr/include -c newmail.c newmail.c:36:2: error: #error "Neither DT_REG nor DTTOIF is defined." 36 | #error "Neither DT_REG nor DTTOIF is defined." | ^~~~~ newmail.c:44:2: error: #error "Neither DT_REG nor DTTOIF is defined." 44 | #error "Neither DT_REG nor DTTOIF is defined." | ^~~~~ newmail.c: In function 'main': newmail.c:117:37: error: implicit declaration of function 'DIRENT_IS_REG' [-Wimplicit-function-declaration] 117 | if (DIRENT_IS_REG(curr_file->d_type)) { | ^~~~~~~~~~~~~ newmail.c:117:60: error: 'struct dirent' has no member named 'd_type' 117 | if (DIRENT_IS_REG(curr_file->d_type)) { | ^~ newmail.c:125:47: error: implicit declaration of function 'DIRENT_IS_DIR' [-Wimplicit-function-declaration] 125 | if (! DIRENT_IS_DIR(curr_file->d_type)) { | ^~~~~~~~~~~~~ newmail.c:125:70: error: 'struct dirent' has no member named 'd_type' 125 | if (! DIRENT_IS_DIR(curr_file->d_type)) { | ^~ *** [newmail.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/mail/newmail/work/newmail bmake: 1 error bmake: stopped making "all" in /home/pbulk/work/mail/newmail/work/newmail *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/newmail *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/newmail