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

Build leaks host kernel version into artifact

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9.0
    • Build System: CMake
    • None

    Description

      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?

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes