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 MM+vCpXOamIVXwEAbAwnHQ (envelope-from ) for ; Thu, 28 Apr 2022 19:27:49 +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 0H3UCpXOamJInwAAauVa8A (envelope-from ) for ; Thu, 28 Apr 2022 19:27: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 0212E378DF for ; Thu, 28 Apr 2022 19:27:49 +0200 (CEST) Received: from localhost ([::1]:45188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nk7vg-0006V8-4i for larch@yhetil.org; Thu, 28 Apr 2022 13:27:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk7vT-0006V0-7k for guix-devel@gnu.org; Thu, 28 Apr 2022 13:27:35 -0400 Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]:36679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nk7vR-0004m7-P1 for guix-devel@gnu.org; Thu, 28 Apr 2022 13:27:34 -0400 Received: by mail-ed1-x541.google.com with SMTP id a1so6332288edt.3 for ; Thu, 28 Apr 2022 10:27:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=HwNAv4aEjqBZmQWzOCm9XFSoBx07Vv7YrGylOzbXZ3I=; b=YYna55j3zHxZn7rXOn+FtJW7Vxckl0CnnLrL6HaysvRMvy0ZYK+f4FU4dWSgveXqN1 5cZcLRuQH5lDFLSZeN1SpFe55cWlirnjByoA49WDnQlslYgp8ErU4lEJ6k4xQVOStGnr LmbUf2ZvaEsCSvqKMVbkI8JTlPSHT8asX5bdbcaGDPaOQfjH/Mfw4IxLNqjA2fcwaM35 U42W5njonOAcb7wrAx9aYQBm88TdwuvcehHupbmsCxHUNyyY4W0Ku0mPWdQn9Jce4PR5 mCjI+1KLTdiigZbWZlHidFwBEdbp72jOdHIYGJYQf1uHhvrDTtHUET4NNLq8Z7rPfhju mYIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=HwNAv4aEjqBZmQWzOCm9XFSoBx07Vv7YrGylOzbXZ3I=; b=kkR95k2buv9yK2EMljeiPRjMXIrHQLbtEjZdj1I5Do+K3DJ9yx2vCxFDJejrC5BuA1 qtXl1Yo3EfuSjvuKz4NOZ6/ODiUtjRTsasDNzxdqg3fJWIhvNy3DOUNEHTXYSwTJoiwB tN8zz9iXLrOM6a1kVbQgh31N1576BMCCTenSSPh7WAhVpF1/MtIPLIA7smiXVx6KEswQ yeqZq9YTd83K9imoQ87ow4IsX6e3k+7C2Y72Zc3aJLHo4n/eBPZuzTKzRaIqqSoYuiDa RDrHDDvTWbQ2EBisSeQdEMcEE4hCe+txcqY3AZmg1wpJ9RKYRo9zd3RHGoQnsZA9tOW3 lIOQ== X-Gm-Message-State: AOAM531NlwSo29gJv28fjkffsxW3k2jQEJ8eCyNHJPUe4Azj74O5seAU Npk064aeXyBR2GSpv5zu/Q8= X-Google-Smtp-Source: ABdhPJziECUZ4DzYAzqVchfDZz/tXBk4S80jI1tUZ3dnOSLH9A65UG/+oKiFX/x/d33xIs5IK7h5Sw== X-Received: by 2002:aa7:cc02:0:b0:411:487e:36fe with SMTP id q2-20020aa7cc02000000b00411487e36femr37103149edt.338.1651166852256; Thu, 28 Apr 2022 10:27:32 -0700 (PDT) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id d11-20020a056402078b00b0042617ba63c0sm1914441edy.74.2022.04.28.10.27.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Apr 2022 10:27:30 -0700 (PDT) Message-ID: <228ccb21e58b37a659568787af29adaa69d39c2e.camel@gmail.com> Subject: Re: The case for moving raw binaries From: Liliana Marie Prikler To: Maxime Devos , guix-devel@gnu.org Date: Thu, 28 Apr 2022 19:27:28 +0200 In-Reply-To: <65282c9d3d91b215499ab792604e11d0127e5215.camel@telenet.be> References: <615054d08116af35720a08a6fdb836e84cf0e873.camel@gmail.com> <65282c9d3d91b215499ab792604e11d0127e5215.camel@telenet.be> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::541; envelope-from=liliana.prikler@gmail.com; helo=mail-ed1-x541.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=1651166869; 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=HwNAv4aEjqBZmQWzOCm9XFSoBx07Vv7YrGylOzbXZ3I=; b=BcN2L1ZBZVSgZbfUbcVvkEpFsmK3p7XgvtKgHHLujLiTRd92k1F1ysLWuBqN+MQGodrxR/ IRCVlBocs2XYjjTMyxIsDLal52tpOqj1HdEYvrzgadH1n7SueROfcgh5JtaMQX65uQq7Pm Xciw6tCWyjW9RHnmhZy2qL56AyiziINVzLERzP0NH6eJInv9dcPRa0wjac2cBTdH/6kGFN pNE/HFCB+tFRgRwU8xmarSDW4238CIMGamCjYfNLw9fnk2bbDHxXzu8S9IPw2w7IUrNMUt 3DOLWblLKhYBgddRzPDCEkCe4+lmAfu4CgFj4renPwQTc56EHrxeMH4Sm/dedQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651166869; a=rsa-sha256; cv=none; b=q/UyESpGcvv4FMhG65sC39trD+2fzLDAlTz1tLgzoqCoexJ7QbBUWa8nVucMPWD2/8t69i rnVclJGA+DQkJRlxO+h73YYFUxiIX+iIsGfzPlLHqhp8asrRswcC0P8etWSG4G66Letu/j tCmH+L8WaUZJlsyQz9serl9CdxCSRPnKmoW9i+hwnNWvOpApCeGEyHLnGdS/UVzJkzgdzW nobz2LyRtdo0SCs7Zti5k5cfARuSUJNDfH1aTBRFSVG5fzErn9Zfhf1p+z6RjZNJcba7u1 rjBWUyUS4p37iRQKWXz401e0iB+s+eNBbuv1N4v62zm5zEbGTibag2xvdD5eCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YYna55j3; 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: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YYna55j3; 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: 0212E378DF X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: rioU9vckgoVr Am Donnerstag, dem 28.04.2022 um 18:55 +0200 schrieb Maxime Devos: > Liliana Marie Prikler schreef op do 28-04-2022 om 18:37 [+0200]: > > 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. > > > > 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 > > How does this help with double wrapping?  Whether the wrappers / > originals are put in /bin or $RAWBIN_DIR, it's still wrapped twice. Because $RAWBIN_DIR can be ignored when wrapping. This means that stuff that's already in it won't be added again. > Also, FWIW, double-wrapping works nicely for 'wrap-program' -- it > just appende or prepended some extra X=Y lines.  With some work and > test cases, 'wrap-script' could be extended to support such a thing > as well. Constructing the wrapper is not so much the problem, it's not wrapping the already wrapped binaries. Plus the .-real binaries showing up in $PATH remains an issue if they don't move :)