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

5.14.0-alpha does not compile from source package (tar.xz or .zip)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.14.0 Alpha
    • Fix Version/s: 5.14.0 Beta 1
    • Component/s: Build System
    • Labels:
    • Environment:
      Windows 10 (msvc2017, mingw7.3.0), Linux (tested with gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1))
    • Platform/s:
      Linux/X11, Windows
    • Commits:
      5920474ab0f8ac3516b23253f34c1a05151785eb

      Description

      Steps to reproduce:

      1. Download the monolithic source package for 5.14.0-alpha (tar.xz or zip package)
      2. Configure with:
         ./configure -commercial -confirm-license -verbose -prefix $PWD/qtbase -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -separate-debug-info -no-sql-mysql -sysconfdir /etc/xdg -qt-pcre -qt-harfbuzz -qt-xcb

        3. Build

      Expected result:

      The build succeeds

      Actual result:

      Build fails with:

       make[3]: Entering directory '/home/user/src/src-5.14/qtquick3d/src/render'
      g++ -c -include .pch/Qt5Quick3DRender -pipe -O2 -g -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_BUILD_QUICK3DRENDER_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QUICK3DRENDER_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QUICK3DUTILS_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../include -I/home/user/src/src-5.14/qtbase/include -I../../include/QtQuick3DRender -I/home/user/src/src-5.14/qtbase/include/QtQuick3DRender -I../../include/QtQuick3DRender/5.14.0 -I../../include/QtQuick3DRender/5.14.0/QtQuick3DRender -I../../include/QtQuick3DUtils/5.14.0 -I../../include/QtQuick3DUtils/5.14.0/QtQuick3DUtils -I../../include/QtQuick3DUtils -I/home/user/src/src-5.14/qtbase/include/QtQuick3DUtils -I/home/user/src/src-5.14/qtbase/include/QtGui/5.14.0 -I/home/user/src/src-5.14/qtbase/include/QtGui/5.14.0/QtGui -I/home/user/src/src-5.14/qtbase/include/QtOpenGLExtensions -I/home/user/src/src-5.14/qtbase/include/QtGui -I/home/user/src/src-5.14/qtbase/include/QtCore/5.14.0 -I/home/user/src/src-5.14/qtbase/include/QtCore/5.14.0/QtCore -I/home/user/src/src-5.14/qtbase/include/QtCore -I.moc -isystem /usr/include/libdrm -I/home/user/src/src-5.14/qtbase/mkspecs/linux-g++ -o .obj/qssgrendertexture2d.o qssgrendertexture2d.cpp
      qssgrendertexture2d.cpp:33:10: fatal error: QtQuick/QSGTexture: No such file or directory
       #include <QtQuick/QSGTexture>
                ^~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      Makefile:22447: recipe for target '.obj/qssgrendertexture2d.o' failed
      make[3]: *** [.obj/qssgrendertexture2d.o] Error 1
      make[3]: Leaving directory '/home/user/src/src-5.14/qtquick3d/src/render'
      Makefile:95: recipe for target 'sub-render-make_first-ordered' failed
      make[2]: *** [sub-render-make_first-ordered] Error 2
      make[2]: Leaving directory '/home/user/src/src-5.14/qtquick3d/src'
      Makefile:49: recipe for target 'sub-src-make_first' failed
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Leaving directory '/home/user/src/src-5.14/qtquick3d'
      Makefile:364: recipe for target 'module-qtquick3d-make_first' failed
      make: *** [module-qtquick3d-make_first] Error 2

      Also happens with namespace, shadow and static builds. Does not seem to happen on macOS though.

        Attachments

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

          Activity

            People

            • Assignee:
              jbornema Joerg Bornemann
              Reporter:
              mipohjan Milla Pohjanheimo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes