IRC channel logs

2024-12-04.log

back to list of logs

<[>is ci.guix.gnu.org down or is there something wrong with my connection?
<mange>I can get to https://ci.guix.gnu.org/ without issue, but I haven't tried anything else.
<Kolev>Can Guix System deploy WordPress?
<mange>Yes, but no. :P Wordpress isn't packaged, so you can't run it directly, but you could run it in a container (see oci-container-service-type, for example) or even just directly using PHP and an appropriate webserver.
<apteryx>hm, my magit is still thoroughly confused w.r.t. current working directory in COMMIT_MSG buffers. Anyone else?
<apteryx>it hampers e.g. the use of the 'C' changelog key
<apteryx>and I need to revert tE COMMIT_MSG buffer on each commit after manually M-x cd, which is super annoying.
<xelxebar>This package of mine has been languishing for about a year: https://issues.guix.gnu.org/65935
<xelxebar>Originally got kicked as wontfix because the code style is very idiosyncratic.
<xelxebar>However, ludo unarchived it after some discussion. Looks like it languished and is marked as closed for some reason.
<freakingpenguin>If I want to delete a GC root manually (e.g. not --delete-generations), do I just need to delete the appropriate symlink in /var/guix/profiles/....?
<freakingpenguin>Or is there another preferred method for deleting particularly pesky roots?
<PotentialUser-25>I think it's 'guix gc <path>'
<PotentialUser-25>*'guix gc -D <path>'
<freakingpenguin>I thought guix gc operates on store-based paths, no?
<PotentialUser-25>oh yea
<PotentialUser-25>You can get the store path with 'realpath /var/guix/profiles/<profile>'. I think if you rm the symlink the garbage collector will clean it up anyway.
<freakingpenguin>Gotcha, thanks :). Context is there's a bunch of Cuirass-related roots from earlier testing that were never cleaned up. I wanted to make sure that wouldn't break the store or something.
<apteryx>anyone has a good python package to try building to stress the pyproject builder?
<apteryx>perhaps 'guix refresh's --select could be nice for 'guix build' too
<freakingpenguin>apteryx: Perhaps a good opportunity to test out the new guix build --dependents with a python-xyz package low in the dependency chart?
<apteryx>freakingpenguin: I actually want to build as many python packages as possible without the heavy external dependencies such as rust that creep in on e.g. python-biopython
<apteryx>so I'm looking for a python package having lots of dependencies
<apteryx>pure python ones ideally
<apteryx>ACTION remembers their 'guix-api-examples' scrapyard
<apteryx>this could be of use, though it pulls rust: https://git.sr.ht/~apteryx/guix-api-examples/tree/main/item/pyproject-packages-manifest.scm
<apteryx>according to https://git.sr.ht/~apteryx/guix-api-examples/tree/main/item/pyproject-packages-manifest.scm#L19, python-liana-py is the pyproject package with the largest number of transitive propagated dependencies
<apteryx>10 largest ones: https://paste.debian.net/1338126/
<apteryx>I don't understand the matchat line 615 in (guix scripts graph)
<apteryx>(match nodes (((= length-sorted (node1 _ ...)) (= length-sorted (node2 _ ...))) (display-path node1 node2 type)) (_ (leave (G_ "'--path' option requires exactly two nodes (given ~a)~%") (length nodes))))
<apteryx>looks like `=' in the ice-9 match pattern should be used to access a field, per info '(guile) Pattern Matching': (= field pat), "a ``field'' of an object''
<apteryx>but that's clearly not how it's used here
<apteryx>it seems to apply the length-sorted procedure to each node before binding the pattern variable
<mange>Yeah, I guess a "field" of the matched object means (field object).
<apteryx>sneek: later tell mange; ah, so it's 'abused' in some way :-). Could have been called more generally proc or something
<sneek>Got it.
<raghavgururajan>csantosb: Ah! I've to check. Haven't tried librewolf before. Also, I don't think its in Guix yet.
<Rutherther>Librewolf is in guix. Version 133
<apteryx>it's weird that something in (guix graph) depends on (guix scripts graphs)
<apteryx>e.g. the shortest-path api 3rd arg wants a node-type object, which is defined in the later module
<apteryx>correction, node-type is defined in (guix graph), but the usually used predefined objects in (guix scripts graphs), such as %package-node-type
<apteryx>to-hu: does thunderbird have an irc client?
<apteryx>continuing with Guix API experiments; I'm trying to filter out packages if they have a dependency somewhere in their graph; I've tried using 'shortest-path' from (guix graph), like here: https://git.sr.ht/~apteryx/guix-api-examples/tree/main/item/pyproject-packages-manifest.scm#L23, but for some reasons it doesn't give me the same result as the CLI 'guix graph --path'; gives me #f, while 'guix graph --path' produces:
<apteryx> https://paste.debian.net/1338141/
<apteryx>both should be using package node types, which is the default for 'guix graph', according to info '(guix) Invoking guix graph'
<rekado>ACTION reconfigures ci.guix.gnu.org
<sepeth>Hey trofi, you are right. I am looking into it now, do you know how can I reproduce? Thank you btw ^-^
<apteryx>oh. it was simply a question of which guix modules were used. in the ones from my system (/run/current-system/profile/share/guile/site/3.0), which are older, mesa didn't yet depend on rust.
<apteryx>the results are the same if using the same guix environment
<apteryx>so... the biggest pyproject package which does *not* depend on rust is...
<apteryx>,pp (take (largest-pyproject-packages #:unwanted-dependents (list rust)) 10) -> ((54 . "python-pytest-httpbin") ...)
<apteryx>full output: https://paste.debian.net/1338143/
<efraim>went through rust-crypto and updated all the packages and marked as deprecated all the crates which were yanked by their upstreams
<sepeth>trofi: I just saw your change after I sent mine. I think both looks fine, but my one while it is a lil' more verbose, it does a few things more, albeit it may not be that important: https://issues.guix.gnu.org/74686
<trofi>sepeth: yeah, your fix looks a lot better \o/. Thank you! I think it should be enough to use LDFLAGS=-Wl,--as-needed (but I did not try it on on toolchains that don't default to it)
<civodul>rekado: hello! there are new failures (nothing serious it seems): https://ci.guix.gnu.org/eval/1872410?status=newly-failed
<civodul>looks like we inadvertently introduced a world rebuild on aarch64-linux: https://ci.guix.gnu.org/eval/1872256?status=pending
<civodul>(50k scheduled builds, including coreutils, tar, etc.)
<civodul>janneke: any idea what could explain this in the x86_64-pc-gnu patch series?
<efraim>patching libc?
<homo>hi, I noticed inferno being rejected for licensing reason, as of commit 48f27553574bf59de5f101ae072f82f5f1993d6f the code is MIT licensed just like plan9 itself, I think the legal problem with fonts can be resolved by simply removing all fonts from inferno and instead using whatever fonts are available in guix
<z572>civodul: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=ec8a5ec15f8
<z572>It seems that this commit triggered the aarch64/riscv64 world rebuilding
<civodul>z572: good catch! could you submit a patch to fix that, Cc’ing janneke to make sure it doesn’t go against the intended change?
<civodul>would be great to fix it quickly (and we should then cancel those builds)
<civodul>homo: yes, probably
<civodul>would you like to resubmit it?
<z572>There are other places. I feel like I'm getting close.
<csantosb>Dummy question of the day, say I have an up to date guix image, and this channels.scm file:
<csantosb> https://paste.sr.ht/blob/347b054dbe6ee529ac2faa1a87509b275a55a81e
<csantosb>Is it a problem if I just `guix pull` ? I get an ugly warning about channel guix not being there ...
<Rutherther>Can you send it? What is your channels.scm file?
<Rutherther>Oh, you sent it previously. Yeah, you dont have guix there, you should add it, either all information explicitly or the list under %default-channels symbol
<civodul>csantosb: this channel file is incorrect because indeed, it lacks the ‘guix’ channel (the one that provides all of Guix)
<civodul>(i believe what you see is an error, not a warning)
<csantosb>Problem is I need to fetch guix-science, for example; I don't care fetching latest guix
<csantosb>Is it yet possible ?
<civodul>yes, just pin ‘guix’ to a specific commit in your channels file
<civodul>but it needs to be there
<civodul>now, in general channels need to be pulled together
<civodul>there’s no guarantee that Guix from last month works with Guix-Science with today; if it does, you won’t get substitutes
<csantosb>Ah, ok, I see (my problem is the guix image is updated daily ... I'll need to hack something)
<homo>civodul: maybe, first I need to figure out format of fonts if they need conversion
<homo>plan9port's fontsrv might give some tips
<z572>civodul, janneke: see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74689
<rekado>civodul: the new failure of r-matrix for i686 looks bad. I expect this to have cause lots of more i686 failures.
<csantosb>civodul: `guix pull -C channels1.scm -C channels2.scm` is unfourtunately not an option ...
<csantosb>... any simple way to concat two or more channel files ? 🤔
<Rutherther>Yeah, you have guile on your hands, so just load the other file
<civodul>csantosb: you can use ‘include’ or ‘load’ in Scheme to load another file
<civodul>(cons* (channel …) (load "other-channels.scm"))
<csantosb>Ah-ja. Thanks !
<civodul>z572: i canceled aarch64-linux builds of evaluation 1872256
<civodul>but there are still 20k scheduled
<civodul>powerpc64le
<civodul>so that one was affected too it seems
<z572>I think x86 is not affected because it bootstrap from full source
<z572> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/commencement.scm?h=master#n1915
<janneke>z572: ah, that already answers my question -- thanks
<olafes>I'm trying to understand how does guix build a system from an operating-system record. Can't figure out one thing: where exactly is guix the package manager added to the system?
<olafes>My guess was it's appended to the list of packages from operating-system but that's apparently not the case.
<rekado>olafes: probably via guix-service-type
<olafes>But that service is only about the daemon, or am I wrong?
<janneke>z572: waitaminute, i'm mailing yet another suggestion
<olafes>rekardo: okey, I see there's a guix-configuration record and guix-configuration-guix is the package. Thank you
<Rutherther>olafes guix service type extends profile service with guix
<olafes>I didn't know services could bring their own binaries and make them accessible to the user. But ofc it's done with profile-service-type extension
<olafes>Yeah exactly
<olafes>That's pretty obvious now that i think about it..
<z572>janneke: please see v2, more issues fixed.
<janneke>z572: thanks! one question left, the nesting/depth correction of patch #1
<janneke>z572: also, how do you test this world rebuild issue?
<janneke>ACTION naively tried: ./pre-inst-env guix build --target=aarch64-linux-gnu hello
<civodul>janneke: “-s aarch64-linux” (native build)
<janneke>but that seems unaffected on current master...=> /gnu/store/d51k9z35gcwrkl1a6q1cpl12fxhf92xz-hello-2.12.1
<janneke>ahh, thanks
<janneke>yeah, then i'm pretty sure my last suggestion is spot on, thanks civodul
<z572>janneke: fixed, and patches pushed,
<z572>ACTION go to sleep.
<janneke>z572: thank yout! _/|\_
<janneke>and goodnight
<civodul>z572, janneke: thanks!
<janneke>:)
<Kimapr>does anyone run a Synapse server on Guix System? i've noticed that the synapse package is quite outdated and there's no synapse-service-type
<Rutherther>does X-Debbugs-CC work for mailing lists like guix-devel@gnu.org? I am not sure if my e-mail went through to guix-devel. I am subscribed only to digests and I don't see it in the archive, so I guess not? 🤔
<raghavgururajan>Rutherther: Oh? That's nice.
<Rutherther>what is nice?
<raghavgururajan>Availability of librewolf in guix.
<Rutherther>oooh, yeah, I didn't manage to remember your name associated with that for a few hours :D
<Rutherther>we have ieure to thank for that :)
<[>what reason is there to use librewolf over icecat?
<Rutherther>I don't know much about icecat. So I know of just one reason: icecat uses ESR firefox, whereas librewolf tracks latest. So you get newer more modern features
<Kolev>Anybody run a WordPress site on a Guix System server?
<Kolev>I want to see one in action.
<Kimapr>Is the lua package (5.4) compiled without readline support? i attempted to use a REPL and got the ^[[A thing when pressing the arrow key
<Kimapr>the weird thing is that it does list readline as a dependency...
<Rutherther>and it even has a make flag specified, so it seems like the one packaging it had readline in mind... that's strange
<Kimapr>the package builds the `linux` make target, which is an alias for `linux-noreadline`...