From owner-svn-src-head@freebsd.org Wed Jul 29 16:45:47 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E52309AC750; Wed, 29 Jul 2015 16:45:47 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B20952F50; Wed, 29 Jul 2015 16:45:47 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by igr7 with SMTP id 7so150028600igr.0; Wed, 29 Jul 2015 09:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=R3PDnHJNR3Lt19UeT/rbnJ20EbifOQXjraOoKantk/c=; b=iOLCzVkFh3BPaFQlzjyKoufEhE2ykFbRggTpGrWlkzEYHlbopyLSr0MSzEZqntpXL1 t+T4Gnx7L1at8zTxnQZyImItvApHbFG/AHNY7dQFkCSyWQu3NPYh1jrSVY7mQwOo/kgu J4KyWBV7JWK7xKgEg6mX4j69EtUGfHO/P1lQQERwsEUWn5zjA6RAltRnQT3unzXZNOgj eRkycaTvH5Rja0L2HUaQBhODqrhDo2KqlmQMI30SfhAZGWzRRM6v1T9L3JKviix2ZLyQ TIV7bhzhWkZrKFjkI2FLMUMgL/hFebIH/78uSZ9kDI1VBEjZBdyRtBGdKrjzUgrUspus 5zFA== MIME-Version: 1.0 X-Received: by 10.50.40.42 with SMTP id u10mr7221565igk.71.1438188347045; Wed, 29 Jul 2015 09:45:47 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.36.121.149 with HTTP; Wed, 29 Jul 2015 09:45:46 -0700 (PDT) In-Reply-To: <201507291336.t6TDaIbn051458@repo.freebsd.org> References: <201507291336.t6TDaIbn051458@repo.freebsd.org> Date: Wed, 29 Jul 2015 09:45:46 -0700 X-Google-Sender-Auth: 64DymN13AmEA3kMgfmXlILIF7VU Message-ID: Subject: Re: svn commit: r286010 - head/usr.bin/ar From: Justin Hibbits To: Ed Maste Cc: src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2015 16:45:48 -0000 This breaks ports building. When building ports-mgmt/pkg: ar: fatal: Option -D is not permitted in mode -x - Justin On Wed, Jul 29, 2015 at 6:36 AM, Ed Maste wrote: > Author: emaste > Date: Wed Jul 29 13:36:17 2015 > New Revision: 286010 > URL: https://svnweb.freebsd.org/changeset/base/286010 > > Log: > ar: enable deterministic mode by default > > Ar cannot handle UIDs with more than 6 digits, and storing the mtime, > uid, gid and mode provides little to negative value anyhow for ar's > uses. Turn on deterministic (-D) mode by default; it can be disabled by > the user with -U. > > PR: 196929 > Relnotes: Yes > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D3190 > > Modified: > head/usr.bin/ar/ar.1 > head/usr.bin/ar/ar.c > > Modified: head/usr.bin/ar/ar.1 > ============================================================================== > --- head/usr.bin/ar/ar.1 Wed Jul 29 13:14:34 2015 (r286009) > +++ head/usr.bin/ar/ar.1 Wed Jul 29 13:36:17 2015 (r286010) > @@ -210,6 +210,7 @@ and 0644 instead of file mode from the m > .Ar . > This ensures that checksums on the resulting archives are reproducible > when member contents are identical. > +This option is enabled by default. > If multiple > .Fl D > and > > Modified: head/usr.bin/ar/ar.c > ============================================================================== > --- head/usr.bin/ar/ar.c Wed Jul 29 13:14:34 2015 (r286009) > +++ head/usr.bin/ar/ar.c Wed Jul 29 13:36:17 2015 (r286010) > @@ -104,6 +104,8 @@ main(int argc, char **argv) > > bsdar = &bsdar_storage; > memset(bsdar, 0, sizeof(*bsdar)); > + /* Enable deterministic mode by default. */ > + bsdar->options |= AR_D; > > if ((bsdar->progname = getprogname()) == NULL) > bsdar->progname = "ar"; >