From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniela Lura Subject: Re: Guix-devel Digest, Vol 81, Issue 26 Date: Wed, 11 Mar 2020 01:09:00 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000132ac05a08835a9" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36313) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBnzw-0001dw-7O for guix-devel@gnu.org; Tue, 10 Mar 2020 19:09:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBnzr-0003FR-PL for guix-devel@gnu.org; Tue, 10 Mar 2020 19:09:16 -0400 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:44825) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBnzr-00034H-5n for guix-devel@gnu.org; Tue, 10 Mar 2020 19:09:11 -0400 Received: by mail-lj1-x229.google.com with SMTP id a10so141918ljp.11 for ; Tue, 10 Mar 2020 16:09:10 -0700 (PDT) In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --0000000000000132ac05a08835a9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, This is Danjela, an outreachy applicant and a second year computer science student. How is everyone doing? I am trying to build the Guix Data Service proj ct locally and it prompts me to install Guile-Squee. I tried to install Squee but I am running into other build problems when I run 'make'. Apparently it can't find libpq, which I checked and is downloaded. Here is the error message: ``` ice-9/boot-9.scm:752:25: In procedure dispatch-exception: In procedure dynamic-link: file: "libpq", message: "file not found" make[1]: *** [Makefile:968: squee.go] Error 1 make[1]: Leaving directory '/home/daniela/Downloads/guile-squee' make: *** [Makefile:543: all-recursive] Error 1 ``` I really want to start making some meaningful contributions to the project but don't know where to start or what sources to use in order to do so. I have to note that I am not using Gnu/Guix, but I do have the Guix package manager installed as well as a Gnu/Linux distro. (OpenSuse Tumbleweed) Any suggestion or help would be greatly appreciated by my side. Please don't hesitate to ask me further details if the description of the problem was to vague. Thank you, On Tue, Mar 10, 2020, 09:48 wrote: > Send Guix-devel mailing list submissions to > guix-devel@gnu.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/guix-devel > or, via email, send a message with subject or body 'help' to > guix-devel-request@gnu.org > > You can reach the person managing the list at > guix-devel-owner@gnu.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Guix-devel digest..." > > > Today's Topics: > > 1. Re: kmscon not working on MacBook (Ludovic Court=C3=A8s) > 2. Re: [GSOC 2020] Guix Deploy, round 2! (Ludovic Court=C3=A8s) > 3. Re: `guix build hello' now succeeds on the Hurd (Ludovic Court=C3= =A8s) > 4. Re: rust (build system) deficits (John Soo) > 5. Re: `guix build hello' now succeeds on the Hurd (Ricardo Wurmus) > 6. Re: Thunar cannot launch gio-launch-desktop (Jan) > 7. About guix mirror build script (tumashu) > 8. Re: Hi, I am R Veera Kumar - Current Outreachy selected > Applicant (G=C3=A1bor Boskovits) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 09 Mar 2020 17:45:45 +0100 > From: Ludovic Court=C3=A8s > To: "pelzflorian \(Florian Pelz\)" > Cc: jbranso@dismail.de, guix-devel@gnu.org, Mathieu Othacehe > > Subject: Re: kmscon not working on MacBook > Message-ID: <87h7yx1npi.fsf@gnu.org> > Content-Type: text/plain; charset=3Dutf-8 > > Hi, > > "pelzflorian (Florian Pelz)" skribis: > > > On Sun, Mar 08, 2020 at 10:03:26PM +0100, Ludovic Court=C3=A8s wrote: > >> In the past, Mathieu, Florian, and others looked at similar issues on > >> some graphics boards. Perhaps there=E2=80=99s something we can do her= e to > >> special-case this hardware? > >> > >> Ludo=E2=80=99. > > > > The affected hardware is diverse and I see no pattern. I would favor > > restarting with mingetty. However, the installer runs but just has no > > display, so I do not know how to detect it. > > > > My Macbook using =E2=80=9CNVIDIA Corporation MCP89 [GeForce 320M] (rev = a2)=E2=80=9D > > runs the installer just fine. > > > > A desktop PC using =E2=80=9CNVIDIA Corporation GM107 [GeForce GTX 750 T= i] (rev > > a2)=E2=80=9D runs it just fine too. > > > > Another PC using =E2=80=9CAdvanced Micro Devices, Inc. [AMD/ATI] Oland = PRO > > [Radeon R7 240/340]=E2=80=9D runs the installer just fine (but not Xorg= X). > > > > A laptop Acer Aspire 5738 using =E2=80=9CAdvanced Micro Devices, > > Inc. [AMD/ATI] RV710/M92 [Mobility Radeon HD 4530/4570/545v]=E2=80=9D *= fails* > > with a black screen; manual installation is required (which I have not > > tested but probably works). > > > > Another laptop Uniwill U50SI1 using =E2=80=9CSilicon Integrated Systems= [SiS] > > 771/671 PCIE VGA Display Adapter (rev 10)=E2=80=9D *fails* the same way= . > > Manual install works fine. Note that I cannot boot non-Windows > > install images (Debian or Guix) on this machine, only via DVD, and > > Xorg X server only runs using uvesafb with a v86d helper. > > > > None of these installers flicker; the screen is black or it runs fine. > > For the cases where kmscon actually fails (exit with a non-zero code), > a solution would be the following: instead of running kmscon directly, > we run a wrapper around it that spawn mingetty (as you suggested) when > kmscon exits with non-zero. > > (Perhaps the flickering Joshua mentioned was actually due to kmscon > being continuously restarted by shepherd?) > > However, in cases where kmscon does *not* exits and simply produces a > black screen, I don=E2=80=99t see what can be done. In the cases you lis= t > above, does kmscon simply sit there without exiting? > > At any rate, thanks for the testing & detailed info! > > Ludo=E2=80=99. > > > > ------------------------------ > > Message: 2 > Date: Mon, 09 Mar 2020 17:49:55 +0100 > From: Ludovic Court=C3=A8s > To: G=C3=A1bor Boskovits > Cc: Christopher Lemmer Webber , Guix-devel > > Subject: Re: [GSOC 2020] Guix Deploy, round 2! > Message-ID: <87d09l1nik.fsf@gnu.org> > Content-Type: text/plain; charset=3Dutf-8 > > Hi! > > G=C3=A1bor Boskovits skribis: > > > Ludovic Court=C3=A8s ezt =C3=ADrta (id=C5=91pont: 2020. = m=C3=A1rc. 8., Vas > > 23:10): > > [...] > > >> What I miss the most, especially on the build farm, is the ability to > >> tell =E2=80=98guix deploy=E2=80=99 which services to restart upon comp= letion. > >> Currently, like =E2=80=98guix system reconfigure=E2=80=99, it conserva= tively doesn=E2=80=99t > >> restart any running services. However, often, you=E2=80=99d like it t= o run > >> =E2=80=9Cherd restart X=E2=80=9D upon completion. > >> > >> Another thing discussed at the Guix Days, but more relevant to more > >> advanced use cases, is the ability to define =E2=80=9Croles=E2=80=9D: = often you=E2=80=99d rather > >> want to think in terms of the services machines offer and abstract ove= r > >> the actual machines. > >> > > > > These are both great ideas. It would be also nice to access these in a > > single machine setup. I don't know where to implement this, it might ma= ke > > sense to add these to the common part of deploy and reconfigure. IIRC w= e > > also discussed the idea of a local deployer to be able handle the deplo= y > > node the same way as the rest. > > If you talking about the first point above, I think it=E2=80=99s not that > difficult. As I see it, we could provide a command-line option and/or a > option (?) specifying which services should be restarted right > away. Restarting can be implemented as in (guix scripts system > reconfigure). > > > Regarding the roles thing it would be nice to get a discussion going > > regarding the interface, so that we have an idea how it should look > > like. Wdyt? > > Yes, that would be nice! There were good ideas discussed at the Guix > Days and knowledgeable people, but I can=E2=80=99t see the notes at > < > https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/doc/guix-days= -2020 > > > and I=E2=80=99m not sure who was involved. There was probably Chris Maru= sich, > who else? People, please step up! :-) > > Ludo=E2=80=99. > > > > ------------------------------ > > Message: 3 > Date: Mon, 09 Mar 2020 18:10:21 +0100 > From: Ludovic Court=C3=A8s > To: Jan Nieuwenhuizen > Cc: guix-devel@gnu.org > Subject: Re: `guix build hello' now succeeds on the Hurd > Message-ID: <87imjdzc76.fsf@gnu.org> > Content-Type: text/plain; charset=3Dutf-8 > > Hello! > > Jan Nieuwenhuizen skribis: > > > The situation on the Hurd starts to look pretty good > > > > janneke@debian:~/src/guix$ ./pre-inst-env guix build hello > --no-offload > > /gnu/store/a2sylb94rm1b6qxcp5mqvgiyx9szipz7-hello-2.10 > > janneke@debian:~/src/guix$ > /gnu/store/a2sylb94rm1b6qxcp5mqvgiyx9szipz7-hello-2.10/bin/hello > > Hello, world! > > > > \o/ > > Woohoo! Congrats! > > How do you run guix-daemon? (In the future it=E2=80=99d be great to perh= aps > implement Linux namespaces on the Hurd in libc.) > > > It has some 20 odd patches. I chose to create workarounds to "get earl= y > > success" rather than doing everything right. While I worked on forward > > porting glibc patches, I only took the minimal set that I needed. Also= , > > I reverted to make 4.1 instead of debugging why make 4.3 fails (for > > now). > > OK. > > > Most controversial/problematic is the need to use fairly recent gnumach > > and hurd sources. > > That=E2=80=99s OK IMO. > > > What could be the next step? > > Merging what you have=E2=80=94the earlier the better. :-) > > > Shall I push this to savannah as `wip-hurd' (possibly save wip-hurd-> > > `wip-hurd-old?); > > Yup, sounds like a plan. > > > I could also rewrite wip-hurd-bootstrap? > > Dunno! > > To me, the difficult bit with porting and bootstrapping work is making > sure that bootstrap.scm/commencement.scm/base.scm/cross-base.scm remain > maintainable. All this complexity adds up so we must spend time trying > to, for instance, minimize variation across platforms/OSes. Every line > of code and above all every conditional avoided in these files is a win > in the not-so-long term. That=E2=80=99d be my guideline as we merge it. = :-) > > Anyhow, thumbs up! I=E2=80=99m looking forward to merging it and having = it > built on CI (we could offload to a Debian VM!)! > > Ludo=E2=80=99. > > > > ------------------------------ > > Message: 4 > Date: Mon, 9 Mar 2020 10:48:53 -0700 > From: John Soo > To: Hartmut Goebel > Cc: Guix-devel > Subject: Re: rust (build system) deficits > Message-ID: > Content-Type: text/plain; charset=3Dutf-8 > > Hi Hartmut, > > > My point is less the work, but the non-transitive declarations: > nettle-sys is an multi-indirect input for sequioa-sqv, still the later > needs to specify these dependencies. > > Totally agree. I think everyone agreed, too. A few months ago we decided > that the package inputs should match as close to exactly the dependencies > listed in Cargo.toml so as to avoid specifying transitive dependencies in > the package definition. > > The importer does solve the transitive dependencies but there is a bug. > Version numbers of cargo dependencies are not used which can sometimes > cause the problem you describe. I really hope the fixes get merged soon > because it is a real pain. > > > This importer does not solve the declarations, and IMHO it should not > anyway - as the are dependencies of another packages, which might change > over time. > > I=E2=80=99m not sure I fully understand why the recursive importer should= not > solve the transitive dependencies. Could you elaborate further? > > If you are suggesting that guix refresh won=E2=80=99t pick up the changes= , then I > think agree with you. That I believe is an artifact of using arguments > rather than inputs to specify dependencies. > > Kindly, > > John > > > ------------------------------ > > Message: 5 > Date: Mon, 09 Mar 2020 19:11:34 +0100 > From: Ricardo Wurmus > To: guix-devel@gnu.org > Subject: Re: `guix build hello' now succeeds on the Hurd > Message-ID: <87o8t5o0tl.fsf@elephly.net> > Content-Type: text/plain; charset=3Dutf-8 > > > Ludovic Court=C3=A8s writes: > > > Anyhow, thumbs up! I=E2=80=99m looking forward to merging it and havin= g it > > built on CI (we could offload to a Debian VM!)! > > My sentiments exactly! I=E2=80=99d be happy to put up a bunch of Debian > GNU/Hurd VMs on the nodes behind ci.guix.gnu.org. > > -- > Ricardo > > > > ------------------------------ > > Message: 6 > Date: Mon, 9 Mar 2020 23:41:06 +0100 > From: Jan > To: Ricardo Wurmus > Cc: jbranso@dismail.de, guix-devel@gnu.org > Subject: Re: Thunar cannot launch gio-launch-desktop > Message-ID: <20200309234106.72ab8ce0@kompiuter> > Content-Type: text/plain; charset=3DUS-ASCII > > Hello, > > it seems the issue is not Thunar-specific as Diego pointed out > https://lists.gnu.org/archive/html/guix-patches/2020-03/msg00291.html > I'm closing the issue then. > Cool wrapper exercise though :) > > > Jan Wielkiewicz > > > > ------------------------------ > > Message: 7 > Date: Tue, 10 Mar 2020 10:32:23 +0800 (CST) > From: tumashu > To: guix > Subject: About guix mirror build script > Message-ID: <75a8a31c.2954.170c24939b1.Coremail.tumashu@163.com> > Content-Type: text/plain; charset=3DUTF-8 > > In China , guix substitute download seem to be tooooooooooooo slow, > nearly unuseable. > this week, I have found that NIX channels has been built China mirror > successful with the help of > 4 files: > > 1. https://github.com/tuna/tunasync-scripts/blob/master/nix.py > 2. https://github.com/tuna/tunasync-scripts/blob/master/nix-channels.py > 3. https://github.com/tuna/tunasync-scripts/blob/master/nixos-images.py > 4. > https://github.com/tuna/tunasync-scripts/blob/master/dockerfiles/nix-chan= nels/Dockerfile > > guix is very similar nix, so I want to know how to port 4 files to work > with guix? > is it possible add similar tools to guix? > > ------------------------------ > > Message: 8 > Date: Tue, 10 Mar 2020 08:48:05 +0100 > From: G=C3=A1bor Boskovits > To: Veera > Cc: Guix-devel > Subject: Re: Hi, I am R Veera Kumar - Current Outreachy selected > Applicant > Message-ID: > pi5t8KpjrrthUSGmbptwYAO47XgPHo8++z9XVqGvnVCxQ@mail.gmail.com> > Content-Type: text/plain; charset=3D"utf-8" > > Hello, > > Veera ezt =C3=ADrta (id=C5=91pont: 2020. m=C3=A1rc. 8., V= as 8:41): > > > On Sat, Mar 07, 2020 at 09:31:32PM +0100, G=C3=A1bor Boskovits wrote: > > > Hello Veera, > > > > > > Veera ezt =C3=ADrta (id=C5=91pont: 2020. m=C3=A1rc. 7= ., Szo 16:05): > > > > > > > Hi, > > > > > > > > I am R Veera Kumar from India. I have been selected as Outreachy > > applicant > > > > for May 2020 round. > > > > > > > Nice to see you around. > > > > > > > Thanks! > > > > > > > > > > > > > I have heard about Guix from news and have checked about it a littl= e > > > > before. > > > > I do not know Scheme/Guile Language. > > > > > > > This is not a problem. I believe it can be picked up easily. This won= 't > > be > > > the biggest burden in the project. > > > > > > > Oh well. > > > > > > > > > > How do I get started? > > > > What contributions can I make? > > > > > > > > > > To get started you should install guix. For this project it might mak= e > > > sense to install guix system also. You should also set up a guix > > > development environment, by checking out the source code, and buildin= g > > it. > > > > > > > I am installing GuixSD. > > > > How did the install go? > > Could you do it? Please feel free to reach out to me should you have any > questions. > > > > > > The usual first time contribution we recommend is to package an R > package > > > from cran that has all its dependencies in guix using the importer. > > > > > > You can also check out http://issues.guix.gnu.org/easy and work on > some > > > easy bugs. > > > > > > > Yes. I checked that. > > > > > Thanks for your interest. I hope that I could give you useful > > information. > > > > > > Best regards, > > > g_bor > > > > > > > Thanks for the welcome! > > > > Regards, > > Veera > > > Best regards, > G_bor > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > https://lists.gnu.org/archive/html/guix-devel/attachments/20200310/543887= ff/attachment.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Guix-devel mailing list > Guix-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/guix-devel > > > ------------------------------ > > End of Guix-devel Digest, Vol 81, Issue 26 > ****************************************** > --0000000000000132ac05a08835a9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

