From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 6AYyAhCV5mMrZgEAbAwnHQ (envelope-from ) for ; Fri, 10 Feb 2023 20:03:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GBBEAhCV5mOyQwEAauVa8A (envelope-from ) for ; Fri, 10 Feb 2023 20:03:44 +0100 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 BB1292D13F for ; Fri, 10 Feb 2023 20:03:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pQYfz-0007Uk-NK; Fri, 10 Feb 2023 14:03:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQYfx-0007Ub-J0 for guix-devel@gnu.org; Fri, 10 Feb 2023 14:03:13 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pQYfv-0002re-9e for guix-devel@gnu.org; Fri, 10 Feb 2023 14:03:13 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 12CE5240749 for ; Fri, 10 Feb 2023 20:03:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676055787; bh=F5m5n2t3upI6XKCbgfMe1D0EngO7A/eOU8nQ9hsk4nY=; h=Date:From:To:CC:Subject:From; b=Dr4LFupuDv84b2vABLGNyzVjIRh4jZIWa++n5aaxfHUCyvk59jRkDhE/jhqQFudI4 xSFOS3YdX4rHuNx+prYJKFN7dj4FAIQMQo5yuXCE2lOQIQpKyUsGMxuazoF+nW9/aH QKXZ4DDeCoQ+W+sfUpaEDPOcwvbr1C3sf13aPEurLMcV6ZsB3d3oWO8e+fjuDi3c6x 3XgjcBb09WuSHO66pAShyw4eZjKWky8fgpZyQ8Zju1j3YJoftc2L0Tbh/nj5JES7Is 7axDS/3VAPUEurwN4aZ5wH247mXIDlTNuIE2mhvuD0dXWs2Iz2NdpUYnfXqJPhAcR7 1mhkU2Tj35Asw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PD3616r8Yz6tnQ; Fri, 10 Feb 2023 20:03:05 +0100 (CET) Date: Fri, 10 Feb 2023 19:03:01 +0000 From: Kyle To: Andreas Enge CC: guix-devel@gnu.org Subject: Re: Help adding a graph backend In-Reply-To: References: <87ilga41jh.fsf@posteo.net> Message-ID: <87DCA146-6CBE-4C3A-8415-2DE92951361A@posteo.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----DKYZY7X1HCT1M3BRA29KWSW0QT1GRD Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=kyle@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676055823; a=rsa-sha256; cv=none; b=S512k9QdrMQGAENAIjCtcTB3N5ItlKO6A9vAJp5ukOhAolCM/UI916+tfmZ6QVd8wOzDnN VloxzFILw6MVKgUc9v2j/QHmX2T9RIbk4XAg6+szT26Qwq0njfbZeXNuTQzIuYC2AFib+Y 8IITx95D8VFsHi70Dvsh+t8RyQwU0oHdpR1cwI1+HAQygMztiBGe6wFRolgf32O6OP/HRD n5OVZT+6TkB/tZ5XjsaZ3N7lyaHzr1OXM+KPI1KgYdt0y93RHjAulxQb3WFKWhJlSUhR7O tOCeen/7WjF7Pd6GIUAXN5z/uwnWGFgrwsWRyNJqFJA3BkT3lQ+VLL0fjXMKAA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Dr4LFupu; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676055823; 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=yRc8NEcY0Yf1ZSYrmfpN8dRL9JuSwJrTgW5ROWotOWs=; b=jdmCMhJKKeJQc/+9M42uMbL1a9Z7ayAmfsZPif8B357LuMEs0C1ADQchz+fwAg9peJ5YpP 0ETF2apMWCJs5J2miAt+qiGBmumUl2cgZKG5fu59uDZ4xolSm+I733qQ/JCbXFOQwdNSNV 8UUhOoAttD6qFmowGXGxPLCG/7X7vWpYT3wxtQd08qeT0gTt+FqE4wWKk1RW96DdroFGG1 p0EcFoybzqNL8PShu3ed5alU/FnZWvk32dPQjE3fkmQIGuWIoTUrdjgBfOYNd+b4qt0EEt FntggH8bL2ylo7CYjKNUzghWSYBZk2DSJso0W92v3amCsYFUh0GpudUr7/mPMA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=Dr4LFupu; dmarc=pass (policy=none) header.from=posteo.net; 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -5.07 X-Spam-Score: -5.07 X-Migadu-Queue-Id: BB1292D13F X-TUID: X0kvP/jNdbLk ------DKYZY7X1HCT1M3BRA29KWSW0QT1GRD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks, Andreas!=20 For my own education I just tried running =2E/configure with no arguments = on Ubuntu and it ran without error=2E I wasnt actually able to run pre-inst= -env afterwards though since I am not an administrator on that system=2E Th= at behavior, though, seems consistent with what I think you are saying: set= ting up pre-inst-env is currently easier by default for foreign distro user= s than for guixsd users=2E I can see how that made perfect sense when Guix = was only used with a foreign distro=2E I don't know much about what is actu= ally happening in =2E/configure, but it also makes sense to me that the def= ault now should depend on what the host system actually is=2E Then the manu= al could include those standard lines in a source block explicitly and it w= ill all seem routine and not at all scary to people like me=2E It already s= eems smart enough to do that given it could make the right suggestion in my= case=2E On February 10, 2023 4:30:49 AM EST, Andreas Enge wrot= e: >Hello Kyle, > >Am Fri, Feb 10, 2023 at 03:10:02AM +0000 schrieb Kyle Andrews: >> configure: error: chosen localstatedir '/usr/local/var' does not match = that of the existing installation '/var' > >you should do exactly as suggested: Before running "make", configure the >Guix source code not by "=2E/configure", but > =2E/configure --localstatedir=3D/var > >Personally I think this is a bug in Guix: It was chosen to follow the >standard configure behaviour (installation directories under /usr/local)= =2E >But it would probably be better to let the Guix behaviour be the one >that everybody wants (especially newcomers), and to leave options like >--localstatedir to people needing to do something unusual=2E > >Andreas > ------DKYZY7X1HCT1M3BRA29KWSW0QT1GRD Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Thanks, Andreas!

