Date: Sun, 06 Aug 2023 17:05:50 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 272982] sysutils/testdisk: build failure with NTFS option Message-ID: <bug-272982-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272982 Bug ID: 272982 Summary: sysutils/testdisk: build failure with NTFS option Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: discipline@tiscali.it I'm trying to rebuild sysutils/testdisk after the bump needed after the rec= ent jpeg-turbo upgrade. $ uname -a FreeBSD bsg75.local.net 13.2-STABLE FreeBSD 13.2-STABLE 254cdd5b2 BSG75 amd= 64 $ make showconfig -C /usr/ports/sysutils/testdisk/ =3D=3D=3D> The following configuration options are available for testdisk-7= .1_1: DOCS=3Don: Build and/or install documentation ICONV=3Don: Encoding conversion support via iconv NTFS=3Don: Support NTFS via fuse-ntfs extensions PROGSREISERFS=3Doff: Use reiserfs extensions =3D=3D=3D> Use 'make config' to modify these settings $ pkg info -iox testdisk fusefs-ntfs testdisk-7.1 sysutils/testdisk fusefs-ntfs-2022.10.3 sysutils/fusefs-ntfs The error: cc -DHAVE_CONFIG_H -I. -I.. -DLIBICONV_PLUG -isystem /usr/local/include = -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-protot= ypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-= cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winl= ine -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=3D2 -Wunreachable-code -Wvla -fstack-protector-strong= -MT ntfs_io.o -MD -MP -MF .deps/ntfs_io.Tpo -c -o ntfs_io.o ntfs_io.c In file included from ntfs_io.c:56: ./common.h:37:19: warning: unknown attribute 'gcc_struct' ignored [-Wunknown-attributes] } __attribute__ ((gcc_struct, __packed__)); ^~~~~~~~~~ ntfs_io.c:148:61: warning: unused parameter 'dev' [-Wunused-parameter] static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) ^ ntfs_io.c:148:79: warning: unused parameter 'buf' [-Wunused-parameter] static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) = ^ ntfs_io.c:157:62: warning: unused parameter 'dev' [-Wunused-parameter] static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int reque= st, ^ ntfs_io.c:157:71: warning: unused parameter 'request' [-Wunused-parameter] static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int reque= st, ^ ntfs_io.c:158:9: warning: unused parameter 'argp' [-Wunused-parameter] void *argp) ^ ntfs_io.c:180:12: error: incompatible function pointer types initializing '= int (*)(struct ntfs_device *, unsigned long, void *)' with an expression of type 'int (*)(struct ntfs_device *, int, void *)' [-Wincompatible-function-pointer-types] .ioctl =3D &ntfs_device_testdisk_io_ioctl, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 warnings and 1 error generated. *** Error code 1 Stop. make[4]: stopped in /usr/ports/sysutils/testdisk/work/testdisk-7.1/src *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272982-7788>