This = is Danjela, an outreachy applicant and a second year computer science stude= nt.
How is everyone doing?
I am trying to build the Guix Data Service proj c= t locally and it prompts me to install Guile-Squee. I tried to install Sque= e but I am running into other build problems when I run 'make'. App= arently it can't find libpq, which I checked and is downloaded.
Here is the error=C2=A0message:
```
ice-9/boo= t-9.scm:752:25: In procedure dispatch-exception:
In procedure dynamic-li= nk: file: "libpq", message: "file not found"
make[1]= : *** [Makefile:968: squee.go] Error 1
make[1]: Leaving directory '/= home/daniela/Downloads/guile-squee'
make: *** [Makefile:543: all-rec= ursive] Error 1

```
I really want to star= t making some meaningful contributions to the project but don't know wh= ere to start or what sources to use in order to do so.
I have to note that I am not using Gnu/Guix, but I do have the Guix pack= age manager installed as well as a Gnu/Linux distro. (OpenSuse Tumbleweed)<= /div>

Any suggestion or help w= ould be greatly appreciated by my side.

Please don't hesitate to ask me further details if the = description of the problem was to vague.

<= div dir=3D"auto">Thank you,
On Tue, Mar 10, 2020, 09:48 <guix-devel-request@gnu.org> w= rote:
Send Guix-devel mailing list = submissions to
=C2=A0 =C2=A0 =C2=A0 =C2=A0 guix-devel@gnu.org

