From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Need help for updating Qt to 5.12 - cmake link issue Date: Wed, 30 Oct 2019 16:56:21 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49237) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPqKn-0001Dg-8N for guix-devel@gnu.org; Wed, 30 Oct 2019 11:56:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPqKk-0003d9-8n for guix-devel@gnu.org; Wed, 30 Oct 2019 11:56:31 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:53876) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPqKj-0003Kp-VT for guix-devel@gnu.org; Wed, 30 Oct 2019 11:56:30 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 473Ck10bQwz1rY5f for ; Wed, 30 Oct 2019 16:56:25 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 473Ck10Vxgz1qqkB for ; Wed, 30 Oct 2019 16:56:25 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id MBEhxM2ViqdT for ; Wed, 30 Oct 2019 16:56:23 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-63-148.dynamic.mnet-online.de [188.174.63.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Wed, 30 Oct 2019 16:56:23 +0100 (CET) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 64AF5601CC for ; Wed, 30 Oct 2019 16:56:24 +0100 (CET) Content-Language: en-US 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: Guix-devel Hi, I'm stuck on updating QT to 5.12, which is q prerequisite for updating KDE Framworks to a recent version. 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: g++: error: /gnu/store/=E2=80=A6-qtgamepad-5.12.5/lib/libQt5Core.so: No s= uch file or directory As you can see, this is libQt5core, but the linker want to load it from the current packages output. 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? Here is the package definition for the case one want to reproduce this. (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 "-everywhe= re-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 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |