From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sOYjBW93Wl9nWgAA0tVLHw (envelope-from ) for ; Thu, 10 Sep 2020 18:58:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4OnGAG93Wl8TZQAA1q6Kng (envelope-from ) for ; Thu, 10 Sep 2020 18:58:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9C4C5940291 for ; Thu, 10 Sep 2020 18:58:54 +0000 (UTC) Received: from localhost ([::1]:40194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGRmX-0003aU-JY for larch@yhetil.org; Thu, 10 Sep 2020 14:58:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGRPS-0003yz-Vm for bug-guix@gnu.org; Thu, 10 Sep 2020 14:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57859) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGRPS-00054E-Ks for bug-guix@gnu.org; Thu, 10 Sep 2020 14:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGRPS-0004pB-Iw for bug-guix@gnu.org; Thu, 10 Sep 2020 14:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43296: [PATCH] gnu: Fix gnome-builder build. References: <86a353ec-1191-bb1d-dfe1-2a6366535773@disroot.org> In-Reply-To: <86a353ec-1191-bb1d-dfe1-2a6366535773@disroot.org> Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 10 Sep 2020 18:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43296 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 43296@debbugs.gnu.org Received: via spool by 43296-submit@debbugs.gnu.org id=B43296.159976286218469 (code B ref 43296); Thu, 10 Sep 2020 18:35:02 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: 6.59 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=tugraz.at header.s=mailrelay header.b=Vyje4gIr; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam: Yes X-TUID: dJUI/tXkW+zj 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