pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysutils/ntfsprogs can't be compiled on current



On Sat, 25 Apr 2026, adr wrote:
Hi, trying to compile sysutils/ntfsprogs I got this:
ntfsclone.c:2328:13: error: implicit declaration of function 'fstatfs'; did you mean 'fstatvfs'? [-Wimplicit-function-declaration]
2328 |         if (fstatfs(fd_out, &opt.stfs) == -1)
     |              ^~~~~~~
     |              fstatvfs
*** Error code 1

NO_STATFS has to be defined. I would do it here:
ntfsclone.c:
[...]
#if defined(__sun) | defined(HAVE_WINDOWS_H)
#define NO_STATFS 1     /* statfs(2) and f_type are not universal */
#endif
[...]

But there is support added by patches to incredibly old versions
of netbsd. I would take the opportunity to clean that, but I don't
know why such old versions are still supported, so I let that to some
developer.

Regards,
adr.

By the way, this in on an rpi4 updated by sysinst from
NetBSD-daily/HEAD/latest:

NetBSD npi 11.99.5 NetBSD 11.99.5 (GENERIC64) #0: Sat Apr 25 13:49:08
UTC 2026

adr


Home | Main Index | Thread Index | Old Index