To subscribe or unsubscribe via the World Wide Web, visit
=C2=A0 =C2=A0 =C2=A0 =C2=A0 https://list= s.gnu.org/mailman/listinfo/guix-devel
or, via email, send a message with subject or body 'help' to
=C2=A0 =C2=A0 =C2=A0 =C2=A0 guix-devel-request@gnu.org

You can reach the person managing the list at
=C2=A0 =C2=A0 =C2=A0 =C2=A0 guix-devel-owner@gnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Guix-devel digest..."


Today's Topics:

=C2=A0 =C2=A01. Re: kmscon not working on MacBook (Ludovic Court=C3=A8s) =C2=A0 =C2=A02. Re: [GSOC 2020] Guix Deploy, round 2! (Ludovic Court=C3=A8s= )
=C2=A0 =C2=A03. Re: `guix build hello' now succeeds on the Hurd (Ludovi= c Court=C3=A8s)
=C2=A0 =C2=A04. Re: rust (build system) deficits (John Soo)
=C2=A0 =C2=A05. Re: `guix build hello' now succeeds on the Hurd (Ricard= o Wurmus)
=C2=A0 =C2=A06. Re: Thunar cannot launch gio-launch-desktop (Jan)
=C2=A0 =C2=A07. About guix mirror build script (tumashu)
=C2=A0 =C2=A08. Re: Hi, I am R Veera Kumar - Current Outreachy selected
=C2=A0 =C2=A0 =C2=A0 Applicant (G=C3=A1bor Boskovits)


----------------------------------------------------------------------

Message: 1
Date: Mon, 09 Mar 2020 17:45:45 +0100
From: Ludovic Court=C3=A8s <ludo@gnu.org>
To: "pelzflorian \(Florian Pelz\)" <pelzflorian@pelzfl= orian.de>
Cc: jbranso@dismail.de, guix-devel@gnu.org, Mathieu Othacehe
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <m.othacehe@gmail.com>
Subject: Re: kmscon not working on MacBook
Message-ID: <87h7yx1npi.fsf@gnu.org>
Content-Type: text/plain; charset=3Dutf-8

Hi,

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.= de> skribis:

> On Sun, Mar 08, 2020 at 10:03:26PM +0100, Ludovic Court=C3=A8s wrote:<= br> >> In the past, Mathieu, Florian, and others looked at similar issues= on
>> some graphics boards.=C2=A0 Perhaps there=E2=80=99s something we c= an do here to
>> special-case this hardware?
>>
>> Ludo=E2=80=99.
>
> The affected hardware is diverse and I see no pattern.=C2=A0 I would f= avor
> restarting with mingetty.=C2=A0 However, the installer runs but just h= as no
> display, so I do not know how to detect it.
>
> My Macbook using =E2=80=9CNVIDIA Corporation MCP89 [GeForce 320M] (rev= a2)=E2=80=9D
> runs the installer just fine.
>
> A desktop PC using =E2=80=9CNVIDIA Corporation GM107 [GeForce GTX 750 = Ti] (rev
> a2)=E2=80=9D runs it just fine too.
>
> Another PC using =E2=80=9CAdvanced Micro Devices, Inc. [AMD/ATI] Oland= PRO
> [Radeon R7 240/340]=E2=80=9D runs the installer just fine (but not Xor= g X).
>
> A laptop Acer Aspire 5738 using =E2=80=9CAdvanced Micro Devices,
> Inc. [AMD/ATI] RV710/M92 [Mobility Radeon HD 4530/4570/545v]=E2=80=9D = *fails*
> with a black screen; manual installation is required (which I have not=
> tested but probably works).
>
> Another laptop Uniwill U50SI1 using =E2=80=9CSilicon Integrated System= s [SiS]
> 771/671 PCIE VGA Display Adapter (rev 10)=E2=80=9D *fails* the same wa= y.
> Manual install works fine.=C2=A0 Note that I cannot boot non-Windows > install images (Debian or Guix) on this machine, only via DVD, and
> Xorg X server only runs using uvesafb with a v86d helper.
>
> None of these installers flicker; the screen is black or it runs fine.=

