SWH: fallback error

2021-09-08 Thread zimoun
Hi, In order to check if the SWH fallback works, time to time, I test it. I have a variant package of hello defined here: The source had been archived on SWH long time ago (via their Web submission or via “guix lint -c archival”). Using Guix 16e

Why linux-libre source code is not in sources.json

2021-09-08 Thread zimoun
Hi, On Thu, 09 Sep 2021 at 00:00, Ludovic Courtès wrote: > Now we have to see what’s available on berlin & co., and the extent to > which SWH can help with this situation. So far I’m not sure about the > tarball contents, but the repo seems to be archived: As we know, the issue with tarball on

Re: Rethinking propagated inputs?

2021-09-08 Thread zimoun
On Thu, 09 Sep 2021 at 00:12, Ludovic Courtès wrote: > Maxime Devos skribis: >> (define glib >> (package >> (name "glib") >> (outputs '("out" ; everything >> "bin" ; glib-mkenums ... depends on Python >> "build")) ; glib-2.0.pc >> (prop

Re: Rethinking propagated inputs?

2021-09-08 Thread Liliana Marie Prikler
Hi, Am Donnerstag, den 09.09.2021, 00:12 +0200 schrieb Ludovic Courtès: > Hi, > > Maxime Devos skribis: > > > For packages using pkg-config, I had the following scheme in mind: > > As a reminder to everyone, pkg-config is just one of the reasons for > propagating inputs, probably not the main

Re: Can we find a better idiom for unversioned packages?

2021-09-08 Thread Leo Famulari
I think Ludo meant difftastic: https://github.com/Wilfred/difftastic On Wed, Sep 8, 2021, at 18:21, Jonathan McHugh wrote: > Hi Ludo, > > Just checking: > > Is Diffstatic a real tool? It wasnt quite clear to me (and I fancy > finding a new diff tool). > > > Jonathan McHug

Transform options: check if applied or not

2021-09-08 Thread zimoun
Hi Ludo, This thread is initially about 2 issues: 1) apply a transformation to a non-existent package, 2) check if the transformation makes sense or not. Here, I will comment only about #2. On Wed, 08 Sep 2021 at 22:55, Ludovic Courtès wrote: >> The other issue is to list if the transformat

Re: Can we find a better idiom for unversioned packages?

2021-09-08 Thread Jonathan McHugh
Hi Ludo, Just checking: Is Diffstatic a real tool? It wasnt quite clear to me (and I fancy finding a new diff tool). Jonathan McHugh indieterminacy@libre.brussels September 8, 2021 11:31 PM, "Ludovic Courtès" wrote: > Hello! > > Sarah Morgensen skribis: > >> Currently

Re: "guix copy" cannot deal with > 32-bit integers

2021-09-08 Thread Ludovic Courtès
Hi, zimoun skribis: > $ guix copy --from=chouib > /gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10 > retrieving 1 store item from 'x.x.x.x'... > guix copy: error: implementation cannot deal with > 32-bit integers This is ‘guix copy’’s very own way of saying that the remote machine is lac

Re: Rethinking propagated inputs?

2021-09-08 Thread Ludovic Courtès
Hi, Maxime Devos skribis: > For packages using pkg-config, I had the following scheme in mind: As a reminder to everyone, pkg-config is just one of the reasons for propagating inputs, probably not the main one numerically speaking. > A package that has .pc files puts them into a separate "buil

Re: Linux-libre source code will be taken offline

2021-09-08 Thread Ludovic Courtès
Hi! Leo Famulari skribis: > According to the linux-libre team in the #gnu-linux-libre IRC channel on > Libera.chat, all releases of linux-libre before 4.4.282, 4.9.281, > 4.14.245, 4.19.205, 5.4.143, 5.10.61, and 5.13.13 will be deleted from > their servers, and their Git repo is also going to b

Re: Can we find a better idiom for unversioned packages?

2021-09-08 Thread Ludovic Courtès
Hello! Sarah Morgensen skribis: > Currently, there are about 1500 packages defined like this: > > (define-public sbcl-feeder > (let ((commit "b05f517d7729564575cc809e086c262646a94d34") > (revision "1")) > (package > [...]))) > > I feel like there are some issues with this idi

Re: Can we find a better idiom for unversioned packages?

2021-09-08 Thread Ludovic Courtès
Hi, Xinglu Chen skribis: > Well, seeing > > foo-1.0.0-1.2021-01-31 > > gives a user more useful information than something like > > foo-1.0.0-1.cabba9e > > With the former, I can quickly see that the version is from 2021-01-31, > whereas with the latter, I would have to either find the VCS r

Re: gcc: build all languages at once?

2021-09-08 Thread Ludovic Courtès
Hi Sarah, Sarah Morgensen skribis: > I notice that out of GCC's supported languages (ada, c, c++, d, fortran, > go, jit, lto, objc, obj-c++) we currently build all except ada, and five > of them (d, fortran, go, objc, and obj-c++) are built separately. Most > of GCC's build time is spent bootst

Re: delete-generations or --delete-generations?

2021-09-08 Thread Ludovic Courtès
Hi, zimoun skribis: > I speculate too. :-) I guess because the idea behind “guix system” is > one action at a time however “guix package” can compose actions in one > transaction (guix package --install=foo --remove=bar). Using the > default CLI parser (SRFI-37), it seems easier for composing t

