Bug 1111950

Summary: maildir-utils .elc varies between builds from parallelism
Product: [openSUSE] openSUSE Tumbleweed Reporter: Bernhard Wiedemann <bwiedemann>
Component: DevelopmentAssignee: Michael Vetter <mvetter>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE Factory   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1102408    
Attachments: provenance graph with tooltips

Description Bernhard Wiedemann 2018-10-16 03:40:18 UTC
Created attachment 786066 [details]
provenance graph with tooltips

While working on reproducible builds for openSUSE, I found that
one file in the maildir-utils package randomly differed (50% of time)

/usr/share/emacs/site-lisp/mu4e/mu4e-view.elc differs at offset '32229' (Emacs/X
Emacs v23 byte-compiled Lisp data)
@@ -1,11 +1,11 @@
 00007dc0  6e 74 65 72 61 63 74 69  76 65 29 20 61 70 70 6c  |nteractive) appl|
 00007dd0  79 20 66 75 6e 63 74 69  6f 6e 20 23 5b 28 23 35  |y function #[(#5|
-00007de0  3d 23 3a 47 35 29 20 22  5c 33 30 31 08 4a 21 5c  |=#:G5) "\301.J!\|
+00007de0  3d 23 3a 47 32 29 20 22  5c 33 30 31 08 4a 21 5c  |=#:G2) "\301.J!\|
 00007df0  32 30 37 22 20 5b 23 35  23 20 62 72 6f 77 73 65  |207" [#5# browse|
 00007e00  2d 75 72 6c 2d 6d 61 69  6c 5d 20 32 5d 20 71 75  |-url-mail] 2] qu|
 00007e10  6f 74 65 20 2d 2d 63 6c  2d 72 65 73 74 2d 2d 20  |ote --cl-rest-- |
 00007e20  28 69 6e 74 65 72 61 63  74 69 76 65 29 20 23 5b  |(interactive) #[|
-00007e30  28 23 36 3d 23 3a 47 36  29 20 22 5c 33 30 31 08  |(#6=#:G6) "\301.|
+00007e30  28 23 36 3d 23 3a 47 33  29 20 22 5c 33 30 31 08  |(#6=#:G3) "\301.|
 00007e40  4a 21 5c 32 30 37 22 20  5b 23 36 23 20 62 72 6f  |J!\207" [#6# bro|
 00007e50  77 73 65 2d 75 72 6c 5d  20 32 5d 5d 20 38 20 28  |wse-url] 2]] 8 (|
 00007e60  23 24 20 2e 20 33 31 35  37 33 29 5d 29 0a 23 40  |#$ . 31573)]).#@|


Problem goes away with this patch to the .spec file:
-make %{?_smp_mflags}
+make -C lib %{?_smp_mflags}
+make

but this type of issue could indicate poorly defined dependencies/ordering
or maybe there is a race condition somewhere?
Comment 1 Michael Vetter 2019-03-04 10:08:24 UTC
Reported upstream https://github.com/djcb/mu/issues/1363
Comment 2 Michael Vetter 2019-03-05 10:22:55 UTC
I still don't understand why it happens.
But will build the package for now with:

> make -C lib %{?_smp_mflags}
> make

12% time difference when I tested.
SR#681670
Comment 3 Swamp Workflow Management 2019-03-05 11:00:07 UTC
This is an autogenerated message for OBS integration:
This bug (1111950) was mentioned in
https://build.opensuse.org/request/show/681670 Factory / maildir-utils