From unknown Wed Sep 10 03:05:01 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#43296 <43296@debbugs.gnu.org> To: bug#43296 <43296@debbugs.gnu.org> Subject: Status: Gnome Builder doesn't install. Reply-To: bug#43296 <43296@debbugs.gnu.org> Date: Wed, 10 Sep 2025 10:05:01 +0000 retitle 43296 Gnome Builder doesn't install. reassign 43296 guix submitter 43296 Marinus Savoritias severity 43296 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 09 15:04:39 2020 Received: (at submit) by debbugs.gnu.org; 9 Sep 2020 19:04:39 +0000 Received: from localhost ([127.0.0.1]:34724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG5OY-0005QY-T3 for submit@debbugs.gnu.org; Wed, 09 Sep 2020 15:04:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:49084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG5OW-0005QQ-CH for submit@debbugs.gnu.org; Wed, 09 Sep 2020 15:04:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kG5OW-000864-3E for bug-guix@gnu.org; Wed, 09 Sep 2020 15:04:36 -0400 Received: from knopi.disroot.org ([178.21.23.139]:48464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kG5OS-00020T-Mz for bug-guix@gnu.org; Wed, 09 Sep 2020 15:04:35 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 98C6A52989 for ; Wed, 9 Sep 2020 21:04:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id flVdi90MSPYR for ; Wed, 9 Sep 2020 21:04:29 +0200 (CEST) To: bug-guix@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1599678269; bh=mFxFuwcQUwqu8M1dKgtRW7BU8R0hZA3SIjclmNLBB9Y=; h=To:From:Subject:Date; b=ExBWbJWWOWA8EqWmy3+EuJVjacKwA5vTuWqmsQH69kKyP5BirVFCLPRAxeGbRhPgb DgORRd4HOnx1Rf/xEaUQRhcr7x50f/HgbeiNunBhhGNFC6Y99ls1k3lKURcEld1Ky6 EZkwkqIQSHTk0BTuJdksrMFst9n6uYA42cgyOMrhxkyfrd7ojeWSaHpHhVBrbT9H6A cr/Zq/Srba8BZRzywi6Fr/Pf1H7eL6GDDl/cHTnYY+QAG/Fsmy43KbYVdd1/RHjGOy RVkpJfQgNBKdiAe1Gqy6u69/khLDGvBavtWSX7poLlJnqxeRKSbjV46T78M7ul373i BdTpmW/NUud4A== From: Marinus Savoritias Subject: Gnome Builder doesn't install. Message-ID: <86a353ec-1191-bb1d-dfe1-2a6366535773@disroot.org> Date: Wed, 9 Sep 2020 21:04:20 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=marinus.savoritias@disroot.org; helo=knopi.disroot.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/09 14:46:42 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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.4 (--) Gnome builder fails to install with this message: swzg5y9hnggp7aghz8q2l-gnome-builder-3.36.1.drv' failed with exit code 1 build of /gnu/store/w2lzd0dc6qbswzg5y9hnggp7aghz8q2l-gnome-builder-3.36.1.drv failed The message in the log is this: ld: /gnu/store/sh764z2hm5qcr4cqx4amcipcbkvg76i2-libselinux-3.0/lib/libselinux.a(setrans_client.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. command "ninja" "-j" "4" failed with status 1 Marinus Savoritias From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 12:58:35 2020 Received: (at 43296) by debbugs.gnu.org; 10 Sep 2020 16:58:35 +0000 Received: from localhost ([127.0.0.1]:41076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGPu7-0002Ue-54 for submit@debbugs.gnu.org; Thu, 10 Sep 2020 12:58:35 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:59216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGPu3-0002UA-BG for 43296@debbugs.gnu.org; Thu, 10 Sep 2020 12:58:32 -0400 Received: from localhost.localdomain (193-81-157-44.hdsl.highway.telekom.at [193.81.157.44]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4BnQ7l0874z1LLyf for <43296@debbugs.gnu.org>; Thu, 10 Sep 2020 18:58:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4BnQ7l0874z1LLyf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1599757107; bh=f5LSpOVh5P3V9eSWN28PlkmkCyUX02J5BqAGILdRrhM=; h=From:To:Subject:Date:From; b=uXTQHlp01N4nKKy5RFR9STZak+Cc17fO0TsHh2s+tv69BF15SdPGtmpbo75eII3JH W+ecnIZ7vGUAK8iCrM5DlE2KpbWJrtCxLzoi47OD9GNdsYdbc+pl/sbQkF62dUUpPf kdHJvav1g8JxxYXy+ZoXoKcBHbO6l7sJiIgsR77w= From: Leo Prikler To: 43296@debbugs.gnu.org Subject: bug#43269: Gnome Builder doesn't install. Date: Thu, 10 Sep 2020 18:58:26 +0200 Message-Id: <20200910165827.13274-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43296 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 (---) Hi Marinus, I've noticed your report and quickly found a rather crude way of fixing it. I'm not sure, why meson tries to link gnome-builder statically against selinux in the first place, but it should do the job. Regards, Leo Leo Prikler (1): gnu: Fix gnome-builder build. gnu/packages/gnome.scm | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 12:58:35 2020 Received: (at 43296) by debbugs.gnu.org; 10 Sep 2020 16:58:35 +0000 Received: from localhost ([127.0.0.1]:41078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGPu7-0002Ug-Bp for submit@debbugs.gnu.org; Thu, 10 Sep 2020 12:58:35 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:64142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGPu4-0002UJ-FZ for 43296@debbugs.gnu.org; Thu, 10 Sep 2020 12:58:33 -0400 Received: from localhost.localdomain (193-81-157-44.hdsl.highway.telekom.at [193.81.157.44]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4BnQ7n3Kr2z1DVPY for <43296@debbugs.gnu.org>; Thu, 10 Sep 2020 18:58:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4BnQ7n3Kr2z1DVPY DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1599757109; bh=jZpZXStsWQ6oJTomcoHQSbdti5qmMntwYExg9o7Gi+A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fDHN5f6Rhc4Fd1F0KPXA+WQHIPjd4gnPhK5bGuEcuogDMGYBEqoDE6gcBZivWE5QI BrjnUiXi1uA9cA4YmKZ8GcHzN2o57pfLo66gCv3/lywdLN6ya7ujCEaQk5x2wN9YMF EL8rs393GeyzcOE6NCigIaE0Q3aoUEGofiMzNr6s= From: Leo Prikler To: 43296@debbugs.gnu.org Subject: [PATCH 1/1] gnu: Fix gnome-builder build. Date: Thu, 10 Sep 2020 18:58:27 +0200 Message-Id: <20200910165827.13274-2-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200910165827.13274-1-leo.prikler@student.tugraz.at> References: <20200910165827.13274-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43296 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 (---) As reported in #43296, gnome-builder tries to be linked against the static version of libselinux (propagated through glib/gio), failing to do so, as it also wants to be a PIE. To keep the PIE, link it against the dynamic library. * gnu/packages/gnome.scm (gnome-builder)[#:phases]: Add 'fix-ninja. --- gnu/packages/gnome.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 31c5b0319c..ff4cb8a383 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -11336,6 +11336,12 @@ libraries. Applications do not need to be recompiled--or even restarted.") (string-append (assoc-ref inputs "python-pygobject") "/lib"))) #t)) + (add-after 'configure 'fix-ninja + (lambda _ + ;; #43296: meson(?) incorrectly assumes we want to link + ;; this PIE against a static libselinux. + (substitute* "build.ninja" + (("libselinux\\.a") "libselinux.so")))) (add-before 'check 'pre-check (lambda _ (system "Xvfb :1 &") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 14:09:45 2020 Received: (at 43296) by debbugs.gnu.org; 10 Sep 2020 18:09:45 +0000 Received: from localhost ([127.0.0.1]:41129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGR0z-0004AC-2P for submit@debbugs.gnu.org; Thu, 10 Sep 2020 14:09:45 -0400 Received: from world.peace.net ([64.112.178.59]:48818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGR0x-00049y-D0 for 43296@debbugs.gnu.org; Thu, 10 Sep 2020 14:09:44 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGR0q-0001Ee-MM; Thu, 10 Sep 2020 14:09:37 -0400 From: Mark H Weaver To: Leo Prikler , 43296@debbugs.gnu.org Subject: Re: bug#43296: [PATCH 1/1] gnu: Fix gnome-builder build. In-Reply-To: <20200910165827.13274-2-leo.prikler@student.tugraz.at> References: <20200910165827.13274-1-leo.prikler@student.tugraz.at> <20200910165827.13274-2-leo.prikler@student.tugraz.at> Date: Thu, 10 Sep 2020 14:08:19 -0400 Message-ID: <87k0x1tsgh.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43296 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: -1.0 (-) Hi, Leo Prikler writes: > As reported in #43296, gnome-builder tries to be linked against the static > version of libselinux (propagated through glib/gio), failing to do so, as it > also wants to be a PIE. To keep the PIE, link it against the dynamic library. > * gnu/packages/gnome.scm (gnome-builder)[#:phases]: Add 'fix-ninja. > --- > gnu/packages/gnome.scm | 6 ++++++ > 1 file changed, 6 insertions(+) Thanks for this! One comment, though: > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > index 31c5b0319c..ff4cb8a383 100644 > --- a/gnu/packages/gnome.scm > +++ b/gnu/packages/gnome.scm > @@ -11336,6 +11336,12 @@ libraries. Applications do not need to be recompiled--or even restarted.") > (string-append (assoc-ref inputs "python-pygobject") > "/lib"))) > #t)) > + (add-after 'configure 'fix-ninja > + (lambda _ > + ;; #43296: meson(?) incorrectly assumes we want to link > + ;; this PIE against a static libselinux. > + (substitute* "build.ninja" > + (("libselinux\\.a") "libselinux.so")))) > (add-before 'check 'pre-check > (lambda _ > (system "Xvfb :1 &") This new phase should end by returning #t. Thanks, Mark From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 14:22:45 2020 Received: (at 43296) by debbugs.gnu.org; 10 Sep 2020 18:22:45 +0000 Received: from localhost ([127.0.0.1]:41157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGRDZ-0004V6-2Y for submit@debbugs.gnu.org; Thu, 10 Sep 2020 14:22:45 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGRDX-0004Uy-4a for 43296@debbugs.gnu.org; Thu, 10 Sep 2020 14:22:43 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1599762162; cv=none; d=zohomail.com; s=zohoarc; b=m8DnzKgkOYppDXn92NTTs2o4Ucrg1glldTenRJ2ldby7JHaUg+MCX7pmdgNUKyRN0AQg3ZPV/3lc3hRG3Pz4stXbi0QW4dUT0zGGP7BU+eDdk5m3LZgXC49Ea6JNYA+VTbQ5sKER+Ty1j1HG5bJGfzTXmuPnDqOlKTxiOjugcgo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599762162; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=FR8t29SjrOeSDlYWXHfhWgDeaajI9JPFtx8lBrU3+44=; b=ABs1ffgmx+mKwR0OW81ZQiLnpv0n1b4dfan32W2FP4ZKdHXKHwtZRjK45CejH+HWWhaszMnE2hjaxSdZYjOKKX+TqbOihQD637nUSVwTIcyGz/gXW0jf59KDxRThU7H6imQ2myFaILjSR+lSJs/nfj+1l9lK51Q0PTqPB4vqix8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1599762162; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=FR8t29SjrOeSDlYWXHfhWgDeaajI9JPFtx8lBrU3+44=; b=JEJtwosz0OcKfqu/3/r7+BTDltnLuu67veR94kA6oT3GWkOMNsCzVSLKoDeEmyUA U9lEt+LZcfq+4TIVbkw8Kj9JWYGa2Go8hOW3pEOePIdYtoO/a19HSvKSaO98pg7jF3F 4tmvMPcY9wb94grfJz6McT/z3eqGlpJksnAOx8ZE= Received: from localhost (p54ad4af6.dip0.t-ipconnect.de [84.173.74.246]) by mx.zohomail.com with SMTPS id 15997621597066.5768608755511195; Thu, 10 Sep 2020 11:22:39 -0700 (PDT) References: <20200910165827.13274-1-leo.prikler@student.tugraz.at> <20200910165827.13274-2-leo.prikler@student.tugraz.at> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Leo Prikler Subject: Re: bug#43296: [PATCH 1/1] gnu: Fix gnome-builder build. In-reply-to: <20200910165827.13274-2-leo.prikler@student.tugraz.at> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Thu, 10 Sep 2020 20:23:53 +0200 Message-ID: <87a6xx4hja.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 43296 Cc: 43296@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: -1.0 (-) Leo Prikler writes: > As reported in #43296, gnome-builder tries to be linked against the static > version of libselinux (propagated through glib/gio), failing to do so, as= it > also wants to be a PIE. To keep the PIE, link it against the dynamic lib= rary. > * gnu/packages/gnome.scm (gnome-builder)[#:phases]: Add 'fix-ninja. > --- > gnu/packages/gnome.scm | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > index 31c5b0319c..ff4cb8a383 100644 > --- a/gnu/packages/gnome.scm > +++ b/gnu/packages/gnome.scm > @@ -11336,6 +11336,12 @@ libraries. Applications do not need to be recom= piled--or even restarted.") > (string-append (assoc-ref inputs "python-pygobject") > "/lib"))) > #t)) > + (add-after 'configure 'fix-ninja > + (lambda _ > + ;; #43296: meson(?) incorrectly assumes we want to link > + ;; this PIE against a static libselinux. > + (substitute* "build.ninja" > + (("libselinux\\.a") "libselinux.so")))) Please end the phase on #t, because =E2=80=9Csubstitute*=E2=80=9D has no sp= ecified return value. Other than that it looks good to me, thanks! --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 14:34:22 2020 Received: (at 43296) by debbugs.gnu.org; 10 Sep 2020 18:34:22 +0000 Received: from localhost ([127.0.0.1]:41167 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGROo-0004np-D3 for submit@debbugs.gnu.org; Thu, 10 Sep 2020 14:34:22 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:6427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGROl-0004ne-5Q for 43296@debbugs.gnu.org; Thu, 10 Sep 2020 14:34:20 -0400 Received: from localhost.localdomain (193-81-157-44.hdsl.highway.telekom.at [193.81.157.44]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4BnSGJ0GyCz1LLyf for <43296@debbugs.gnu.org>; Thu, 10 Sep 2020 20:34:15 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4BnSGJ0GyCz1LLyf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1599762856; bh=JaJNJPBdqbtjpynpD2c/G9NLgh11nINrMo9002ltCTI=; h=From:To:Subject:Date:From; b=Vyje4gIrJByIvFWSCY/XVhtsIujDxpr5b4CNe6X/0qSYEMXkvB10mkq/XiZwb+SsY PcL8cRinoCxgVCU3OSonXWm2WCVjh0db0Sg7iPAsiwOu6UGdjHemvsXauNTYRL1zQ9 kbYKeP1Du6WeCKBQjfi3ZAJFa4HJTflVPFM1uw5A= From: Leo Prikler To: 43296@debbugs.gnu.org Subject: [PATCH] gnu: Fix gnome-builder build. Date: Thu, 10 Sep 2020 20:26:10 +0200 Message-Id: <20200910182608.15501-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43296 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 (---) As reported in #43296, gnome-builder tries to be linked against the static version of libselinux (propagated through glib/gio), failing to do so, as it also wants to be a PIE. To keep the PIE, link it against the dynamic library. * gnu/packages/gnome.scm (gnome-builder)[#:phases]: Add 'fix-ninja. --- gnu/packages/gnome.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 31c5b0319c..bc8e28becf 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -11336,6 +11336,13 @@ libraries. Applications do not need to be recompiled--or even restarted.") (string-append (assoc-ref inputs "python-pygobject") "/lib"))) #t)) + (add-after 'configure 'fix-ninja + (lambda _ + ;; #43296: meson(?) incorrectly assumes we want to link + ;; this PIE against a static libselinux. + (substitute* "build.ninja" + (("libselinux\\.a") "libselinux.so")) + #t)) (add-before 'check 'pre-check (lambda _ (system "Xvfb :1 &") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 31 12:56:44 2020 Received: (at 43296-done) by debbugs.gnu.org; 31 Oct 2020 16:56:44 +0000 Received: from localhost ([127.0.0.1]:34440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYuBH-0006gf-QL for submit@debbugs.gnu.org; Sat, 31 Oct 2020 12:56:44 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYuBF-0006gO-E9 for 43296-done@debbugs.gnu.org; Sat, 31 Oct 2020 12:56:42 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 1AF085C0048; Sat, 31 Oct 2020 12:56:36 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Sat, 31 Oct 2020 12:56:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=GIhnkzZU+KQLSaZpubYOlYWf xsXf5Ff67IFwUH77O/k=; b=tcQNWlJWRAQmzec0fc6E/qJOVM9vII8Dvj8MSaC2 925zHvKPUGaFd7mKkGOHnrqDklPhNulrLf+ug3p32rId0Oo/+0AOMWO/C4YA+O1U CicfHUygc3CCMd9E1FYKZ2SuIXq21rSqgWImLNS5ik2Jn6799vV5jVxNWtzMqHdT tOo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=GIhnkz ZU+KQLSaZpubYOlYWfxsXf5Ff67IFwUH77O/k=; b=CNvl6dYcxAIqg85a/ULrvQ SKFHiAIkcpDkn8IOEzOTnKKLbmFfFpa8V9WzF5K6JPnkyJoeJ1bID5qyl4p92HiO fVi4ou8RHP4LTzz30O/dRJ09EejR5uoTjp98e7Uhim+H8Sbz0+YxpZfXTtMhUpGw /gl7LSjpZmAK/UisMyDFgFM4JzTjJm9ZfldDKWD3kqjf2lIPR1RyTWG9D9JXsBL4 qEQq4zQrlYN9O9LxI97h9WNxilABbad/tssQEMgVAWCkxzxxCWBs8APUzPrEqd7D eULG2vu72ZQ5N4IO3VTNTQX3FkytaKmsYcOd9tz9R4UhkWtwSjFaicvyLAUJyd3w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleejgdelhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcuhfgr mhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrthhtvg hrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheffvefg necukfhppeejfedrudeguddruddvjedrudegieenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id 8C79A306467D; Sat, 31 Oct 2020 12:56:35 -0400 (EDT) Date: Sat, 31 Oct 2020 12:56:33 -0400 From: Leo Famulari To: Leo Prikler Subject: Re: bug#43296: [PATCH] gnu: Fix gnome-builder build. Message-ID: <20201031165633.GA24442@jasmine.lan> References: <86a353ec-1191-bb1d-dfe1-2a6366535773@disroot.org> <20200910182608.15501-1-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200910182608.15501-1-leo.prikler@student.tugraz.at> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43296-done Cc: 43296-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: -1.7 (-) On Thu, Sep 10, 2020 at 08:26:10PM +0200, Leo Prikler wrote: > As reported in #43296, gnome-builder tries to be linked against the static > version of libselinux (propagated through glib/gio), failing to do so, as it > also wants to be a PIE. To keep the PIE, link it against the dynamic library. > * gnu/packages/gnome.scm (gnome-builder)[#:phases]: Add 'fix-ninja. Thanks! I tweaked the commit message and pushed as 9c69fec08e286f7486e64c2aa3110fa34974d15d From unknown Wed Sep 10 03:05:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 29 Nov 2020 12:24:07 +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