For the cases where kmscon actually fails (exit with a non-zero code),
a solution would be the following: instead of running kmscon directly,
we run a wrapper around it that spawn mingetty (as you suggested) when
kmscon exits with non-zero.

(Perhaps the flickering Joshua mentioned was actually due to kmscon
being continuously restarted by shepherd?)

However, in cases where kmscon does *not* exits and simply produces a
black screen, I don=E2=80=99t see what can be done.=C2=A0 In the cases you = list
above, does kmscon simply sit there without exiting?

At any rate, thanks for the testing & detailed info!

Ludo=E2=80=99.



------------------------------

Message: 2
Date: Mon, 09 Mar 2020 17:49:55 +0100
From: Ludovic Court=C3=A8s <ludo@gnu.org>
To: G=C3=A1bor Boskovits <boskovits@gmail.com>
Cc: Christopher Lemmer Webber <cwebber@dustycloud.org>, Guix-= devel
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <guix-devel@gnu.org>
Subject: Re: [GSOC 2020] Guix Deploy, round 2!
Message-ID: <87d09l1nik.fsf@gnu.org>
Content-Type: text/plain; charset=3Dutf-8

Hi!

G=C3=A1bor Boskovits <boskovits@gmail.com> skribis:

> Ludovic Court=C3=A8s <ludo@gnu.org> ezt =C3=ADrta (id=C5=91pont: 2= 020. m=C3=A1rc. 8., Vas
> 23:10):

