From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: How to install prerelease package versions (particularly Emacs) Date: Fri, 30 Mar 2018 12:36:02 +0530 Message-ID: <87d0zmhwkl.fsf@gmail.com> References: <871sh1pid1.fsf@gmail.com> <87o9jku2gt.fsf@gmail.com> <87lgeehe5g.fsf@gmail.com> <87lgedx2vn.fsf@gnu.org> <87k1txedot.fsf@gmail.com> <87in9huthf.fsf@gnu.org> <877epwn06z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1o72-0004J9-Ji for help-guix@gnu.org; Fri, 30 Mar 2018 03:06:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1o6x-0003WZ-Jf for help-guix@gnu.org; Fri, 30 Mar 2018 03:06:12 -0400 In-reply-to: <877epwn06z.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Oleg Pykhalov Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Oleg, I tried reusing your package snippet from http://lists.gnu.org/archive/html/help-guix/2017-09/msg00074.html by setting (url "git://localhost/~ambrevar/projects/emacs") but it fails for me: > guix build -K emacs @ build-started /gnu/store/f3gbd1y74vw1my0fmzlpz5cxkqqk423l-emacs-25.3-1.752fba9-checkout.drv - x86_64-linux /var/log/guix/drvs/f3//gbd1y74vw1my0fmzlpz5cxkqqk423l-emacs-25.3-1.752fba9-checkout.drv.bz2 Initialized empty Git repository in /gnu/store/xrprmz45mi7njni6ypz4mad0ijf02r32-emacs-25.3-1.752fba9-checkout/.git/ fatal: unable to connect to localhost: localhost[0: 127.0.0.1]: errno=Connection refused fatal: unable to connect to localhost: localhost[0: 127.0.0.1]: errno=Connection refused Backtrace: 4 (primitive-load "/gnu/store/cq0wvv65l9d7zn515dfg07jg3gr?") In ice-9/eval.scm: 293:34 3 (_ #) In ./guix/build/git.scm: 48:10 2 (git-fetch "git://localhost/~ambrevar/projects/emacs" # ?) In ./guix/build/utils.scm: 589:6 1 (invoke _ . _) In unknown file: 0 (scm-error misc-error #f "~A ~S" ("program \"/gnu/s?" ?) ?) I'm not very familiar with the "git" protocol: does it require some special configuration? I also tried specifying a local path: (url "/home/ambrevar/projects/emacs") but it seems that Guix' `git-reference` does not like it: > guix build -K emacs @ build-started /gnu/store/rvadb9sgi9dj0b3hlgpr3l91nbw9vvn0-emacs-25.3-1.752fba9-checkout.drv - x86_64-linux /var/log/guix/drvs/rv//adb9sgi9dj0b3hlgpr3l91nbw9vvn0-emacs-25.3-1.752fba9-checkout.drv.bz2 Initialized empty Git repository in /gnu/store/xrprmz45mi7njni6ypz4mad0ijf02r32-emacs-25.3-1.752fba9-checkout/.git/ fatal: '/home/ambrevar/projects/emacs' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. fatal: '/home/ambrevar/projects/emacs' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Backtrace: 4 (primitive-load "/gnu/store/cq0wvv65l9d7zn515dfg07jg3gr?") In ice-9/eval.scm: 293:34 3 (_ #) In ./guix/build/git.scm: 48:10 2 (git-fetch "/home/ambrevar/projects/emacs" "752fba992b?" ?) In ./guix/build/utils.scm: 589:6 1 (invoke _ . _) In unknown file: 0 (scm-error misc-error #f "~A ~S" ("program \"/gnu/s?" ?) ?) I think this is a bug: if git clone accepts local paths, then so should git-reference. -- Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlq94doACgkQm9z0l6S7 zH/wVwgAmaegXPqxpuWMMfRq8ORgj2t5B4Oy5LBcU2SXRPR/mmn3xo03yLdzQcqS i2g81xflGKQntP2tBU8Zhle2tsJpFZjFI5hlab+Qj8Q08UqMWJ82FgHGFjOY+aNl j9OTcfQ64M0FI42653jHW3QvTXLD24eowt8vsj5WC3RFYP8qxz18F+RtPEMDkcEG UM1tOCDT5ioLA1VQXuTJ0pvcNrAUtUuX4yX3Poak2B1lap7nk5QMV/jayAMwmRQ5 /nTnCUlCJFVPTylHXOKcrC+3hYQA+H7E/otuM8CGsHut7chMEVg4v9jvcQsrk8ND WbOliH/IpIKIf0QREfmkyjwBUzklvw== =NVdt -----END PGP SIGNATURE----- --=-=-=--