Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 14:57:28 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        Erik Cederstrand <erik@cederstrand.dk>
Cc:        FreeBSD current <freebsd-current@freebsd.org>
Subject:   Re: HELP WANTED: Figure out why svnlite build is sometimes not reproducible
Message-ID:  <526D8C48.1010907@freebsd.org>
In-Reply-To: <BC109BB5-26B4-4424-88D9-B6ACD551D831@cederstrand.dk>
References:  <526D7FBB.3060506@freebsd.org> <BC109BB5-26B4-4424-88D9-B6ACD551D831@cederstrand.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/27/13 14:52, Erik Cederstrand wrote:
> Den 27/10/2013 kl. 22.03 skrev Colin Percival <cperciva@FreeBSD.org>:
>> Doing freebsd-update builds, I've now had two instances where /usr/bin/svnlite
>> has built inexplicably differently -- changes scattered all over the binary.
> 
> Which kind of changes? Are you aware of the -D flag to ar(1) (wipes timestamps in archives)? Are you always using the same SRCDIR/DESTDIR (this affects the __FILE__ macro)? Same DEBUG_FLAGS?

Changes in lots of non-7-bit-ASCII bits all over the file.  I'm guessing
it's executable code.

Yes, aware of -D flag.  That's a red herring since this isn't an archive;
and all the other binaries are fine.

Yes, all the build context is the same -- this is happening inside a
chroot with the same build script running every time.

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?526D8C48.1010907>