[Cook] Cook on Debian (and derivatives)

Walter Franzini walter.franzini at gmail.com
Thu Jul 2 15:30:26 AEST 2015


Hi,

binutils 2.25-6 changed the ar(1) behaviour to produce deterministic
archives (i.e. the timestamp is zero).

I've discovered this fact fixing a test failure in the building of the
package in the debian repository.

My fix has been simply to add the "U" modifier to ar(1) invocation:

------------------------------------------------------------------------
  U   Do not operate in deterministic mode.  This is the inverse of the D
      modifier, above: added files and the archive index will get their
      actual UID, GID, timestamp, and file mode values.

      This is the default unless binutils was configured with
      --enable-deterministic-archives.
------------------------------------------------------------------------

HTH
-- 
walter franzini


More information about the Cook-users mailing list