From owner-svn-ports-head@freebsd.org Tue Jul 30 12:43:05 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7E96EA2572; Tue, 30 Jul 2019 12:43:05 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5FFC298040; Tue, 30 Jul 2019 12:43:05 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 37C6D19315; Tue, 30 Jul 2019 12:43:05 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6UCh5P2068224; Tue, 30 Jul 2019 12:43:05 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6UCh4gl068221; Tue, 30 Jul 2019 12:43:04 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201907301243.x6UCh4gl068221@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Tue, 30 Jul 2019 12:43:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r507639 - in head/devel/py-llfuse: . files files/files X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: in head/devel/py-llfuse: . files files/files X-SVN-Commit-Revision: 507639 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 5FFC298040 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.96)[-0.958,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jul 2019 12:43:05 -0000 Author: pkubaj Date: Tue Jul 30 12:43:04 2019 New Revision: 507639 URL: https://svnweb.freebsd.org/changeset/ports/507639 Log: devel/py-llfuse: Fix build (warning=error), remove -Werror -Werror is added to flags by default, breaking build for example with GCC. Follow upstream and remove it. Also disable DEVELOPER_MODE since it's enabled too widely. PR: 238887 Approved by: portmgr (blanket(s): build fix, ports compliance), linimon (mentor) Differential Revision: https://reviews.freebsd.org/D21067 Added: head/devel/py-llfuse/files/files/ head/devel/py-llfuse/files/files/patch-setup.py (contents, props changed) head/devel/py-llfuse/files/patch-setup.py (contents, props changed) Modified: head/devel/py-llfuse/Makefile Modified: head/devel/py-llfuse/Makefile ============================================================================== --- head/devel/py-llfuse/Makefile Tue Jul 30 12:36:19 2019 (r507638) +++ head/devel/py-llfuse/Makefile Tue Jul 30 12:43:04 2019 (r507639) @@ -12,8 +12,6 @@ COMMENT= Python bindings for low-level FUSE API LICENSE= LGPL20+ -BROKEN_powerpc64= Does not build: error: conversion to mode_t from int may alter its value - USES= compiler:c++11-lang fuse pkgconfig python tar:bz2 USE_PYTHON= autoplist distutils Added: head/devel/py-llfuse/files/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-llfuse/files/files/patch-setup.py Tue Jul 30 12:43:04 2019 (r507639) @@ -0,0 +1,36 @@ +--- setup.py.orig 2017-01-22 22:24:10 UTC ++++ setup.py +@@ -80,24 +80,24 @@ def main(): + # We may have unused functions if we compile for older FUSE versions + compile_args.append('-Wno-unused-function') + +- # Value-changing conversions should always be explicit. +- compile_args.append('-Werror=conversion') +- +- # Note that (i > -1) is false if i is unsigned (-1 will be converted to +- # a large positive value). We certainly don't want to do this by +- # accident. +- compile_args.append('-Werror=sign-compare') +- + # Enable all fatal warnings only when compiling from Mercurial tip. + # (otherwise we break forward compatibility because compilation with newer + # compiler may fail if additional warnings are added) +- if DEVELOPER_MODE: ++ if 0: + compile_args.append('-Werror') + compile_args.append('-Wfatal-errors') + + # Unreachable code is expected because we need to support multiple + # platforms and architectures. + compile_args.append('-Wno-error=unreachable-code') ++ ++ # Value-changing conversions should always be explicit. ++ compile_args.append('-Werror=conversion') ++ ++ # Note that (i > -1) is false if i is unsigned (-1 will be converted to ++ # a large positive value). We certainly don't want to do this by ++ # accident. ++ compile_args.append('-Werror=sign-compare') + + # http://bugs.python.org/issue7576 + if sys.version_info[0] == 3 and sys.version_info[1] < 2: Added: head/devel/py-llfuse/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-llfuse/files/patch-setup.py Tue Jul 30 12:43:04 2019 (r507639) @@ -0,0 +1,36 @@ +--- setup.py.orig 2017-01-22 22:24:10 UTC ++++ setup.py +@@ -80,24 +80,24 @@ def main(): + # We may have unused functions if we compile for older FUSE versions + compile_args.append('-Wno-unused-function') + +- # Value-changing conversions should always be explicit. +- compile_args.append('-Werror=conversion') +- +- # Note that (i > -1) is false if i is unsigned (-1 will be converted to +- # a large positive value). We certainly don't want to do this by +- # accident. +- compile_args.append('-Werror=sign-compare') +- + # Enable all fatal warnings only when compiling from Mercurial tip. + # (otherwise we break forward compatibility because compilation with newer + # compiler may fail if additional warnings are added) +- if DEVELOPER_MODE: ++ if 0: + compile_args.append('-Werror') + compile_args.append('-Wfatal-errors') + + # Unreachable code is expected because we need to support multiple + # platforms and architectures. + compile_args.append('-Wno-error=unreachable-code') ++ ++ # Value-changing conversions should always be explicit. ++ compile_args.append('-Werror=conversion') ++ ++ # Note that (i > -1) is false if i is unsigned (-1 will be converted to ++ # a large positive value). We certainly don't want to do this by ++ # accident. ++ compile_args.append('-Werror=sign-compare') + + # http://bugs.python.org/issue7576 + if sys.version_info[0] == 3 and sys.version_info[1] < 2: