Message ID | 9db081b3c256086fd4092beab2e2bde56d564182.1724945820.git.sepeth@fastmail.com |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1C1EC27BBEA; Thu, 29 Aug 2024 18:09:42 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4A34627BBE9 for <patchwork@mira.cbaines.net>; Thu, 29 Aug 2024 18:09:40 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1sjie4-0004Xo-PX; Thu, 29 Aug 2024 13:09:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sjiTI-0003bL-Tz for guix-patches@gnu.org; Thu, 29 Aug 2024 12:58:09 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sjiTI-0001KT-KD for guix-patches@gnu.org; Thu, 29 Aug 2024 12:58:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=pLkKtJnVBDw8nvKQSF0c/yAIbBSuuPqTiQlhHYrwCSE=; b=ONlFxI76wYv1dX+Ra1C7+WOBAMqvDQqBgSp6r0KmCkiGWMYUkoQ4jclP5bxZeLih2yzx3CZ/h8WVHIhNQ5Vky2Kit8yQsp0AGVXEkrujA4uBZSvZ+N144UmDxqFMc1Lgxht/tG9PayI45dohqatK+e7ErLH6dHTUKk3LTcmESJbbMN0IU711PCBJPfBa/IRXv47EU48gL7WSKBjzcCalPG+BPEiohYj81cLCdpaGAAYc3wA11+Aqal/+gVCconkotjMI5aPM8M+Zvau6YtCusnPhYdGmrD7bGN+bJ9nK1/p9Kr2GgtlOevKdEsNsArq4KGdfzNC7Ow7SZwJLPJOlSw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1sjiUA-000680-37; Thu, 29 Aug 2024 12:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72878] [PATCH] gnu: plasma-nm: Fix build on aarch64 Resent-From: =?utf-8?b?RG/En2FuIMOHZcOnZW4=?= <sepeth@fastmail.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: maxim.cournoyer@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Thu, 29 Aug 2024 16:59:01 +0000 Resent-Message-ID: <handler.72878.B.172495073523537@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72878 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72878@debbugs.gnu.org Cc: =?utf-8?b?RG/En2FuIMOHZcOnZW4=?= <sepeth@fastmail.com>, Maxim Cournoyer <maxim.cournoyer@gmail.com>, =?utf-8?b?5a6L5paH5q2m?= <iyzsong@envs.net> X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Maxim Cournoyer <maxim.cournoyer@gmail.com>, =?utf-8?b?5a6L5paH5q2m?= <iyzsong@envs.net> Received: via spool by submit@debbugs.gnu.org id=B.172495073523537 (code B ref -1); Thu, 29 Aug 2024 16:59:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Aug 2024 16:58:55 +0000 Received: from localhost ([127.0.0.1]:52090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1sjiU0-00067X-Hb for submit@debbugs.gnu.org; Thu, 29 Aug 2024 12:58:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:39578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <sepeth@fastmail.com>) id 1sjhDu-0003UN-GB for submit@debbugs.gnu.org; Thu, 29 Aug 2024 11:38:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <sepeth@fastmail.com>) id 1sjhD0-0004mE-Cz for guix-patches@gnu.org; Thu, 29 Aug 2024 11:37:14 -0400 Received: from fhigh8-smtp.messagingengine.com ([103.168.172.159]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <sepeth@fastmail.com>) id 1sjhCy-0000hS-4p for guix-patches@gnu.org; Thu, 29 Aug 2024 11:37:14 -0400 Received: from phl-compute-01.internal (phl-compute-01.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id DDA381151AA8; Thu, 29 Aug 2024 11:37:08 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Thu, 29 Aug 2024 11:37:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm1; t=1724945828; x=1725032228; bh=pLkKtJnVBDw8nvKQSF0c/ yAIbBSuuPqTiQlhHYrwCSE=; b=VAp4/pl9HbPZcE0qynirGCjGjmTDUab+v+KAa vBI08pDZt+h5RLuzqr85GoA5Bn0k1M5o/ukT766lHxXcvR3X2a2LF6hr3sItGD/7 FM8hCec1tGPr6rqD8QWPSs6pK7j6GBAM0ruwUwVyWGs3cKe5xsLXHeULrehl4H3D YrWc0E+fB97v67I+sJLvrkiiGo2H+Y1UMYBmOQFh2bOBIFYMPAujpQl3EO7LZn5I lxncq8ZGPl2/idQljdpH9SZARghxdqs4lHPW2ZqF4M79P6RZuO7O4FZII+GIQVX2 yUJ5AbJh2OyF2oi9g+UUDh3S1pT0BAx1mUP3qcJGQTqU0KIFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1724945828; x=1725032228; bh=pLkKtJnVBDw8nvKQSF0c/yAIbBSu uPqTiQlhHYrwCSE=; b=GNwiHbUF9Gx9uYAf9AmboppgX5Z2asAdQBZkVTV1MefW /zWlXKcIrShCCQSwUFD3qxJH5uldF8qd5F+j63WHHn0zYvCGTBFZoEQ4jr4KsWue ldcbrE3/kXz+hbZPuU169EN1ymEmJ89ux8ACtbp2VgHJwMWjU4tiIvdwueXSni4O XxkMYM9aNKavV/bhcY25lKV8E3rb0rFBn38/vY36bUSiIIAtDWGpCVaiyZvYeLqS A7p6NtV1MQV+8FNCdDQEpXBwZcTsuFhFMC0iW3Hl8KUvlp70Q5ZVnyLAK508xHDV 3zooEvNKVFtbdrQaNHEN8nfdF6Bw77GpZsnv5QewrA== X-ME-Sender: <xms:pJXQZlm4qmqwYcJ--UqeZaR7vfGqKSButmX9V18hSUGHcYKIUoAObQ> <xme:pJXQZg2QUjQXhXXdVo04Mvp500Q-azSC5YUloc6USdtfbgNZRtBUk1nYSOfheCTQo lTFQigK_JmXy2tTq4Y> X-ME-Received: <xmr:pJXQZrpb73387gfgMOa45H5XiLMFyiRVcaUc0hcbOGg6LbnNfz_5CcUDmB5_5_rfKLYMrPUGRzYU> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudefgedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf ffkffoggfgsedtkeertdertdejnecuhfhrohhmpeffohhgrghnucmrvgopvghnuceoshgv phgvthhhsehfrghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepfeetledvfe eludeufffhjeeluefflefhleefvdetheeuhedtudeujeekvdejkeeknecuffhomhgrihhn peguvhhrrghtihhlrdgtiienucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehsvghpvghthhesfhgrshhtmhgrihhlrdgtohhmpdhnsggprhgtphht thhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehguhhigidqphgrthgthh gvshesghhnuhdrohhrghdprhgtphhtthhopehsvghpvghthhesfhgrshhtmhgrihhlrdgt ohhm X-ME-Proxy: <xmx:pJXQZlmWrssfGwwqwmentP8USCGElELG0oZ5o2ww2xjdUY6e6Uz93w> <xmx:pJXQZj2-uZit20OTjyNR7bGtEB1tdJYkF9HdJ5YMSNc53s0EOw0WkA> <xmx:pJXQZktqI6_BPi-c41mlQ5qsszp1xfiGXK3SKT9u1aFfihxr4wTQlw> <xmx:pJXQZnU1Vd0FVB6ugSF30tyVg5HJyk2daweElWM_73RwZskD_fIYjg> <xmx:pJXQZhB2tSsqQ23ommOY8HffMY7J7g1M-WxY0gHf6KxTipLdSUVJDrNY> Feedback-ID: i57994943:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Aug 2024 11:37:07 -0400 (EDT) From: =?utf-8?b?RG/En2FuIMOHZcOnZW4=?= <sepeth@fastmail.com> Date: Thu, 29 Aug 2024 18:37:00 +0300 Message-ID: <9db081b3c256086fd4092beab2e2bde56d564182.1724945820.git.sepeth@fastmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=103.168.172.159; envelope-from=sepeth@fastmail.com; helo=fhigh8-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 29 Aug 2024 12:58:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 29 Aug 2024 13:09:11 -0400 X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#72878] gnu: plasma-nm: Fix build on aarch64
|
|
Commit Message
Doğan Çeçen
Aug. 29, 2024, 3:37 p.m. UTC
* gnu/packages/qt.scm (qtcoro-qt6): pass -fPIC explicitly Change-Id: Ifb26600945548d84df2cc70318781d87253af476 --- gnu/packages/qt.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) base-commit: d5312370b46ace47e138d84e1bb28e5651cee94b
Comments
Sorry for not adding a little context, I was battling with my email config. Anyhow, I was getting the following error when installing plasma-nm: --8<---------------cut here---------------start------------->8--- ld: /gnu/store/drbppxblx1gf943dxilhwz5vags287ir-qcoro-qt6-0.10.0/lib/libQCoro6DBus.a(qcorodbuspendingcall.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZN23QDBusPendingCallWatcher8finishedEPS_@@Qt_6' which may bind externally can not be used when making a shared object; recompile with -fPIC ld: /gnu/store/drbppxblx1gf943dxilhwz5vags287ir-qcoro-qt6-0.10.0/lib/libQCoro6DBus.a(qcorodbuspendingcall.cpp.o)(.text+0xb0): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `_ZN23QDBusPendingCallWatcher8finishedEPS_@@Qt_6' ld: final link failed: bad value --8<---------------cut here---------------end--------------->8--- The problem seemed to be qcoro-qt6. I checked its logs on x86_64, and it seems -fPIC is being passed: https://ci.guix.gnu.org/build/5466920/details Unfortunately, aarch64 build is still Scheduled: https://ci.guix.gnu.org/build/5454563/details Anyhow, the suggestion that the linker gave has worked, which is adding -fPIC.
Doğan Çeçen <sepeth@fastmail.com> writes: Title should "gnu: qcoro-qt: Build with -fPIC.", because it change qcoro-qt{5,6}. > * gnu/packages/qt.scm (qtcoro-qt6): pass -fPIC explicitly * gnu/packages/qt.scm (qcoro-qt5, qcoro-qt6)[arguments]: Adjust configure-flags to add -fPIC to CMAKE_CXX_FLAGS. > > Change-Id: Ifb26600945548d84df2cc70318781d87253af476 > --- > gnu/packages/qt.scm | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm > index a91bebf358..974af2a342 100644 > --- a/gnu/packages/qt.scm > +++ b/gnu/packages/qt.scm > @@ -153,10 +153,11 @@ (define-public qcoro-qt5 > (build-system qt-build-system) > (arguments > (list #:configure-flags > - #~(list (string-append "-DUSE_QT_VERSION=" > + #~(list "-DCMAKE_CXX_FLAGS=-fPIC" > + (string-append "-DUSE_QT_VERSION=" > #$(version-major > - (package-version > - (this-package-input "qtbase"))))))) > + (package-version > + (this-package-input "qtbase"))))))) > (native-inputs (list dbus)) ;for tests > (inputs (list qtbase-5 qtdeclarative-5 qtwebsockets-5)) > (home-page "https://qcoro.dvratil.cz/") > @@ -169,6 +170,7 @@ (define-public qcoro-qt6 > (package > (inherit qcoro-qt5) > (name "qcoro-qt6") > + (synopsis "C++ Coroutine Library for Qt6") please split to a new patch. > (inputs (modify-inputs (package-inputs qcoro-qt5) > (replace "qtbase" qtbase) > (replace "qtdeclarative" qtdeclarative) > > base-commit: d5312370b46ace47e138d84e1bb28e5651cee94b
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index a91bebf358..974af2a342 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -153,10 +153,11 @@ (define-public qcoro-qt5 (build-system qt-build-system) (arguments (list #:configure-flags - #~(list (string-append "-DUSE_QT_VERSION=" + #~(list "-DCMAKE_CXX_FLAGS=-fPIC" + (string-append "-DUSE_QT_VERSION=" #$(version-major - (package-version - (this-package-input "qtbase"))))))) + (package-version + (this-package-input "qtbase"))))))) (native-inputs (list dbus)) ;for tests (inputs (list qtbase-5 qtdeclarative-5 qtwebsockets-5)) (home-page "https://qcoro.dvratil.cz/") @@ -169,6 +170,7 @@ (define-public qcoro-qt6 (package (inherit qcoro-qt5) (name "qcoro-qt6") + (synopsis "C++ Coroutine Library for Qt6") (inputs (modify-inputs (package-inputs qcoro-qt5) (replace "qtbase" qtbase) (replace "qtdeclarative" qtdeclarative)