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 AHerNynywmJsagAAbAwnHQ (envelope-from ) for ; Mon, 04 Jul 2022 15:59:05 +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 GP5/NynywmJskgAAauVa8A (envelope-from ) for ; Mon, 04 Jul 2022 15:59:05 +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 98C74BE15 for ; Mon, 4 Jul 2022 15:59:05 +0200 (CEST) Received: from localhost ([::1]:44882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8MbQ-0000ko-O5 for larch@yhetil.org; Mon, 04 Jul 2022 09:59:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8Lyo-0002uW-P7 for guix-devel@gnu.org; Mon, 04 Jul 2022 09:19:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8Lyf-0002Og-1k; Mon, 04 Jul 2022 09:19:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=f5zY4UPsOIreUJbiwxySwc1LsunpgRp+8rbN1sqyhbA=; b=i4XnH2CRCrgM/PuhNL3n gbg5ruyuj5cizVOIeg9jMp7aIsEoHfHNQ68BryK6EklI5bDB+FOK27z0U1z9+70q4J9THs/LHJdV3 /nePxU0fcawdubDf9Eh1+BYtBi/RShRW0L2f4aILBuqG1yTPVBqWaqLaNK1a2RcOBs9SxRR0Un27B +ihElvvZh7RllUAX/0FQgIdixulQUACWOwKNJPY67hw/H01Q9lan5e1abkfqSifl4rAdQI7q65tnQ LTn+mZYe2IPR4EPh9B8AabYKHe/vez3/vTNaJ3QzBlORwYIDVHPrx/AFr0MP7clBhTI40ivkf8KZi yOoAlxOwTQxo3g==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=36282 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8Lye-0006xU-Bw; Mon, 04 Jul 2022 09:19:00 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: elaexuotee@wilsonb.com Cc: guix-devel@gnu.org, mhw@netris.org Subject: Re: Bug in strip phase of gnu-build-system? References: <2VI4GBZMQD9RW.2FY92Z2FZID5O@"@WILSONB.COM> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 16 Messidor an 230 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour du Tabac X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 04 Jul 2022 15:18:57 +0200 In-Reply-To: <2VI4GBZMQD9RW.2FY92Z2FZID5O@"@WILSONB.COM> (elaexuotee@wilsonb.com's message of "Sun, 03 Jul 2022 14:17:20 +0900") Message-ID: <87r131auda.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=1656943145; 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=f5zY4UPsOIreUJbiwxySwc1LsunpgRp+8rbN1sqyhbA=; b=u1/9L8wxbkG4Db90hzg4ZUgb4AV7gozPImnkzvv466zoAaMH0C7By6lXoSmscJiLciBzc8 Hc+YP5oLOJ+WJtC0woGOBhX43Ku7ozjR9lQ57RblZVolubq95vlEbu7m/XWbkKUe60bvrV oyx7exB3ypicKk7b1zrQzJPRCWJdsQbDVYtXAWck16hZq9CeMFNnDWJENRgvi8wfyF/yfI lnF00p4c7TlU3KR1prCVYHbQGyVTIRWSOAhexX6ORryjsPbP6HjhuSNxJGzRteNM3whL8c dj/omIAgVHcr8OqIJA9xDF0mgDhggHGYwStM/Dqnv2Ybeszle7sxbUkX0i9taA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656943145; a=rsa-sha256; cv=none; b=SS2PHGgGy39iJfFvLMKVz9UjWdvNZaOiS+DXAv5/d6AcfdsZI5DgrY94CN2JNKuByU1U5/ NndSWQc1N2E9mk6TILca7Pg9TIy1q66vd4AedBtKPW65YZ1HhcBDQF4cwwtgLTuYnIk8IP tkjgSnR7B/4ljSJPJARDOHk9NDWOhFxmZRqP+on7HOyfqbBR5GWR6cqu8ykW7BqZ+QnJfk dMrPaWtr4mvI4UWdoHtZdF5D0UQDnRGrqACjYRSEsZR7GVbTAYlT5zS2ImAjkE3OJf2Log /o2IjysJ4m1wnm7ySLT/ANIfvX+CQtPNWvSDpmrdOu7D5NJushj8by+UoaZtaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=i4XnH2CR; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=i4XnH2CR; dmarc=pass (policy=none) header.from=gnu.org; 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: 98C74BE15 X-Spam-Score: -4.15 X-Migadu-Scanner: scn1.migadu.com X-TUID: z39LYto6Hx6D Hi, elaexuotee@wilsonb.com skribis: > When `strip-binaries?` is `#f` and a "debug" output is defined, said outp= ut > remains empty. Instead, I expect "debug" to get populated with separated = debug > files. 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 outp= ut either. If you want to populate the =E2=80=9Cdebug=E2=80=9D output, you need to dec= lare a =E2=80=9Cdebug=E2=80=9D output in the package and keep #:strip-binaries? #t. (I can see arguments for and against both interpretations, but that=E2=80= =99s how it is currently.) [...] > If the above is correct, then would it make sense for --with-debug-info t= o also > inject a "debug" output as needed? It looks like this would be pretty easy > under guix/transformations.scm:transforma-package-with-debug-info. =E2=80=98--with-debug-info=E2=80=99 is meant to be used when you want to ke= ep debug info (and there=E2=80=99s no =E2=80=9Cdebug=E2=80=9D output). It seemed to me t= here=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. HTH! Ludo=E2=80=99.