From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8BibFXl0dWQ2BwEASxT56A (envelope-from ) for ; Tue, 30 May 2023 05:58:49 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kNuSFXl0dWRYdgAA9RJhRA (envelope-from ) for ; Tue, 30 May 2023 05:58:49 +0200 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 35D2A1FD24 for ; Tue, 30 May 2023 05:58:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3qUm-0005Iw-Dh; Mon, 29 May 2023 23:58:04 -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 1q3qUk-0005Hw-Hv for guix-patches@gnu.org; Mon, 29 May 2023 23:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3qUk-00054j-9b for guix-patches@gnu.org; Mon, 29 May 2023 23:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3qUk-00038T-6K for guix-patches@gnu.org; Mon, 29 May 2023 23:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v3 22/32] gnu: gap: Remove leftover source and build files. Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 30 May 2023 03:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56729@debbugs.gnu.org Cc: Andreas Enge Received: via spool by 56729-submit@debbugs.gnu.org id=B56729.168541906311965 (code B ref 56729); Tue, 30 May 2023 03:58:02 +0000 Received: (at 56729) by debbugs.gnu.org; 30 May 2023 03:57:43 +0000 Received: from localhost ([127.0.0.1]:59633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3qUQ-00036p-6J for submit@debbugs.gnu.org; Mon, 29 May 2023 23:57:42 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([81.169.146.183]:36527) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3qUN-00036K-Kj for 56729@debbugs.gnu.org; Mon, 29 May 2023 23:57:40 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685419057; cv=none; d=strato.com; s=strato-dkim-0002; b=D3TfpLHwkQeiWPtFJJjTI/koyrIuF5Ol73YNg+zFTrZkpbIQ6f9FmHZbMEjpOew6pE WPPrBBnzAznWNxjDvKtB2XT6CHq09h15PyTEvGjVkQeJ4IcdyeA2DOzfEKuXA9dw6G89 qiC0PY47es6TOzxhdeXChFZOqO6RAnyYgyeYb3Yg6QbpoPVSFpBFxz0i6FT44B4Zy8QT ngar2HF2Zvp0b4+9J26lUNQOb5j7UpVWYR0V0QLIKBNtlmg1lzNPeeVPncZyBwaqHqFb SZCSJVmzdTW0dgVazFTPHbGtDZXIxlTSxMKVhvvKjETSqZ8UyWp5Vmk9Ns18oVOohLR8 GpUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1685419057; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=6oybq0sYzVG1pdFH7DUj4Acdba7OPx7QBykAqtIM1IQ=; b=nApj2nM/fllUgqK3BKKI1Yjo+UgahSod3jzqNhWgBIAWLuzyxxy44qffaQ6U8U6qK1 oRNku2H1sy7Gr5SMf4R43oVYNAivF+x3i0tZHlTkyNicQyvvmCU43b/YTOaQlh2vMLHx 9EsxbPtp6eL3kByyl5TUFppInO/vCSCdTnjNkFGpuqFRXsvmd6LlsnlBWDsEYV7v9/Aw rqLkoG4Ov/K3j2JAu5/iWQ/KqtylRAha45sQLLqODWYWY+c/xskdCNNrN+ibToKZdyvL taFKnHb0bwV9K707ayK/y+nKZAdNuBPqeS7+cn7be7p399vtRZfBKasOjGQTSQqU9pQi C7Vw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1685419057; s=strato-dkim-0002; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=6oybq0sYzVG1pdFH7DUj4Acdba7OPx7QBykAqtIM1IQ=; b=MuzuGNB5b+Tn2pE5YU1MvEsnRInnhsWcysWHNbCGqbotodnXu4MC7TQJoXvi4iKDkP nKWSHzrNamrDCgJ494slxJyiUi3L+3hHFIvTRTW1LC2N3R1sj+EjN9UNdf9TIsS/Jbjr cBP9iLYkzjRKgUQF/scRmDBn+5vsgwyHKT/aU65ocan0opqxwbXdfkwYzgd3jhiljDmx h8psNJZJcd78rFITBUhf8XKZw2t2dC5Cu4aiIpKJ8d6EibmV6pNQO7Cs4h9opApJmxqN 8Xl0oaIM6/ds9YqfYYdr+rcW0j/PZ2CLHidjXt/UykbxoJNPVNBspjHRzAY00gxrG3Bv V6AQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1685419057; s=strato-dkim-0003; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=6oybq0sYzVG1pdFH7DUj4Acdba7OPx7QBykAqtIM1IQ=; b=4dClS4rwZMdjycF6azXb4VsNUDdBos3MEj1Q4Pi9x3UpbJ4IZFy3t3F4+60a0EEV22 8LfEPeLDWtFHGVJWm6DQ== X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9elHkvI0r6JTEEwPZQIGpITRHJw3QBV19xfC5caujhgQnTJiaYr" X-RZG-CLASS-ID: mo05 Received: from lambda.localdomain by smtp.strato.de (RZmta 49.4.0 AUTH) with ESMTPSA id z055e6z4U3vbnYK (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 30 May 2023 05:57:37 +0200 (CEST) From: vicvbcun Date: Mon, 29 May 2023 22:38:31 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="us-ascii" 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=2; s=key1; d=yhetil.org; t=1685419124; a=rsa-sha256; cv=fail; b=IuCzv458pA45hdf0hyZpA5vSXOgqldAAuS49zaD6ouv0QuP5SX2NdSGwNocf3wrW/WfvH8 5eorvLk8vFEtBQGb98shmcn75CKvnfiQaXHHXxgvlSpIeXRQMAtpK9w0KeM1Yj2T1H9GFY BDAHnaFmQt4Q2WPAP6Q4TUav7A0vKoMlMYdtM37BC5/6EiA9OEIuQspb8ZDUEtRaNVyZfR 7Ar5ySzQ+EepQgmuEoRS8PKRB6vWHCC47ja9V19WUHtbjcAfLWFlVkVQ12J1MMeFwJEntm Tb0TCerDCq5yICjFoKxLjqiTUKWg2z8ShbLmyLFnkIZKAdm/9MTFgCHE2KTQUA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=MuzuGNB5; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=4dClS4rw; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685419124; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=6oybq0sYzVG1pdFH7DUj4Acdba7OPx7QBykAqtIM1IQ=; b=A9D8aPETEFpqJT0gVVGK1zcVOjSX6BP2jl7vc03Q8MT1Lv1kt/J9YgRTBigFTnag+y8Zh1 ojQvZNLqUoeJRBRxsHVU8KybvHk4SLqZ38Mdltw8w2/PMMbr6u0Lybla0EdbftmoAS7BZ8 qYC9qPGcr+jLNZVMWk720T+rRzyU3yucxFZX/jz5F4N9DEKXP2XM/kyUTJ41rwcxz+p0eq SNIjLD/UjJZbcHgi7iiSYI7wiWNnIttIsoD7YH77OE2vhsbEGiV34ZZtOS9AdsylVd9zwQ OVuipBIMkwvzxmyhYJGfXP+SpzSy0RG3rfXiGWXZ8Pqw42m3s2Gj9bF2tY284w== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=MuzuGNB5; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=4dClS4rw; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") X-Migadu-Spam-Score: 2.76 X-Spam-Score: 2.76 X-Migadu-Queue-Id: 35D2A1FD24 X-TUID: 5OwCKjtL/ASG This also removes GCC from the closure, reducing it by ~155 MiB. * gnu/packages/algebra.scm (gap)[arguments]<#:phases> {'install-packages}: Delete copied src directories. --- gnu/packages/algebra.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index b7a900f61d..e4af9d7d55 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -1435,7 +1435,14 @@ (define-public gap (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (share (string-append out "/share/gap"))) - (copy-recursively "pkg" (string-append share "/pkg"))))) + (copy-recursively "pkg" (string-append share "/pkg")) + ;; These directories contain C/C++ source code, object files + ;; and Make dependency information + (for-each + delete-file-recursively + (find-files (string-append share "/pkg") + "^src$" + #:directories? #t))))) ;; configure logs and LaTeX output that contains timestamps, uname ;; output etc (add-after 'install-packages 'remove-logs -- 2.40.1