Re: [Development] Help! configure won't configure on Windows
On segunda-feira, 19 de setembro de 2016 08:42:58 PDT Thiago Macieira wrote: > On segunda-feira, 19 de setembro de 2016 17:03:04 PDT Oswald Buddenhagen > > wrote: > > you can hack the project file to not create a super cache and not do the > > configuration step. this may actually work for non-prefix builds. > > Will do. > > Do not expect any buildsystem contribution from me from this point forward. > > Or in any other modules besides qtbase. diff --git i/qt.pro w/qt.pro index 1915fc2..87db477 100644 --- i/qt.pro +++ w/qt.pro @@ -1,5 +1,5 @@ # Create the super cache so modules will add themselves to it. -cache(, super) + TEMPLATE = subdirs @@ -94,4 +94,4 @@ for (mod, modules) { SUBDIRS += $$mod } -load(qt_configure) + -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On segunda-feira, 19 de setembro de 2016 17:03:04 PDT Oswald Buddenhagen wrote: > you can hack the project file to not create a super cache and not do the > configuration step. this may actually work for non-prefix builds. Will do. Do not expect any buildsystem contribution from me from this point forward. Or in any other modules besides qtbase. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On Sun, Sep 18, 2016 at 06:12:17PM -0700, Thiago Macieira wrote: > On segunda-feira, 19 de setembro de 2016 00:22:42 PDT Jake Petroules wrote: > > > It's worked for over 4 years. I may not be the only one doing this. > > > > > > Please fix it. > > > > I don't see why we should, it seems an illogical workflow to configure qt5 > > and then expect to be able to configure from qtbase... > > I don't configure qt5. I have never, ever run configure from there. > running qmake now *is* configure, and it's going to stay this way. > I configure qtbase and run qmake in the other modules. There's a .pro file in > qt5.git and it was useful to use it to generate a Makefile to build the other > modules. > still, this workflow relied on a bug: the possibility to make the build tree internally inconsistent. you can hack the project file to not create a super cache and not do the configuration step. this may actually work for non-prefix builds. otherwise, you need to build and install each module individually, which requires a different makefile altogether. > And, like I said, others may have done the same. > they'll get the same response. all roughly two of them. > See the discussion on the Coverity issue. > unrelated, as pointed out by others. > Please fix. > nope ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On 19/09/16 08:06, "Development on behalf of Holger Freyther" wrote: > >> On 19 Sep 2016, at 03:12, Thiago Macieira wrote: >> >> > >Good Morning, > > >> And, like I said, others may have done the same. See the discussion on the >> Coverity issue. >> >> Please fix. > >as Thiago has indicated the following is broken on at least my Ubuntu system: > >cd qt5 >.. clean + rebase + update all to dev >./configure -prefix ... >make -j X That work flow (ie. Calling configure in qt5/) is supported. It was broken for a few days last week, but should work right now if you have qt5.git updated to the latest 5.8. Cheers, Lars > >the nice thing about this as build script for doing the coverity builds is >that new modules will be built automatically and that I don't need to maintain >dependencies between modules myself. > >so please fix it as this drives the coverity build. > >thank you > holger >___ >Development mailing list >Development@qt-project.org >http://lists.qt-project.org/mailman/listinfo/development ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
> On 19 Sep 2016, at 03:12, Thiago Macieira wrote: > > Good Morning, > And, like I said, others may have done the same. See the discussion on the > Coverity issue. > > Please fix. as Thiago has indicated the following is broken on at least my Ubuntu system: cd qt5 .. clean + rebase + update all to dev ./configure -prefix ... make -j X the nice thing about this as build script for doing the coverity builds is that new modules will be built automatically and that I don't need to maintain dependencies between modules myself. so please fix it as this drives the coverity build. thank you holger ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On segunda-feira, 19 de setembro de 2016 00:22:42 PDT Jake Petroules wrote: > > It's worked for over 4 years. I may not be the only one doing this. > > > > Please fix it. > > I don't see why we should, it seems an illogical workflow to configure qt5 > and then expect to be able to configure from qtbase... I don't configure qt5. I have never, ever run configure from there. I configure qtbase and run qmake in the other modules. There's a .pro file in qt5.git and it was useful to use it to generate a Makefile to build the other modules. And, like I said, others may have done the same. See the discussion on the Coverity issue. Please fix. > >>> cd qtbase > >>> configure > >>> make > >>> repeat for a month > >>> cd .. # to qt5.git > >>> qmake && make > >> > >> ___ > >> Development mailing list > >> Development@qt-project.org > >> http://lists.qt-project.org/mailman/listinfo/development -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
> On Sep 18, 2016, at 4:44 PM, Thiago Macieira > wrote: > > On domingo, 18 de setembro de 2016 22:22:57 PDT Oswald Buddenhagen wrote: >> On Sat, Sep 17, 2016 at 12:49:36PM -0700, Thiago Macieira wrote: >>> So how am I going to reconfigure qtbase once I've built the rest of qt5? >> >> you don't. you keep configuring qt5, or you clean out the non-qtbase >> artifacts first. >> >>> My workflow is: >> you should consider yourself lucky that this ever worked. > > It's worked for over 4 years. I may not be the only one doing this. > > Please fix it. I don't see why we should, it seems an illogical workflow to configure qt5 and then expect to be able to configure from qtbase... > >> >>> cd qtbase >>> configure >>> make >>> repeat for a month >>> cd .. # to qt5.git >>> qmake && make >> >> ___ >> Development mailing list >> Development@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/development > > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > ___ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development -- Jake Petroules - jake.petrou...@qt.io The Qt Company - Silicon Valley Qbs build tool evangelist - qbs.io ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On domingo, 18 de setembro de 2016 22:22:57 PDT Oswald Buddenhagen wrote: > On Sat, Sep 17, 2016 at 12:49:36PM -0700, Thiago Macieira wrote: > > So how am I going to reconfigure qtbase once I've built the rest of qt5? > > you don't. you keep configuring qt5, or you clean out the non-qtbase > artifacts first. > > > My workflow is: > you should consider yourself lucky that this ever worked. It's worked for over 4 years. I may not be the only one doing this. Please fix it. > > > cd qtbase > > configure > > make > > repeat for a month > > cd .. # to qt5.git > > qmake && make > > ___ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On Sat, Sep 17, 2016 at 12:49:36PM -0700, Thiago Macieira wrote: > So how am I going to reconfigure qtbase once I've built the rest of qt5? > you don't. you keep configuring qt5, or you clean out the non-qtbase artifacts first. > My workflow is: > you should consider yourself lucky that this ever worked. > cd qtbase > configure > make > repeat for a month > cd .. # to qt5.git > qmake && make ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On sábado, 17 de setembro de 2016 11:23:12 PDT Oswald Buddenhagen wrote: > On Thu, Sep 15, 2016 at 07:51:16PM -0700, Thiago Macieira wrote: > > On quinta-feira, 15 de setembro de 2016 18:33:24 PDT Thiago Macieira wrote: > > > Ok, just to be sure, I've nuked EVERYTHING from another build and it > > > also > > > > > happens: > > I've reduce this to this commit: > after this commit, qtbase is still _supposed_ to configure stand-alone, > provided there are *no* build artifacts from qt5.git (look for hidden > files). > admittedly, i never tested this configuration, but i thought CI does (it > builds every module separately, supposedly without a top-level tree). So how am I going to reconfigure qtbase once I've built the rest of qt5? My workflow is: cd qtbase configure make repeat for a month cd .. # to qt5.git qmake && make -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
Em quinta-feira, 15 de setembro de 2016, às 23:40:34 PDT, Thiago Macieira > Ah, I see what you mean by Gerrit troubles. The change is marked as merged > 22 hours ago, but it isn't in the 5.8 branch. > > If you update today, you'll need to revert three commits, not just one: > > a668c6a Convert the old feature system > b754b28 rename description => label in configure.json > 2d3c73f Modularize configure.json/.pri I'm upgrading this to a P0, since I can't figure out what to revert anymore. https://bugreports.qt.io/browse/QTBUG-56049 -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On Thu, Sep 15, 2016 at 07:51:16PM -0700, Thiago Macieira wrote: > On quinta-feira, 15 de setembro de 2016 18:33:24 PDT Thiago Macieira wrote: > > Ok, just to be sure, I've nuked EVERYTHING from another build and it also > > happens: > > I've reduce this to this commit: > after this commit, qtbase is still _supposed_ to configure stand-alone, provided there are *no* build artifacts from qt5.git (look for hidden files). admittedly, i never tested this configuration, but i thought CI does (it builds every module separately, supposedly without a top-level tree). ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On quinta-feira, 15 de setembro de 2016 23:34:48 PDT Thiago Macieira wrote: > On sexta-feira, 16 de setembro de 2016 04:37:49 PDT Maurice Kalinowski wrote: > > Quoting from another mail (haven't verified myself but rather reverted the > > patch Thiago mentioned locally): > > > > "Change https://codereview.qt-project.org/#/c/168922/ is required. > > Unfortunately it's not yet in, apparently partly due to the gerrit > > troubles." > > Looks like it landed now. > > The change says: > Patch Set 1 > Patch Set 2 > Patch Set 537 Ah, I see what you mean by Gerrit troubles. The change is marked as merged 22 hours ago, but it isn't in the 5.8 branch. If you update today, you'll need to revert three commits, not just one: a668c6a Convert the old feature system b754b28 rename description => label in configure.json 2d3c73f Modularize configure.json/.pri -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On sexta-feira, 16 de setembro de 2016 04:37:49 PDT Maurice Kalinowski wrote: > Quoting from another mail (haven't verified myself but rather reverted the > patch Thiago mentioned locally): > > "Change https://codereview.qt-project.org/#/c/168922/ is required. > Unfortunately it's not yet in, apparently partly due to the gerrit > troubles." Looks like it landed now. The change says: Patch Set 1 Patch Set 2 Patch Set 537 :-) -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
Quoting from another mail (haven't verified myself but rather reverted the patch Thiago mentioned locally): "Change https://codereview.qt-project.org/#/c/168922/ is required. Unfortunately it's not yet in, apparently partly due to the gerrit troubles." Maurice > -Original Message- > From: Development [mailto:development- > bounces+maurice.kalinowski=qt...@qt-project.org] On Behalf Of Thiago > Macieira > Sent: Friday, September 16, 2016 4:51 AM > To: development@qt-project.org > Subject: Re: [Development] Help! configure won't configure on Windows > > On quinta-feira, 15 de setembro de 2016 18:33:24 PDT Thiago Macieira wrote: > > On quinta-feira, 15 de setembro de 2016 18:22:14 PDT Thiago Macieira > wrote: > > > On quinta-feira, 15 de setembro de 2016 18:16:08 PDT Thiago Macieira > wrote: > > > > Then I'm back at the prompt. There was no configuration. There is > > > > no mkspecs/ qconfig.pri and no mkspecs/qmodule.pri. Trying to > > > > compile produces error. I can't figure out *what* should be > > > > running the configure tests, where they are called from, much less > > > > why nothing is happening. > > > > > > Now this is happening on Linux too: > > Ok, just to be sure, I've nuked EVERYTHING from another build and it > > also > > happens: > > I've reduce this to this commit: > > commit 60e5a1c8effd4099f7b1414107b5cbb67c266210 > Author: Lars Knoll > Date: Thu Aug 25 15:45:44 2016 +0200 > Commit: Lars Knoll > CommitDate: Sat Sep 10 14:04:01 2016 + > > Modularize the new configure system (infrastructure part) [...] > Configure is now automatically invoked when building the a project > tree's "root" project; this works with both modular and top-level builds > of Qt (the latter with an according change in the super repo). As an > immediate consequence, the -skip option moves to the super repo with a > different implementation, as configuration is now done after the repo > list is determined. The option belongs there anyway. > > That other paragraph clued me in: I haven't updated qt5.git in a while. So I > did > and I tried to run qmake there: > > $ qmake $srcdir > > Running configuration tests... > Checking for pkg-config... yes > Checking for gold linker... yes > [... cut ...] > Build options: > Mode ... release; optimized tools [...] > Build parts libs examples tools > > > Why is it running qtbase's configure in qt5.git? If that's to be expected, > why is > it not obeying the options I passed in configure? I passed -developer-build, > which triggers a debug build. The above is release. I also passed -nomake > examples, so why are examples listed? > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > ___ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On quinta-feira, 15 de setembro de 2016 18:33:24 PDT Thiago Macieira wrote: > On quinta-feira, 15 de setembro de 2016 18:22:14 PDT Thiago Macieira wrote: > > On quinta-feira, 15 de setembro de 2016 18:16:08 PDT Thiago Macieira wrote: > > > Then I'm back at the prompt. There was no configuration. There is no > > > mkspecs/ qconfig.pri and no mkspecs/qmodule.pri. Trying to compile > > > produces > > > error. I can't figure out *what* should be running the configure tests, > > > where they are called from, much less why nothing is happening. > > > > Now this is happening on Linux too: > Ok, just to be sure, I've nuked EVERYTHING from another build and it also > happens: I've reduce this to this commit: commit 60e5a1c8effd4099f7b1414107b5cbb67c266210 Author: Lars Knoll Date: Thu Aug 25 15:45:44 2016 +0200 Commit: Lars Knoll CommitDate: Sat Sep 10 14:04:01 2016 + Modularize the new configure system (infrastructure part) [...] Configure is now automatically invoked when building the a project tree's "root" project; this works with both modular and top-level builds of Qt (the latter with an according change in the super repo). As an immediate consequence, the -skip option moves to the super repo with a different implementation, as configuration is now done after the repo list is determined. The option belongs there anyway. That other paragraph clued me in: I haven't updated qt5.git in a while. So I did and I tried to run qmake there: $ qmake $srcdir Running configuration tests... Checking for pkg-config... yes Checking for gold linker... yes [... cut ...] Build options: Mode ... release; optimized tools [...] Build parts libs examples tools Why is it running qtbase's configure in qt5.git? If that's to be expected, why is it not obeying the options I passed in configure? I passed -developer-build, which triggers a debug build. The above is release. I also passed -nomake examples, so why are examples listed? -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development
Re: [Development] Help! configure won't configure on Windows
On quinta-feira, 15 de setembro de 2016 18:22:14 PDT Thiago Macieira wrote: > On quinta-feira, 15 de setembro de 2016 18:16:08 PDT Thiago Macieira wrote: > > Then I'm back at the prompt. There was no configuration. There is no > > mkspecs/ qconfig.pri and no mkspecs/qmodule.pri. Trying to compile > > produces > > error. I can't figure out *what* should be running the configure tests, > > where they are called from, much less why nothing is happening. > > Now this is happening on Linux too: Ok, just to be sure, I've nuked EVERYTHING from another build and it also happens: $ ls -a . .. config.opt $ $srcdir/configure -redo 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... = /home/tjmaciei/src/qt/qt5/qtbase = /home/tjmaciei/obj/qt/qt5-clang/qtbase [syncqt runs] Creating qmake... .Done. Info: creating cache file /home/tjmaciei/obj/qt/qt5-clang/qtbase/.qmake.cache 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. $ 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 Project ERROR: Could not find feature system-zlib. gmake: *** [Makefile:46: sub-src-make_first] Error 3 gmake: ** Waiting for unfinished jobs 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' $ ls -aF . mkspecs .: ./ bin/config.tests/ Makefile qmake/src/ ../ config.opt include/ mkspecs/ .qmake.cache mkspecs: ./ ../ modules/ qdevice.pri qfeatures.pri qhost.pri $ cat config.opt -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 -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development