https://bugs.kde.org/show_bug.cgi?id=512867

            Bug ID: 512867
           Summary: Build is not reproducible
    Classification: Applications
           Product: systemsettings
      Version First 6.5.3
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_powerdevil
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

SUMMARY

Ideally, building the project twice on equivalent systems should result in the
same bit-by-bit result. This helps verify there's been no compromise of build
systems, especially when the project is part of a larger aggregate. You can
read more about this at https://reproducible-builds.org/.

powerdevil seems quite close to being reproducible, but to suffer from an issue
similar to https://qt-project.atlassian.net/browse/QTBUG-137440: a missing
explicit library dependency in the CMakeLists.txt of a project using qml leads
to a nondeterminism in what code is generated for it.

In this case, I've observed a nondeterminism building version 6.5.3, in the
generation of the code for ./applets/brightness/main.qml on lines :108 and
:172, which have correspond to "Connections { target:
screenBrightnessControl.displays }" and "Connections { target:
screenBrightnessControl }". I'm not familiar enough with QML to go from here to
determining what dependency might be missing, though - I'd love your assistance
with that!

This issue was identified while reproducing the NixOS graphical installation
issue, and is tracked there as https://github.com/NixOS/nixpkgs/issues/467100

STEPS TO REPRODUCE

Build powerdevil twice on "essentially the same" environment, perhaps varying
the parallelism of the build (I pretty consistently get differences between
running with 2 and with 16 cores)

OBSERVED RESULT

Different generated code / output

EXPECTED RESULT

The same generated code / output

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to