On 2015-01-03 14:19 +0100, Jérémy Bobbio wrote:
> While working on the “reproducible builds” effort [1], we have noticed
> that ncurses could not be built reproducibly.
>
> The attached patch will add calls to strip-nondeterminism on static
> libraries. Once applied, the package can be built reproducibly with our
> current experimental framework.
>
> I've initially tried to run `ar` in deterministic mode by passing
> ARFLAGS="Dcrv". Unfortunately, `ranlib` is called after `ar` and there
> doesn't seem to be a way to pass the `-D` flag to it, and so it will
> write a timestamp in the newly created index.
I am not strictly opposed to your patch, but I think the problem should
be tackled elsewhere, so that fewer packages need to be modified.
Have you considered filing a wishlist bug against binutils to build with
"--enable-deterministic-archives", so that ar and ranlib operate in
deterministic mode by default? Also, what's the current state of
#759895?
Cheers,
Sven
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]