| 1 |
remake (4.1+dbg1.1+dfsg-1) unstable; urgency=low |
| 2 |
|
| 3 |
WARNING: Backward-incompatibility! |
| 4 |
|
| 5 |
The ar program in the binutils package in Debian is now configured |
| 6 |
with --enable-deterministic-archives. This change makes the archives |
| 7 |
reproducible, by setting the UID, GID, and timestamp to 0. However, |
| 8 |
when dealing with archives created with the libxx(*.o) style rules, |
| 9 |
make needs the timestamp of the file in order to decide to update it |
| 10 |
or not. With the current deterministic behavior of ar, the time stamp |
| 11 |
is always 0. This has consequences, since make will fall back to always |
| 12 |
adding each member to the archive, whether or not it is required. This |
| 13 |
is a change in behaviour, and, for instance, it makes make fail to |
| 14 |
build, failing 7 out of 10 archive tests. |
| 15 |
. |
| 16 |
Since binutils will create archive with time stamps set to 0 when |
| 17 |
running in "deterministic" mode, make will always try to update such |
| 18 |
members. When this is detected, make will emit a warning. |
| 19 |
. |
| 20 |
There is some online discussion: |
| 21 |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798804 |
| 22 |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798913 |
| 23 |
https://bugzilla.redhat.com/show_bug.cgi?id=1195883 |
| 24 |
|
| 25 |
-- Manoj Srivastava <[email protected]> Mon, 18 Jan 2016 16:09:19 -0800 |