Bug 1217774 - qt6-webengine qtpdf.index reproducible builds
Summary: qt6-webengine qtpdf.index reproducible builds
Status: IN_PROGRESS
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Applications (show other bugs)
Version: Current
Hardware: Other All
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Antonio Larrosa
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-04 13:16 UTC by Bernhard Wiedemann
Modified: 2023-12-20 17:35 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 2023-12-04 13:16:24 UTC
While working on reproducible builds for openSUSE, I found that
our qt6-webengine / qt6-webengine-docs-html subpackage

varied between builds in /usr/share/doc/qt6/qtpdf/qtpdf.index
See diff at
https://rb.zq1.de/compare.factory-20230830/diffs/qt6-webengine-compare.out

You probably need to build with
osc build -M docs
Comment 1 Bernhard Wiedemann 2023-12-05 20:52:10 UTC
My tools told me that the variations go away when both builds run on 1-core-VMs.
Builds between 3-core and 4-core VMs also matched once.

So it could be some race-condition. Looking at
https://rb.zq1.de/other/qt6-webengine/provenance.dot.svg
there are 2 qdoc runs triggered by
 cmake --build build -j $N -t docs

https://rb.zq1.de/other/qt6-webengine/
also has the raw strace output so you could check which other files were read or written by qdoc. Maybe it kept some shared cache.
Comment 2 Christophe Marin 2023-12-06 10:49:08 UTC
is qtwebengine the only package affected?

Almost all our qt6-* packages build doc
Comment 3 Bernhard Wiedemann 2023-12-08 02:20:00 UTC
qt6-webengine is the only one with this problem of the 38 qt6-* packages.
Comment 4 Antonio Larrosa 2023-12-20 13:48:04 UTC
https://build.opensuse.org/request/show/1134211 should fix this. I submitted the patch to upstream at https://codereview.qt-project.org/c/qt/qtwebengine/+/526880
Comment 5 OBSbugzilla Bot 2023-12-20 17:35:03 UTC
This is an autogenerated message for OBS integration:
This bug (1217774) was mentioned in
https://build.opensuse.org/request/show/1134292 Factory / qt6-webengine