Bug#803718: Bug#803060: elc files in emacs24-common are older than .el.gz in emacs24-el

2015-11-07 Thread Rob Browning
Rob Browning  writes:

> It looks like it's dh_strip_nondeterminism that's changing the timestamp
> on the .el.gz file, and hence making emacs think that the source file is
> newer than the byte-compiled file.
>
> I suspect it may make sense to have some way to get strip-nondeterminism
> to preserve them, so I'm assigning a clone of this bug there.

Also, I'm not certain, but I believe Emacs may already be omitting the
timestamps via gzip -n.  If so, then another, more general approach
might be to either detect that the gz file is already deterministic, or
to strip to a temp file, and only replace the original when there's
actually a difference.

For now I'm just hacking around the problem in emacs24 with an override
that saves/restores the .el.gz timestamps before/after
dh_strip_nondeterminism.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



Bug#803060: elc files in emacs24-common are older than .el.gz in emacs24-el

2015-11-01 Thread Rob Browning
clone 803060 -1
reassign -1 strip-nondeterminism
thanks

Yuri D'Elia  writes:

> Package: emacs24-common
> Version: 24.5+1-3
> Severity: normal
>
> I have (setq load-prefer-newer t) in my emacs config.
>
> With the latest update, I started to have issues at startup (recursive loads 
> of
> jka-compr.el.gz), which didn't happen before.
>
> It turns out, elc files in emacs24-common seem to be older than the repacked 
> emacs24-el files:
>
> -rw-r--r-- 1 root root  7045 Oct 24 22:43 jka-compr.el.gz
> -rw-r--r-- 1 root root 12501 Oct 24 22:14 jka-compr.elc
>
> I circumvented the issue on my system by touching elc files, but this should
> warrant an update of the package.

It looks like it's dh_strip_nondeterminism that's changing the timestamp
on the .el.gz file, and hence making emacs think that the source file is
newer than the byte-compiled file.

I suspect it may make sense to have some way to get strip-nondeterminism
to preserve them, so I'm assigning a clone of this bug there.

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



Bug#803060: elc files in emacs24-common are older than .el.gz in emacs24-el

2015-10-26 Thread Yuri D'Elia
Package: emacs24-common
Version: 24.5+1-3
Severity: normal

I have (setq load-prefer-newer t) in my emacs config.

With the latest update, I started to have issues at startup (recursive loads of
jka-compr.el.gz), which didn't happen before.

It turns out, elc files in emacs24-common seem to be older than the repacked 
emacs24-el files:

-rw-r--r-- 1 root root  7045 Oct 24 22:43 jka-compr.el.gz
-rw-r--r-- 1 root root 12501 Oct 24 22:14 jka-compr.elc

I circumvented the issue on my system by touching elc files, but this should
warrant an update of the package.