=> Bootstrap dependency digest>=20010302: found digest-20180917
===> Building for dosfstools-4.1
Making all in src
gcc -DPACKAGE_NAME=\"dosfstools\" -DPACKAGE_TARNAME=\"dosfstools\" -DPACKAGE_VERSION=\"4.1\" -DPACKAGE_STRING=\"dosfstools\ 4.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dosfstools\" -DVERSION=\"4.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ERR_H=1 -DHAVE_SYS_DISK_H=1 -DHAVE_SYS_DISKLABEL_H=1 -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_QUEUE_H=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_ENDIAN_H=1 -DHAVE_DECL_GETMNTENT=0 -DHAVE_DECL_GETMNTINFO=1 -I.  -I./blkdev  -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers  -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings  -O2 -mieee -D_FORTIFY_SOURCE=2 -MT testdevinfo-testdevinfo.o -MD -MP -MF .deps/testdevinfo-testdevinfo.Tpo -c -o testdevinfo-testdevinfo.o `test -f 'testdevinfo.c' || echo './'`testdevinfo.c
mv -f .deps/testdevinfo-testdevinfo.Tpo .deps/testdevinfo-testdevinfo.Po
gcc -DPACKAGE_NAME=\"dosfstools\" -DPACKAGE_TARNAME=\"dosfstools\" -DPACKAGE_VERSION=\"4.1\" -DPACKAGE_STRING=\"dosfstools\ 4.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"dosfstools\" -DVERSION=\"4.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ERR_H=1 -DHAVE_SYS_DISK_H=1 -DHAVE_SYS_DISKLABEL_H=1 -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_QUEUE_H=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_ENDIAN_H=1 -DHAVE_DECL_GETMNTENT=0 -DHAVE_DECL_GETMNTINFO=1 -I.  -I./blkdev  -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers  -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings  -O2 -mieee -D_FORTIFY_SOURCE=2 -MT testdevinfo-device_info.o -MD -MP -MF .deps/testdevinfo-device_info.Tpo -c -o testdevinfo-device_info.o `test -f 'device_info.c' || echo './'`device_info.c
device_info.c: In function 'is_device_mounted':
device_info.c:324:24: warning: passing argument 1 of 'getmntinfo' from incompatible pointer type [-Wincompatible-pointer-types]
     count = getmntinfo(&stat, 0);
                        ^
In file included from /usr/include/sys/mount.h:52:0,
                 from device_info.c:39:
/usr/include/sys/statvfs.h:155:5: note: expected 'struct statvfs **' but argument is of type 'struct statfs **'
 int getmntinfo(struct statvfs **, int) __RENAME(__getmntinfo13);
     ^
device_info.c:326:2: error: invalid use of undefined type 'struct statfs'
  if (!strcmp(path, stat[i].f_mntfromname))
  ^
device_info.c:326:24: error: dereferencing pointer to incomplete type 'struct statfs'
  if (!strcmp(path, stat[i].f_mntfromname))
                        ^
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/sysutils/dosfstools/work/dosfstools-4.1/src
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/sysutils/dosfstools/work/dosfstools-4.1
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/sysutils/dosfstools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/dosfstools