Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Nov 2017 01:25:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223673] pkg base (i.e. "make packages") produces nonreproducible output with make -j
Message-ID:  <bug-223673-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223673

            Bug ID: 223673
           Summary: pkg base (i.e. "make packages") produces
                    nonreproducible output with make -j
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: pkgbase
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

The files within the packages are identical but the ordering in the package=
 txz
differs when invoked as "make -j... packages"

E.g. from the reproducbile-builds.org Jenkins instance,
https://tests.reproducible-builds.org/freebsd/dbd/repo/FreeBSD:12:amd64/cur=
rent/FreeBSD-jail-current.txz.html

The first package contained
/=E2=80=8Busr/=E2=80=8Bsbin/=E2=80=8Bjail
/=E2=80=8Busr/=E2=80=8Bsbin/=E2=80=8Bjexec
/=E2=80=8Busr/=E2=80=8Bshare/=E2=80=8Bman/=E2=80=8Bman8/=E2=80=8Bjexec.=E2=
=80=8B8.=E2=80=8Bgz
/=E2=80=8Busr/=E2=80=8Bshare/=E2=80=8Bman/=E2=80=8Bman8/=E2=80=8Bjail.=E2=
=80=8B8.gz
/=E2=80=8Busr/=E2=80=8Bshare/=E2=80=8Bman/=E2=80=8Bman5/=E2=80=8Bjail.=E2=
=80=8Bconf.5.gz
=E2=80=8B/=E2=80=8Busr/=E2=80=8Bsbin/=E2=80=8Bjls

while the second package contained
/=E2=80=8Busr/=E2=80=8Bsbin/=E2=80=8Bjail
/=E2=80=8Busr/=E2=80=8Bshare/=E2=80=8Bman/=E2=80=8Bman8/=E2=80=8Bjail.=E2=
=80=8B8.gz
/=E2=80=8Busr/=E2=80=8Bshare/=E2=80=8Bman/=E2=80=8Bman5/=E2=80=8Bjail.=E2=
=80=8Bconf.5.gz
=E2=80=8B/=E2=80=8Busr/=E2=80=8Bsbin/=E2=80=8Bjexec
/=E2=80=8Busr/=E2=80=8Bshare/=E2=80=8Bman/=E2=80=8Bman8/=E2=80=8Bjexec.=E2=
=80=8B8.=E2=80=8Bgz
/=E2=80=8Busr/=E2=80=8Bsbin/=E2=80=8Bjls

one possible solution is to sort the files in
release/scripts/mtree-to-plist.awk

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223673-8>