[...]

>> What I miss the most, especially on the build farm, is the ability= to
>> tell =E2=80=98guix deploy=E2=80=99 which services to restart upon = completion.
>> Currently, like =E2=80=98guix system reconfigure=E2=80=99, it cons= ervatively doesn=E2=80=99t
>> restart any running services.=C2=A0 However, often, you=E2=80=99d = like it to run
>> =E2=80=9Cherd restart X=E2=80=9D upon completion.
>>
>> Another thing discussed at the Guix Days, but more relevant to mor= e
>> advanced use cases, is the ability to define =E2=80=9Croles=E2=80= =9D: often you=E2=80=99d rather
>> want to think in terms of the services machines offer and abstract= over
>> the actual machines.
>>
>
> These are both great ideas. It would be also nice to access these in a=
> single machine setup. I don't know where to implement this, it mig= ht make
> sense to add these to the common part of deploy and reconfigure. IIRC = we
> also discussed the idea of a local deployer to be able handle the depl= oy
> node the same way as the rest.

If you talking about the first point above, I think it=E2=80=99s not that difficult.=C2=A0 As I see it, we could provide a command-line option and/or= a
<machine> option (?) specifying which services should be restarted ri= ght
away.=C2=A0 Restarting can be implemented as in (guix scripts system
reconfigure).

> Regarding the roles thing it would be nice to get a discussion going > regarding the interface, so that we have an idea how it should look > like. Wdyt?

Yes, that would be nice!=C2=A0 There were good ideas discussed at the Guix<= br> Days and knowledgeable people, but I can=E2=80=99t see the notes at
<https:/= /git.savannah.gnu.org/cgit/guix/maintenance.git/tree/doc/guix-days-2020= >
and I=E2=80=99m not sure who was involved.=C2=A0 There was probably Chris M= arusich,
who else?=C2=A0 People, please step up!=C2=A0 :-)

Ludo=E2=80=99.



------------------------------

