From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IC+JLB0Ew2IwIgEAbAwnHQ (envelope-from ) for ; Mon, 04 Jul 2022 17:15:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AHhbLB0Ew2K9fgAA9RJhRA (envelope-from ) for ; Mon, 04 Jul 2022 17:15:41 +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 8C9874A57 for ; Mon, 4 Jul 2022 17:15:41 +0200 (CEST) Received: from localhost ([::1]:51218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8NnY-00050q-Lh for larch@yhetil.org; Mon, 04 Jul 2022 11:15:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8Nmy-00050N-3Q for guix-devel@gnu.org; Mon, 04 Jul 2022 11:15:07 -0400 Received: from m42-5.mailgun.net ([69.72.42.5]:16039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8Nmw-0000W9-BZ for guix-devel@gnu.org; Mon, 04 Jul 2022 11:15:03 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1656947701; x=1657156501; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: In-Reply-To: References: From: From: Subject: Subject: Cc: To: To: Date: Sender: Sender; bh=Qm/G2WmZ8L7CQugwLk4nJCZC1pxPRFvlDvf8Vr0lLcc=; b=b3eHbdoml196zbg4moW4zLuwchLyK5WDmkZxNTL0SgbcKvNKNh6x2xTJspi+W87uHWqVu6zP uy8xlgktQv4iW1D/WMk2ZAD2RyInxI6PoY8TxknEw/sL27lVDWtHzNDZQ7k+gJ3wQf5+7a/Q BZ8sYZpMhadvzIdpuWM8OdHBSMRPWA4Qwp9nuGtAGCGt02vHrvX2MCmhM6yyBZvQ3+mWX+s/ vcEYrJ21bUa32bFVwY+T+8sLUDJqqqIL13FBdDUkqbejlBug2YcRUclQnMQ2vHqZlBzwNGkc 7u6uLdnWTedCu1cBcfy75Er3o/czr3xkKjGmZ8mdiG2bDN7A6Ds6nA== 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-n03.prod.us-east-1.postgun.com with SMTP id 62c303f58c66f390ff71ce48 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Mon, 04 Jul 2022 15:15:01 GMT Received: from localhost (aj099096.dynamic.ppp.asahi-net.or.jp [220.150.99.96]) by wilsonb.com (Postfix) with ESMTPSA id 8888EA26B6; Mon, 4 Jul 2022 15:14:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1656947698; bh=Qm/G2WmZ8L7CQugwLk4nJCZC1pxPRFvlDvf8Vr0lLcc=; h=Date:To:Cc:Subject:From:References:In-Reply-To:From; b=gb4TGBjbP93WCHL7H1p5fC2tYJPA8vpk+OftvWBeKTWxtzcusZswl4D4iLUbNTzZ3 3W8G5e9lInlH4zwujwG2o4LNH9yxq/l7NLM4SuPzIk3RQ6SkauX159tyH1osZTnGLe blY8k8298Zr1ooNF3Eks6ZvYPXyVWrHFjncKpc+4sJSzTrISFLJ8VzGFFnvGFO8XHt HmYv9QlNAcke99i/xxHTvPQ3AjOnr0NY2Medwy5NdZfq4tO+/XOVHgv4soE12iYG1P ovq2cJsvp1wqzl0hqUw8N9VrBmpfCPkK3xJA0xpHMlGcDmVeX4ZwJIUcfgOrXLCAC4 cU0UHJQbGWmGn6VS4bDnokKQVVvbZNaQ+wemRbZG9X+59fxXNGp1VmwkjHbjxE8JHb qB4w2aqXBZ9MpwPCi8XPQUggOoY4ealmigcF+gaH31zkhQ352EKVT0hoUGu8rxNS+H NOU5Pchg1EbCjoQMa3xCFMqDSInPPGMRxrtxCwdvYEzErGACUdi/gNPtoULMgJC86D e4yPUm2uqCjjKwozjPtNHKVNi+joHW66KtrT60Ooy+WNVIKdmHT2LOild03CJW8BBr /LUtnT1iGsQVkFc/TvbjJSEKc2OiyHE34WIKjtBzs6x3SkNykOXnDLwg+UdCIV/mST ziujhbRfSWjf3gXR4iXlaXLY= Date: Tue, 05 Jul 2022 00:14:57 +0900 To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, mhw@netris.org Subject: Re: Bug in strip phase of gnu-build-system? From: elaexuotee@wilsonb.com, References: <2VI4GBZMQD9RW.2FY92Z2FZID5O@"@WILSONB.COM> <87r131auda.fsf@gnu.org> In-Reply-To: <87r131auda.fsf@gnu.org> Message-Id: <34B1WAGMQ05UO.310LMOOM8YS1N@"@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: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, MSGID_MULTIPLE_AT=1, 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=1656947741; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Qm/G2WmZ8L7CQugwLk4nJCZC1pxPRFvlDvf8Vr0lLcc=; b=A5/DvNTPoJKTOcrqFL/RfYB3S7anuRfa/V8qH0X3n71YJnoM6ineiiDBIjL/y0Ks2jLGdZ Nw8J/3caiDfffUwr8SZvAGgghC09SWGa2MTGh0mllPJzL9Fs7RiGa+W9HEXbELqLpxR8HK Z+5vYVG4rjXNSCxlqUZduZjU6xMj341ujmwvR5iZWhEz/MIJgDMvLsYMYhIGKxPW2r0+Ik gOtN8zVVWh9V/34u5kVArbEIgTYoXPq+XxnJ5bfre9GZywC8AxK4r1bObAcKgFAUmzr/+/ 6Y6S+WEkiCGlm0fs+uYF8CwpAe/uoiMoo4TtNk590tTWRaQY6yP425m5CJ+uzQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656947741; a=rsa-sha256; cv=none; b=X+nGuF6ktbwdKQN6bsLUIfvw7KxWmKGAtZ//KbdDKEdq1KAlqE/yTjWtkW2FNBZN0CYyyI OU8jgpBAdPNvh4l8+A0HQT3ru04RbE1fcCbKjPyvX9PFNFIiK2bjs+ZfV28NJapIkmB7Rp wmsbqJlpX/TB9eLYDJcHf40mK/M9pd1/xpqHXw9/5WPgpRfqoQg93tAUKto0/5JT+AF1ig HWesGvmmD1gNq/ixU/wcQ/tGA35ih0WJ7TtdmcZsTSiMUL5c1sQ6+LAznXIkiie42WleQk bEkzsw7Xgu2YTxbrdeOlTV3vu9i7OYx2P7SAmdrV53b/I2efQNVI/7zGVbv89Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=b3eHbdom; dkim=pass header.d=wilsonb.com header.s=201703 header.b=gb4TGBjb; 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: -5.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mg.wilsonb.com header.s=krs header.b=b3eHbdom; dkim=pass header.d=wilsonb.com header.s=201703 header.b=gb4TGBjb; 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: 8C9874A57 X-Spam-Score: -5.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: Sa66iNYXfDCc Ludovic Court=C3=A8s wrote: > Hi, >=20 > elaexuotee@wilsonb.com skribis: >=20 > > When `strip-binaries?` is `#f` and a "debug" output is defined, said ou= tput > > remains empty. Instead, I expect "debug" to get populated with separate= d debug > > files. >=20 > Hmm I see. The logic was different: #:strip-binaries? #f disables > stripping, but it doesn=E2=80=99t populate the =E2=80=9Cdebug=E2=80=9D ou= tput either. >=20 > If you want to populate the =E2=80=9Cdebug=E2=80=9D output, you need to d= eclare a > =E2=80=9Cdebug=E2=80=9D output in the package and keep #:strip-binaries? = #t. >=20 > (I can see arguments for and against both interpretations, but that= =E2=80=99s > how it is currently.) Oh. Blah. It was something obivous. Hehe. Thank you for cleaing up my confusion. I apparently misread `lower` from (guix build-system gnu), thinking it stri= pped the "debug" output if #:strip-binaries? is true. > [...] >=20 > > 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 e= asy > > under guix/transformations.scm:transforma-package-with-debug-info. >=20 > =E2=80=98--with-debug-info=E2=80=99 is meant to be used when you want to = keep debug info > (and there=E2=80=99s no =E2=80=9Cdebug=E2=80=9D output). It seemed to me= there=E2=80=99s no point in > having that debug info separate in that case, especially since you > wouldn=E2=80=99t be able to refer to it. >=20 > HTH! Very! Much obliged.