Date: Thu, 04 Oct 2018 14:50:15 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 231944] sysutils/fusefs-sshfs: fix build with base GCC Message-ID: <bug-231944-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231944 Bug ID: 231944 Summary: sysutils/fusefs-sshfs: fix build with base GCC Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: bofh@freebsd.org Reporter: pkubaj@anongoth.pl Flags: maintainer-feedback?(bofh@freebsd.org) Assignee: bofh@freebsd.org Created attachment 197779 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D197779&action= =3Dedit 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=3D64 -Wall -Winvalid-pch -O3 -D_REENTRANT -DHAVE_CONFIG_H -Wall -W= extra -Wno-sign-compare -Wmissing-declarations -Wwrite-strings -Wno-unused-result= -O2 -DNDEBUG -fno-strict-aliasing -pthread -DFUSE_USE_VERSION=3D31 -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. --=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-231944-7788>