From owner-freebsd-ports-bugs@freebsd.org  Thu Oct  4 14:50:17 2018
Return-Path: <owner-freebsd-ports-bugs@freebsd.org>
Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 748A910AD8DA
 for <freebsd-ports-bugs@mailman.ysv.freebsd.org>;
 Thu,  4 Oct 2018 14:50:17 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:5])
 by mx1.freebsd.org (Postfix) with ESMTP id 0E5FB7249B
 for <freebsd-ports-bugs@freebsd.org>; Thu,  4 Oct 2018 14:50:17 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: by mailman.ysv.freebsd.org (Postfix)
 id C594D10AD8D9; Thu,  4 Oct 2018 14:50:16 +0000 (UTC)
Delivered-To: ports-bugs@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3C5F10AD8D8
 for <ports-bugs@mailman.ysv.freebsd.org>; Thu,  4 Oct 2018 14:50:16 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org
 [IPv6:2001:1900:2254:206a::19:3])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "mxrelay.ysv.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 51AA972496
 for <ports-bugs@FreeBSD.org>; Thu,  4 Oct 2018 14:50:16 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A4D4414A4C
 for <ports-bugs@FreeBSD.org>; Thu,  4 Oct 2018 14:50:15 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w94EoF4T000924
 for <ports-bugs@FreeBSD.org>; Thu, 4 Oct 2018 14:50:15 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
 by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w94EoFxJ000923
 for ports-bugs@FreeBSD.org; Thu, 4 Oct 2018 14:50:15 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to
 bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: ports-bugs@FreeBSD.org
Subject: [Bug 231944] sysutils/fusefs-sshfs: fix build with base GCC
Date: Thu, 04 Oct 2018 14:50:15 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: pkubaj@anongoth.pl
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: bofh@freebsd.org
X-Bugzilla-Flags: maintainer-feedback?
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 flagtypes.name attachments.created
Message-ID: <bug-231944-7788@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
 <mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Oct 2018 14:50:17 -0000

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.=