Trying to build nano from git on a NetBSD 9.2 virtual machine, I get this:
[...] gcc -DHAVE_CONFIG_H -I. -I.. -D_NETBSD_SOURCE -D_XOPEN_SOURCE=600 -I/usr/pkg/include/ncursesw -I/usr/pkg/include -I/usr/pkg/include -Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef -Wno-unused-function -Wno-unused-parameter -Wno-float-conversion -Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits -Wno-unsuffixed-float-constants -g -O2 -Wall -MT libgnu_a-glob.o -MD -MP -MF .deps/libgnu_a-glob.Tpo -c -o libgnu_a-glob.o `test -f 'glob.c' || echo './'`glob.c In file included from ./dirent.h:27:0, from glob.c:49: glob.c: In function ‘glob_in_dir’: glob.c:1361:21: error: request for member ‘dd_fd’ in something not a structure or union int dfd = dirfd (stream); ^ *** Error code 1 The offending commit is 98f034a0c2 (glob: fix symlink and // issues...). Nano builds fine on FreeBSD and OpenBSD. Benno
OpenPGP_signature
Description: OpenPGP digital signature