I've come to not like compile time timestamp showing up in output as well.
Complicates CI tests checking for behavior regressions, defeats rsync's
--hard-link option if one uses that to keep backups of past CI builds, etc.

In short term and to prevent breaking our ABI, I suggest changing that
field to be NULL in both git and patch against debian.  sox.c looks for
NULL and handles gracefully.

In longer term, I think a better plan is to output something like 'gcc -v'
outputs; the exact list of options pasted to configure script. That, I
think, is main intent of these timestamps; simple way to help detect 2
binaries reporting same version # but compiled with different
options/behavior.

Chris


On Fri, Feb 13, 2015 at 12:06 PM, Pascal Giard <evily...@gmail.com> wrote:

> Hi guys,
>   Some work in Debian is pushing toward reproducible builds [1] and
> that work is advancing quite well. At the moment, 83%+ of the whole
> archive passes.
>
> SoX isn't one of those packages though as it uses timestamps macros
> [2]. These timestamps macros are only use to tell users/coders about
> the date/time at which SoX or libsox were built.
>
> It is suggested/recommended that the use of such macros be dropped
> altogether [3]. While I haven't received any pressure to make a move
> yet, I'm sure that'll come sooner than later.
>
> I'm therefore asking for your opinion on this. Do you see a problem in
> removing the use of those macros in SoX (thus removing that
> information from sox_version_info) ? I personally don't see that
> information bringing much to the table. My hunch is that it was added
> in the first place because others were doing it as well. I might be
> wrong tho.
>
> Thanks,
>
> -Pascal
> [1] https://wiki.debian.org/ReproducibleBuilds/About
> [2] https://reproducible.debian.net/rb-pkg/sox.html
> [3] https://wiki.debian.org/ReproducibleBuilds/TimestampsFromCPPMacros
> --
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
SoX-devel mailing list
SoX-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-devel

Reply via email to