Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2017 12:16:08 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: qt5 fails to build
Message-ID:  <b0ee60f4-3efc-e126-a77d-e041e281e6d5@zyxst.net>
In-Reply-To: <867f4mo0tn.fsf@orwell>
References:  <5eca2d3f-971f-8781-fc49-d9647df88f86@zyxst.net> <867f4mo0tn.fsf@orwell>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Here is the output, from beginning to end, of what I've tried to do:

$ pwd
/storage/usr/ports/devel/qt5

$ sudo make distclean
===>  Cleaning for qt5-5.7.1
===>  Deleting distfiles for qt5-5.7.1

$ sudo make clean
===>  Cleaning for qt5-3d-5.7.1
===>  Cleaning for assimp-3.3.1_1
===>  Cleaning for qt5-concurrent-5.7.1
===>  Cleaning for qt5-core-5.7.1
===>  Cleaning for qt5-opengl-5.7.1
===>  Cleaning for qt5-5.7.1

$ sudo make
===>   qt5-5.7.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by qt5-5.7.1 for building
===>  Extracting for qt5-5.7.1
===>  Patching for qt5-5.7.1
===>  Configuring for qt5-5.7.1
===>  Staging for qt5-5.7.1
===>   qt5-5.7.1 depends on file: /usr/local/lib/qt5/libQt53DCore.so -
not found
===>  License LGPL21 accepted by the user
===>   qt5-3d-5.7.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by qt5-3d-5.7.1 for building
===>  Extracting for qt5-3d-5.7.1
=> SHA256 Checksum OK for KDE/Qt/5.7.1/qt3d-opensource-src-5.7.1.tar.xz.
===>  Patching for qt5-3d-5.7.1
===>   qt5-3d-5.7.1 depends on package: pkgconf>=0.9.10 - found
===>   qt5-3d-5.7.1 depends on file: /usr/local/lib/qt5/bin/moc - found
===>   qt5-3d-5.7.1 depends on file: /usr/local/lib/qt5/bin/qmake - found
===>   qt5-3d-5.7.1 depends on file: /usr/local/bin/ccache - found
===>   qt5-3d-5.7.1 depends on shared library: libassimp.so.3 - found
(/usr/local/lib/libassimp.so.3)
===>   qt5-3d-5.7.1 depends on shared library: libQt5Concurrent.so - not
found
===>  License LGPL21 accepted by the user
===>   qt5-concurrent-5.7.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by qt5-concurrent-5.7.1 for building
===>  Extracting for qt5-concurrent-5.7.1
=> SHA256 Checksum OK for KDE/Qt/5.7.1/qtbase-opensource-src-5.7.1.tar.xz.
===>  Patching for qt5-concurrent-5.7.1
===>  Applying extra patch
/storage/usr/ports/devel/qt5/files/extrapatch-configure
===>  Applying extra patch
/storage/usr/ports/devel/qt5/files/extrapatch-config.tests-unix-compile.test
===>  Applying extra patch
/storage/usr/ports/devel/qt5/files/extrapatch-mkspecs_features_create__cmake.prf
===>  Applying extra patch
/storage/usr/ports/devel/qt5/files/extrapatch-mkspecs_features_qt__module.prf
/usr/bin/sed -i.bak -e "/DEFAULT_LIBDIRS=/
s,\\\\\"\\\\n,\\\\n/usr/local/lib&,"
/storage/usr/ports/devel/qt5-concurrent/work/qtbase-opensource-src-5.7.1/configure
===>   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.

Running configuration tests...
Failed to process makespec for platform
'/usr/local/lib/qt5/mkspecs/freebsd-clang'
Turn on verbose messaging (-v) to see the final report.
===>  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[2]: stopped in /storage/usr/ports/devel/qt5-concurrent
*** Error code 1

Stop.
make[1]: stopped in /storage/usr/ports/graphics/qt5-3d
*** Error code 1

Stop.
make: stopped in /storage/usr/ports/devel/qt5

$ file
/storage/usr/ports/devel/qt5-concurrent/work/qtbase-opensource-src-5.7.1/config.log

/storage/usr/ports/devel/qt5-concurrent/work/qtbase-opensource-src-5.7.1/config.log:
cannot open
`/storage/usr/ports/devel/qt5-concurrent/work/qtbase-opensource-src-5.7.1/config.log'
(No such file or directory)

$

-- 
J.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b0ee60f4-3efc-e126-a77d-e041e281e6d5>