From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Need help for updating Qt to 5.12 - cmake link issue Date: Thu, 31 Oct 2019 18:34:10 +0200 Message-ID: <20191031163410.GI20762@E5400> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6lCXDTVICvIQMz0h" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39771) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQDOq-0005eH-OL for guix-devel@gnu.org; Thu, 31 Oct 2019 12:34:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQDOo-0004mg-PL for guix-devel@gnu.org; Thu, 31 Oct 2019 12:34:16 -0400 Received: from flashner.co.il ([178.62.234.194]:59446) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iQDOm-0004fU-QV for guix-devel@gnu.org; Thu, 31 Oct 2019 12:34:14 -0400 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: Guix-devel --6lCXDTVICvIQMz0h Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 30, 2019 at 04:56:21PM +0100, Hartmut Goebel wrote: > Hi, >=20 > I'm stuck on updating QT to 5.12, which is q prerequisite for updating > KDE Framworks to a recent version. >=20 Qt is upgraded to 5.12 on staging :) > For some of the packages - most of which seem to be rather new to Qt - > build fails since the linker does not find some libraries, e.g when > building qtgamepad: >=20 There's also qtwayland and 3 others. > g++: error: /gnu/store/=E2=80=A6-qtgamepad-5.12.5/lib/libQt5Core.so: No s= uch > file or directory >=20 > As you can see, this is libQt5core, but the linker want to load it from > the current packages output. I think Nix does it by patching qtbase to tell everything to use either NIX variables or absolute paths https://github.com/NixOS/nixpkgs/tree/e36c7e61c39bb78ab6bf0b0894ed418af4ab5= f03/pkgs/development/libraries/qt-5/5.12 >=20 > This kind of issues do not occur with most of the "older" packages. I > already tried to find some place to hook in - without success. Any hints? >=20 > Here is the package definition for the case one want to reproduce this. >=20 > (define-public qtgamepad > =C2=A0 (package (inherit qtsvg) > =C2=A0=C2=A0=C2=A0 (name "qtgamepad") > =C2=A0=C2=A0=C2=A0 (version "5.12.5") > =C2=A0=C2=A0=C2=A0 (source (origin > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = (method url-fetch) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = (uri (string-append > "https://download.qt.io/official_releases/qt/" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (version-major+minor version)= "/" version > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "/submodules/" name "-everywh= ere-src-" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 version ".tar.xz")) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = (sha256 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 (base32 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 "0czdmmbjc6zpj213pwwgjh0h2awzmrgkqy5gl5a5vk7p8wfz126y")))) > =C2=A0=C2=A0=C2=A0 (arguments > =C2=A0=C2=A0=C2=A0=C2=A0 (substitute-keyword-arguments (package-arguments= qtsvg) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((#:phases phases) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 `(modify-phases ,phases > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (add-after '= configure 'fail > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 = (lambda* (#:key outputs #:allow-other-keys) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 #t)))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ((#:tests? _ #f) #f)))=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ; TODO: Enable the tests > =C2=A0=C2=A0=C2=A0 (native-inputs > =C2=A0=C2=A0=C2=A0=C2=A0 `(("perl" ,perl))) > =C2=A0=C2=A0=C2=A0 (inputs > =C2=A0=C2=A0=C2=A0=C2=A0 `(("sdl2" ,sdl2) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("qtbase" ,qtbase))) > =C2=A0=C2=A0=C2=A0 (synopsis "x") > =C2=A0=C2=A0=C2=A0 (description ""))) >=20 > --=20 > Regards > Hartmut Goebel >=20 > | Hartmut Goebel | h.goebel@crazy-compilers.com | > | www.crazy-compilers.com | compilers which you thought are impossible | >=20 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --6lCXDTVICvIQMz0h Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl27DP8ACgkQQarn3Mo9 g1EIPBAAvoXLxlXnNInNz5MFF3O2CE+HC6k9NLUOosQxl0s/C/4pp13H5tfW0HVi F80M2+cstMGyRKfxYBpTxkWr7WUc7TD9AYyN9Um1coFXtnEq6+HzqCjL7kgPjo8j TC23LpTqpqRQLJSFk48kKm8rE6TJLjfLbxdckwGxCAAoSHTzdqxyMQZJKSi6cDWQ x09NmxwErmMSu89qqPYebsfq/pmOCcXivmS0inH+I+gtJEJH+qhzBoAtb2Rb9qwo HkgYZOaL0Zla1w25UjPXyuZ+Bkny6ZOARO8Q/WAZmE+iOP5KL8jB/SUTtHMtHlYL 4hNrG2wjeUvsg3jWEZfwAF0xPNTG8mOvTYfPzlf/lLai+fiqWnRE3eVj2uFnKIQM FCYHSB1ico477P5zjwzKkRCi5tI6VTvlZhAB2/dXQq9NqDprgcICSad9FeaajbbD aIxIiAPbRnTG+MGrf8lnBw7wrupREvES6D/cvFU/XzlJrWjwwLvx0jYMaCpkSp4e EGk7NTpHiEDiKPyq5X9qvlBEEC2voEXwc9LFcASH7znXBAaZDgMOmlzHiBu/MjRE 3wEHrVLedCmKp8TgLTSzwXAmMBaeeqKCs1c6bH0DQWo8i3PbAmFGPtSebyMluy74 eeEL+3OUfoVm5rfbW2V4IP0ObeAqnHrd48jbCxeA8ZcM69Kbs4Y= =HhZm -----END PGP SIGNATURE----- --6lCXDTVICvIQMz0h--