Re: Transform options should error on nonexistant targets

2021-09-08 Thread Ludovic Courtès
Hello! zimoun skribis: > However, from my opinion, it is easy to check if the package-target is > a package or not, i.e. > > $ guix build foo --=package-target=new > guix build: error: package-target: unknown package > > For instance by using 'specification->package'; see attached patch. > B

Re: PATCH: clarify some of the Guix Linode recipe

2021-09-08 Thread Ludovic Courtès
Hi Grant, Grant Shoshin Shangreaux skribis: > Hello! I hope I'm not double posting, but I think the email I intended > to send before never made it out of my outbox. I recently set up GuixSD > on Linode following the cookbook. I hit a few snags along the way where > I either missed something or

Re: Batching world-rebuilding changes for the core-updates-frozen branch

2021-09-08 Thread Guillaume Le Vaillant
Maxim Cournoyer skribis: > Hello Guix! > > Since there's going to be at least this change [0] causing a world > rebuild of the core-updates-frozen branch, I'd like to know if there are > other world-rebuilding but low-risk changes you'd like to see integrated > into the branch. > > If you do, fee

Re: [fontconfig]: Default Font

2021-09-08 Thread Maxim Cournoyer
Hi Raghav, Raghav Gururajan writes: > Hello Guix! > > In the package-definition of fontconfig, the default font is currently > set to font-dejavu. I was wondering if we could change it to > font-gnu-freefont, for following reasons: > > [1] Provides multiple formats (ttf, otf and woff). > [2] Is

Batching world-rebuilding changes for the core-updates-frozen branch

2021-09-08 Thread Maxim Cournoyer
Hello Guix! Since there's going to be at least this change [0] causing a world rebuild of the core-updates-frozen branch, I'd like to know if there are other world-rebuilding but low-risk changes you'd like to see integrated into the branch. If you do, feel free to 'block' the 50358 issue with th

"guix copy" cannot deal with > 32-bit integers

2021-09-08 Thread zimoun
Hi, I do not understand why I get this: --8<---cut here---start->8--- $ ssh chouib -t guix build hello /gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10 Connection to x.x.x.x closed. $ guix copy --from=chouib /gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-he

Re: [core-updates-frozen] Bug in binutils 2.37

2021-09-08 Thread Guillaume Le Vaillant
Guillaume Le Vaillant skribis: > Leo Famulari skribis: > >> On Mon, Sep 06, 2021 at 03:39:52PM +, Guillaume Le Vaillant wrote: >>> There's a bug in binutils 1.37, which we are using on the >>> core-updates-frozen branch. >> >> 2.37, right? :) >> > > Indeed. :) > > >>> It's a file descriptor

Re: avoid wrapper scripts when possible

2021-09-08 Thread Maxime Devos
Attila Lendvai schreef op wo 08-09-2021 om 09:20 [+]: > thanks for the ideas Maxime! > > > > You could patch trezor-agent with something like > > > > Python syntax might be incorrect > > > > > > if sys.argv[0] == ".trezor-gpg' > > sys.argv[0] = "trezor-gpg"

Re: avoid wrapper scripts when possible

2021-09-08 Thread Attila Lendvai
thanks for the ideas Maxime! > You could patch trezor-agent with something like > > Python syntax might be incorrect > > > if sys.argv[0] == ".trezor-gpg' > sys.argv[0] = "trezor-gpg" > device_name = os.path.basename(sys.argv[0]).rsplit('-',1)[0] > > Would that wo

Re: Rethinking propagated inputs?

2021-09-08 Thread iskarian
Hi, September 8, 2021 12:18 AM, "Liliana Marie Prikler" wrote: > Hi, > > Am Dienstag, den 07.09.2021, 12:01 -0700 schrieb Sarah Morgensen: > >> [...] >> >> However, IMO it doesn't make sense to automatically install these in >> a profile when installing that package. If you're installing a >

Re: Rethinking propagated inputs?

2021-09-08 Thread Liliana Marie Prikler
Hi, Am Dienstag, den 07.09.2021, 12:01 -0700 schrieb Sarah Morgensen: > [...] > > However, IMO it doesn't make sense to automatically install these in > a profile when installing that package. If you're installing a > source-only package, you likely don't want all the transitive > dependencies a