From unknown Wed Jun 18 23:02:40 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#73836 <73836@debbugs.gnu.org> To: bug#73836 <73836@debbugs.gnu.org> Subject: Status: [PATCH] gnu: kcolorpicker: Build with -fPIC Reply-To: bug#73836 <73836@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:02:40 +0000 retitle 73836 [PATCH] gnu: kcolorpicker: Build with -fPIC reassign 73836 guix-patches submitter 73836 Do=C4=9Fan =C3=87e=C3=A7en severity 73836 normal tag 73836 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 16 05:42:30 2024 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?q?Do=C4=9Fan=20=C3=87e=C3=A7en?= To: guix-patches@gnu.org Subject: [PATCH] gnu: kcolorpicker: Build with -fPIC 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 Content-Transfer-Encoding: 8bit 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 16 Oct 2024 05:42:28 -0400 Cc: =?UTF-8?q?Do=C4=9Fan=20=C3=87e=C3=A7en?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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(-) 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") base-commit: 8ffb0c14b8abdbb471788f993a7835add147e3a8 -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 16 07:19:13 2024 Received: (at 73836-done) by debbugs.gnu.org; 16 Oct 2024 11:19:13 +0000 Received: from localhost ([127.0.0.1]:58743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t123d-0003OY-6P for submit@debbugs.gnu.org; Wed, 16 Oct 2024 07:19:13 -0400 Received: from smtp21.cstnet.cn ([159.226.251.21]:60710 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t123Z-0003OF-Rt for 73836-done@debbugs.gnu.org; Wed, 16 Oct 2024 07:19:12 -0400 Received: from m (unknown [107.174.64.25]) by APP-01 (Coremail) with SMTP id qwCowACXdrQHoQ9nXPf3Bw--.7028S2; Wed, 16 Oct 2024 19:18:38 +0800 (CST) From: Z572 To: =?utf-8?B?RG/En2FuIMOHZcOnZW4=?= Subject: Re: [bug#73836] [PATCH] gnu: kcolorpicker: Build with -fPIC In-Reply-To: <9ed0e0e450132f629dd220188251ae858cb8d570.1729069965.git.sepeth@fastmail.com> (=?utf-8?B?IkRvxJ9hbiDDh2XDp2VuIidz?= message of "Wed, 16 Oct 2024 11:12:45 +0200") References: <9ed0e0e450132f629dd220188251ae858cb8d570.1729069965.git.sepeth@fastmail.com> Date: Wed, 16 Oct 2024 19:18:17 +0800 Message-ID: <87frow47pi.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-CM-TRANSID: qwCowACXdrQHoQ9nXPf3Bw--.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IP: [107.174.64.25] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73836-done Cc: 73836-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Do=C4=9Fan =C3=87e=C3=A7en writes: > It fixes linking errors when building kimageannotator: > > ... > ld: > /gnu/store/...-kcolorpicker-0.3.1/lib/libkColorPicker.a(AbstractPopup= MenuButton.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(-) > > diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-framework= s.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=3DON" > + #:configure-flags #~(list "-DCMAKE_CXX_FLAGS=3D-fPIC" > + "-DBUILD_TESTS=3DON" > "-DBUILD_WITH_QT6=3DON"))) > (home-page "https://github.com/ksnip/kColorPicker") > (synopsis "Color Picker with popup menu") > > base-commit: 8ffb0c14b8abdbb471788f993a7835add147e3a8 Thanks, push and close. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmcPoPkACgkQO1qpk+Gi 3/AtJA/+LGbqHa81Z6fAQtRCVf8AAkG+v6tX30h7eNo4Ki6JfuyNNuscApM+P9tb MODF0K8ZDtOqihBKzvkktGg71dGcLB0fM0cbBnCdiT4kgO2GkSW+7s2V/gro31+k p6guLQJR7LG+bKmawx9FqRazY+pfXQqAAF6bSnt8iWzxdk653OqJRbAkI8D3IRiE iQlT6n4SZIOzSraSAzFEVckS1iSdja1xkSVKnsJAAJ3AxPfOUqCT08/1fWWJEFLz yPXwLYYqrCDOac2Vi+jpjCEqAVz2RIN4UcFE/i0nCFmzDrsaM6P4ZRvQCzdWhii9 2Ga9jU3x+/kY84V5tn6RPAmZeLY/xL1uzJBK99H2paZFqwuNvKehJyYY9zehMqwS 7/5Q1Cjda96po0w1lMhoCmgKO9Rj+G3usMFXfuEpa+GrZ4naMjxTg11LX7PitN6E oZ0AB6f+i4sgXtox4+h0uH4Cb/hpe7HrvE2GtpknmlBFy5byNIcWSN50M645aKIR zadCFjtWgKVo6C/AgLpOEqKoicvakGky8bV8Ap02nskcm9xxUec5dEqLTGpome+F 3dmcvbDnlLEuvI1Pi4GeOkC7UHdDF7XSsPaHKVht9k7DRy/zdmcl9chT2nKqSRxS YZ9GnoC0QXQE1PH94jzZ5Z23ylhNlYbOZfmLXQItE7WJW+YPjMk= =Bttm -----END PGP SIGNATURE----- --=-=-=-- From unknown Wed Jun 18 23:02:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 13 Nov 2024 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator