From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +EvkIn8mwWKCQAEAbAwnHQ (envelope-from ) for ; Sun, 03 Jul 2022 07:17:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6JinIn8mwWK3twAAauVa8A (envelope-from ) for ; Sun, 03 Jul 2022 07:17:51 +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 5847E3A6E6 for ; Sun, 3 Jul 2022 07:17:49 +0200 (CEST) Received: from localhost ([::1]:35868 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7rzQ-0003YK-F8 for larch@yhetil.org; Sun, 03 Jul 2022 01:17:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7rz6-0003WU-OA for guix-devel@gnu.org; Sun, 03 Jul 2022 01:17:28 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:25050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7rz5-0002vR-4J for guix-devel@gnu.org; Sun, 03 Jul 2022 01:17:28 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1656825446; x=1657034246; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: Subject: Subject: From: From: Cc: To: To: Date: Sender: Sender; bh=stPh+EwXALC6hW4KF/NEzsZbIbjgF+ZL24YetNtWdXU=; b=gAyHJHPssLQCJc1vzM7O1xPuLeAkjcN1o/cFtr/QFoHoquHAQ2Czr8SyMyn72gUKw+QZwgLR qF3Op8PSBcdAjN9sEZAM6k7/xFC4csFo35bS+5KpND7M2uaNlysyFoPz+vlGzqO2GnhRtv/7 8hjdZXSmBhe2qRSywwKUslRtm6U5lkh63BCS7jxaEebctifj4IcOWynuKhHI4S9nhDTbEqH7 vli6GMsefMWKZjIc/KG+nS+4sHSmZqSzGBzzyu5C0QxjFiclyA3ctNVaO6MU80tsYKDNMUVW V/eZylUrscDNVwsNKZiSykjq0+vYdSN2G0CmGM0b7brVOw8V3nEmZg== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyIyNWJlMSIsICJndWl4LWRldmVsQGdudS5vcmciLCAiMDg1NDdhIl0= Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n02.prod.us-east-1.postgun.com with SMTP id 62c12665449dbbfd392a99fd (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Sun, 03 Jul 2022 05:17:25 GMT Received: from localhost (q047142.dynamic.ppp.asahi-net.or.jp [203.181.47.142]) by wilsonb.com (Postfix) with ESMTPSA id 6869AA28FD; Sun, 3 Jul 2022 05:17:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1656825442; bh=stPh+EwXALC6hW4KF/NEzsZbIbjgF+ZL24YetNtWdXU=; h=Date:To:Cc:From:Subject:From; b=dShQkLz00oDlAmPfH6VjjHcagSmfyYYisu1yrdZMNvtOGkrKCj8KwgjW7ZtsiM2wu cDsaYQM6XuVDMCMD4YOgPPqdVQD0bBGM06Zc9/fSBlkY1HaK1Ce28G0RZLZzQ65NYD iIO8ShFrftgZzu+aLX6hDXDN5TKJnVVltGJt4sP2GeSloZGE5qTVjj2lc2ef1DnErf rZT5f5Ev0Gnl0zYXZaEndypffXONz0W551pqBIdZzsq4j4o9GrDOguCsLkoiy/1POr MNxn9BXK3wS3NM8+8a3LQ8PMFccxjwnNQWzHwqJi+Gddd7ga2QLvBPKzhRpIJx0YWi ekdNrfJJUcfmi6MBgT815iNXqDyr8ZhQ11iG20P8bnn0lgiFVukXDzGN0XycvXAFCs 2VphDkvK8mQfLPT0ql07NoQvYSOtsNo1LUsBFCYcWyxxYbIy+XMChd91J4GyKXAhNC qM73VqMJO+dr2ZEtqI6hXl/TUvTB62krsLKYdwBqEmMEzdUEqoiI9DD7XLoCBwgXcS 5k8zFLaWsAt9YTprwUZYYo5F/jDAtsaTz6KEf7iswLbauD9bLPCZ53DYYnaKHRutft kiaguChVSNE7gIjbeu5jtI6Tt4JXhRNfSOl9zZt4jrwmU5sBHmotTD2SCsvxdpY2Uc ZaaLzD0afJtQXRw3cSKfYdek= Date: Sun, 03 Jul 2022 14:17:20 +0900 To: guix-devel@gnu.org Cc: mhw@netris.org From: elaexuotee@wilsonb.com Subject: Bug in strip phase of gnu-build-system? Message-Id: <2VI4GBZMQD9RW.2FY92Z2FZID5O@"@WILSONB.COM> User-Agent: mblaze/1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+ec9951.08547a-guix-devel=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 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, MSGID_MULTIPLE_AT=1, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656825469; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=stPh+EwXALC6hW4KF/NEzsZbIbjgF+ZL24YetNtWdXU=; b=g2k6TAEkbSc1xPXhEHIjcKL7NeVke2f2zw0s4EM92Rbnol2DCBK72oq7h1ht2Y8+zH8fg1 PFUi8ECtrcxFAazKJ0459XDa66e4J8QdxCneZKXo74dWXXa4HbgAtodcMubVjaQpLz1DSy dWowNr/oC8bKxxWqiafHHkbtjrbKW/gVK22nC5gM3g6/8aYH62GmrFX6A2OwNUyWT2wzi8 ObmBZdcVNeZr+4QMrGKxHj9OAzREvTqgOOXvQkiQZQXwcuIYQD1dgXG8fYRHP90G1MADwQ FXHXYNFEs0NyJIS8JkUnZqQAO7iAnErdDSgu5/QJCP8ixcq0EDltDxEnLu0ZkQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656825469; a=rsa-sha256; cv=none; b=lxJyAGPHY8VtaI8vwsve//KbbyZyIpWzLWYeNq1z2Zb7Pt1DP01WXngfM+p47QeqMJOmzZ ducb7yuX034pgD8WBJY2SLgWXIzP/rZ3FQuhSJ/xMg0E9DPY4I7+fYTl5g7dioa+EEdYnt qV9Uy9aAn+r1deE+u8A4Q0grcMpCqH9RWdaaedvx4LZ+Oezl0bpwO4N7kN9LtEP/k0Svt2 SWKDcIYDGi9gOVRKOOs4OIBeF7ucelUpIJAFzZQY4ny16l4Ac6d7wJ5j4ZRtjkp/euy5MG uR7GXRPRI9vEmnqqiuuGW8U5gzooJKvjydUwigi+f/QLCmCW8Wmw7+rt+kFSng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=gAyHJHPs; dkim=pass header.d=wilsonb.com header.s=201703 header.b=dShQkLz0; dmarc=pass (policy=quarantine) header.from=wilsonb.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.74 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=gAyHJHPs; dkim=pass header.d=wilsonb.com header.s=201703 header.b=dShQkLz0; dmarc=pass (policy=quarantine) header.from=wilsonb.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5847E3A6E6 X-Spam-Score: -7.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7CSJzPWDzElX Hello, Sanity check, please. When `strip-binaries?` is `#f` and a "debug" output is defined, said output= remains empty. Instead, I expect "debug" to get populated with separated de= bug files. The logic for creating debug files exists in (guix build gnu-build-system) under the definition of `strip`. In particular `strip-dir` extracts the deb= ug info into "debug" if and only fi that output exists. Note, that (guix build-system gnu) already removes "debug" from the outputs= when strip-binaries? is true. However, for some reason the actual `strip-dir1 invocation is wrapped in a = (if strip-binaries? ...) check, meaning that the entire phase becomes a no-op. Shouldn't that if check be removed? I have CC'ed Mark Weaver, since it looks like he is the author of this particular if block. Cheers, B. Wilson P.S. If the above is correct, then would it make sense for --with-debug-info to = also inject a "debug" output as needed? It looks like this would be pretty easy under guix/transformations.scm:transforma-package-with-debug-info.