Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-105926 Qt should support reproducible builds
  3. QTBUG-96281

qmake, libQt5QuickTest.so, libqml_QtTest_qmltestplugin*.so contain build path

    XMLWordPrintable

Details

    • 7cc55822f (dev), cce1222cc (6.7), f2d7272df (6.6), 0f3f0a020 (tqtc/lts-6.5)

    Description

      qmake, libQt5QuickTest.so, libqml_QtTest_qmltestplugin*.so contain the build path.

      This leads to non reproducible builds.

       

      For example

      strings bin/qmake | grep "/build/"

      returns

      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/text/qstring.h
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/tools/qarraydata.h
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/tools/qvector.h
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/tools/qhash.h
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/tools/qlist.h
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/option.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/text/qbytearray.h
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/project.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/text/qstringview.h
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/library/ioutils.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/library/proitems.h
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/library/qmakebuiltins.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/tools/qstack.h
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/tools/qmap.h
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/library/qmakeevaluator.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/library/qmakeparser.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/generators/mac/pbuilder_pbx.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/generators/makefile.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/generators/makefiledeps.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/generators/projectgenerator.h
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/tools/qvarlengtharray.h
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/generators/win32/msvc_objectmodel.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/qmake/generators/xmloutput.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/text/qstringiterator_p.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/global/qrandom.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qbuffer.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qdir.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qfile.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qfiledevice.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/io/qiodevice_p.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qfileinfo.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qfsfileengine.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qiodevice.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qiodevice_p.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qsettings.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qsettings_p.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qtemporaryfile.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/io/qtemporaryfile_p.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/serialization/qtextstream.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/serialization/qcborvalue_p.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/serialization/qcborvalue.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/serialization/qjsonarray.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/serialization/qcborvalue_p.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/serialization/qjsonobject.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/serialization/qjsonparser.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/kernel/qmetatype.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/kernel/qsystemerror.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/kernel/qvariant.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/kernel/qvariant_p.h
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/plugin/quuid.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/tools/qarraydata.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/tools/qbitarray.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/text/qbytearray.cpp
      G/build/qt-everywhere-src-5.15.2/qtbase/src/corelib/time/qcalendar.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/global/qglobalstatic.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/time/qgregoriancalendar.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/tools/qcryptographichash.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/time/qdatetime.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/tools/qhash.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/tools/qlist.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/text/qlocale.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/text/qlocale_tools.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/tools/qmap.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/global/qglobal.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/text/qregexp.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/tools/qbitarray.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/tools/qringbuffer.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/5.15.2/QtCore/private/../../../../../src/corelib/tools/qringbuffer_p.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/text/qstring.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/text/qstringiterator_p.h
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qfilesystemengine_unix.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/src/corelib/io/qfsfileengine_unix.cpp
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/tools/qarraydata.h
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/text/qstring.h
      /build/qt-everywhere-src-5.15.2/qtbase/include/QtCore/../../src/corelib/global/qglobalstatic.h

      Same for

      strings qt4android-5.15/qml/QtTest/libqml_QtTest_qmltestplugin_arm64-v8a.so | grep "/build/"

      returns

      /build/qt-everywhere-src-5.15.2/qtbase/include/QtTest/../../src/testlib/qtestkeyboard.h

      And also on Android 5.12.11

      strings libQt5QuickTest.so | grep build

      /build/qt-everywhere-src-zJsh8N/qt-everywhere-src-5.12.11/qtbase/include/QtTest/../../src/testlib/qtestkeyboard.h

       

      This was made while building Android for Qt this way

      ./configure \
      -confirm-license \
      -prefix "/usr/lib/qt4android-5.15" \
      -opensource \
      -xplatform android-clang \
      -disable-rpath \
      -skip qtwebengine \
      -skip qtmacextras \
      -skip qtwinextras \
      -skip qtx11extras \
      -skip qtwayland \
      -nomake tests \
      -nomake examples \
      -android-sdk /opt/Sdk \
      -android-ndk /opt/Sdk/ndk/20.1.5948944 \
      \
      -no-warnings-are-errors

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            ban F S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes