Date: Sun, 19 Feb 2017 12:48:26 +0000 From: tech-lists <tech-lists@zyxst.net> To: freebsd-ports@freebsd.org Subject: Re: qt5 fails to build Message-ID: <3395df9f-fd9a-b592-528c-cce53ac38cc2@zyxst.net> In-Reply-To: <8637fanym7.fsf@orwell> References: <5eca2d3f-971f-8781-fc49-d9647df88f86@zyxst.net> <867f4mo0tn.fsf@orwell> <b0ee60f4-3efc-e126-a77d-e041e281e6d5@zyxst.net> <8637fanym7.fsf@orwell>
next in thread | previous in thread | raw e-mail | index | archive | help
On 19/02/2017 12:39, Raphael Kubo da Costa wrote: > tech-lists <tech-lists@zyxst.net> writes: > >> Hi, >> >> On 19/02/2017 11:51, Raphael Kubo da Costa wrote: >> >>> Can you send config.log to the list? From the error message it's not >>> clear what exactly is wrong with the mkspec, of if the problem's really >>> with the mkspec at all. >> >> Weirder and weirder. There is no config.log present. > > The message mentioning config.log is automatic and comes from the ports > framework. In my recollection Qt's configuration process did create one > though, which is why I suggested trying to get that. > > Can you try building qt5-concurrent with the WANT_QT_VERBOSE_CONFIGURE > make variable set instead? Hi, here's the output: # pwd /storage/usr/ports/devel/qt5-concurrent # make WANT_QT_VERBOSE_CONFIGURE=YES ===> qt5-concurrent-5.7.1 depends on package: pkgconf>=0.9.10 - found ===> qt5-concurrent-5.7.1 depends on file: /usr/local/lib/qt5/bin/moc - found ===> qt5-concurrent-5.7.1 depends on file: /usr/local/lib/qt5/bin/qmake - found ===> qt5-concurrent-5.7.1 depends on file: /usr/local/bin/ccache - found ===> qt5-concurrent-5.7.1 depends on shared library: libQt5Core.so - found (/usr/local/lib/libQt5Core.so) ===> Configuring for qt5-concurrent-5.7.1 /bin/ln -sf /usr/local/lib/qt5/libQt5Core.so /storage/usr/ports/devel/qt5-concurrent/work/qtbase-opensource-src-5.7.1/lib /bin/mkdir -p /storage/usr/ports/devel/qt5-concurrent/work/qtbase-opensource-src-5.7.1 echo 'CMAKE_MODULE_TESTS = -' > /storage/usr/ports/devel/qt5-concurrent/work/qtbase-opensource-src-5.7.1/.qmake.cache echo 'QMAKE_LIBDIR_FLAGS = -L/storage/usr/ports/devel/qt5-concurrent/work/qtbase-opensource-src-5.7.1/lib' >> /storage/usr/ports/devel/qt5-concurrent/work/qtbase-opensource-src-5.7.1/.qmake.cache 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. DEFAULT_INCDIRS="/usr/include/c++/v1 /usr/lib/clang/3.9.1/include /usr/include " DEFAULT_LIBDIRS="/lib /usr/lib /usr/local/lib" Running configuration tests... Failed to process makespec for platform '/usr/local/lib/qt5/mkspecs/freebsd-clang' ***Unknown option -qtconf Usage: /storage/usr/ports/devel/qt5-concurrent/work/qtbase-opensource-src-5.7.1/bin/qmake [mode] [options] [files] QMake has two modes, one mode for generating project files based on some heuristics, and the other for generating makefiles. Normally you shouldn't need to specify a mode, as makefile generation is the default mode for qmake, but you may use this to test qmake on an existing project Mode: -project Put qmake into project file generation mode In this mode qmake interprets files as files to be built, defaults to *; *; *; *.ts; *.xlf; *.qrc Note: The created .pro file probably will need to be edited. For example add the QT variable to specify what modules are required. -makefile Put qmake into makefile generation mode (default) In this mode qmake interprets files as project files to be processed, if skipped qmake will try to find a project file in your current working directory Warnings Options: -Wnone Turn off all warnings; specific ones may be re-enabled by later -W options -Wall Turn on all warnings -Wparser Turn on parser warnings -Wlogic Turn on logic warnings (on by default) -Wdeprecated Turn on deprecation warnings (on by default) Options: * You can place any variable assignment in options and it will be * * processed as if it was in [files]. These assignments will be parsed * * before [files]. * -o file Write output to file -d Increase debug level -t templ Overrides TEMPLATE as templ -tp prefix Overrides TEMPLATE so that prefix is prefixed into the value -help This help -v Version information -after All variable assignments after this will be parsed after [files] -norecursive Don't do a recursive search -recursive Do a recursive search -set <prop> <value> Set persistent property -unset <prop> Unset persistent property -query <prop> Query persistent property. Show all if <prop> is empty. -cache file Use file as cache [makefile mode only] -spec spec Use spec as QMAKESPEC [makefile mode only] -nocache Don't use a cache file [makefile mode only] -nodepend Don't generate dependencies [makefile mode only] -nomoc Don't generate moc targets [makefile mode only] -nopwd Don't look for files in pwd [project mode only] ===> Script "configure" failed unexpectedly. Please report the problem to kde@FreeBSD.org [maintainer] and attach the "/storage/usr/ports/devel/qt5-concurrent/work/qtbase-opensource-src-5.7.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make: stopped in /storage/usr/ports/devel/qt5-concurrent -- J.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3395df9f-fd9a-b592-528c-cce53ac38cc2>