From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QFCyHMu2K2H1AgEAgWs5BA (envelope-from ) for ; Sun, 29 Aug 2021 18:33:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WApYGMu2K2EsRQAA1q6Kng (envelope-from ) for ; Sun, 29 Aug 2021 16:33:15 +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 EE88F149D3 for ; Sun, 29 Aug 2021 18:33:13 +0200 (CEST) Received: from localhost ([::1]:58288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKNk8-0006bI-VT for larch@yhetil.org; Sun, 29 Aug 2021 12:33:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKNjx-0006b6-Ux for help-guix@gnu.org; Sun, 29 Aug 2021 12:33:02 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17195) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKNjv-00026k-0y for help-guix@gnu.org; Sun, 29 Aug 2021 12:33:01 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1630254772; cv=none; d=zohomail.com; s=zohoarc; b=ZwQiM5+CJ8/aZ6seHvaKzEJb2cfPz7JrgSFQbNwpN3F+m7l/X3hEZSLdXduz3dCtofV8GinRiGkQAFMbK3WJKik5JanxSpPJ+a+yErsk9rEouzD8VS8cYrVYkT3vQNOaA81GZMHqRCTsJLZzPiJedlJoqTsbOCiFeBB9XV6ijd4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1630254772; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=M1Vi8pw1mCiOrJ0hceJdP2aAv8G/FbUTcWFXdCzifo8=; b=YIeC/R1ucofUQjR/x19YF+qsfLOqqQ5oJUPmjtyrmlSwQDQ9f2kM5d7hpmggLWgxc24jv66fJfip9vur9zU+KhOJ+35YtyafVdNauAAgKvlheTcZyPCAXuYBU2tE8wcQsbSD+L2If6+XsCyW4iEKWPz4GZ1ThvUqnXy4lwLnIKs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1630254771; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=References:From:To:Cc:Subject:Date:Message-ID:In-reply-to:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=M1Vi8pw1mCiOrJ0hceJdP2aAv8G/FbUTcWFXdCzifo8=; b=gfLV1NtubJAY9QWjwIuWVZYaoK3GTxEbGBtLq4hteKHzOW0tlULjYJMh/MoICJB/ TgGt9VqIU0JdtYnJcgD2Y6kq2/NP4SirakEAEtGedDS8Yxn2UDtueB5aHHUtdh7Bc3X U20Bhmh+615QkkPSTIl5cFzN+ewE1T75QfHne30Y= Received: from schwarzy (lfbn-idf3-1-600-168.w86-252.abo.wanadoo.fr [86.252.177.168]) by mx.zohomail.com with SMTPS id 1630254767838624.2301477494148; Sun, 29 Aug 2021 09:32:47 -0700 (PDT) References: <87r1ed1rpf.fsf@softland> <87h7f95us8.fsf@rdklein.fr> <87tuj9xvdg.fsf@softland> User-agent: mu4e 1.6.3; emacs 27.2 From: "'edk@beaver-labs.com'" To: Andreas Reuleaux Subject: Re: setting up my own channel (for some personal packages) Date: Sun, 29 Aug 2021 18:30:58 +0200 Message-ID: <87czpw5i0w.fsf@rdklein.fr> In-reply-to: <87tuj9xvdg.fsf@softland> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.11; envelope-from=edk@beaver-labs.com; helo=sender4-op-o11.zoho.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630254794; 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=M1Vi8pw1mCiOrJ0hceJdP2aAv8G/FbUTcWFXdCzifo8=; b=Jnfu//C5O8B1ytuO7zXDSuPzj118MUDl9hA0V+WZXFIg55vd984hX2ex31yU1bsVGjnsJr JBZjX7/1RcoGXWQKPYw4kQTZQ9Os0G6UHq83V7mw6dCR/Nfjswie8vDEjko8E125AWJafI UeD+N2+Ccc3JJEDIyMm3lcb9kTYLbgFM8nZs7FaiWTS+cNKnieTOIpz4TUtk3wVrZAlmpO jr5/jQS0zZ4g3RBKz/5MwaiPwQ40BHXyUKwIT45mxh44L3PwbFFFY4jPffB/w+q9jEd88K KegGp9InSz1MgGOHQ+w6A8165XkujRYhyR7nXOEoROhRrhmpxDjBPHtdOQFfzg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1630254794; a=rsa-sha256; cv=pass; b=iBS7Tjpbuf4EyqmkJI9tnbAgYBWFZsvDsQVx0v4+63B9u75YsRA/wc3P2fJYCXLgmjyNXb xtLKTnZ3wuKp/1JaoIsdOOBgjQteRgd8V3eUwAF4O1F5AHNQMoMepWpSFhKOggVVlZvLTn aSNcGtkSYln9EIti47TN8fNnhqobnRNtToft2pFaTpofLsyC7gEKxzirdF3rhvCxWModQ+ ZGa7evUxzeVJ6B6vJ9cwbaxWbecgq9DCSoN761aH624uyXoW1SWCj3CoCE86vnDR28zjgo MyIEyRACQ9SqBIB9nPpqAw7X9hXIJnc+4fj7MYQoBQzCmLbe/Vlwza4itz8Ijg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=beaver-labs.com header.s=zoho header.b=gfLV1Ntu; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: 2.07 Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=beaver-labs.com header.s=zoho header.b=gfLV1Ntu; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: EE88F149D3 X-Spam-Score: 2.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: pt/Qbh/SRCn0 Andreas Reuleaux writes: > Hi, > > thanks a lot, and yes: that was it. :) > > I had not really understood that w/ > > (define-module (gnu packages emacs-hide-comnt) > > my emacs-hide-comnt package was searched in gnu/packages, > but oh well: this makes sense after all, and I am learning. > > I have received your reply only privatly so far (to my rx@a-rx.info > address), not from the mailing list - but I am Cc'ing there > nevertheless already. > That's my fault, I mixed up and used an incorrect email address when sending the email: this address is not subscribed to the list. Sorry. > Fixed in my http://git.a-rx.info/channel now (i.e. emacs-hide-comnt.scm > updated there). > > I will add more packages there, as I progress. > > In case anyone wants to try my configuration: I am kind of lazy: > creating new initial commits all to often (instead of pushing them). > > thus the ~/.config/guix/channels.scm needs to be changed accordingly, > currently: > > > --8<---------------cut here---------------start------------->8--- > (cons (channel > (name 'my-stuff) >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > (url "git://git.a-rx.info/channel") > > (introduction > (make-channel-introduction > "109737fce5bd8f8f709646d3e1b2f519a07e2f9d" > (openpgp-fingerprint > "99BB E77D 73AE 07B9 D4B0 CA2E 3384 11E5 6E09 31B5") > )) > > ) > %default-channels) > --8<---------------cut here---------------end--------------->8--- > > > Many thanks again, > > -A >=20=20=20 > > > > Edouard Klein writes: > >> Hi, >> >> I am not sure, but here is my try: >> >> I cloned your channel2 repo, and saw in emacs-hide-comnt.scm: >> >> (define-module (gnu packages emacs-hide-comnt) >> >> Modules names in Guile (in all schemes ?) must match the path, so either >> put emacs-hide-comnt.scm in gnu/packages, or change the above line to: >> >> (define-module (emacs-hide-comnt) >> >> See that urweb.scm starts with: >> (define-module (urweb) >> >> My interpretation is that the error message means that the >> emacs-hide-comnt module was not found where it was looked for, i.e. in >> gnu/packages. >> >> This may not be the only problem, but it is worth a try. >> >> Good luck :) >> >> Cheers, >> >> Edouard. >> >> >> Andreas Reuleaux writes: >> >>> Hi, >>> >>> I am trying to set up my own channel for some personal packages, >>> and I do have some success to that end, but I am still experiencing >>> issues: >>> >>> >>> TL;dr - short summary: >>> >>> my package: emacs-hide-comnt.scm (below) breaks my setup for "guix pu= ll" >>> (which otherwise works just fine without that package) >>> my package emacs-hide-comnt.scm cannot be too bad either: >>> I can build+install it just fine by hand. >>>=20=20=20 >>> >>> >>> I am following the guix guide, and have stolen two packages from >>> >>> --8<---------------cut here---------------start------------->8--- >>> https://github.com/jsoo1/guix-channel >>> --8<---------------cut here---------------end--------------->8--- >>> >>> >>> namely emacs-dump.scm (which provides my-emacs-dump), and >>> urweb.scm. >>> >>> I have set up my own git repo (with just these two packages for now) at: >>> >>> --8<---------------cut here---------------start------------->8--- >>> http://git.a-rx.info/channel >>> --8<---------------cut here---------------end--------------->8--- >>> >>> >>> and (with a git-url) in my ~/.config/guix/channels.scm: >>> >>> --8<---------------cut here---------------start------------->8--- >>> (cons (channel >>> (name 'my-stuff) >>> >>> >>> (url "git://git.a-rx.info/channel") >>> >>> (introduction >>> (make-channel-introduction >>> "56384c65b5d57606cd7ff3e2a4db1c99c24d7adf" >>> (openpgp-fingerprint >>> "99BB E77D 73AE 07B9 D4B0 CA2E 3384 11E5 6E09 31B5") >>> )) >>> >>> ) >>> %default-channels) >>> --8<---------------cut here---------------end--------------->8--- >>> >>> >>> >>> I can "guix pull" (I am using "--allow-downgrades" the first time here,= as I have used >>> channel my-stuff with a different inital commit before), anyway this >>> works fine so far - guix pull does not complain about the my-stuff chan= nel. >>> >>> --8<---------------cut here---------------start------------->8--- >>> rx@dell ~$ guix pull --allow-downgrades >>> Updating channel 'my-stuff' from Git repository at 'git://git.a-rx.info= /channel'... >>> guix pull: warning: moving channel 'my-stuff' from 12ac4ab75c0b9dc247af= 3a65179c566e198d908d to unrelated commit 56384c65b5d57606cd7ff3e2a4db1c99c2= 4d7adf >>> Updating channel 'guix' from Git repository at 'https://git.savannah.gn= u.org/git/guix.git'... >>> Building from these channels: >>> guix https://git.savannah.gnu.org/git/guix.git 63fec9f >>> my-stuff git://git.a-rx.info/channel 56384c6 >>> Computing Guix derivation for 'x86_64-linux'... / >>> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.= 0% >>> substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'..= . 100.0% >>> The following derivations will be built: >>> /gnu/store/dsb3bcmddgsvn34wxh0g2mbm4lyq1haz-profile.drv >>> /gnu/store/d227lqkghmg48b34b81si8hdmz3vba64-my-stuff.drv >>> /gnu/store/mcp30c79gi9cdnckg4ghahkaygn85ykk-inferior-script.scm.drv >>> /gnu/store/d84yrjgr6bkg7c6h9i0bxjz7cfxhisp2-profile.drv >>> /gnu/store/vrr8flhvf06xprqm6n9q45pj10h7r10g-inferior-script.scm.drv >>> >>> building /gnu/store/mcp30c79gi9cdnckg4ghahkaygn85ykk-inferior-script.sc= m.drv... >>> building /gnu/store/d227lqkghmg48b34b81si8hdmz3vba64-my-stuff.drv... >>> building CA certificate bundle... >>> listing Emacs sub-directories... >>> building fonts directory... >>> building directory of Info manuals... >>> building database for manual pages... >>> building profile with 2 packages... >>> building /gnu/store/vrr8flhvf06xprqm6n9q45pj10h7r10g-inferior-script.sc= m.drv... >>> building package cache... >>> building profile with 2 packages... >>> New in this revision: >>> 2 new packages: lsofgraph, urweb >>> >>> rx@dell ~$ guix pull=20 >>> Updating channel 'my-stuff' from Git repository at 'git://git.a-rx.info= /channel'... >>> Updating channel 'guix' from Git repository at 'https://git.savannah.gn= u.org/git/guix.git'... >>> Building from these channels: >>> guix https://git.savannah.gnu.org/git/guix.git 63fec9f >>> my-stuff git://git.a-rx.info/channel 56384c6 >>> Computing Guix derivation for 'x86_64-linux'... / >>> nothing to be done >>> >>> rx@dell ~$ >>> --8<---------------cut here---------------end--------------->8--- >>> >>> >>> and "urweb" is available, for example >>> >>> --8<---------------cut here---------------start------------->8--- >>> rx@dell ~$ guix package -A urwe >>> urweb 20190217 out urweb.scm:15:2 >>> rx@dell ~ >>> --8<---------------cut here---------------end--------------->8--- >>> >>> >>> >>> >>> Thus apparently my setup is not too bad (including my rx.key in the >>> keyring branch etc.). >>> >>> >>> Now I am setting up a second channel2 instead: again with the two packa= ges >>> emacs-dump.scm and urweb.scm as above, but additionally an emacs package >>> that I have created myself: emacs-hide-comnt.scm >>> >>> (Really this is just a prerequisite for another package that I am >>> interested in, and I have a package definition for as well: >>> emacs-thing-cmds.scm - but I keep that question for another mail): >>> >>> Now with my ~/.config/guix/channels.scm for channel2: >>> >>> --8<---------------cut here---------------start------------->8--- >>> (cons (channel >>> (name 'my-stuff2) >>> >>> >>> (url "git://git.a-rx.info/channel2") >>> >>> (introduction >>> (make-channel-introduction >>> "3a64194919ceeb16ee03df17de2c3c612d410145" >>> (openpgp-fingerprint >>> "99BB E77D 73AE 07B9 D4B0 CA2E 3384 11E5 6E09 31B5") >>> )) >>> >>> ) >>> %default-channels) >>> --8<---------------cut here---------------end--------------->8--- >>> >>> >>> >>> I cannot pull any more: >>> >>> --8<---------------cut here---------------start------------->8--- >>> rx@dell ~$ guix pull=20 >>> Updating channel 'my-stuff2' from Git repository at 'git://git.a-rx.inf= o/channel2'... >>> Updating channel 'guix' from Git repository at 'https://git.savannah.gn= u.org/git/guix.git'... >>> Building from these channels: >>> guix https://git.savannah.gnu.org/git/guix.git 63fec9f >>> my-stuff2 git://git.a-rx.info/channel2 3a64194 >>> Computing Guix derivation for 'x86_64-linux'... - >>> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.= 0% >>> substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'..= . 100.0% >>> The following derivations will be built: >>> /gnu/store/1vvwqnj7d1hp8nf8kcpf1r5wrlibkxya-profile.drv >>> /gnu/store/hiqych1a0qdmdzq45mi1k96df9zr0p7k-my-stuff2.drv >>> /gnu/store/b0hk5dvfid7pkjxrwfylmkn5w3pwzbxq-inferior-script.scm.drv >>> /gnu/store/5ww6yaqz98jnkp2gfdpjzksx5azwd63i-inferior-script.scm.drv >>> /gnu/store/j9w5gvf7slfc1ahmryd45i0nfr3j8509-profile.drv >>> >>> building /gnu/store/b0hk5dvfid7pkjxrwfylmkn5w3pwzbxq-inferior-script.sc= m.drv... >>> building /gnu/store/hiqych1a0qdmdzq45mi1k96df9zr0p7k-my-stuff2.drv... >>> |builder for `/gnu/store/hiqych1a0qdmdzq45mi1k96df9zr0p7k-my-stuff2.drv= ' failed to produce output path `/gnu/store/ww01v7zdx110q887146y9m67j3rikyp= w-my-stuff2' >>> build of /gnu/store/hiqych1a0qdmdzq45mi1k96df9zr0p7k-my-stuff2.drv fail= ed >>> View build log at '/var/log/guix/drvs/hi/qych1a0qdmdzq45mi1k96df9zr0p7k= -my-stuff2.drv.bz2'. >>> cannot build derivation `/gnu/store/1vvwqnj7d1hp8nf8kcpf1r5wrlibkxya-pr= ofile.drv': 1 dependencies couldn't be built >>> guix pull: error: build of `/gnu/store/1vvwqnj7d1hp8nf8kcpf1r5wrlibkxya= -profile.drv' failed >>> rx@dell ~$ >>> --8<---------------cut here---------------end--------------->8--- >>> >>> >>> with >>> >>> --8<---------------cut here---------------start------------->8--- >>> rx@dell ~$ bzcat '/var/log/guix/drvs/hi/qych1a0qdmdzq45mi1k96df9zr0p7k-= my-stuff2.drv.bz2' >>> (repl-version 0 1 1) >>> (exception misc-error (value #f) (value "no code for module ~S") (value= ((emacs-hide-comnt))) (value #f)) >>> rx@dell ~$ >>> --8<---------------cut here---------------end--------------->8--- >>> >>> >>> >>> Apparently my emacs-hide-comnt.scm package >>> at http://git.a-rx.info/channel2/tree/ breaks my setup. >>> >>> And I don't see why: I can download the package and build/install it >>> just fine: >>> >>> --8<---------------cut here---------------start------------->8--- >>> rx@dell ~$ wget -nd http://git.a-rx.info/channel2/plain/emacs-hide-comn= t.scm >>> --2021-08-28 16:46:47-- http://git.a-rx.info/channel2/plain/emacs-hide= -comnt.scm >>> Resolving git.a-rx.info (git.a-rx.info)... 178.79.166.98 >>> Connecting to git.a-rx.info (git.a-rx.info)|178.79.166.98|:80... connec= ted. >>> HTTP request sent, awaiting response... 200 OK >>> Length: 2035 (2.0K) [text/plain] >>> Saving to: =E2=80=98emacs-hide-comnt.scm=E2=80=99 >>> >>> emacs-hide-comnt.scm 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D>] 1.99K --.-KB/s in 0s=20=20=20=20=20=20 >>> >>> 2021-08-28 16:46:47 (324 MB/s) - =E2=80=98emacs-hide-comnt.scm=E2=80=99= saved [2035/2035] >>> >>> rx@dell ~$ >>> --8<---------------cut here---------------end--------------->8--- >>> >>> --8<---------------cut here---------------start------------->8--- >>> rx@dell ~$ guix build -f emacs-hide-comnt.scm=20 >>> /gnu/store/w098p5vxd0iy31mxkcp47xk3n5f5d175-emacs-hide-comnt-2019.11 >>> rx@dell ~$=20 >>> rx@dell ~$ guix install $(guix build -f emacs-hide-comnt.scm) >>> The following package will be upgraded: >>> emacs-hide-comnt (dependencies or package changed) >>> >>> nothing to be done >>> rx@dell ~$ >>> --8<---------------cut here---------------end--------------->8--- >>> >>> >>> >>> Hm??? >>> >>> One difference that I see: my emacs-hide-comnt.scm has >>> a last line of=20 >>> >>> --8<---------------cut here---------------start------------->8--- >>> emacs-hide-comnt >>> --8<---------------cut here---------------end--------------->8--- >>> >>> and I need that for building the package by hand - If I remove >>> that line (the corresponding packages: emacs-dump.scm, urweb.scm >>> don't have such last lines): then I cannot build my package by hand >>> any more - and worse: I still cannot pull from my channel2 ?? >>> >>> Thanks in advance.