From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sB+VDhckxF6+FwAA0tVLHw (envelope-from ) for ; Tue, 19 May 2020 18:23:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +J9sChckxF49SQAA1q6Kng (envelope-from ) for ; Tue, 19 May 2020 18:23:19 +0000 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 1D2AD940D95 for ; Tue, 19 May 2020 18:23:17 +0000 (UTC) Received: from localhost ([::1]:45956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jb6tX-0000o3-9x for larch@yhetil.org; Tue, 19 May 2020 14:23:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jb6rO-0005rN-VV for bug-guix@gnu.org; Tue, 19 May 2020 14:21:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39374) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jb6rO-0008Ug-Mb for bug-guix@gnu.org; Tue, 19 May 2020 14:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jb6rO-0001y0-Ix for bug-guix@gnu.org; Tue, 19 May 2020 14:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41387: "Building from Git" on foreign distro starting with NO guix? Resent-From: Bengt Richter Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 19 May 2020 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41387 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Julien Lepiller Received: via spool by 41387-submit@debbugs.gnu.org id=B41387.15899124257485 (code B ref 41387); Tue, 19 May 2020 18:21:02 +0000 Received: (at 41387) by debbugs.gnu.org; 19 May 2020 18:20:25 +0000 Received: from localhost ([127.0.0.1]:50919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jb6qn-0001wf-6j for submit@debbugs.gnu.org; Tue, 19 May 2020 14:20:25 -0400 Received: from imta-37.everyone.net ([216.200.145.37]:34898 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jb6ql-0001wV-7t for 41387@debbugs.gnu.org; Tue, 19 May 2020 14:20:23 -0400 Received: from pps.filterd (omta004.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 04JIK9J0019745; Tue, 19 May 2020 11:20:21 -0700 X-Eon-Originating-Account: PksKnHvSNhJRQ5mJ1OmFVSWn8Yt3iRCA7ETzcRSnBXY X-Eon-Dm: m0116787.ppops.net Received: by m0116787.mta.everyone.net (EON-AUTHRELAY2 - 53b92fa9) id m0116787.5e67f91f.89d6c9; Tue, 19 May 2020 11:15:35 -0700 X-Eon-Sig: AQMHrIJexCJHHxgPWwIAAAAC,dfed869a02af8442cd521b9d932a85bf X-Eip: IJRfMvQpUKAO-udkOku2JvGp-oZNXkOkMv6SAVmRBZQ Date: Tue, 19 May 2020 20:15:24 +0200 From: Bengt Richter Message-ID: <20200519181524.GA3150@LionPure> References: <20200519030742.GA16910@LionPure> <1FCE7BDD-371F-45B1-9D9E-4C4E0D8531BD@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1FCE7BDD-371F-45B1-9D9E-4C4E0D8531BD@lepiller.eu> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.676 definitions=2020-05-19_07:2020-05-19, 2020-05-19 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2004280000 definitions=main-2005190155 X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.5 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Cc: 41387@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.49 X-TUID: bNkwgABmypUg Hi Julien, On +2020-05-19 08:03:37 -0400, Julien Lepiller wrote: > Le 18 mai 2020 23:07:42 GMT-04:00, Bengt Richter a écrit : > >Hi, > > > >[~/wb/guix110git/guix]$ ./configure --prefix=$(realpath ./mybuild) > >checking for a BSD-compatible install... /usr/bin/install -c > >checking whether build environment is sane... yes > >... > >... > >checking pkg-config is at least version 0.9.0... yes > >configure: checking for guile 3.0 > >configure: checking for guile 2.2 > >configure: found guile 2.2 > >checking for guile-2.2... /usr/bin/guile-2.2 > >checking for Guile version >= 2.2... 2.2.4 > >checking for guild-2.2... /usr/bin/guild-2.2 > >checking for guile-config-2.2... /usr/bin/guile-config-2.2 > >checking for GUILE... yes > >checking if (gnutls) is available... no > >configure: error: The Guile bindings of GnuTLS are missing; please > >install them. > >--8<---------------cut here---------------end--------------->8--- > > > >Well, it was looking for guile 3.0 and my foreign distro only has 2.2.4 > >--8<---------------cut here---------------start------------->8--- > >guile (GNU Guile) 2.2.4 > >Packaged by Debian (2.2.4-deb+1-2) > >Copyright (C) 2018 Free Software Foundation, Inc. > >--8<---------------cut here---------------end--------------->8--- > >which it seemed ok with, but I don't seem to be able get my distro's > >GnuTLS > >hooked up with this installation procedure, and suspect a GnuTLS/Guile > >version > >mismatch problem or such, but then I ran out of enthusiasm :) > > As you can see, configure looks for guile 3.0, fails and falls back to guile 2.2, which it finds as /usr/bin/guile-2.2. > > Gnutls provides guile bindings, but they are not necessarily built by your distribution. From my experiments with debian/hurd, the bindings were not present, so probably the same with debian/linux? You'll probably have to checkout gnutls and build the bindings. > > The configure script only checks that the guile it found (your 2.2) can load the (gnutls) module, so there cannot be a version mismatch, unless debian built the gnutls module with guile 3.0. Check with your distribution what files are installed with the gnutls package. There should be some in /usr/lib/guile/. > > You'll need to look at the dependencies, some of them are probably not provided by debian yet. I remember some discussions about creating a debian package of guix. If this was accepted, then the dependencies must be available at least in unstable. You might want to check. > Thanks for your tips! I also went on to read Pjotr Prins' extensive notes on installing [1]. Looks like he can say "Been there, done that" re most install travails, and IIUC he recommends against "Building from Git" as step 1, advising to use a binary install first, and then use guix tools to hack further in a full repo. BTW, he suggests a recursive clone, but I didn't see what that really does or entails. Not sure I want to download the entire history of all development branches of guix, if that's what it means :) (re that: it would be nice to see an approximate download size when advice to download appears in docs, for those who pay for GBs ;-) Perhaps 14.1 in the docs should be updated with a reference to [1] and to suggest (emphatically?) there in 14.1 (as it does elsewhere) that the easier path will be to do a binary install first? And also un-mix directions for the two kinds of install activities! Leading people into frustrating experiences can't be good PR for guix. Cui bono? Anyway, I think I'll give up on Building from Git for now, and go back to monkeying with guix-install.sh (making it incrementally restartable to avoid re-downloading etc. and seeing how far I can factor out root both in the script and the resulting guix daemonium) :) [1] https://gitlab.com/pjotrp/guix-notes/-/blob/master/INSTALL.org Thanks again. -- Regards, Bengt Richter