Message: 3
Date: Mon, 09 Mar 2020 18:10:21 +0100
From: Ludovic Court=C3=A8s <ludo@gnu.org>
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: `guix build hello' now succeeds on the Hurd
Message-ID: <87imjdzc76.fsf@gnu.org>
Content-Type: text/plain; charset=3Dutf-8

Hello!

Jan Nieuwenhuizen <janneke@gnu.org> skribis:

> The situation on the Hurd starts to look pretty good
>
>=C2=A0 =C2=A0 =C2=A0janneke@debian:~/src/guix$ ./pre-inst-env guix buil= d hello --no-offload
>=C2=A0 =C2=A0 =C2=A0/gnu/store/a2sylb94rm1b6qxcp5mqvgiyx9szipz7-hello-2= .10
>=C2=A0 =C2=A0 =C2=A0janneke@debian:~/src/guix$ /gnu/store/a2sylb94rm1b6= qxcp5mqvgiyx9szipz7-hello-2.10/bin/hello
>=C2=A0 =C2=A0 =C2=A0Hello, world!
>
> \o/

Woohoo!=C2=A0 Congrats!

How do you run guix-daemon?=C2=A0 (In the future it=E2=80=99d be great to p= erhaps
implement Linux namespaces on the Hurd in libc.)

> It has some 20 odd patches.=C2=A0 I chose to create workarounds to &qu= ot;get early
> success" rather than doing everything right.=C2=A0 While I worked= on forward
> porting glibc patches, I only took the minimal set that I needed.=C2= =A0 Also,
> I reverted to make 4.1 instead of debugging why make 4.3 fails (for > now).

OK.

> Most controversial/problematic is the need to use fairly recent gnumac= h
> and hurd sources.

That=E2=80=99s OK IMO.

> What could be the next step?

Merging what you have=E2=80=94the earlier the better.=C2=A0 :-)

> Shall I push this to savannah as `wip-hurd' (possibly save wip-hur= d->
> `wip-hurd-old?);

Yup, sounds like a plan.

> I could also rewrite wip-hurd-bootstrap?

Dunno!

To me, the difficult bit with porting and bootstrapping work is making
sure that bootstrap.scm/commencement.scm/base.scm/cross-base.scm remain
maintainable.=C2=A0 All this complexity adds up so we must spend time tryin= g
to, for instance, minimize variation across platforms/OSes.=C2=A0 Every lin= e
of code and above all every conditional avoided in these files is a win
in the not-so-long term.=C2=A0 That=E2=80=99d be my guideline as we merge i= t.=C2=A0 :-)

Anyhow, thumbs up!=C2=A0 I=E2=80=99m looking forward to merging it and havi= ng it
built on CI (we could offload to a Debian VM!)!

Ludo=E2=80=99.



------------------------------

Message: 4
Date: Mon, 9 Mar 2020 10:48:53 -0700
From: John Soo <jsoo1@asu.edu>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: rust (build system) deficits
Message-ID: <F4680571-8618-4EA4-8B69-0987FE547= B60@asu.edu>
Content-Type: text/plain; charset=3Dutf-8

Hi Hartmut,

> My point is less the work, but the non-transitive declarations:
nettle-sys is an multi-indirect input for sequioa-sqv, still the later
needs to specify these dependencies.

Totally agree. I think everyone agreed, too.=C2=A0 A few months ago we deci= ded that the package inputs should match as close to exactly the dependenci= es listed in Cargo.toml so as to avoid specifying transitive dependencies i= n the package definition.

The importer does solve the transitive dependencies but there is a bug. Ver= sion numbers of cargo dependencies are not used which can sometimes cause t= he problem you describe. I really hope the fixes get merged soon because it= is a real pain.

> This importer does not solve the declarations, and IMHO it should not<= br> anyway - as the are dependencies of another packages, which might change ov= er time.

I=E2=80=99m not sure I fully understand why the recursive importer should n= ot solve the transitive dependencies. Could you elaborate further?

If you are suggesting that guix refresh won=E2=80=99t pick up the changes, = then I think agree with you. That I believe is an artifact of using argumen= ts rather than inputs to specify dependencies.

Kindly,

John


------------------------------

Message: 5
Date: Mon, 09 Mar 2020 19:11:34 +0100
From: Ricardo Wurmus <rekado@elephly.net>
To: guix-devel@gnu.org
Subject: Re: `guix build hello' now succeeds on the Hurd
Message-ID: <87o8t5o0tl.fsf@elephly.net>
Content-Type: text/plain; charset=3Dutf-8


Ludovic Court=C3=A8s <ludo@gnu.org> writes:

> Anyhow, thumbs up!=C2=A0 I=E2=80=99m looking forward to merging it and= having it
> built on CI (we could offload to a Debian VM!)!

My sentiments exactly!=C2=A0 I=E2=80=99d be happy to put up a bunch of Debi= an
GNU/Hurd VMs on the nodes behind ci.guix.gnu.org.

--
Ricardo



------------------------------

