Date: Wed, 29 Jul 2015 09:45:46 -0700 From: Justin Hibbits <jrh29@alumni.cwru.edu> To: Ed Maste <emaste@freebsd.org> Cc: src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r286010 - head/usr.bin/ar Message-ID: <CAHSQbTBL-6zaF%2B%2BvG7U9SDTnNS90=bj5FcyMTQRFWFti=1BPng@mail.gmail.com> In-Reply-To: <201507291336.t6TDaIbn051458@repo.freebsd.org> References: <201507291336.t6TDaIbn051458@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <emaste@freebsd.org> 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"; >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTBL-6zaF%2B%2BvG7U9SDTnNS90=bj5FcyMTQRFWFti=1BPng>