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

qtbase/configure should complain about being run without -top-level if ../.qmake.super is present

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.0 Beta 2
    • 5.8.0 Beta
    • Build tools: qmake
    • None
    • Linux, Windows, possibly Mac (untested)
    • 696c3f9af852537897aa754dc269833ead9fcf41

    Description

      When running configure, qmake is built but nothing gets configured. This started with 2d3c73f in qtbase.

      $ $srcdir/configure -prefix /home/tjmaciei/obj/qt/qt5-clang/qtbase -opensource -confirm-license -developer-build -dbus -system-libjpeg -system-libpng -system-sqlite -reduce-relocations -xcb -pch -platform linux-clang-optimised -journald -dbus-runtime -qtlibinfix .t -nomake tests -nomake examples -release
      
      This is the Qt Open Source Edition.
      
      You are licensed to use this software under the terms of
      the GNU Lesser General Public License (LGPL) versions 3.
      You are also licensed to use this software under the terms of
      the GNU General Public License (GPL) versions 2.
      
      You have already accepted the terms of the Open Source license.
      
      Preparing build tree...
      <srcbase> = /home/tjmaciei/src/qt/qt5/qtbase 
      <outbase> = /home/tjmaciei/obj/qt/qt5-clang/qtbase 
      [... syncqt.pl runs ...]
      Creating qmake...
      .........................................................................................Done.
      
      
      Qt is now configured for building. Just run 'gmake'.
      Once everything is built, Qt is installed.
      You should not run 'gmake install'.
      
      Prior to reconfiguration, make sure you remove any leftovers from
      the previous build.
      
      $ ls
      bin  config.opt  config.status  config.tests  include  Makefile  mkspecs  qmake  src
      $ ls mkspecs 
      modules  qdevice.pri  qhost.pri
      $ gmake
      cd src/ && ( test -e Makefile || /home/tjmaciei/obj/qt/qt5-clang/qtbase/bin/qmake -o Makefile /home/tjmaciei/src/qt/qt5/qtbase/src/src.pro -qtconf /home/tjmaciei/obj/qt/qt5-clang/qtbase/bin/qt.conf -- -prefix /home/tjmaciei/obj/qt/qt5-clang/qtbase -opensource -confirm-license -developer-build -dbus -system-libjpeg -system-libpng -system-sqlite -reduce-relocations -xcb -pch -platform linux-clang-optimised -journald -dbus-runtime -qtlibinfix .t -nomake tests -nomake examples -release -recheck ) && gmake -f Makefile 
      cd qmake/ && ( test -e Makefile.qmake-aux || /home/tjmaciei/obj/qt/qt5-clang/qtbase/bin/qmake -o Makefile.qmake-aux /home/tjmaciei/src/qt/qt5/qtbase/qmake/qmake-aux.pro -qtconf /home/tjmaciei/obj/qt/qt5-clang/qtbase/bin/qt.conf -- -prefix /home/tjmaciei/obj/qt/qt5-clang/qtbase -opensource -confirm-license -developer-build -dbus -system-libjpeg -system-libpng -system-sqlite -reduce-relocations -xcb -pch -platform linux-clang-optimised -journald -dbus-runtime -qtlibinfix .t -nomake tests -nomake examples -release -recheck ) && gmake -f Makefile.qmake-aux 
      Cannot read /home/tjmaciei/obj/qt/qt5-clang/qtbase/src/corelib/qtcore-config.pri: No such file or directory
      Cannot read /home/tjmaciei/obj/qt/qt5-clang/qtbase/src/gui/qtgui-config.pri: No such file or directory
      Project ERROR: Could not find feature system-zlib.
      gmake: *** [Makefile:46: sub-src-make_first] Error 3
      gmake: ** Esperando que outros processos terminem.
      gmake[1]: Entering directory '/home/tjmaciei/obj/qt/qt5-clang/qtbase/qmake'
      gmake[1]: Nothing to be done for 'first'.
      gmake[1]: Leaving directory '/home/tjmaciei/obj/qt/qt5-clang/qtbase/qmake'
      

      sh -x shows:

      + /home/tjmaciei/obj/qt/qt5-clang/qtbase/bin/qmake -qtconf /home/tjmaciei/obj/qt/qt5-clang/qtbase/bin/qt.conf /home/tjmaciei/src/qt/qt5/qtbase -- -prefix /home/tjmaciei/obj/qt/qt5-clang/qtbase -opensource -confirm-license -developer-build -dbus -system-libjpeg -system-libpng -system-sqlite -reduce-relocations -xcb -pch -platform linux-clang-optimised -journald -dbus-runtime -qtlibinfix .t -nomake tests -nomake examples -release 
      

      Find attached that qmake run with -d -d.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes