Re: [Reproducible-builds] Bug#824182: codeblocks: please make the build reproducible (timestamps)

2016-05-17 Thread Fabian Wolff
> So everything may be fine. If that's the case, sorry for the noise. (Then it > would be nice to add a comment explaining this, for future readers.) No, I think you are right: If SOURCE_DATE_EPOCH is not set, then this is not going to work. I have tested the patch, but apparently only in an

Re: [Reproducible-builds] Bug#824182: codeblocks: please make the build reproducible (timestamps)

2016-05-17 Thread Ximin Luo
Ximin Luo: > (sorry for repost, making sure the right people see this) > > Fabian Wolff: >> -export DEB_CPPFLAGS_MAINT_APPEND=-DNDEBUG >> +export DEB_CPPFLAGS_MAINT_APPEND=-DNDEBUG \ >> +-DBUILD_DATE="\"\\\"`date -u -d @$(SOURCE_DATE_EPOCH) +%Y-%m-%d`\\\"\"" >> \ >> +

Re: [Reproducible-builds] Bug#824182: codeblocks: please make the build reproducible (timestamps)

2016-05-17 Thread Mattia Rizzolo
On Tue, May 17, 2016 at 07:01:49PM +0200, Ximin Luo wrote: > export SOURCE_DATE_EPOCH = $(shell dpkg-parsechangelog -SDate | date -f- +%s) s/=/?=/ might be also nicer, IMHO. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540

Re: [Reproducible-builds] Bug#824182: codeblocks: please make the build reproducible (timestamps)

2016-05-17 Thread Ximin Luo
(sorry for repost, making sure the right people see this) Fabian Wolff: > -export DEB_CPPFLAGS_MAINT_APPEND=-DNDEBUG > +export DEB_CPPFLAGS_MAINT_APPEND=-DNDEBUG \ > + -DBUILD_DATE="\"\\\"`date -u -d @$(SOURCE_DATE_EPOCH) +%Y-%m-%d`\\\"\"" > \ > + -DBUILD_TIME="\"\\\"`date -u -d