Message: 6
Date: Mon, 9 Mar 2020 23:41:06 +0100
From: Jan <tona_kosmicznego_smiecia@interia.pl><= br> To: Ricardo Wurmus <rekado@elephly.net>
Cc: jbranso@dismail.de, guix-devel@gnu.org
Subject: Re: Thunar cannot launch gio-launch-desktop
Message-ID: <20200309234106.72ab8ce0@kompiuter>
Content-Type: text/plain; charset=3DUS-ASCII

Hello,

it seems the issue is not Thunar-specific as Diego pointed out
https://lists.gnu.or= g/archive/html/guix-patches/2020-03/msg00291.html
I'm closing the issue then.
Cool wrapper exercise though :)


Jan Wielkiewicz



------------------------------

Message: 7
Date: Tue, 10 Mar 2020 10:32:23 +0800 (CST)
From: tumashu <tumashu@163.com>
To: guix <guix-devel@gnu.org>
Subject: About guix mirror build script
Message-ID: <75a8a31c.2954.170c24939b1.C= oremail.tumashu@163.com>
Content-Type: text/plain; charset=3DUTF-8

In China , guix=C2=A0 substitute=C2=A0=C2=A0download=C2=A0 seem to be=C2=A0= tooooooooooooo slow,=C2=A0 nearly unuseable.
this week, I have found that=C2=A0 NIX channels has been built China mirror= successful with the help of
4 files:

1. https://github.com/tuna/tun= async-scripts/blob/master/nix.py
2. https://github.com= /tuna/tunasync-scripts/blob/master/nix-channels.py
3. https://github.com= /tuna/tunasync-scripts/blob/master/nixos-images.py
4. https://github.com/tuna/tunasync-scripts/blob/master/dockerfiles/nix-chan= nels/Dockerfile

guix is very similar nix, so I want to know how to port 4 files to work wit= h guix?
is it possible add similar tools to guix?

------------------------------

Message: 8
Date: Tue, 10 Mar 2020 08:48:05 +0100
From: G=C3=A1bor Boskovits <boskovits@gmail.com>
To: Veera <vkor@vkten.in>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Hi, I am R Veera Kumar - Current Outreachy selected
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Applicant
Message-ID:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <CAE4v=3Dpi5t8KpjrrthUSGmbptwYAO47XgPHo8++z9XVqGvnVCxQ@mail.gmail.com= >
Content-Type: text/plain; charset=3D"utf-8"

Hello,

Veera <vkor@vkten.in> ezt =C3=ADrta (id=C5=91pont: 2020. m=C3=A1rc. 8.= , Vas 8:41):

> On Sat, Mar 07, 2020 at 09:31:32PM +0100, G=C3=A1bor Boskovits wrote:<= br> > > Hello Veera,
> >
> > Veera <vkor@vkten.in> ezt =C3=ADrta (id=C5=91pont: 2020. m= =C3=A1rc. 7., Szo 16:05):
> >
> > > Hi,
> > >
> > > I am R Veera Kumar from India. I have been selected as Outre= achy
> applicant
> > > for May 2020 round.
> > >
> > Nice to see you around.
> >
>
> Thanks!
>
> >
> > >
> > > I have heard about Guix from news and have checked about it = a little
> > > before.
> > > I do not know Scheme/Guile Language.
> > >
> > This is not a problem. I believe it can be picked up easily. This= won't
> be
> > the biggest burden in the project.
> >
>
> Oh well.
>
> > >
> > > How do I get started?
> > > What contributions can I make?
> > >
> >
> > To get started you should install guix. For this project it might= make
> > sense to install guix system also. You should also set up a guix<= br> > > development environment, by checking out the source code, and bui= lding
> it.
> >
>
> I am installing GuixSD.
>

How did the install go?

Could you do it? Please feel free to reach out to me should you have any questions.

>
> > The usual first time contribution we recommend is to package an R= package
> > from cran that has all its dependencies in guix using the importe= r.
> >
> > You can also check out http://issues.guix.gnu.or= g/easy and work on some
> > easy bugs.
> >
>
> Yes. I checked that.
>
> > Thanks for your interest. I hope that I could give you useful
> information.
> >
> > Best regards,
> > g_bor
> >
>
> Thanks for the welcome!
>
> Regards,
> Veera
>
Best regards,
G_bor

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnu.org/archive/html/guix-devel/attachments/20200= 310/543887ff/attachment.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Guix-devel mailing list
= Guix-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/g= uix-devel


------------------------------

End of Guix-devel Digest, Vol 81, Issue 26
******************************************
--0000000000000132ac05a08835a9--