From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 6446E396750 for <9fans@9fans.net>; Fri, 30 Oct 2020 05:43:29 -0400 (EDT) (envelope-from miller@hamnavoe.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 8E524BE484E; Fri, 30 Oct 2020 05:43:29 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1604051009; b=VmxFvJv+JPMs11ej3LbyetR5DijblH7Je3jj0x6ZYTu1PGPstz jldGUwxoeKyx/ipsQ17CadDgbsJ2pfxgTV0lixqdTXJIuc/yuRzPV0p9gRTJmeCV qj6M1BrxeHSUbma7vW30ci9HAWk+aiFDimTmxfOJ2ozk6/J26MC/1ZCE/I6gkpSw K+1Y/YMm0Aa8AEnlRG5GX7gJ9jWYXXetLOJr7+Gywkji3vWKopaJoxm9c2IZs0e2 RFcy4UJh079enA0n/i3wZoZjOVeqgKor/H1sRLpvqFf3g/9Td5aS6dPJhvvU1UlP UwZiVy1YyAoJL2sdkVIUv2X4/ZSO+9xrCJSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:from:date:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1604051009; bh=VBGJdcbFDyZcReAsJfTdikM0xVQlCx37uS1d7S2C/fM=; b= X/jTE9kwZoM/EFZnbPymHLwbb3gdE5j1BBxk3DH8hLrlar/7i8YX/gQwX2TueKOy WxwYYTZngOcVg1jd7ZyBqIGiEqXcBrJdZv5IOyIPHMQFzmZYnowMnJyqwzsM39eA fVnPNbetTQ5ZU55wTEDDW7tZUdEuU1Y3g3KxeP+hP6WQYwdnjFG26gAnzrex2rjv boZSStnUUIJY4kQg9Eshp1G5yu3Ktzo5utaoYKHB9Udn5aVV9+Tw/ghBcDKsmfA4 /jgiGKaAcE1vbD4vlnsQo19X50+6FMTptgVRaMtN4TsK18wezwIoEzooDzxSjUMI Miv5UbOv+OGhBJTJ3vEkhQ== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC none); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (balrog.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=balrog.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-ptr=pass smtp.helo=balrog.mythic-beasts.com policy.ptr=balrog.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx1.mythic-beasts.com,mx2.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx1.mythic-beasts.com,mx2.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC none); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (balrog.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=balrog.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-ptr=pass smtp.helo=balrog.mythic-beasts.com policy.ptr=balrog.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx1.mythic-beasts.com,mx2.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx1.mythic-beasts.com,mx2.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedujedrleeggddutdduucdltddurdegudehrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgf nhhsuhgsshgtrhhisggvpdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttd enucenucfjughrpefkvffuhfffjgggtgfgsehtkehjtddttdejnecuhfhrohhmpeftihgt hhgrrhguucfoihhllhgvrhcuoeelfhgrnhhssehhrghmnhgrvhhovgdrtghomheqnecugg ftrfgrthhtvghrnheptedvjeettefftdeiueekleffkeeuhffgvedtffelgeejffevfedu geevhefgiedunecuffhomhgrihhnpeelfhhrohhnthdrohhrghenucfkphepgeeirddvfe ehrddvvdejrddvgedpkeekrdeljedrvdejrdekfeenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepihhnvghtpeegiedrvdefhedrvddvjedrvdegpdhhvghlohepsggrlh hrohhgrdhmhihthhhitgdqsggvrghsthhsrdgtohhmpdhmrghilhhfrhhomhepoehmihhl lhgvrheshhgrmhhnrghvohgvrdgtohhmqecuuffkkgfgpedvkeehud X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (hamnavoe.com: Sender is authorized to use 'miller@hamnavoe.com' in 'mfrom' identity (mechanism 'include:_spf.mythic-beasts.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="miller@hamnavoe.com"; helo=balrog.mythic-beasts.com; client-ip=46.235.227.24 Received: from balrog.mythic-beasts.com (balrog.mythic-beasts.com [46.235.227.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Fri, 30 Oct 2020 05:43:28 -0400 (EDT) (envelope-from miller@hamnavoe.com) Received: from [88.97.27.83] (port=56808 helo=hamnavoe.com) by balrog.mythic-beasts.com with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.92.3) (envelope-from ) id 1kYQwN-0005iF-KU for 9fans@9fans.net; Fri, 30 Oct 2020 09:43:27 +0000 Message-ID: <3e2ec859cd1d005cbafc66652e957048@hamnavoe.com> To: 9fans@9fans.net Subject: Re: [9fans] Re: various problems with installing go lang From: Richard Miller <9fans@hamnavoe.com> Date: Fri, 30 Oct 2020 09:43:20 +0000 In-Reply-To: <16040252450.A6aD.35871@composer.9fans.topicbox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-BlackCat-Spam-Score: 7 X-Spam-Status: No, score=0.7 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 60104d6a-1a94-11eb-83de-db719495f3c8 > I had installed go following  > http://docs.9front.org/building-go Those instructions don't actually install go into /sys/lib/go/amd64-1.15.2 They install go into /tmp/go, which is then bound dynamically onto /sys/lib/go/amd64-1.15.2 This has two consequences: - every time you run go, you must first ensure that /tmp/go is bound onto $GOROOT in the current process environment - your /tmp had better not be too temporary (some people use ramfs to mount /tmp as an in-memory filesystem) I think it would be safer to install go into the actual /sys/lib tree, or (eg if you're on a shared system without write permission in /sys/lib), into your home directory and add the relevant bind command to your $home/lib/profile > And other than the go binary I do not see any go files under src.  The .go files are in subdirectories. 'du -a $GOROOT/src' should show at least 4000 of them. > Would I even have a cache considering i've never successfully built a go project yet? Installing go by building from source will cache lots of stuff in $home/lib/cache/go-build.