Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-136060

Build leaks host kernel version into artifact

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.11.0 FF
    • 6.9.0
    • Build System: CMake
    • None
    • dc52aa68e (dev)

      Since QTBUG-129996 was fixed with this implementation, the build includes the CMAKE_SYSTEM_VERSION in the json metadata, which by default is set to the host system version.

      This makes the build not reproducible: the Linux Kernel version of the build system leaks into the artifact. It seems overly specific as well: AFAICS Qt does not call Linux Kernel APIs directly, but relies on system libraries - so the built Qt artifacts should (and do) run fine on various Linux Kernel versions.

      Presumably we could work around this by setting CMAKE_SYSTEM_VERSION to a dummy value, but it begs the question: wouldn't it be better to leave out this value entirely?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            raboof Arnout Engelen
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes