From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nadezhda Voronova Subject: Trouble with adding a package Date: Mon, 26 Mar 2018 20:49:28 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000046f2a7056854653e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0WFR-0007pL-1z for help-guix@gnu.org; Mon, 26 Mar 2018 13:49:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0WFO-0000wP-KW for help-guix@gnu.org; Mon, 26 Mar 2018 13:49:33 -0400 Received: from mail-ot0-x22f.google.com ([2607:f8b0:4003:c0f::22f]:33857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0WFO-0000vi-Dl for help-guix@gnu.org; Mon, 26 Mar 2018 13:49:30 -0400 Received: by mail-ot0-x22f.google.com with SMTP id m7-v6so21585738otd.1 for ; Mon, 26 Mar 2018 10:49:30 -0700 (PDT) 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: help-guix@gnu.org --00000000000046f2a7056854653e Content-Type: text/plain; charset="UTF-8" Hi! I'm trying to add one simple package. I've already know that it installes by "guix package -f" so it seems like my package definition is ok. Or not? (definition for "guix package -f" https://paste.debian.net/1016791/ , definition https://paste.debian.net/ 1016770/) I've got guix source code from repository, added my definition in "gnu/package" and run "guix environment guix", "./bootstrap", "./configure --localstatedir=/var" and "make" and then tried "./pre-inst-env guix build my-package". And it doesn't see my package. Also when i looked into Makefile i've seen a bunch of "gnu/packages/---.scm" and there was not "gnu/packages/my-package.scm" and it doesn't look right. Anyway, after that i tried to add my definition to some random existing definition with right dependencies (this idea sounds terribly wrong but i wanted to give it a shot) and repeated all starting from "./bootstrap" again. And it did not work. Also i tried "./pre-inst-env guix build my-package --keep-failed". Still no effects, unknown package. So right now i'm totally confused about what i'm doing wrong and don't even understand what's output may be relevant to problem and i'll be very glad for help. Also i have this thing appear almost every time i use guix: guile: warning: failed to install locale warning: failed to install locale: Invalid argument Don't think that's relevant but it's a little bit annoying. Thanks, Nadya --00000000000046f2a7056854653e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

I'm trying to add one simple package.<= /div>
I've already know that it installes by "guix package -f&= quot; so it seems like my package definition is ok. Or not? (definition for= "guix package -f" = https://paste.debian.net/1016791/ , definition https://paste.debian.net/10167= 70/)

I've got guix source code from reposi= tory, added my definition in "gnu/package" and run "guix env= ironment guix", "./bootstrap", "./configure --localstat= edir=3D/var" and "make" and then tried "./pre-inst-env = guix build my-package". And it doesn't see my package. Also when i= looked into Makefile i've seen a bunch of "gnu/packages/---.scm&q= uot; and there was not "gnu/packages/my-package.scm" and it doesn= 't look right. Anyway, after that i tried to add my definition to some = random existing definition with right dependencies (this idea sounds terrib= ly wrong but i wanted to give it a shot) and repeated all starting from &qu= ot;./bootstrap" again. And it did not work.
Also i tried &qu= ot;./pre-inst-env guix build my-package --keep-failed". Still no effec= ts, unknown package.

So right now i'm totally = confused about what i'm doing wrong and don't=C2=A0even=C2=A0unders= tand what's output may be relevant to problem and i'll be very glad= for help.


Also i have this thing appear almost every tim= e i use guix:
guile: warning: failed to install locale
wa= rning: failed to install locale: Invalid argument
Don't think that&#= 39;s relevant but it's a little bit=C2=A0annoying.


Th= anks,=C2=A0
Nadya
--00000000000046f2a7056854653e-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Trouble with adding a package Date: Mon, 26 Mar 2018 15:07:16 -0400 Message-ID: <20180326190716.GB11888@jasmine.lan> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ghzN8eJ9Qlbqn3iT" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0XSl-0000uP-FD for help-guix@gnu.org; Mon, 26 Mar 2018 15:07:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0XSh-0004XE-ER for help-guix@gnu.org; Mon, 26 Mar 2018 15:07:23 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:46723) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f0XSh-0004Wp-7Z for help-guix@gnu.org; Mon, 26 Mar 2018 15:07:19 -0400 Content-Disposition: inline In-Reply-To: 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: Nadezhda Voronova Cc: help-guix@gnu.org --ghzN8eJ9Qlbqn3iT Content-Type: multipart/mixed; boundary="oC1+HKm2/end4ao3" Content-Disposition: inline --oC1+HKm2/end4ao3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Mar 26, 2018 at 08:49:28PM +0300, Nadezhda Voronova wrote: > I'm trying to add one simple package. > I've already know that it installes by "guix package -f" so it seems like > my package definition is ok. Or not? (definition for "guix package -f" > https://paste.debian.net/1016791/ , definition https://paste.debian.net/ > 1016770/) Overall it looks like it should work. I've attached your package from paste.debian.org for anyone else reading along. > I've got guix source code from repository, added my definition in > "gnu/package" and run "guix environment guix", "./bootstrap", "./configure > --localstatedir=/var" and "make" and then tried "./pre-inst-env guix build > my-package". And it doesn't see my package. Also when i looked into > Makefile i've seen a bunch of "gnu/packages/---.scm" and there was not > "gnu/packages/my-package.scm" and it doesn't look right. It sounds like you hadn't yet registered your package module in 'gnu/local.mk'. If you want to add a new source file to Guix, you need to register it there so that Make knows to build it. For example: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=6cf2ac3cd6a42ded34814ac9120c7637cf3f8c7f > Anyway, after that > i tried to add my definition to some random existing definition with right > dependencies (this idea sounds terribly wrong but i wanted to give it a > shot) and repeated all starting from "./bootstrap" again. And it did not > work. > Also i tried "./pre-inst-env guix build my-package --keep-failed". Still no > effects, unknown package. It's hard to know exactly what went wrong here; we'd need a patch of your changes and the Git commit you are working from in order to reproduce the issue. But, I think you should try again adding a new module and registering it in 'gnu/local.mk'. > Also i have this thing appear almost every time i use guix: > guile: warning: failed to install locale > warning: failed to install locale: Invalid argument > Don't think that's relevant but it's a little bit annoying. Yes, this shouldn't have any effect on your issue. It's warning you about an incomplete locales setup. Instructions on finishing the setup are here: https://www.gnu.org/software/guix/manual/html_node/Application-Setup.html#Locales-1 Basically, you'll need to export GUIX_LOCPATH in the environment where you use Guix, and where the guix-daemon runs (that's why you see the warning twice). --oC1+HKm2/end4ao3 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=paste_1016791 (use-modules (guix) (guix build-system gnu) (gnu packages) (guix licenses)) (package (name "tcalc") (version "2.0") (source (origin (method url-fetch) (uri (string-append "https://sites.google.com/site/mohammedisam2000/tcalc/tcalc-" version ".tar.gz")) (sha256 (base32 "0jq806m4dqfia85nppfm75mml9w57g0cgv4cdw9bp3zymda83s0m")))) (build-system gnu-build-system) (synopsis "none") (description "none") (home-page "none") (license gpl3+)) --oC1+HKm2/end4ao3-- --ghzN8eJ9Qlbqn3iT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlq5ROMACgkQJkb6MLrK fwigTQ/+Nbu8cAsT7e/uvBvWJoTFrTAD1Vxf6t0rN+vnnxUT7ix7S2vsTYGwNg7E P0BhJCeaOfhp0gInEZ4kGD3U0exOu69bgIwav5kH2doYwam9+gE+RRiOX0pPc8VC wWBbEHHg/FnAHJWR4+J1Wmc/SFQ2wKGFNDru770I9GdxVtDfkBecdqMtPcjLK03e uGlwMxpNJn8SU1Lvo0UozP90BpEpqHBAz5y+Od65ny6UP1S8PSrCZVjcJHvj2BP5 13CA0aedYuFIUNmh+P+2Wk4x+8RShdW9DNC6a3Bt/3Hp2XQs0gdYvNQCRSKuR9ZV O3h4Kgqz29B7Sg4XaIT7cDorcQM1UEjd+WYkWybMsui7HHNPTm18x9SYxkf+B17P UTXCJQFyMCvAVWa/pEP5sYuNJSre8gfdo71oaexugPOrzVdxlWdsVsEY7vDFQrSC rovN/1Ic4XWNTsM8B2pm4DSTzIUChlR7sb02s+GEDLlzmUsILqs/aCKBhM8zYiPW Z9mFGUcB7GlVBAQ4vUEpDR/FtJFe0Zf2jvpG7gFm5uM4U33gz1yzfSlHQkcziH8i fe6eIejPrYJXcAn/xkEw2SIuH82nOE3Ld/6LR9NJvK3b8C7gvosv/wKpgjdgyJSK srd4BKX492Dmh4HMCQChhPheC9it4Yex2voWMmQYOUaMF0UJUrw= =An6/ -----END PGP SIGNATURE----- --ghzN8eJ9Qlbqn3iT-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Trouble with adding a package Date: Mon, 26 Mar 2018 23:11:58 +0200 Message-ID: <87605ih78h.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0ZPe-0006to-HL for help-guix@gnu.org; Mon, 26 Mar 2018 17:12:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0ZPa-0001oh-BK for help-guix@gnu.org; Mon, 26 Mar 2018 17:12:18 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21087) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f0ZPa-0001oH-1j for help-guix@gnu.org; Mon, 26 Mar 2018 17:12:14 -0400 In-reply-to: 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: Nadezhda Voronova Cc: help-guix@gnu.org Hi Nadya, > I've got guix source code from repository, added my definition in > "gnu/package" and run "guix environment guix", "./bootstrap", "./configur= e > --localstatedir=3D/var" and "make" and then tried "./pre-inst-env guix bu= ild > my-package". And it doesn't see my package. Please add the package to an existing package module (one of the files in =E2=80=9Cgnu/packages/=E2=80=9D). Modules usually hold more than a sing= le package. To make this work with your package definition you need to bind your package expression to a public variable: (define-public tcalc (package (name "tcalc") =E2=80=A6)) > Also i have this thing appear almost every time i use guix: > guile: warning: failed to install locale > warning: failed to install locale: Invalid argument > Don't think that's relevant but it's a little bit annoying. This is unrelated. You should be able to remove these warnings by installing the glibc-locales package and setting the GUIX_LOCPATH environment variable to =E2=80=9C$HOME/.guix-profile/lib/locale=E2=80=9D. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nadya Voronova Subject: Re: Trouble with adding a package Date: Tue, 27 Mar 2018 04:10:19 +0300 Message-ID: References: <87605ih78h.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1134e8ecdf763c05685a8d61" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0d82-0007ao-Sh for help-guix@gnu.org; Mon, 26 Mar 2018 21:10:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0d81-00087g-Kk for help-guix@gnu.org; Mon, 26 Mar 2018 21:10:22 -0400 Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:35473) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0d81-00087E-86 for help-guix@gnu.org; Mon, 26 Mar 2018 21:10:21 -0400 Received: by mail-oi0-x22d.google.com with SMTP id x20-v6so17529024oie.2 for ; Mon, 26 Mar 2018 18:10:21 -0700 (PDT) In-Reply-To: <87605ih78h.fsf@elephly.net> 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: help-guix@gnu.org --001a1134e8ecdf763c05685a8d61 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yep, i tried to do it. I tried to add it to another file (with (define-public tcal)). And i tried to add my file to "" (and it appeared in the Makefile). In both cases, nothing happened, still unknown package. So i tried "./pre-inst-env guix build hello" to confirm that this is the problem of my package. And my terminal just froze. It seems that this is not what should have happened. Also, while I was experimenting I tried "sudo ./pre-inst-env guix-daemon --build-users-group =3D guixbuild". And it froze my terminal too. 2018-03-27 0:11 GMT+03:00 Ricardo Wurmus : > > Hi Nadya, > > > I've got guix source code from repository, added my definition in > > "gnu/package" and run "guix environment guix", "./bootstrap", > "./configure > > --localstatedir=3D/var" and "make" and then tried "./pre-inst-env guix > build > > my-package". And it doesn't see my package. > > Please add the package to an existing package module (one of the files > in =E2=80=9Cgnu/packages/=E2=80=9D). Modules usually hold more than a si= ngle package. > > To make this work with your package definition you need to bind your > package expression to a public variable: > > (define-public tcalc > (package > (name "tcalc") > =E2=80=A6)) > > > Also i have this thing appear almost every time i use guix: > > guile: warning: failed to install locale > > warning: failed to install locale: Invalid argument > > Don't think that's relevant but it's a little bit annoying. > > This is unrelated. You should be able to remove these warnings by > installing the glibc-locales package and setting the GUIX_LOCPATH > environment variable to =E2=80=9C$HOME/.guix-profile/lib/locale=E2=80=9D. > > -- > Ricardo > > GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC > https://elephly.net > > > --001a1134e8ecdf763c05685a8d61 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yep, i tried to do it.=C2=A0
I tried t= o add it to another file (with (define-public tcal)). And i tried to add my= file to "" (and it appeared in the Makefile). In both cases, not= hing happened, still unknown package.
So i tried "./pre-inst= -env guix build hello" to confirm that this is the problem of my packa= ge. And my terminal just froze. It seems that this is not what should have = happened.
Also, while I was experimenting I tried "sudo ./pr= e-inst-env guix-daemon --build-users-group =3D guixbuild". And it froz= e my terminal too.


=
2018-03-27 0:11 GMT+03:00 Ricardo Wurmus <= rekado@elephly.net>:

Hi Nadya,

> I've got guix source code from repository, added my definition in<= br> > "gnu/package" and run "guix environment guix", &qu= ot;./bootstrap", "./configure
> --localstatedir=3D/var" and "make" and then tried "= ;./pre-inst-env guix build
> my-package". And it doesn't see my package.

Please add the package to an existing package module (one of the fil= es
in =E2=80=9Cgnu/packages/=E2=80=9D).=C2=A0 Modules usually hold more than a= single package.

To make this work with your package definition you need to bind your
package expression to a public variable:

=C2=A0 =C2=A0 (define-public tcalc
=C2=A0 =C2=A0 =C2=A0 (package
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (name "tcalc")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =E2=80=A6))

> Also i have this thing appear almost every time i use guix:
> guile: warning: failed to install locale
> warning: failed to install locale: Invalid argument
> Don't think that's relevant but it's a little bit annoying= .

This is unrelated.=C2=A0 You should be able to remove these warnings= by
installing the glibc-locales package and setting the GUIX_LOCPATH
environment variable to =E2=80=9C$HOME/.guix-profile/lib/locale=E2=80= =9D.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6=C2=A0 2150 197A 5888 235F ACAC
https:= //elephly.net



--001a1134e8ecdf763c05685a8d61-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Trouble with adding a package Date: Tue, 27 Mar 2018 09:41:22 +0200 Message-ID: <87y3ieezj1.fsf@elephly.net> References: <87605ih78h.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0jEe-00015l-MU for help-guix@gnu.org; Tue, 27 Mar 2018 03:41:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0jEY-0005UA-Pm for help-guix@gnu.org; Tue, 27 Mar 2018 03:41:36 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21047) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f0jEY-0005To-Gj for help-guix@gnu.org; Tue, 27 Mar 2018 03:41:30 -0400 In-reply-to: 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: Nadya Voronova Cc: help-guix@gnu.org Hi Nadya, > Also, while I was experimenting I tried "sudo ./pre-inst-env guix-daemon > --build-users-group =3D guixbuild". And it froze my terminal too. If you meant sudo ./pre-inst-env guix-daemon --build-users-group=3Dguixbuild then =E2=80=9Cfreezing=E2=80=9D is expected. This is a daemon, so it won= =E2=80=99t exit. It will keep running and accepting requests. Usually it is started by a service manager or it is backgrounded manually when it is run in a terminal session. But you should only run it once. After installing Guix you probably already started the daemon (confirm with =E2=80=9Cpgrep -fa guix-daemon=E2= =80=9D), so starting it again won=E2=80=99t work. > Yep, i tried to do it. > I tried to add it to another file (with (define-public tcal)). And i trie= d > to add my file to "" (and it appeared in the Makefile). In both cases, > nothing happened, still unknown package. Was there any more output? Could you send us the complete diff compared to the original sources you downloaded? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nadya Voronova Subject: Re: Trouble with adding a package Date: Wed, 28 Mar 2018 03:56:02 +0300 Message-ID: References: <87605ih78h.fsf@elephly.net> <87y3ieezj1.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1134e8ec9b877405686e78bd" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0zNl-0004t3-45 for help-guix@gnu.org; Tue, 27 Mar 2018 20:56:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0zNk-0007E9-12 for help-guix@gnu.org; Tue, 27 Mar 2018 20:56:05 -0400 Received: from mail-oi0-x229.google.com ([2607:f8b0:4003:c06::229]:44947) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0zNj-0007Dh-Rz for help-guix@gnu.org; Tue, 27 Mar 2018 20:56:03 -0400 Received: by mail-oi0-x229.google.com with SMTP id j143-v6so678351oih.11 for ; Tue, 27 Mar 2018 17:56:03 -0700 (PDT) In-Reply-To: <87y3ieezj1.fsf@elephly.net> 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: help-guix@gnu.org --001a1134e8ec9b877405686e78bd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm so sorry. I did probably the dumbest mistake. I have package named "tcalc" and i was using "tcal" instead. Of course it was unknown package. And now everything is working. 2018-03-27 10:41 GMT+03:00 Ricardo Wurmus : > > Hi Nadya, > > > Also, while I was experimenting I tried "sudo ./pre-inst-env guix-daemo= n > > --build-users-group =3D guixbuild". And it froze my terminal too. > > If you meant > > sudo ./pre-inst-env guix-daemon --build-users-group=3Dguixbuild > > then =E2=80=9Cfreezing=E2=80=9D is expected. This is a daemon, so it won= =E2=80=99t exit. It > will keep running and accepting requests. Usually it is started by a > service manager or it is backgrounded manually when it is run in a > terminal session. > > But you should only run it once. After installing Guix you probably > already started the daemon (confirm with =E2=80=9Cpgrep -fa guix-daemon= =E2=80=9D), so > starting it again won=E2=80=99t work. > > > Yep, i tried to do it. > > I tried to add it to another file (with (define-public tcal)). And i > tried > > to add my file to "" (and it appeared in the Makefile). In both cases, > > nothing happened, still unknown package. > > Was there any more output? > > Could you send us the complete diff compared to the original sources you > downloaded? > > -- > Ricardo > > GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC > https://elephly.net > > > --001a1134e8ec9b877405686e78bd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm so sorry. I did probably the dumbest mistake.= =C2=A0
I have package named "tcalc" and i was using &qu= ot;tcal" instead. Of course it was unknown package.
And now = everything is working.

2018-03-27 10:41 GMT+03:00 Ricardo Wurmus <rekado@elephl= y.net>:

Hi Nadya,

> Also, while I was experimenting I tried "sudo ./pre-inst-env guix= -daemon
> --build-users-group =3D guixbuild". And it froze my terminal too.=

If you meant

=C2=A0 =C2=A0 sudo ./pre-inst-env guix-daemon --build-users-group=3Dguixbui= ld

then =E2=80=9Cfreezing=E2=80=9D is expected.=C2=A0 This is a daemon, so it = won=E2=80=99t exit.=C2=A0 It
will keep running and accepting requests.=C2=A0 Usually it is started by a<= br> service manager or it is backgrounded manually when it is run in a
terminal session.

But you should only run it once.=C2=A0 After installing Guix you probably already started the daemon (confirm with =E2=80=9Cpgrep -fa guix-daemon=E2= =80=9D), so
starting it again won=E2=80=99t work.

> Yep, i tried to do it.
> I tried to add it to another file (with (define-public tcal)). And i t= ried
> to add my file to "" (and it appeared in the Makefile). In b= oth cases,
> nothing happened, still unknown package.

Was there any more output?

Could you send us the complete diff compared to the original sources you downloaded?

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6=C2=A0 2150 197A 5888 235F ACAC
https:= //elephly.net



--001a1134e8ec9b877405686e78bd-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Trouble with adding a package Date: Wed, 28 Mar 2018 22:01:26 +0200 Message-ID: <87sh8kdl61.fsf@elephly.net> References: <87605ih78h.fsf@elephly.net> <87y3ieezj1.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1HGL-0004Yd-UY for help-guix@gnu.org; Wed, 28 Mar 2018 16:01:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1HGI-0000yp-Sr for help-guix@gnu.org; Wed, 28 Mar 2018 16:01:38 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f1HGI-0000yF-Lp for help-guix@gnu.org; Wed, 28 Mar 2018 16:01:34 -0400 In-reply-to: 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: Nadya Voronova Cc: help-guix@gnu.org Hi Nadya, > I'm so sorry. I did probably the dumbest mistake. > I have package named "tcalc" and i was using "tcal" instead. Of course it > was unknown package. I=E2=80=99m glad you figured it out. This happened to me more often than I=E2=80=99d like to admit. Often this message is just a symptom of a different error, but sometimes it really does mean that you=E2=80=99ve mistyped the name of a package. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net