For my own education I ju= st tried running =2E/configure with no arguments on Ubuntu and it ran witho= ut error=2E I wasnt actually able to run pre-inst-env afterwards though sin= ce I am not an administrator on that system=2E That behavior, though, seems= consistent with what I think you are saying: setting up pre-inst-env is cu= rrently easier by default for foreign distro users than for guixsd users=2E= I can see how that made perfect sense when Guix was only used with a forei= gn distro=2E I don't know much about what is actually happening in =2E/conf= igure, but it also makes sense to me that the default now should depend on = what the host system actually is=2E Then the manual could include those sta= ndard lines in a source block explicitly and it will all seem routine and n= ot at all scary to people like me=2E It already seems smart enough to do th= at given it could make the right suggestion in my case=2E

On February 10, 2023 4:30:49 AM EST, Andreas Enge <andr= eas@enge=2Efr> wrote:
Hello Kyle,

Am Fri, Feb 10, 2023= at 03:10:02AM +0000 schrieb Kyle Andrews:
configure: error: chosen localstatedir '/usr/local/var'= does not match that of the existing installation '/var'
you should do exactly as suggested: Before running "make", configure the<= br>Guix source code not by "=2E/configure", but
=2E/configure --local= statedir=3D/var

Personally I think this is a bug in Guix: It was cho= sen to follow the
standard configure behaviour (installation directories= under /usr/local)=2E
But it would probably be better to let the Guix be= haviour be the one
that everybody wants (especially newcomers), and to l= eave options like
--localstatedir to people needing to do something unus= ual=2E

Andreas

------DKYZY7X1HCT1M3BRA29KWSW0QT1GRD--