Bug 1120942 - semi-xemacs custom-load.el varies between builds
Summary: semi-xemacs custom-load.el varies between builds
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other openSUSE Factory
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Takashi Iwai
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1102408
  Show dependency treegraph
 
Reported: 2019-01-07 13:58 UTC by Bernhard Wiedemann
Modified: 2019-01-15 10:59 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2019-01-07 13:58:45 UTC
While working on reproducible builds for openSUSE, I found that
semi-xemacs randomly (20-50% of the time) had variations 
in custom-load.el
or custom-load.elc
even when disabling all build variations.


Steps to Reproduce:
osc co openSUSE:Factory/semi-xemacs && cd $_
osc build --noservice
osc chroot --offline
cd /home/abuild/rpmbuild/BUILD/semi-1.14.6
rm custom-load.el
xemacs -batch -q -no-site-file -l SEMI-MK -f compile-semi-package &&
  md5sum custom-load.el

and then run the last command again


Actual Diff:

+(custom-add-loads 'mime-view '("mime-play" "mime-view"))
+(custom-add-loads 'pgg-parse '("pgg-parse"))
+(custom-add-loads 'smime '("smime"))
+(custom-add-loads 'mime-edit '("mime-edit"))
+(custom-add-loads 'pgg '("pgg-def" "pgg-gpg" "pgg-parse" "pgg-pgp" "pgg-pgp5"))
+(custom-add-loads 'pgg-gpg '("pgg-gpg"))
+(custom-add-loads 'pgg-pgp5 '("pgg-pgp5"))
+(custom-add-loads 'mime '("mime-edit" "mime-view" "pgg-def" "semi-def" "smime"))
+(custom-add-loads 'pgg-pgp '("pgg-pgp"))

and a long hash line having 23 vs 24 elements.

Could this diff cause bugs at runtime?

In the simplified reproducer above, the result remains the same after the 2nd call until the .el file is removed again. This hints at a race condition occuring during the build, even in a 1-core VM.
Comment 1 Bernhard Wiedemann 2019-01-07 14:02:05 UTC
btw, there are unrelated variations in all .elc files that go away with
xemacs from
osc build --alternative-project home:bmwiedemann:reproducible:test

Those are not subject of this bug.
Comment 2 Takashi Iwai 2019-01-07 14:03:20 UTC
Let's drop this package (at least for xemacs).  No one really uses it.

Is semi-emacs OK in this regard?
Comment 3 Bernhard Wiedemann 2019-01-09 11:11:12 UTC
yes, semi-emacs seems fine.
Comment 4 Takashi Iwai 2019-01-09 11:36:20 UTC
OK, I requested the drop of semi-xemacs and flim-xemacs from FACTORY.
Will clean up semi-emacs and flim-emacs packages later.
Comment 5 Takashi Iwai 2019-01-15 10:59:32 UTC
The drop requests have been submitted.