From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 27 16:10:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A2BFE51E for ; Sat, 27 Apr 2013 16:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 6F9DA1F9E for ; Sat, 27 Apr 2013 16:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r3RGA0dV008281 for ; Sat, 27 Apr 2013 16:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r3RGA088008280; Sat, 27 Apr 2013 16:10:00 GMT (envelope-from gnats) Resent-Date: Sat, 27 Apr 2013 16:10:00 GMT Resent-Message-Id: <201304271610.r3RGA088008280@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Chris Rees Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 84802510 for ; Sat, 27 Apr 2013 16:08:43 +0000 (UTC) (envelope-from crees@bayofrum.net) Received: from mk-outboundfilter-1.mail.uk.tiscali.com (mk-outboundfilter-1.mail.uk.tiscali.com [212.74.114.37]) by mx1.freebsd.org (Postfix) with ESMTP id 2621F1F94 for ; Sat, 27 Apr 2013 16:08:42 +0000 (UTC) Received: from host-80-43-136-232.as13285.net (HELO pegasus.bayofrum.net) ([80.43.136.232]) by smtp.pipex.tiscali.co.uk with ESMTP; 27 Apr 2013 17:08:31 +0100 Received: by pegasus.bayofrum.net (Postfix, from userid 1001) id 256CC1EA61; Sat, 27 Apr 2013 17:06:32 +0100 (BST) Message-Id: <20130427160632.256CC1EA61@pegasus.bayofrum.net> Date: Sat, 27 Apr 2013 17:06:32 +0100 (BST) From: Chris Rees To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/178198: Fix port: ports-mgmt/pkg build fails with Werror X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Chris Rees List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Apr 2013 16:10:00 -0000 >Number: 178198 >Category: ports >Synopsis: Fix port: ports-mgmt/pkg build fails with Werror >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Apr 27 16:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Chris Rees >Release: FreeBSD 9.1-STABLE amd64 >Organization: >Environment: System: FreeBSD pegasus.bayofrum.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r247189: Sat Feb 23 15:20:18 GMT 2013 root@pegasus.bayofrum.net:/usr/obj/usr/home/crees/workspace/src/stable/9/sys/PEGASUS amd64 >Description: On head with clang 3.2, pkg fails on style warnings; http://www.bayofrum.net/~crees/scratch/pkg-1.0.11.log >How-To-Repeat: >Fix: I tracked it down to bsd.sys.mk, which accepts NO_WERROR as a makevar. --- pkg-Werror.diff begins here --- Index: Makefile =================================================================== --- Makefile (revision 316666) +++ Makefile (working copy) @@ -22,7 +22,7 @@ MANCOMPRESSED= yes MAKE_ENV+= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null \ - PORTREVISION=${PORTREVISION} + NO_WERROR=yes PORTREVISION=${PORTREVISION} USE_STAGE= yes # Use a submake as 'deinstall install' needs to reevaluate PKG_CMD # so that pkg-static is used from the wrkdir --- pkg-Werror.diff ends here --- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. >Release-Note: >Audit-Trail: >Unformatted: