From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 WIVAI24ZbGKvBgEAbAwnHQ (envelope-from ) for ; Fri, 29 Apr 2022 18:59:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sK4aIm4ZbGL4BgEAG6o9tA (envelope-from ) for ; Fri, 29 Apr 2022 18:59:26 +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 273D23674A for ; Fri, 29 Apr 2022 18:59:26 +0200 (CEST) Received: from localhost ([::1]:34656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkTxl-0007ck-Bx for larch@yhetil.org; Fri, 29 Apr 2022 12:59:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkTxb-0007cG-2C for guix-devel@gnu.org; Fri, 29 Apr 2022 12:59:15 -0400 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]:45000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkTxZ-0004t9-43 for guix-devel@gnu.org; Fri, 29 Apr 2022 12:59:14 -0400 Received: by mail-ed1-x544.google.com with SMTP id e23so9730890eda.11 for ; Fri, 29 Apr 2022 09:59:12 -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=Ogf3fLZisVFGmn8wa9voentUjDQv/jxeISVMpzOCpAA=; b=IgkmTtw/EtjQXH9El2E10AbwqT4HcNjvihRO+T6nDcxRxpCVIqoXPJ9oSEtmtHMxkp /LSSZPxbqmDZPVjvu96WB77q6/pBVzD6c3wC0VIJm9vn5BtfCPb4+9xafH0wA+PkedUt k8+bX3rOMdqugmy6CWUpBnomXu3+KKvb/PHF0juKTSiWdQ1g5qXNwyk370XC5Ysa+PCM Rpn8a/nnb9RhtPJZwnaGv+1JnrR64ZkiYwKNQ/Eq9W8hvKGUAW5qMJuQpPeh1mdoxC+p dFzsKlznztDkEnFjLPfQW/kdK52ZLYFb3k1i2GzGoITW/AMtCIYOONPSDb+WN+y8rwiF 8xWQ== 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=Ogf3fLZisVFGmn8wa9voentUjDQv/jxeISVMpzOCpAA=; b=Oj8eZNmwAJ44iiZh4lEnEEHSnHq7vUU5NWvgSKm09CA6fD/Fj/1sQNpasMr4BcxYqk R6M3fiYfMVk9EnJ3MMR/wsskO0R0+d7pdttiw1z+DcLQLiq2WMEEeHXaLMojEXw+lmTF 78CJZ7c3KpSIwa5iF9Bd4TMV2o93vrWXzWqAnwBh60xb4oVal5I0L2uX84QcBhaMjTZ0 uNr5BJdut6XQ3caqu855sDefWjt7hL5nNcefTPoq84VD+PPjmeiCVhbfgeT2lfRkoPKp Spi4ihs11VrxC2qUEo1UYjM8+XSnKkrYObIdmGMl2DkKoV3l19NDXQ4E9ZwB7v1bgXH/ S50w== X-Gm-Message-State: AOAM530vmM8faZZ80W+2dP1FYiSszX+Gm3OWsuIW+khPboquXPxQwPgK mYxckH4EU0fP8Bh/8uxowj99e//l1cQ= X-Google-Smtp-Source: ABdhPJwKLH9SVRKFVETaLXm2+SSoDruGpvoDyihms4NQqRF4kU/oaR+EpTT8p9S/niUkSUA70F1lbw== X-Received: by 2002:a05:6402:51d3:b0:426:3a20:738b with SMTP id r19-20020a05640251d300b004263a20738bmr179681edd.342.1651251551176; Fri, 29 Apr 2022 09:59:11 -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 hx4-20020a170906846400b006f3ef214dafsm788141ejc.21.2022.04.29.09.59.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 09:59:10 -0700 (PDT) Message-ID: <34fac706c704d5ab01a067c20f0d1407a1f7e565.camel@gmail.com> Subject: Re: The case for moving raw binaries From: Liliana Marie Prikler To: Maxime Devos , guix-devel@gnu.org Date: Fri, 29 Apr 2022 18:59:09 +0200 In-Reply-To: <43be80d161b85330aebab5da7de527c1e4670557.camel@telenet.be> References: <615054d08116af35720a08a6fdb836e84cf0e873.camel@gmail.com> <65282c9d3d91b215499ab792604e11d0127e5215.camel@telenet.be> <228ccb21e58b37a659568787af29adaa69d39c2e.camel@gmail.com> <43be80d161b85330aebab5da7de527c1e4670557.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::544; envelope-from=liliana.prikler@gmail.com; helo=mail-ed1-x544.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=1651251566; 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=Ogf3fLZisVFGmn8wa9voentUjDQv/jxeISVMpzOCpAA=; b=nEnzNPKOpt/shlqEtmXYKyEo0bP8XkUde2ChoI26P+pSnnKcviNYqfjn8GMsHR0/lpuWRs dkx6lrFgkcfDezAP8EOdeXzvTJdjgxfSG2NCBrk2crWlXxldK1XNEYpil+zQBHOSjPEu3y R8a4LS4fRjmJSZLamMVelSxi4O/zAV/WI54O4DK99gT9h8Dx+c3XNsIzu/UsXesDYYj5Tg dkGISKltePEhX++5GSbq6ZKGyMjdKwABXbXov2Q1E7HTvaU6uNM6PZbl3F6AvTcqvHdLUg UBgDaxxpWpcvp73K4V6re9COuO6260DyXUOE/DwMrMNehxgAgoh00OuzzIouhQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651251566; a=rsa-sha256; cv=none; b=q2cJG9eRdcf4idbPmqMpzwv7asaGlIln6mt0REqjVI6LE17Bt+3pIsckPKIpvvyFOnewq9 l9uXcKltRujbnldfBf5EfScGOxWZLDq73xZ5hxX7rrek1kSYMHkhjxG4c0BpPHqsLKAT4U 7TPZNDmYqcGqKorltdgWUiNbvjIPSR/ToqB31NJeIG0PRc+1z6mhz/4lVhIz8nS6fSHiKe PSui3oJvP9qmuZ8oL2ywM0CS57KSxj3QY+lhpC6vLQd5KTl70+XaRvQOogsbP1ddw15av4 V8gvlkaBGBpkhJoNAIbH4aq9YOA+ohpfi/BRVszpASMwB0wgkvwsvuo4UtucYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="IgkmTtw/"; 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: -5.80 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="IgkmTtw/"; 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: 273D23674A X-Spam-Score: -5.80 X-Migadu-Scanner: scn0.migadu.com X-TUID: vtPs9nL38YhD Am Freitag, dem 29.04.2022 um 11:27 +0200 schrieb Maxime Devos: > [...] > > I thought that > >   (if already-wrapped? >       ;; PROG is already a wrapper: add the new "export VAR=VALUE" >       ;; lines just before the last line. >       [...]) > > in 'wrap-program' would avoid creating ..foo-real-real? You are correct, I was going on old info that I haven't checked since. This leaves us with > That said, the proposed new behaviour seems reasonable to me -- > "pidof emacs" would then actually find Emacs. and the annoyance that "." shell-completes to all the wrapped binaries. For the former, there is IIRC still a bug in tramp (and I'm sure other emacs packages), because a process name doesn't match the expected regexp. As for where to move things, I'm starting to lean a little closer towards having an own output. That way, we don't need to worry about stuff from different directories (e.g. bin and sbin) shadowing each other (even though that shouldn't occur), but more importantly, if we need to copy data into rawbin so that it's correctly resolved, we can do that. The only thing that doesn't quite work is relative resolution of commands, which would go through the wrapper-less binaries instead. However, given that the wrapperless binary is invoked from a wrapped binary, I am 73.69% certain, that this ought not to create too much of a problem w.r.t. the set environment variables. WDYT?