From patchwork Wed Oct 16 09:12:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?RG/En2FuIMOHZcOnZW4=?= X-Patchwork-Id: 32023 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C7ABA27BBEA; Wed, 16 Oct 2024 10:43:05 +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_DNSWL_BLOCKED, 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 CA70E27BBE9 for ; Wed, 16 Oct 2024 10:43:04 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t10YM-00020F-2z; Wed, 16 Oct 2024 05:42:50 -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 ) id 1t10YF-0001vT-Cf for guix-patches@gnu.org; Wed, 16 Oct 2024 05:42:43 -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 ) id 1t10YF-0004t8-46 for guix-patches@gnu.org; Wed, 16 Oct 2024 05:42:43 -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=Gq2L6VIENy2cTT7jCcFKaQdZ98/BCXSVPOHOp05f5Ek=; b=RB3iTR3EXz+Iwup6ip1Tjea4HKH0eS7RCtzezSSTixp0ubVsXVPobgvgntBFenodWvpaGYOdqQQceRbApewsvsmP55PZAFZ5sYZc6Vi6/q6EfF3yCeh8d7OkupfscAeCS5SNSB2vw9aR0kougb+iVpY99sRrtZDJyCt9UTLlQgfzfXcCIo23rShx9tsglclG0895FUiGi3LMaJ1ifG5GV0jrvAwg0QqBMYts/QDq0B9ctbBxHiwL57IbqMZuUsAUK7GbguyPkCnxMvTVws2jCQ3ysoFQDRQKasHmTOBDXS5BqtB8JQYEJAU22Hf0wozkI2Rn/iwKlCtTtHyxOsO3VA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t10YY-0007PQ-CF for guix-patches@gnu.org; Wed, 16 Oct 2024 05:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73836] [PATCH] gnu: kcolorpicker: Build with -fPIC Resent-From: =?utf-8?b?RG/En2FuIMOHZcOnZW4=?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Oct 2024 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73836 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73836@debbugs.gnu.org Cc: =?utf-8?b?RG/En2FuIMOHZcOnZW4=?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172907175028393 (code B ref -1); Wed, 16 Oct 2024 09:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Oct 2024 09:42:30 +0000 Received: from localhost ([127.0.0.1]:58585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t10Y1-0007No-Ij for submit@debbugs.gnu.org; Wed, 16 Oct 2024 05:42:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:56358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t10DD-0006O7-RS for submit@debbugs.gnu.org; Wed, 16 Oct 2024 05:21:00 -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 ) id 1t10Cs-0005rk-O5 for guix-patches@gnu.org; Wed, 16 Oct 2024 05:20:38 -0400 Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t10Cq-0001cG-HE for guix-patches@gnu.org; Wed, 16 Oct 2024 05:20:38 -0400 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id D982C114009E; Wed, 16 Oct 2024 05:20:33 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Wed, 16 Oct 2024 05:20:33 -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=fm2; t=1729070433; x=1729156833; bh=Gq2L6VIENy2cTT7jCcFKa QdZ98/BCXSVPOHOp05f5Ek=; b=rWHY8EGfWeDI85cDFhC3yaEcKToDx/ryI5MMb 6Clxtbvs0FB4fbyrQ3eByo7xBwg2Tvp3ji/i69+HNoxAiyISWe8d0DnSgSYTNYxf JRS9yjh4LYxdgMcALuS4OFUZfSKqn9mpKPiznbhsi9wOzUaak4OAkCsIkOAl59jW CRMlQTgjFeniAV+zZWMmEAzb/db8OjFE9dG/y5skpCk3IaK1vr4F8ZpHO1eW3Dh3 4+pcCqu4LpakR5VGat2tDiXTBO2IfduZeEjKEYOpZBhp5CaRxbI4ME/Qb56fOZBn NqK7gLpD916B/6slZV1gibmysOtRGw9Z/ABkapb3i5/5MckNw== 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= fm2; t=1729070433; x=1729156833; bh=Gq2L6VIENy2cTT7jCcFKaQdZ98/B CXSVPOHOp05f5Ek=; b=H3k/wRiGpWF7WZUhC8HgDBCjLASA1KQ9GXdCcT27asHd +vsT9iP8F04WqHuoG6l7H8CV39Eg+9KixAYExw/r/ybOkRzPO38gnbCu5kI97b+D T5p2FX48yngo4Fduzp9baU1AdI9vPTucGA3nsQwayYEcbVmu4KCwZZeVRvoMo02Z k5/8mOOjRQG6Vf7lTC2ZMELNVBAYYGUmUP8rCW7JGg/KP55737nWSh7RRcj7Y9Mm w1Lma/xeNvhHaTokjFOmh6OnL1AJSCRD22C1iNPf4SgsKty7zW1OkIcsJhOkovEY zfae5AXTMsD81k2QxNUzH7IL6PSwyKleDwwQxdx6yg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdegledgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf ffkffoggfgsedtkeertdertdejnecuhfhrohhmpeffohhgrghnucmrvgopvghnuceoshgv phgvthhhsehfrghsthhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepleejueehge evgeegleehgfevudffhfduveeggfdukeffgefhleevteeiueekieelnecuffhomhgrihhn pehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehsvghpvghthhesfhgrshhtmhgrihhlrdgtohhmpdhnsggprhgtphht thhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehguhhigidqphgrthgthh gvshesghhnuhdrohhrghdprhgtphhtthhopehsvghpvghthhesfhgrshhtmhgrihhlrdgt ohhm X-ME-Proxy: Feedback-ID: i57994943:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Oct 2024 05:20:32 -0400 (EDT) From: =?utf-8?b?RG/En2FuIMOHZcOnZW4=?= Date: Wed, 16 Oct 2024 11:12:45 +0200 Message-ID: <9ed0e0e450132f629dd220188251ae858cb8d570.1729069965.git.sepeth@fastmail.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Received-SPF: pass client-ip=103.168.172.155; envelope-from=sepeth@fastmail.com; helo=fhigh-a4-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_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 16 Oct 2024 05:42:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 It fixes linking errors when building kimageannotator: ... ld: /gnu/store/...-kcolorpicker-0.3.1/lib/libkColorPicker.a(AbstractPopupMenuButton.cpp.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZN15QAbstractButton7clickedEb@@Qt_6' which may bind externally can not be used when making a shared object; recompile with -fPIC ... * gnu/packages/kde-frameworks.scm (kcolorpicker)[arguments]: Adjust configure-flags to add -fPIC to CMAKE_CXX_FLAGS. Change-Id: I38c77cc641e48b3e992e8f49fd861d9ada818240 --- gnu/packages/kde-frameworks.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) base-commit: 8ffb0c14b8abdbb471788f993a7835add147e3a8 diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 07b861c672..13d4e24726 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -660,7 +660,8 @@ (define-public kcolorpicker (build-system qt-build-system) (arguments (list #:qtbase qtbase - #:configure-flags #~(list "-DBUILD_TESTS=ON" + #:configure-flags #~(list "-DCMAKE_CXX_FLAGS=-fPIC" + "-DBUILD_TESTS=ON" "-DBUILD_WITH_QT6=ON"))) (home-page "https://github.com/ksnip/kColorPicker") (synopsis "Color Picker with popup menu")