Bug 389081

Summary: .elc have earlier timestamps than .el files
Product: [Fedora] Fedora Reporter: Need Real Name <bugzilla>
Component: emacs-vmAssignee: Jonathan Underwood <jonathan.underwood>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.0.5.504-2.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-26 18:37:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2007-11-18 02:38:53 UTC
When loading vm, I get a slew of error messages saying that for example:
Source file `/usr/share/emacs/site-lisp/vm/vm-mime.el' newer than byte-compiled\
 file

This then causes the SLOWER but "newer" .el file to be loaded rather than the
faster but older byte-compiled .elc file.

I think to fix this just requires that you rebuild emacs-vm (.elc files) AFTER
emacs-vm-el (.el files)

Thanks

Comment 1 Jonathan Underwood 2007-11-18 11:05:12 UTC
Which package versions are you using? The bugzilla report template includes
these things for a reason - please don't just delete the questions that are
present when you report a bug (Versions of packages, Steps to reproduce,
reproducibility etc).

Anyway, I can't reproduce the problem locally with:
emacs-vm-el-8.0.3.495-7.fc8
emacs-vm-8.0.3.495-7.fc8

Are you sure you haven't previously installed vm by hand and so have time stamp
skew? emacs-vm and emacs-vm-el are built at the sasme time in the buildsystem
from the same tarball, so there shouldn't be the problem you report, unless we
have a problem with the buildsystem.

Comment 2 Jonathan Underwood 2007-11-18 11:25:09 UTC
Ah, yes, actually, you're right - there is a time skew:

$ ls -l --full-time /usr/share/emacs/site-lisp/vm/vm-version*
-rw-r--r-- 1 root root 5732 2007-10-13 00:44:39.000000000 +0100
/usr/share/emacs/site-lisp/vm/vm-version.el
-rw-r--r-- 1 root root 5559 2007-10-13 00:44:38.000000000 +0100
/usr/share/emacs/site-lisp/vm/vm-version.elc

I will look into this, it's rather a peculiar problem. Anyway, in the meantime,
there is no need to install emacs-vm-el if you want to run VM - you only need
emacs-vm.

Comment 3 Jonathan Underwood 2007-11-18 19:24:51 UTC
Have pushed new builds which should rectify this problem - they should appear in
the updates-testing repositoriy in the next day or two. If you want to test them
sooner than thaat, you can pull them directly from koji here:

http://koji.fedoraproject.org/koji/buildinfo?buildID=24734

Comment 4 Need Real Name 2007-11-19 17:45:34 UTC
Thanks - I know that I don't NEED the emacs-vm-el rpm but I do a fair bit of vm
hacking so I like to have the elisp source available.

Thanks.

Comment 5 Jonathan Underwood 2007-11-19 18:38:43 UTC
As an aside, are you a Fedora packager? It would be great to have a
co-maintainer for this package who was familiar with the "guts" of VM - let me
know if you're interested in co-maintaining.

Comment 6 Fedora Update System 2007-11-20 17:57:33 UTC
emacs-vm-8.0.5.504-2.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update emacs-vm'

Comment 7 Fedora Update System 2007-11-26 18:37:50 UTC
emacs-vm-8.0.5.504-2.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.