=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for dosfstools-4.1 --- all-recursive --- Making all in src --- blkdev/.dirstamp --- --- blkdev/.deps/.dirstamp --- --- mkfs_fat-device_info.o --- --- testdevinfo-testdevinfo.o --- --- mkfs_fat-device_info.o --- 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 -D_FORTIFY_SOURCE=2 -MT mkfs_fat-device_info.o -MD -MP -MF .deps/mkfs_fat-device_info.Tpo -c -o mkfs_fat-device_info.o `test -f 'device_info.c' || echo './'`device_info.c --- testdevinfo-testdevinfo.o --- 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 -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 --- testdevinfo-device_info.o --- --- fsck.fat.o --- --- testdevinfo-device_info.o --- 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 -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 --- fsck.fat.o --- depbase=`echo fsck.fat.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; 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. -Wall -Wextra -Wno-sign-compare -Wno-missing-field-initializers -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -O2 -D_FORTIFY_SOURCE=2 -MT fsck.fat.o -MD -MP -MF $depbase.Tpo -c -o fsck.fat.o fsck.fat.c && mv -f $depbase.Tpo $depbase.Po --- mkfs_fat-device_info.o --- 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:49: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:24: 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' *** [mkfs_fat-device_info.o] Error code 1 make[1]: stopped in /tmp/sysutils/dosfstools/work/dosfstools-4.1/src --- testdevinfo-device_info.o --- 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:49: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:24: 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' *** [testdevinfo-device_info.o] Error code 1 make[1]: stopped in /tmp/sysutils/dosfstools/work/dosfstools-4.1/src --- testdevinfo-testdevinfo.o --- mv -f .deps/testdevinfo-testdevinfo.Tpo .deps/testdevinfo-testdevinfo.Po 2 errors make[1]: stopped in /tmp/sysutils/dosfstools/work/dosfstools-4.1/src *** [all-recursive] Error code 1 make: stopped in /tmp/sysutils/dosfstools/work/dosfstools-4.1 1 error make: stopped in /tmp/sysutils/dosfstools/work/dosfstools-4.1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/dosfstools *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/sysutils/dosfstools