From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 kOEyEMjGa2KQ8AAAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 13:06:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qISvD8jGa2JfygAAG6o9tA (envelope-from ) for ; Fri, 29 Apr 2022 13:06:48 +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 CF4507D07 for ; Fri, 29 Apr 2022 13:06:47 +0200 (CEST) Received: from localhost ([::1]:38106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkOSU-00027y-Vx for larch@yhetil.org; Fri, 29 Apr 2022 07:06:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkNz4-0003aq-Uf for guix-devel@gnu.org; Fri, 29 Apr 2022 06:36:24 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:40799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkNz3-0007Oh-9l for guix-devel@gnu.org; Fri, 29 Apr 2022 06:36:22 -0400 Received: by mail-wr1-x42e.google.com with SMTP id e2so10208549wrh.7 for ; Fri, 29 Apr 2022 03:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=RXfApVcy2hT/TSYY1CoUxx+ioHHc0awMIAV8F0rIebM=; b=nDAny6XM6gzLnsMeSXfcxUBtHNz5V2D9XiML9CxPwu5jy4h878Mg4uoD0Be4l/4SO2 SIYmF+5h2PLm4PQ0MW+sC9au8FtAowEREKVEmImTDWcjlnvQWjAju/4Jp+gu3AUhFjaj SPeY45tVZ6B6nEv0/FW5jm0uL5iFz0GFkNYTvJu5sHT89+ejjd4rVDHh7AGkthAKHjL8 8pAAei0F4R9Z32M8TF3QGEnMaT5tf8GvoqSW2hXW1MjV1ffFFYoyse4Xlq5trpkmrwuU t6CuicRjDu2hAJ/fp0D9MAgEOZzXVVmZfg9iEkwovqpn6rGSIG7oTPGfX78Ez3xcTkha cozg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=RXfApVcy2hT/TSYY1CoUxx+ioHHc0awMIAV8F0rIebM=; b=0dcFMSmPBDHPYWEHORwonyd5YOecoqVa7BIlLjH+sygwqkH2FsddroPtHGpHCEMgom Yfd3gAONOBpos7JitaaCq4e7kH/igVoGicq+n1HnuITG3OnGWH4mEAUrzzfgvtMp59Nm PTfeKUB5khYgin2xG7aeq+9o9XYjFsl9s3m292iSiOZ/Ace3QEiBFKzeu+aT0ezA3n05 bZtlA8aRjRwhc9cFxwgE2nwKBqqzlWEzYhfKOamMzBoEVGBboUUlVy+zRnIaDixc15y/ 4usPdrsWrRuEQYVIL33wFBdbWG3kBm90oXafT/xliqheLVzjV4S78R7MMlKf4K/j6oXX G9kw== X-Gm-Message-State: AOAM532uW6c+cZ/3RTPE2+7DgWN5BTGZ9sL570nCEXtXYbD0gQFUSOT4 yDtAlIzDObGgbCmVOQOTxsK0H+wwf6Q= X-Google-Smtp-Source: ABdhPJxYXOwQFI8QL1clobWNbEPCMVbOuRE08+yDjnX6ShNyEVQhRjqY1U5Vka9xV1V1XRouUfA6TQ== X-Received: by 2002:adf:eb43:0:b0:20a:d9d4:5f1f with SMTP id u3-20020adfeb43000000b0020ad9d45f1fmr20455701wrn.297.1651228579205; Fri, 29 Apr 2022 03:36:19 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id t2-20020a1c4602000000b003917d43d339sm6377863wma.4.2022.04.29.03.36.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 03:36:18 -0700 (PDT) From: zimoun To: Liliana Marie Prikler , guix-devel@gnu.org Subject: Re: The case for moving raw binaries In-Reply-To: <615054d08116af35720a08a6fdb836e84cf0e873.camel@gmail.com> References: <615054d08116af35720a08a6fdb836e84cf0e873.camel@gmail.com> Date: Fri, 29 Apr 2022 11:18:23 +0200 Message-ID: <871qxgdz8g.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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=1651230407; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=RXfApVcy2hT/TSYY1CoUxx+ioHHc0awMIAV8F0rIebM=; b=eJRJI0sVXvUfIABufVqzDxP6ZdoXz+VR6Ogz/MxXpLgMGG5dSVdG+ExiLUBRCvBzfCWcpL SAWZ0ldKyaKiztNMx+HrdtWu0W0mtLjEqvIQkdMTLpObQ8ip9DRVKuxosxTFPm8bDha6Qi RYpV8CdIKCqFpE+l4NM7mVyfV5YZg51mLMkdakiVhZhGmJruiQsbe8nCGA9KjES00pSA1E v2WcpQ+AirtGqLh1zaYEdim/Ix6uPS6+Mdrky6Or2Nu/kp0Ts28DZVoWkMYubcaHEnElts 2keI7HhIqc+g3ANUCu85TCH+yDv8YRQmQ5+E6O0KzvrJKRYvdPtco13l5YFcXQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651230407; a=rsa-sha256; cv=none; b=EMHLOJa2XU9Z2W4XtGNhs85YKaKzHNEgaBBkHIR8m7ulGZm3IIVEPJqnD/WYZfjz4swOht uIY28kBKnue66n7tYI671YRJflUD9zNFdatWBi1XjzjZeI6KcVLSlXXQ6lxhl6a/tm8eTo IkMZJka7WrLZSjCIG5lz4qWwRF4VHFjOv4aw2he3iGp71iZPuye0rlv8n12xhiwhS1Qj5z rgsDbFcgTXR30Kmx069Fb2dw/bYSiIk5JTbzw5mo8/8D4AaokwmEsDO0Ux9zwSHjKgCiut guEKJY/CRt1ahYZCN7kasdjb/iE0/j2OBnf1R1dTEuBKMEHn2T7DMPkwxxtlyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nDAny6XM; dmarc=pass (policy=none) header.from=gmail.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: -3.50 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nDAny6XM; dmarc=pass (policy=none) header.from=gmail.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: CF4507D07 X-Spam-Score: -3.50 X-Migadu-Scanner: scn1.migadu.com X-TUID: CUHQbUuwtmRP Hi, On Thu, 28 Apr 2022 at 18:37, Liliana Marie Prikler wrote: > "raw binaries" (henceforth rawbins) are the unwrapped binaries that > Guix leaves behind in $PACKAGE/bin with the .$WRAPPER-real name. This > practise causes several issues. For one, those rawbins are visible in > the shell by typing a dot and using tab completion. What's more, in > some build systems there might be two (or even more) off them. This > makes a generic wrap after wrap pattern almost impossible to achieve. Could you provide more details or pointers about =C2=ABseveral issues=C2=BB? For instance, I do not consider that these =E2=80=9Crawbins=E2=80=9D visibl= e from shell is an issue. Why do you consider it is one? And I do not understand what you mean by =C2=AB makes a generic wrap after wrap pattern=C2=BB. Could you explain? > So, what's the fix? I propose moving rawbins to a different location. > libexec would spring to mind as a place in which we could hide them, so > would a new directory in the root of $PACKAGE. Other than that, adding > a rawbin output would also be possible, but I am not certain whether > that'd be the right tradeoff. Since I do not understand well the problems, contrary, I find =E2=80=9Ceasi= er=E2=80=9D to have these =E2=80=9Crawbins=E2=80=9C in the output store item. But mayb= e, I am miss a key point. Cheers, simon