Created attachment 197779 [details] patch When compiling with base GCC, as is on architectures that use GCC in base, building this port fails. FAILED: sshfs@exe/cache.c.o cc -Isshfs@exe -I. -I.. -I../ -I/usr/local/include/fuse3 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pipe -D_FILE_OFF SET_BITS=64 -Wall -Winvalid-pch -O3 -D_REENTRANT -DHAVE_CONFIG_H -Wall -Wextra -Wno-sign-compare -Wmissing-declarations -Wwrite-strings -Wno-unused-result -O2 -DNDEBUG -fno-strict-aliasing -pthread -DFUSE_USE_VERSION=31 -MD -MQ 'sshfs@exe/cache.c.o' -MF 'sshfs@exe/cache.c.o.d' -o 'sshfs@exe/cache.c.o' -c ../cache.c cc1: error: unrecognized command line option "-Wno-unused-result" Fix it by not using "-Wno-unused-result" flag. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
A commit references this bug: Author: linimon Date: Mon Nov 5 23:30:50 UTC 2018 New revision: 484258 URL: https://svnweb.freebsd.org/changeset/ports/484258 Log: On architectures that use GCC in base, the "-Wno-unused-result" flag must be disabled to fix the build. PR: 231944 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Changes: head/sysutils/fusefs-sshfs/Makefile head/sysutils/fusefs-sshfs/files/patch-meson.build