IRC channel logs

2023-03-13.log

back to list of logs

<bjc>mine says "gluten free", which is a load off my mind, because i also don't have celiac
<NewUser-Basic-Qu>What is best way to add environemnt variable to a user account via guix?
<ellysone[m]>NewUser-Basic-Qu: guix home
<ellysone[m]> https://guix.gnu.org/manual/en/html_node/Essential-Home-Services.html
<fruit-loops>"Essential Home Services (GNU Guix Reference Manual)" https://guix.gnu.org/manual/en/html_node/Essential-Home-Services.html
<lrabbt>hey, yesterday I asked for help with `rbw` packaging, since 1.4.1 wasn't working, I built it, but the version itself is not working (arjan tried to warn me, but I was a little overwelmed by the whole build process and didn't get the memo)
<NewUser-Basic-Qu>tried simple-service example from https://guix.gnu.org/manual/en/html_node/Essential-Home-Services.html. Is it valid? Is there a pernethesis missing?
<fruit-loops>"Essential Home Services (GNU Guix Reference Manual)" https://guix.gnu.org/manual/en/html_node/Essential-Home-Services.html
<lrabbt>today I spent most of my day updating a LOT of rust packages and adding some new packages, so I can upgrade `rbw` to 1.6, but there are some packages that need rustc ^1.64 to build
<NewUser-Basic-Qu>asking because i am getting "error: home-environment-variables-service-type: unbound variable"
<lrabbt>I need some help, I'm stuck, since I don't know how to use a newer version of rust to build, or even if this is the correct way
<lrabbt>NewUser-Basic-Qu: this error appears when you don't have the variable bound, did you import `(gnu home services)`?
<lechner>NewUser-Basic-Qu / hi and welcome back! would you mind posting your config, please?
<NewUser-Basic-Qu>nah...have to test first. Included/defined home-environment in wrong file...let me first test by correct way
<NewUser-Basic-Qu>and  hi man...
<lechner>hello
<NewUser-Basic-Qu>hmmm...oki...the user defined in system-config gets the defined env-variables now but the user defined by the service which also has a home directory goes not
<apteryx>AwesomeAdam54321: only PGPORT, I think
<lechner>NewUser-Basic-Qu / I am not sure I totally follow
<NewUser-Basic-Qu>i have a user that comes with a service. service does not work as it should(throws pam-erros and others). When i switch to user via "su - <username>" and isse "env" i see that sone env variables are missing. this is only with the account that came with service. The user i defined manually in  system-configuration shows the global envs i set via
<NewUser-Basic-Qu>home-environments
<lechner>NewUser-Basic-Qu / Which service throws the PAM errors, pleasde?
<NewUser-Basic-Qu>greetd service
<NewUser-Basic-Qu>wlgreet to be more precise. greetd seems to work just fine with terminals
<lechner>NewUser-Basic-Qu / this works for me, but i still mostly use X because of EXWM https://codeberg.org/lechner/system-config/src/branch/history/services/greeter.scm#L6
<fruit-loops>"system-config/greeter.scm at history - system-config - Codeberg.org" https://codeberg.org/lechner/system-config/src/branch/history/services/greeter.scm#L6
<lechner>somebody here is sure to have experience with wlgreet, however
<lechner>jpoiret? ^
<lechner>sneek / later ask unmatched-paren / Hi, do you use wlgreet?
<sneek>Will do.
<lechner>sneek / botsnack
<sneek>:)
<lechner>NewUser-Basic-Qu / you are welcome to share the PAM errors
<NewUser-Basic-Qu> https://paste.debian.net/1273828/
<fruit-loops>"debian Pastezone" https://paste.debian.net/1273828
<lechner>Which wayland compositor do you use, please?
<lechner>is greetd setuid root?
<NewUser-Basic-Qu>sway...greetd was not setuid root... at least i have not set anything sounding like this in config.scm
<lechner>I have not examined it on my own equipment, but i am also not trying to run it by hand. Greetd may not be able to access /etc/shadow. Linux-PAM is a shared library. It can never elevate the calling process or grant greater Linux permissions
<NewUser-Basic-Qu>have to jump. already to late on my side
<lechner>i know. please get some rest
<apteryx>ACTION is exited to reading about some Hurd progresses
<apteryx>*excited *progress
<lechner>Hi, what is the correct mirror:// URL to download version 0.8.0 from here, please? https://sourceforge.net/projects/atftp/files/
<kimjetwav>ACTION is also excited hearing hurd news
<thanos_apollon>FYI, the new mpv version has some issues https://github.com/mpv-player/mpv/issues/11392 rolling back a previous version fixes it.
<fruit-loops>"EDL error when trying to play MP4 DASH videos from YouTube with yt-dlp · Issue #11392 · mpv-player/mpv · GitHub" https://github.com/mpv-player/mpv/issues/11392
<thanos_apollon>* rolling back to a previous
<jpoiret>lechner: i use agreety
<TristanCottam[m]>Hi everyone! I'm planning to run a home server on Guix System, and would like to separate services from the underlying structure (e.g.`file-systems`, `bootloader`, etc.) in my config. Is there an "obvious" way of doing this?
<ArneBab>Python setuptools_scm is *intentionally* breaking builds with timestamps before 1980: https://github.com/pypa/setuptools_scm/issues/464
<ArneBab>Needs to be patched to set strict_timestamps=False. https://stackoverflow.com/a/72391785
<fruit-loops>"Getting Error as "ValueError: Zip does not support timestamps before 1980" while installing Setuptools-scm Pypi · Issue #464 · pypa/setuptools_scm · GitHub" https://github.com/pypa/setuptools_scm/issues/464
<ArneBab>This breaks my core updates build of sssd.
<angry_vincent>ZFS root install is still a no go?
<arjan>TristanCottam[m]: you could define a "base" operating-system and inherit from that
<TristanCottam[m]>Aren't some fields I want to omit required?
<arjan>probably, but you could put in any value and override them when inheriting
<TristanCottam[m]>I'll fiddle around with that, thanks!
<TristanCottam[m]>On a side note, is there a standard way of automatically deploying a configuration hosted on a remote Git repo to a machine on push?
<msavoritias>probably something calling guix deploy https://guix.gnu.org/en/manual/devel/en/guix.html#Invoking-guix-deploy
<fruit-loops>"GNU Guix Reference Manual" https://guix.gnu.org/en/manual/devel/en/guix.html#Invoking-guix-deploy
<civodul>Hello Guix!
<cbaines>morning civodul :)
<civodul>o/
<civodul>i had some joyful Shepherd hack time yesterday
<janneke>ooh nice..., and a repl service
<cbaines>cool :)
<cbaines>I've been trying to get the qa-frontpage branch pages doing something useful
<cbaines>I think I'm slowly getting there https://qa.guix.gnu.org/branch/core-updates
<fruit-loops>"Branch core-updates Guix Quality Assurance" https://qa.guix.gnu.org/branch/core-updates
<TristanCottam[m]><msavoritias> "probably something calling..." <- I'd read about it, I'll look into it further. Thanks!
<rekado>ArneBab: we have always been setting the time stamps to early 1980s for a bunch of Python packages.
<rekado>ArneBab: if you search for 1980 in gnu/ you’ll find a couple of different examples
<rekado>(setting SOURCE_DATE_EPOCH, using “utime”, etc)
<ArneBab>regtur: thank you for the hint!
<janneke>hehe
<ArneBab>rekado: thank yo!
<ArneBab>regtur: sorry for the highlight, I failed at checking completion …
<evilsetg[m]>Is there a way to add modules to the grub bootloader configuration? I could not find anything for that in the manual.
<evilsetg[m]>I would like to insert the lvm module.
<evilsetg[m]>hmm booting on an lvm root seems to have worked without loading the module. Strange, last time I had to add 'insmod lvm' to be able to boot.
<gabber>is `apt purge guix` not supposed to delete /gnu/store? i am getting a "A previous Guix installation was found. Refusing to overwrite." when trying a binary install -- the debian package is sadly unable to `guix pull`
<civodul>gabber: soudns like a question for fellow Debian packagers :-)
<abrenon>hi guix
<civodul>hey abrenon!
<gabber>civodul: i'm just wondering whether we should treat this as a bug -- since `sudo apt install guix` is mentioned in the manual (section 2.1) and does not work(?) (currently?). i had the issue reported as #62055
<fruit-loops>"`guix pull` fails on freshly installed Guix on Debian aarch64" https://issues.guix.gnu.org/62055
<abrenon>after building a package with the haskell-build-system, guix build prints two lines (same package name, but one is suffixed with -static)
<abrenon>I thought these were different outputs, but displaying the package's information with guix search I see only one output
<gabber>but maybe `sudo apt install guix` only doesn't work for small-ish systems like the one i had it tested on
<abrenon>so I'm wondering what they are, and whether one in particular can be selected for the build (I often see bash snippets with the output of guix build expanded to access the directory containing the build products, and I wonder how that would break with my two-lines-of-output package)
<arjan>anyone else here using pounce as IRC bouncer on Guix System? I made a personal service definition that I could try to make more configurable for upstreaming
<jpoiret>abrenon: well, guix build definitely needs support for output selection
<civodul>arjan: i don't use it (yet), but a system service would be sweet!
<civodul>i think maintenance.git now has a system service for znc
<arjan>ah I will look at that for inspiration
<arjan>civodul: is that a separate channel?
<jpoiret>no, it's a separate repository at https://git.savannah.gnu.org/cgit/guix/maintenance.git
<fruit-loops>"guix/maintenance.git - Articles, talks, and documents for Guix maintainers" https://git.savannah.gnu.org/cgit/guix/maintenance.git
<abrenon>jpoiret: so those *are* outputs ? how come guix show only reports one output (all), and not, something like "regular", "static" ?
<jlicht>hey guix!
<abrenon>o/
<rekado>civodul: we’re no longer using znc for logging
<rekado>the service we have is for goggles-bot, which provides znc-style logs
<rekado>I guess there could be a simple guix home service for znc, though
<arjan>I noticed there are no existing services extending the certbot-service-type, is that policy or coincidence?
<gabber>is the go-to way for a fine-grained (e.g. per network interface) configuration of the network-manager-service by providing files under /etc/NetworkManager ? would you consider it an improvement to have an extra field in <network-manager-configuration> where one could provide file-like objects for further configuration?
<mirai>arjan: why/what are you trying to do?
<arjan>I defined a personal service for pounce that does the certbot extension, not sure if I should include the extension for upstreaming
<gabber>how can i find the last commit where there are substitutes for guix (or gcc toolchain) on aarch64?
<arjan>mirai: I defined a personal service for pounce that does the certbot extension, not sure if I should include the extension for upstreaming
<mirai>by extension you mean it requests a certificate?
<mirai>or is it a custom plugin / hooks
<arjan>yes, it automatically requests and configures certificate for pounce instances
<mirai>afaik there's no policy in place regarding certbot service
<mirai>but IMO that service needs a dust up
<arjan>I could at least make it optional in the configuration, but that might still create a dependency on the certbot service
<mirai>for instance, the email contact field should be in certificate-configuration; it's not obvious how to use certbot with other providers, iirc it only supports letsencrypt and you have to "know" which path the certificate is saved to
<mirai>this should be revamped to something more flexible
<mirai>etc....
<gabber>and isn't there the issue of having to obtain the certificates manually before being able to instantiate the service?
<mirai>arjan: my suggestion is to leave certbot out for now and focus with your service alone
<mirai>pass the certificates manually
<mirai>gabber: there is that one as well
<arjan>thank you for the advice
<mirai>gabber: but that can be easily solved by giving it some kind of shepherd service
<mirai>it can still use mcron behind the scenes
<mirai>the shepherd service simply runs the script if it needs to whilst providing a symbol that other services can depend on
<arjan>the cerbot extension does seem to work very well in my specific use case
<mirai>arjan: I suggested keeping certbot out of the equation simply because getting that service polished up will take more than a simple extension-point addition
<mirai>> yak shaving
<mirai>gabber: re NetworkManager might be "possible" but I don't recommend it
<mirai>you're asking for guix to synthesize a .nmconnection file
<mirai>that implies guix will place this file in the store (readable by everyone)
<mirai>and NetworkManager is fussy about the permissions of .nmconnection files
<civodul>hey! any further inputs on https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/tree/website/drafts/custom-toolchains-with-guix.md or should i go ahead and publish?
<fruit-loops>"custom-toolchains-with-guix.md\drafts\website - guix/guix-artwork.git - Artwork and web site of Guix" https://git.savannah.gnu.org/cgit/guix/guix-artwork.git/tree/website/drafts/custom-toolchains-with-guix.md
<civodul>discussion at https://issues.guix.gnu.org/61765
<fruit-loops>"custom toolchain blog post" https://issues.guix.gnu.org/61765
<gabber>mirai: i see, that kinda blows.
<mirai>you'll have to provision them out of band
<mirai>something like ansible perhaps
<gabber>do you know if NetworkManager fails (and produces error messages) or just silently doesn't work with my synthesized .nmconnection files?
<mirai>silently
<mirai>do note that these files can contain secrets
<gabber>aarghh, so i can skip trying to fix my current setup (which made me wonder why it didn't work)
<mirai>that's why NM is fussy with their permissions
<gabber>i get that. this is more or less ok since we have to (!) store wpa configuration in clear text on our machines anyways (and nobody cares). neither good practice nor an example for the youngens, but at least we get our machines to work
<civodul>ACTION surprised by the output of "guix graph --path guix clisp"
<civodul>how come Gnulib depends on clisp? :-)
<Guest74>My GNU Guix System takes an hour to shut down.  How can I debug this?
<civodul>"guix gc --references $(guix build gnulib)" is not empty
<civodul>Guest74: hi! could you check /var/log/messages, the lines that correspond to shutdown?
<civodul>it starts with "Exiting shepherd"
<Guest74>civodul https://paste.debian.net/1273883/
<fruit-loops>"debian Pastezone" https://paste.debian.net/1273883
<civodul>Guest74: this snippet only spans one second; is there anything useful below?
<civodul>i suspect little happens once syslogd has been shut down though
<Guest74>civodul No, that is the start of the system from today
<civodul>one thing that could take time is unmounting file systems in such, depending on the storage device, etc.
<civodul>it won't take an hour though
<Guest74>I am back in TTY and syslogd: exiting on signal 15 is the last message I see before it completely shut downs.  If I reboot it is the same.
<civodul>how long before syslogd shuts down and the system is powered off?
<Guest74>that happens comes instantly, after that I need to wait a long time
<Guest74>message"
<civodul>cbaines: hey! https://issues.guix.gnu.org/61945 wasn't picked up, probably because it's slightly above the 100-dependent threshold
<fruit-loops>"[PATCH] gnu: gnuplot: update to 5.4.6." https://issues.guix.gnu.org/61945
<civodul>do you have magic power to spawn it anyway?
<civodul>seems to me that it's the kind of thing that can go to master once we have a green light from qa.guix
<mirai>Guest74: did you mount any networked filesystem?
<Guest74>mirai no
<mirai>the system does eventually shutdown right?
<bost>Ppl! There are mistakes in the blog post https://guix.gnu.org/en/blog/2023/dissecting-guix-part-2-the-store-monad/ In the code block where the mlet* is mentioned for the 1st time, there should be (remove-b str1) and than at the bottom of the code block there should be (remove-a str2).
<Guest74>mirai yes
<mirai>bost: contact unmatched-paren
<Guest74>testing something brb
<bost>unmatched-paren: Hi. There are mistakes in the blog post https://guix.gnu.org/en/blog/2023/dissecting-guix-part-2-the-store-monad/ In the code block where the mlet* is mentioned for the 1st time, there should be (remove-b str1) and than at the bottom of the code block there should be (remove-a str2).
<cbaines>civodul, the threshold for builds is 600 per system currently, I think the issue with that issue is that the data service failed
<cbaines>I broke displaying those errors recently, which is unhelpful, but you see the problem if you click on "View Guix Data Service comparison"
<cbaines>I'll request that it's retried
<mirai>are these build machines using BTRFS?
<mirai>skimming doc/infra-handbook.org seems to suggest that btrfs is used somewhere
<cbaines>mirai, some are at least
<cbaines>but not all
<mirai>do they have btrfs-scrub running periodically?
<mirai>the infra doc contains a snippet for a mcron btrfs balance job
<mirai>but not scrub
<mirai>ideally there should be a scrub as well
<cbaines>maintenance.git has the configuration, and I don't see any scrub jobs
<cbaines>I've run some manually on the machines I manage, but you're right that it would be good to happen automatically
<mirai>I have a periodic fstrim service as well if you're using any solid state media
<apteryx>mirai: is this needed when using btrfs?
<apteryx>(the fstrim part)
<mirai>apteryx: no, its independent of fs type
<mirai>it's a nice to have for solid state drives though
<apteryx>I mean, Btrfs being SSD-aware, it should use fstrim itself Iguess?
<mirai>ah, I see what you mean
<lechner>mirai / may i have your Btrfs scrub service, please?
<mirai>there's 2 ways to issue trim
<lechner>the periodic way is superior, isn't it
<mirai>one is continuous and the other is periodic
<mirai>continuous is simply 'discard' fstab option
<mirai>periodic is well... a cron job
<mirai>lechner: allegedly yes, if you take arch wiki + redhats advice
<mirai>the (periodic) fstrim service is already in guix-patches
<mirai>I've yet to take a stab at btrfs-scrub
<apteryx>mirai: answers to my questions: https://btrfs.readthedocs.io/en/latest/Trim.html
<fruit-loops>"Trim/discard BTRFS documentation" https://btrfs.readthedocs.io/en/latest/Trim.html
<mirai>there's also the SCT error recovery control time for HDDs that can be configured with hdparm
<lechner>mirai / Hi, which command-line options do you usually use with scrub, please?
<lechner>arjan / Hi, I would also like to use pounce, but the last time I looked it seemed to recommend a whole ecosystem of tools, including one called 'litterbox'.
<mirai>possibly over-engineered heartbeat mcron job for shepherd services: https://paste.centos.org/view/f1116b0e
<fruit-loops>"Untitled - Pastebin Service" https://paste.centos.org/view/f1116b0e
<mirai>it's service specific at the moment but "can be generalized"
<mirai>though a generic heartbeat service using a daemon+sockets approach might be a better design choice
<lechner>mirai / Hi, that centos paste site does not know about guile's sexp comments with #;
<mirai>lechner: yeah, I've noticed
<lechner>how do you get the web response? that part is commented out
<mirai>keep reading :)
<lechner>by the way, have you ever had a scrub error?
<mirai>it uses curl
<mirai>lechner: I've seen some lines in dmesg before
<ArneBab>Why can it be so hard too get mesa 22 :-( — I’ve now been failing for three days to get that updated and core-updates looked so good, but had many failures, that occupied me for more than half that time.
<lechner>mirai / you shelled out to curl!
<lechner>ArneBab / Hi, what type of failures, please?
<mroh>The "team approval" discussion reminds me of gentoo, which ended up in a very selfish "this is _my_ pkg, dont touch it" kind of thinking...
<lechner>right
<mirai>no shell
<mirai>its system*
<rekado>PSA: tonight the SAN (storage backing ci.guix.gnu.org) will undergo minor maintenance
<ArneBab>lechner: I can give you a long list of patches for core-updates, but I failed at pyQt in the end
<lechner>mirai / sorry, verbal shorthand
<rekado>it may be necessary to reboot ci.guix.gnu.org, and it might be possible that the substitute server won’t be available for some time.
<rekado>could also be that there’ll be no impact at all
<lechner>mroh / i think it would be better to assign mundane jobs, like asking someone to keep the number of feature branches below thirty
<jonsger>fingers crossed rekado :)
<civodul>rekado: noted, thanks for letting us know!
<ArneBab>lechner: https://paste.debian.net/1273904/ — this will expire in 24h, please save it locally.
<fruit-loops>"debian Pastezone" https://paste.debian.net/1273904
<lechner>ArneBab / core-updates is such a monumental job, it would be better if we could cross-publish our substitutes instead of building everything locally
<ArneBab>lechner: it begins with mundane changes and gets kind of desperate in the end.
<ArneBab>yes …
<vagrantc>ACTION wonders the utility of a bot repeating a url giving no additional information :)
<ArneBab>lechner: can I somehow send you my created packages? I have around 50 hours of build-time lying on my disk …
<vagrantc>at least, nothing that couldn't be inferred from the url itself
<lechner>ArneBab / i'd be happy to host them for everyone if i can figure out the mechanics. i am kind of new though
<lechner>you put a lot of work in
<mirai>good research project
<mirai>you're going to have to deal with things like sybil attacks, etc.
<lechner>i still think we should break core-updates into smaller pieces
<lechner>mirai / from our contributors?
<mirai>if you sprinkle some SGX or TPM fairydust you might just be able to offload builds to everyone
<mirai>ps: the T can stand for Treacherous
<mirai>lechner: academic research project
<lechner>actually, my CPU is too old for both, i think
<ArneBab>lechner: sady the work I put in isn’t that high quality. I failed a lot and did not find out why those tests failed. Just wanted to get something working to I can investigate on the much faster new CPU whose on-board graphics need mesa-22 …
<arjan>lechner: pounce and related programs are very modular and most are optional, you can run multiple instances on separate ports without anything else or add calico to serve multiple instances on one port
<lechner>arjan / i know. it sounded like a zoo. maybe you an mirai can "herd" the cats
<lechner>ArneBab / you should leave that judgment to others. we just need the best of everyone's work. like nckx used to say, sometimes social solutions can help with a nearly intractable technical problem
<arjan>guix service configuration definitely helps to herd the modular components
<lechner>arjan / being new, i haven't seen your work, but mirai is truly fearless. maybe he will become a shepherd maintainer at some point, or at least our service specialist
<mirai>civodul: Is there some reason for AUX_FILES (gnu/packages/aux-files) to reside in Makefile.am rather than gnu/local.mk ?
<mroh>lechner: I think, decentralized substitution with ipfs and/or eris (#52555) would help here, if people would try to build this branches (which most don't). But yeah, the brave soul(s) that merge core-updates needs a big machine for sure ;) idk, I have the impression that merging the 2 branches regulary burns people to much...
<fruit-loops>"[RFC PATCH 0/3] Decentralized substitute distribution with ERIS" https://issues.guix.gnu.org/52555
<lechner>mroh / let's break core-updates into ten pieces
<mroh>Let's get rid of it. We have an unbreakable system, rollback and time travel is easy for us. So why not just master, break it early and often.
<msavoritias>well it is slightly ironic how it becomes this large
<pjals89>Hi! I've been trying for ages to get a cgit-service-type working with nginx. The relevant portion of the configuration can be found at https://paste.centos.org/view/dc22e07c.
<lechner>mroh / we are getting rid of it, i think, via feature branches. my comment was solely about the current merge effort
<fruit-loops>"Untitled - Pastebin Service" https://paste.centos.org/view/dc22e07c
<msavoritias>considering we can rollback and timetravel
<pjals89>It seems like NGINX is not forwarding the request to fcgiwrap...
<mirai>the cpucores available aren't infinite :)
<ArneBab>lechner: thank you
<ArneBab>mroh: because once some packages do not come as substitutes, and these packages contain ghc (Haskell Compiler) or rustc, failed builds can take days.
<ArneBab>and time travel in a live system can lead to crashes of the graphical environment (I broke mine when trying to just get an older icecat version)
<ArneBab>it’s complexity in service dependencies.
<ArneBab>it would be nice if we could have a CI that gates a stable branch, building everything and only merging there when all package combinations build.
<lechner>Is there an estimate for the space required to host all the builds for core-updates to date?
<ArneBab>that’s a rather hard problem to solve, though, because we effectively get head-of-line blocking or re-ordering of patches.
<ArneBab>lechner: I only have an upper limit: less than 900GiB (that’s what my root consumes right now)
<lechner>mirai / you mean there isn't enough CPU power on the substitute servers to build ten partial iterations of core-updates?
<lechner>ArneBab / i have 1.7 tb unallocated RAID space, a static IP and no ISP traffic limit, but only an 20 MB/sec residential connection
<lechner>i still think it's better to break up core-updates, though
<ArneBab>I don’t have a strong opinion on the right path forward, only that the cost should be calculated to avoid making it unviable.
<lechner>let's take the 25% that build right now and merge them. we'll do it again in two months
<ArneBab>can you take it apart that way?
<ArneBab>I got everything building (with broken tests, usually "this port is occupied and accessing it should throw an error") except for PyQt
<lechner>well, i would start with the early Git history up to the first merge commit
<lechner>rebase onto master and postpone everything that is doubtful
<ArneBab>(sidenote: I’m sorry that I sound annoyed right now. I love the possibilities Guix gives me, it’s just that I’m failing to get it to build what I need to get the 5x faster CPU in)
<lechner>ArneBab / what are you talking about?
<ArneBab>The Ryzen CPUs come with an onboard graphics card that only works with mesa 22+ — I just need that to get out of a lot of pain
<civodul>ArneBab: are you aware of the work on https://qa.guix.gnu.org? sounds similar to what you describe
<fruit-loops>"Guix Quality Assurance" https://qa.guix.gnu.org
<ArneBab>I bought that ~4 months ago and have been trying to get my software updated since then (not continuously — lots of other stuff intervening, but it actually starts to hurt at work)
<civodul>it's still a WIP, but going in the right direction
<ArneBab>civodul: not yet, no — I saw that you started to do more CI work on Guile (which is great!)
<civodul>qa.guix is about automated testing of patches sent to guix-patches@gnu.org
<ArneBab>civodul: can I donate some build capacity to qa.guix? (run it locally and report the results somehow?)
<ArneBab>yikes, I need to decrease my workers: "execv: Too many open files in system"
<civodul>ArneBab: you can't, but you could get involved to make sure the project allocates resources for that
<civodul>ArneBab: which packages were lacking substitutes for you?
<ArneBab>I don’t have as much freely allocatable time as I’d like for that …
<ArneBab>civodul: I don’t remember the specifics — it’s gotten better since I switched to only use package -m <manifest>.
<pjals89>My suspicions have been confirmed, doing https://gt.tilambda.zone/lib/cgit/cgit.cgi downloads the cgit binary instead of showing me a project list...
<ArneBab>civodul: I often saw rustc being compiled again and again.
<pjals89>Does anyone actually use cgit-service-type?
<ArneBab>the core-updates build was the first time in a while that I saw builds of ghc
<lechner>civodul / i loved the idea of renaming "services" to "sheep". it would be unique, consistent and would remind me a lot less of systemd
<civodul>ACTION cancels pending builds of https://ci.guix.gnu.org/eval/283329
<fruit-loops>"Evaluation" https://ci.guix.gnu.org/eval/283329
<mirai>lechner: crashed/malformed services = black sheep?
<lechner>mirai / if the expert says so, so be it!
<lechner>we are really doing something great. why not have some fun along the way?
<ArneBab>:-)
<mirai>so the fibers in guile-fibers turned out to be wool
<ArneBab>lechner: maybe a custom LANG=… setting?
<civodul>ArneBab: rustc is rarely recompiled on master, if ever
<ArneBab>can it happen to be garbage collected such that old versions are not available or such?
<civodul>perhaps a substitute configuration issue?
<civodul>hmm no
<ArneBab>I don’t know — usually it works, but when it does not, rust hurts.
<ArneBab>I usually run with --fallback
<civodul>you mentioned core-updates: core-updates has very few (sometimes zero) substitutes
<civodul>you're not supposed to use that :-)
<civodul>but on master, rust is not a problem AFAIK
<ArneBab>usually I do: guix pull && guix package --with-input=emacs-minimal=emacs --fallback -k -m ~/fluss-guix.manifest
<ArneBab>(and I found lately that --with-input doesn’t work with manifests, so this did nothing …)
<civodul>right :-)
<ArneBab>why should I not use --fallback? Wouldn’t that then cause the update to fail?
<civodul>dunno, i never use --fallback these days
<civodul>you can use it, it doesn't hurt, but i'm surprised there's a need for it
<ArneBab>For some software I need pretty complex guix shell settings
<ArneBab>maybe --fallback causes local builds on network errors?
<civodul>if your manifest includes package rewriting, that might be why you're building Rust
<civodul>it really depends on what you're doing
<ArneBab>no package rewriting, no
<civodul>mirai, lechner: sheep, wool--we're on to something!
<ArneBab>just around 630 packages in the manifest
<civodul>next time if you can pinpoint which packages are missing, we can investigate
<civodul>also, you can try "guix weather -m manifest.scm"
<vagrantc>ACTION wonders about the logic of starting and stopping sheep
<civodul>vagrantc: oh, you have a point
<civodul>one could walk a sheep maybe?
<vagrantc>herd status sheep ... grazing
<vagrantc>corralling?
<lechner>mirai / your enthusiasm is critical, because you might become the sheep shearer!
<civodul>uh :-)
<lechner>mirai / service bugs might become lice or mites
<ArneBab>sneek: later tell civodul: thank you! I0l try.
<sneek>Got it.
<ArneBab>sneek: later tell civodul: I’ll look at the weather once I have my new CPU in the system. Then I can afford some processing power.
<sneek>Will do.
<vagrantc>so ... odd problem. recently set up a new laptop (not running guix) and using gpg-agent as an ssh-agent ... works fine. for anything but machines running guix system.
<vagrantc>for some reason the ssh daemon running on guix system does not accept the key i am presenting
<lechner>do have a log?
<lechner>you
<lechner>i think it accepts multiple -vvv
<vagrantc>suppose that is a good starting point :)
<Guest74>Is it not possible to do something like "guix pull guix"?  Basically just fetching from one specific channel
<ArneBab>sneek: later tell civodul: oh, just saw that that’s not what weather does (that was challenge). https://ci.guix.gnu.org ☀ (1.028 von 1.029); https://bordeaux.guix.gnu.org ☀ (1.022 von 1.029)
<sneek>Okay.
<lechner>i think i have also seen that, but by now all my systems are Guix
<fruit-loops>"Cuirass" https://ci.guix.gnu.org
<fruit-loops>"bordeaux.guix.gnu.org" https://bordeaux.guix.gnu.org
<vagrantc>main issue seems to be ... sign_and_send_pubkey: signing failed for ED25519 "cardno:FFFE 87023833" from agent: agent refused operation
<ArneBab>missing on ci: opencv, missing on bordeaux: qemu, virt-manager, fastboot, clojure, adb.
<vagrantc>which oddly suggests to me that is the client-side issue ... but ... this exact same setup works with non-guix servers
<lechner>Guix may be along in preferring Ed25519
<ArneBab>but compared to master tehre are a lot more …
<lechner>ArneBab / Can you use a discrete graphics card for the time being?
<vagrantc>lechner: may be along ?
<lechner>aline
<lechner>alone
<ArneBab>lechner: I don’t want to … the CPU already consumes huge amounts of power
<lechner>sorry, i have big hands
<lechner>ArneBab / can you throttle or turn off cores when not needed? like a mercedes 12 cylinder?
<ArneBab>sneek: later tell civodul: I found the issue: I have some custom-created packages which I just add to a local guix checkout. An compared to master there are around 300 missing packages.
<sneek>Okay.
<ArneBab>lechner: that’s what I plan to do. I usually restrict my CPU to go down to 1.5GHz per core while I’m not at work.
<lechner>you use a water cooler? your computer can make coffee!
<vagrantc>lechner: been using ed25519 for years on all my machines ...
<lechner>vagrantc / that's what you think? did you delete the old RSA keys?
<lechner>or maybe it's the other way? maybe Guix is behind?
<ArneBab>lechner: no, I’ll build in a a football-sized almost-passive CPU cooler.
<vagrantc>lechner: i have had machines which have had no other way to authenticate but this same ed25519 key
<ArneBab>lechner: since the CPU+ram+disks will be the only parts that create serious heat, I hope this will work well.
<vagrantc>ACTION has a hunch something cached a failed passphrase or something
<lechner>ArneBab / which Ryzen?
<ArneBab>lechner: Ryzen 9 7950X
<lechner>Hi, isn't the Debian paste service supposed to give me a download or a "raw" option?
<ArneBab> https://paste.debian.net/download/1273904 — at the bottom.
<lechner>ArneBab / thanks! i do not see that link in my FF
<ArneBab>that’s strange … I saw it at the bottom of the paste page.
<lechner>i also do not see it in EWW https://paste.debian.net/1273904/
<fruit-loops>"debian Pastezone" https://paste.debian.net/1273904
<vagrantc>hrm. works fine with an ed25519 key not on my gnuk, so not ed25519 specific.
<lechner>vagrantc / it could be a sign from above to switch over that one last client to Guix also
<lechner>ArneBab / you did not wait long. that chip spent more time in your drawer than on the Amazon shelf
<ArneBab>lechner: yes :-)
<vagrantc>lechner: one last? hah. :P
<ArneBab>lechner: I saw that CPU and knew that it’s what I needed.
<lechner>ArneBab / i was love a first sight. time to plug it in
<ArneBab>(my current CPU is almost 6 years old) ☺
<lechner>at
<lechner>mine, eight
<lechner>ACTION sees a new substitute server being built in ArneBab's living room with that old CPU
<ArneBab>nay, that CPU will go to my kids :-)
<vagrantc>ACTION wonders what sort of kids take CPU modules
<ArneBab>vagrantc: it comes with installation-service :-)
<lfam>Howdy
<lechner>lfam / Hi, how may I reconfigure/deploy my system with Guix from Git using the non-guix channel, please?
<lechner>i use the version of Gocryptfs from wip-go-updates locally, but cannot deploy using that branch
<lechner> https://issues.guix.gnu.org/61989#20
<fruit-loops>"[PATCH 00/11] Adding Gocryptfs (feature branch)" https://issues.guix.gnu.org/61989#20
<lechner>i'm not promoting any other channels. this is a general feature question for Guix, i think
<lfam>Are you asking how to use a channel?
<lfam>Using a channel and using a Git branch are different things
<lfam>To use the wip-go-updates branch, I'd use "time-machine": `guix time-machine --branch=wip-go-updates -- system reconfigure --save-provenance /etc/config.scm`
<lfam>I guess you can do the same for deploy
<lfam>To use a channel (which won't help you use wip-go-update), you follow these instructions: https://guix.gnu.org/manual/en/html_node/Specifying-Additional-Channels.html#Specifying-Additional-Channels
<fruit-loops>"Specifying Additional Channels (GNU Guix Reference Manual)" https://guix.gnu.org/manual/en/html_node/Specifying-Additional-Channels.html#Specifying-Additional-Channels
<lechner>lfam / in ./pre-inst-env i have this problem http://paste.debian.net/1273915
<fruit-loops>"debian Pastezone" http://paste.debian.net/1273915
<lechner>but i will try time-machine
<lfam>Hm, I'm not sure about mixing pre-inst-env and channels
<lfam>I mean, I just haven't tried it and don't know how to do it. I'm sure it's possible
<lechner>apteryx
<lfam>pre-inst-env is convenient but time-machine is the "real way" to test things
<lechner>apteryx said there is a way (maybe -L ?) but it requires a local checkout of that repo
<lfam>pre-inst-env can hide a variety of problems. time-machine is a complete test
<lechner>lfam / thanks for that pointer!
<lfam>time-machine does `guix pull`, and that's a part of normal Guix operation, so it's good to test it
<lfam>pre-inst-env is just a convenient tool for developing
<lfam>But kinda hacky
<lechner>lfam / is that the right command? http://paste.debian.net/1273916
<fruit-loops>"debian Pastezone" http://paste.debian.net/1273916
<jpoiret>you need to add -- between the arguments to time-machine and the command
<lfam>Don't miss the double hyphen that separates the `time-machine` part from the `deploy` part
<lfam>It's the old-school Unix style
<lechner>okay, that's running. i'll know in about ten minutes
<lechner>lfam / thanks!
<lfam>Also used in `guix environment` and `guix shell`
<lechner>yeah, i know the syntax. just had never used time-machine before
<lfam>Okay :)
<lechner>thanks!\
<lfam>It's like, "run `guix pull` based on this code, then do the specified command based on that code"
<jpoiret>time-machine is to pull what shell is to install :)
<lfam>Yes!
<lfam>Except that time-machine does make an entry in your current-guix profile history
<lfam>Later, when you get back on the master branch, you'll probably get a warning about downgrading Guix
<lfam>So, it's a bit stickier than `guix shell`
<jpoiret>does it?
<lechner>ACTION has ignored all warnings since Y2000
<jpoiret>I've never had any downgrade issues with pull, if there are i'd say it's a bug to be fixed
<lfam>I think if you use time-machine to test some branch, then later those commits land on master by cherry-picking or similar, then you pull from master, Guix will complain. The Git history of the provenance of the profile generations will not be linear
<lechner>jpoiret / maybe related to the daemon?
<lfam>It's something that only developers who are testing things will run into
<lfam>And hard to avoid while still satisfying the goal that "downgrades don't happen silently"
<lechner>lfam / well http://paste.debian.net/1273918
<fruit-loops>"debian Pastezone" http://paste.debian.net/1273918
<lfam>Exactly
<lfam>You'll have to pass "--allow-downgrades" to whichever command errored out
<lfam>Deploy
<jpoiret>ahhh, right that's for provenance
<lfam>And later, when you get back on to master, same story
<lfam>If one is worried in this circumstance, read the Git history and decide if one considers it safe or not
<lechner>guix deploy: error: allow-downgrades: unrecognized option
<lfam>Huh
<lfam>I've never used deploy. Any deploy experts around?
<lfam>Looks like there is some kind of mechanism to allow downgrades within `guix deploy`: https://guix.gnu.org/manual/en/html_node/Invoking-guix-deploy.html
<fruit-loops>"Invoking guix deploy (GNU Guix Reference Manual)" https://guix.gnu.org/manual/en/html_node/Invoking-guix-deploy.html
<ArneBab>A large part of the build time is being consumed by tests … could we separate those phases so a package whose tests succeeded once does not have to be rebuild just because its package got garbage collected?
<ArneBab>(⇒ keep the test result (boolean) longer than the build result)
<lfam>Would the tests package somehow be protected from garbage collection?
<lechner>lfam / don't wait for Gocryptfs though, please. it's a new package so i have a working local version
<ArneBab>lfam: that’s what I thought — not even a real tests package, just a boolean that says whether the tests for a given hash succeeded.
<lfam>I see ArneBab. That's an interesting idea
<lfam>I've heard similar ideas before, but this is more compelling
<lfam>It does raise some questions about the functional model. Or rather, forces the idea of the model :) As you may know, some test suites are flaky, but we have never had a consensus about how to handle those
<lfam>And there are things not accounted for by the model, like the filesystem on which the builds are performed, kernel versions, etc
<lfam>Please suggest it on guix-devel
<lfam>lechner: What's the primary goal of the branch? In terms of Go-language packages, how do you measure success?
<lechner>lfam / well, i only tried to add Gocryptfs but some of those Golang packages were ancient. i'm not sure how to answer. we ought to look at the most commonly used Golang packages, I think. We don't even have Hugo though, I don't think
<lfam>Okay, so it's mainly about Gocryptfs. And that's working for you based on the branch?
<lechner>lfam / can you rebase wip-go-updates to get around my downgrade problem?
<lechner>lfam / no, i do not wish to appear to focused on myself
<lechner>what are the popular packages based on Golang in Guix?
<lfam>I understand. I'm just looking for a basic "does it work at all?" heuristic that you can test with
<lfam>Good question, I don't know. I use Syncthing
<lechner>if you rebase wip-go-updates onto the current master, i think my deploy will work
<lechner>or on savannah, delete branch and push again
<lfam>I've rebased and pushed the branch, for your convenience. In general, it's best if you can use allow-downgrades so you can be a little more self-sufficient in testing
<lfam>At least until we develop a better worfklow for feature branches
<lfam>I have this command in my shell history for testing Go compiler updates, but at this point it's quite obsolete: https://paste.debian.net/1273920/
<fruit-loops>"debian Pastezone" https://paste.debian.net/1273920
<lfam>It used to represent pretty much every Go package
<lfam>I just added gocryptfs to it
<lechner>i think your initiative toward feature branches is urgently needed by the way. i am a haskell person mysefl
<lfam>We could also use fold-packages to select every package that uses go-build-system. That's the "best way"
<lfam>Thanks, I agree. The workflow needs improvement but we will improve it
<lechner>here is if you would like to create another feature branch https://lists.gnu.org/archive/html/guix-devel/2023-03/msg00164.html
<fruit-loops>"gnu: inetutils: Update to 2.4." https://lists.gnu.org/archive/html/guix-devel/2023-03/msg00164.html
<lfam>A manifest for all go-build-system packages: https://paste.debian.net/1273922/
<fruit-loops>"debian Pastezone" https://paste.debian.net/1273922
<lechner>lfam / i would also like to propose you as the "feature branch manager". your job would be to keep the number of feature branches on savannah under thirty
<lfam>Err, no. Just based on package names. That can be adjusted
<lfam>Heh, I don't have the time in the coming months for that, unfortunately
<lfam>Winter is my "slow season" at work
<lechner>i actually envision a whole number of mundane jobs to solve our contribution crisis
<lfam>It's about to be busy season
<lechner>you must be a baseball player
<lfam>I'll write a manifest to select go-build-system packages
<lfam>Video engineer for live events.
<lfam>It would be nice to work at baseball games. That would be a career advancement for me
<lechner>we could have entire classes of contributors. many people could do nothing but accept patches with new version hashes
<lfam>My hope is that qa.guix.gnu.org can increase its capacity enough that interested contributors can largely self-manage their work until it comes time to push. There wouldn't be a difference between "branches" and "patch series", in practice
<lfam>For feature branches, that is
<lechner>from what i have seen, the social realities are in the way
<lfam>Of course, it could get out of control if 50 people all send different patches upgrading core packages. Even the Berlin build farm has its limits
<lfam>I'm curious, can you give more detail?
<lechner>we should do it like walmart, or the post office. people do one thing, and one thing only until they grow
<lechner>i would vastly expand commit access but give people detailed instructions. like the military. everyone get a gun. you misbehave you go to the brig
<lechner>we value dominion over competency, i think
<lechner>when people are honest about what they know, there is no problem i don't think
<lfam>I'd like to expand commit access, but we need more detailed access controls. It's not okay to give access to the master branch without developing some trust
<lfam>Even the military is like that. You don't get your gun just by showing up to the recruiting office
<lfam>And also, commit access to the master branch is like having access to the nuclear codes. Not like having a gun
<lfam>It affects all Guix users
<vagrantc>i have wondered about splitting commit access vs. merge access ... e.g. "anyone" can commit to a branch or set of branches, and then someone else actually merges the branch
<lechner>we can assign another person to merge all pending commits into master in accordance with what people should be doing
<lfam>But I agree, there's way too much friction now. The social realities are largely informed / determined by the technical limitations of the infrastructure and, over time, they have reinforced themselves. As we improve our infrastrucure, we'll have to deliberately rethink our ideas about what's okay
<lechner>we have too few checks and balances, but the envisioned solutions rely on intelligence rather than duty
<lechner>and intelligence always speaks up
<lechner>which means nothing gets done
<lfam>You're not wrong, but it's not the complete picture.
<ArneBab>lfam: I now wrote an email about caching test results.
<lfam>People involved in Guix have a variety of different goals and preferences, and it's really hard to achieve consensus
<lfam>Leadership is critical for building consensus, but has a limited capacity to do so.
<lfam>Like, people get tired
<lfam>But, things do change, necessary tooling does get built and improved. The status quo is always unsatisfying somehow, but it's important to remember that things are better than in the past
<ArneBab>lechner: there’s not only duty, but also intrinsic motivation. That’s part of what drives people to push things forward.
<lechner>ACTION thought lfam's advance toward feature branches was such a daring dash of leadership. so was the git update
<lfam>Ultimately, some patience is required. Wisdom is knowing how much :)
<lfam>Based on our experiment with the Go branch, I think we need to look at using qa.guix.gnu.org instead. The Cuirass results are too hard to use effectively, IMO
<ArneBab>Maybe it could help to define hard requirements: As long as those are met, there’s room for experimentation. Something like the "we don’t break userspace" by the kernel.
<lechner>lfam / https://commons.wikimedia.org/wiki/File:Eug%C3%A8ne_Delacroix_-_Le_28_Juillet._La_Libert%C3%A9_guidant_le_peuple.jpg
<fruit-loops>"File:Eugène Delacroix - Le 28 Juillet. La Liberté guidant le peuple.jpg - Wikimedia Commons" https://commons.wikimedia.org/wiki/File:Eug%C3%A8ne_Delacroix_-_Le_28_Juillet._La_Libert%C3%A9_guidant_le_peuple.jpg
<lfam>Yeah, I think the kernel offers a point of comparison for us. There are some key similarities, in my opinion
<lfam>My thought about revolutions... I'm grateful that I haven't experienced one
<lfam>Remember, one might not survive
<lfam>It's with hindsight we can appreciate them
<lechner>i did not mean to advocate for the weapons, but merely for the idealism
<lfam>Yes, the good parts :)
<lfam>We should be bold
<lfam>I wish that the Guix Days happened more often. There's always a burst of cooperation and boldness afterwards
<lfam>I've drank too much coffee and need to step away for a while. I'll find the go-build-system manifest and share it, we can use it to test the branch a little more concretely. Unless something big is broken, let's push by Friday
<lfam>And we'll summarize our findings about the workflow
<lechner>it's because strengthening the social relationships reduces the fear or messing up
<lfam>Yup!
<lechner>i had too much tea, i suppose
<lfam>Also, some conversations happen much faster "in person"
<lfam>Well... we can dream
<lfam>C ya later
<lechner>bye
<vagrantc>hrm. apparently having ssh issues with newer debian too ...
<lechner>actually, that's where i saw that!
<rekado>does anyone know what needs to happen to fix the Cuirass download URLs that return 502?
<rekado>e.g. https://ci.guix.gnu.org/download/417
<arjan>mirai: my plan is now to make the pounce service extendable with instances and make another service that manages certificate for its instances through certbot so there is no direct dependency
<mirai>arjan: what stops it from using plain paths to certificates?
<mirai>à la nginx
<arjan>the pounce service will support plain paths, but the automatic certbot extensions can be implemented in separate service that extends the pounce service
<mirai>Why not simply configure certbot and pounce separately?
<mirai>you're adding extra complexity to your service
<arjan>I am actually keeping the service simple and just adding a service that can automatically extend certbot based on the instance configurations
<lechner>sheep, please
<lechner>mirai / if you have an extra moment, i'd love to track down this warning from the user-homes service, but could not find it (even through there are a few chmods there). it presumably occurs on my system because my home folder is mounted via FUSE, which denies the premission to root http://paste.debian.net/1273925
<fruit-loops>"debian Pastezone" http://paste.debian.net/1273925
<vagrantc>what pleases one...
<lechner>mirai / to hit your pet peeve, the chmod seems to occur during activation (and not during login). based on what you told me that is an inappropriate way to do it, isn't it?
<mirai>I don't like activation-service
<mirai>*using
<mirai>it requires careful thought
<mirai>you have to think carefully about what potential dependencies there might be
<mirai>within the job you're defining
<mirai>you're saying FUSE denied permission to root?
<lechner>it always does
<mirai>if not even root has the permissions...
<mirai>is this behaviour tunable?
<lechner>it is, but not necessary. instead, i would like to change that chmod to either assume my uid, if needed, or to check permissions before trying to set them. mine are correct all along (I am logged in)
<lechner>i also think folder creation should probably be left to PAM on login
<lechner>although I don't mind it if it ensures that folks can log in
<mirai>hmmm
<mirai>I don't know how good of an idea this is
<lechner>which one?
<mirai>but there's setuid,setgid and its many cousins
<lechner>i does not actually need to touch my folder at all. guix assumes in many places that root can do anthing, but that is not so with FUSE. for example, i cannot use 'sudo guix' or any sudo with commands in my personal profile, because that path is stored in my home folder and not visible to root
<lechner>that's also why i use guix deploy even on my local machine
<winter>can someone highlight me in like, a minute or two? trying to repro a client bug that only got triggered in this channel, thanks
<winter>or more, doesn't matter
<lechner>winter / hi
<winter>damn, can't repro it
<winter>thanks
<lechner>winter: maybe you need traditional typography?
<NewUser-Basic-Qu>hi. is there a way to list all services in %desktop-services?
<mirai>yes
<mirai>cat gnu/services/desktop.scm
<lechner>NewUser-Basic-Qu / or for new users https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1822
<fruit-loops>"desktop.scm\services\gnu - guix.git - GNU Guix and GNU Guix System" https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1822
<Guest7188>Anyone can recommend an image upload site?  I am not sure if my system is hanging at boot or just takes a really long time after upgrade
<NewUser-Basic-Qu>okioki...I am getting "guix system: error: service 'console-font-tty1' requires 'term-tty1', which is not provided by any service" ... there is most probably no service term-tty1. what is this reffering to?
<lechner>NewUser-Basic-Qu / i have not seen that. it would be helpful if you could share your config, please
<NewUser-Basic-Qu>just a testconfig...playing around with some values... sec.
<NewUser-Basic-Qu> https://paste.debian.net/1273930/
<fruit-loops>"debian Pastezone" https://paste.debian.net/1273930
<lechner>NewUser-Basic-Qu / Hi, did you omit tty1 from that list on purpose?
<lechner>Also, I might work up from %base-services instead https://codeberg.org/lechner/system-config/src/commit/9b50d3520f395f9a291984a41c3caa96c6ea3b83/host/lechner-desktop/operating-system.scm#L423
<fruit-loops>"system-config/operating-system.scm at 9b50d3520f395f9a291984a41c3caa96c6ea3b83 - system-config - Codeberg.org" https://codeberg.org/lechner/system-config/src/commit/9b50d3520f395f9a291984a41c3caa96c6ea3b83/host/lechner-desktop/operating-system.scm#L423
<NewUser-Basic-Qu>nah...had wlgreet first enabled on tty1 but my sway wlgreet config holds itself "vt = 7" so removed reference to wlgreet terminal for any tty. i do not have to include specific ttys starting with tty1 do it?
<lechner>well, something in %desktop-services (and possibly %base-services, as well) clearly expects "term-tty1" to be present
<lechner>per your error message
<Guest713>Since upgrading to 6.2 my system isn't booting anymore. I did a guide pull 1 hour ago
<lechner>this is the kernel, right?
<lechner>what do you see, please?
<Guest713>Where can I upload pictures?
<Guest713>Yes, 6.2.2 to be specific
<NewUser-Basic-Qu>lechner wow...added (terminal-vt "1") and indeed error is gone...oki...thanks. am a little bit puzzled now..
<lechner>NewUser-Basic-Qu / it won't be the last time
<lechner>and for the benefit of any reader, i just booted with kernel 6.2.2
<lechner>NewUser-Basic-Qu / for the "support" user I warmly recommend the Guix Home service. some folks can do without, but i think life it too short
<NewUser-Basic-Qu>will get a home service. already experimented with that yesterday but is not first priority. Still feeling alien on Guix. Need more time to get familiar with the logic. Yesterdays home-service tests were purely for env-variables
<lechner>the beginning is really hard, but it all pays off when a piece of equipment fails and you can spin up an exact copy within a few minutes via 'guix deploy'. or i love transferring services between machines with a simple copy and paste
<lechner>did mention that i manage my DNS in Guix? https://codeberg.org/lechner/system-config/src/branch/history/host/wallace-server/operating-system.scm#L34
<fruit-loops>"system-config/operating-system.scm at history - system-config - Codeberg.org" https://codeberg.org/lechner/system-config/src/branch/history/host/wallace-server/operating-system.scm#L34
<lechner>although that would arguably benefit from some smarter "Scheming"
<mfs5173>hello guix, I am trying to spawn a shell which has a cross-toolchain but `guix shell -D u-boot --target=arm-linux-gnueabihf` does not do the trick. Is there some other way to accomplish this?
<lechner>mfs5173 / Hi, you may have to request gcc-toolchain explicitly, but i cannot get your command to work locally
<apteryx>lechner: is juix.org taking a nap?
<mfs5173>It does not work, `guix shell` doesn't accept the target argument
<lechner>apteryx / restarted. i hung on Throw to key `psql-connect-error' with args `(connection-bad "connection to server at \"wallace-server.local\" (fd8d:f6a5:5f27:0:c723:1fef:b33c:e949), port 5432 failed: FATAL: remaining connection slots are reserved for non-replication superuser connections\n")'.
<apteryx>ACTION is postgresql illiterate
<apteryx>*sql* even
<lechner>apteryx / it's running out of connections even though I thought i was closing them
<apteryx>I see
<apteryx>I was trying to find if we have a package providing the 'cpanm' command
<lechner>mfs5173 / i think it's for build only, but that's no different from building for the host. to my knowledge we do not currently have ways to invoike our build systems manually https://guix.gnu.org/manual/devel/en/html_node/Cross_002dCompilation.html
<fruit-loops>"Cross-Compilation (GNU Guix Reference Manual)" https://guix.gnu.org/manual/devel/en/html_node/Cross_002dCompilation.html
<mfs5173>guix shell -D u-boot -e '((@@ (gnu packages cross-base) cross-gcc) "arm-linux-gnueabihf")' This command did the trick
<mfs5173>a bit hacky but whatever
<lechner>mfs5173 / great! it may be worthwhile to amend our docs
<apteryx>lechner: seems to be this: https://packages.debian.org/bullseye/all/cpanminus/filelist
<fruit-loops>"Debian -- File list of package cpanminus/bullseye/all" https://packages.debian.org/bullseye/all/cpanminus/filelist
<mfs5173>Personally I use guix shell -D all the time and I think it would be great if it accepted the same arguments as guix build
<mfs5173>then you could do input rewritting for your development environment
<lechner>mfs5173 / i totally agree with you
<mfs5173>maybe it could make for a fun weekend project
<lechner>unfortunately, i am not good enough to work on something like that
<lechner>apteryx / yeah, you can always use debian's package search until i figure out how to get all the substitutes into my database
<apteryx>we don't have a package for it yet :-)
<apteryx>I tried: './pre-inst-env guix import cpan cpanminus' without luck
<cbaines>this is the first time I've seen juix.org I think, is the code available somewhere?
<apteryx>ah, ./pre-inst-env guix import cpan App::cpanminus does something
<cbaines>lechner, what's the issue with getting the substitutes in to the database?
<lechner>apteryx / having spent some time with perl, i may look into it for you later. here are the prerequisites https://tracker.debian.org/media/packages/c/cpanminus/control-1.7046-1
<lechner>headaches are probably similar to python, but there is no byte-compilation to disk
<apoorv569[m]>Does base-services not include xorg-xserver or something? I can't seem to get the lightdm login manager ever since I remove desktop-services and moved to base-services.
<lechner>cbaines / i don't have them. my options would be either to provide a nar importer (and I hardly know what a nar is) or being able to enumerate and download substitutes to my equipment for local processing
<lechner>i'd be happy to rsync, if that's available
<lechner>apoorv569[m] / no X in base
<cbaines>lechner, getting the nars should be the easy part, you just need a list of outputs (which you can either compute or ask data.guix.gnu.org for), then just download them
<cbaines>then you can use fold-archive from (guix serialization) to read the nar and process it
<apoorv569[m]>Is there a service I can add to my base-services for X?
<apteryx>lechner: /gnu/store/19g90rd1s6s84n16dqq0xzczvn7rznz2-perl-app-cpanminus-1.7046; that was easy
<lechner>apteryx / great! sorry i disappointed you with juix.org
<apteryx>haha, no worries
<mfs5173>apoorv569[m]: there is an xorg-server-service-type
<mfs5173>gnu/services/xorg.scm:532:2
<lechner>apoorv569[m] / plus you probably want a bunch of these from %desktop-services https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1822
<fruit-loops>"desktop.scm\services\gnu - guix.git - GNU Guix and GNU Guix System" https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1822
<civodul>juix.org looks fun
<sneek>Welcome back civodul, you have 4 messages!
<sneek>civodul, ArneBab says: thank you! I0l try.
<sneek>civodul, ArneBab says: I’ll look at the weather once I have my new CPU in the system. Then I can afford some processing power.
<sneek>civodul, ArneBab says: oh, just saw that that’s not what weather does (that was challenge). https://ci.guix.gnu.org ☀ (1.028 von 1.029); https://bordeaux.guix.gnu.org ☀ (1.022 von 1.029)
<sneek>civodul, ArneBab says: I found the issue: I have some custom-created packages which I just add to a local guix checkout. An compared to master there are around 300 missing packages.
<fruit-loops>"Cuirass" https://ci.guix.gnu.org
<fruit-loops>"bordeaux.guix.gnu.org" https://bordeaux.guix.gnu.org
<civodul>woow
<civodul>does juix.org share code with the WIP "guix index"?
<apoorv569[m]>so manually install xorg-server package?
<lechner>civodul / i am not sure. maybe they copied some :)
<apoorv569[m]>I added services I need from desktop-services already
<apoorv569[m]>didn't know X was not included in base
<lechner>apoorv569[m] / no you have to reconfigure, or your can start X manually, as i do
<civodul>lechner: "they"?
<civodul>anyway, looks super useful
<lechner>civodul / whoever is working on guix index
<apoorv569[m]>reconfigure? I already did several times I don't get lightdm login can't start dwm from tty either
<civodul>lechner: i started "guix index" and Antoine picked it up (discussions on the ML), so maybe we've been working on it concurrently? :-)
<mfs5173>apoorv569[m]: I assume you also included a lightdm-service-type ?
<lechner>i have a second version coming up that allows traversal via hyperlinks (including our symbolic links). i also plan to collect file information (magic) if that's not too much of an intrusion for people. the idea is to collect anything people have locally like my own packages or channels. it can really help to avoid duplicated effort, i think
<apoorv569[m]>Yes I do have lightdm-service-type
<civodul>(started with https://lists.gnu.org/archive/html/guix-devel/2022-01/msg00354.html)
<fruit-loops>"File search" https://lists.gnu.org/archive/html/guix-devel/2022-01/msg00354.html
<civodul>lechner: where can we see the code? :-)
<lechner>civodul / sorry, no slight intended. it was meant in jest. here is the code. please forgive my scheming. i am very new and not very good https://codeberg.org/lechner/juix.org
<fruit-loops>"lechner/juix.org - juix.org - Codeberg.org" https://codeberg.org/lechner/juix.org
<apteryx>we do not have lintian packaged yet, right?
<civodul>nice, thanks!
<lechner>apteryx / if you really need that, you want to talk to me. i maintained it for five years
<apteryx>I'm packaging 'fpm' and it uses that as part of its test suite
<lechner>unfortunately, i have to go now. crosswalk duty at my son's school. see you all later
<apteryx>o/
<NewUser-Basic-Qu>bye
<apoorv569[m]>should I install xorg-server package then in the system config?
<jpoiret>civodul: by they way, is there any reason the package-source can't be thunked, and thus have target-dependent patches?
<civodul>lechner: that doesn't include indexing, does it?
<civodul>jpoiret: it could, but thunking doesn't come for free, and there are 22k packages
<jpoiret>ah, right
<civodul>there's the code of allocating a thunk for each 'source' field, and there's the cost of allocating a new <origin> each time you call 'package-source' on a package
<civodul>that in turn prevents memoization
<jpoiret>and I guess with gexps it's easier to do
<jpoiret>selective patching i mean
<jpoiret>the annoying part is that I couldn't use g-exps for the one i was working on
<jpoiret>but that's bound to disappear at some point
<apoorv569[m]>lechner: can you please tell me.. I kind of have a blank screen on my machine and I need it.
<mirai>lechner: you might find this interesting wrt TLS certificates <https://paste.centos.org/view/ac75156b>
<fruit-loops>"Untitled - Pastebin Service" https://paste.centos.org/view/ac75156b
<mirai>saves you from typing the certificate paths when using certbot (in its current state)
<civodul>jpoiret: how did your Hurd endeavor go BTW? :-)
<jpoiret>just got back to it 30 mins ago
<jpoiret>hurd is more coupled with mig/gnumach than you think, probably because development is moving fast these days
<jpoiret>a newer mig can't build an older hurd
<jpoiret>ie mig from december can't build hurd from august
<apoorv569[m]>This is my lightdm config, https://0x0.st/HiCi.txt
<apoorv569[m]>but I don't see it when I start the machine
<apoorv569[m]>just a blinking cursor in tty
<jpoiret>civodul: also, other issue is that the snapshots don't even build properly
<jpoiret>even if I take snapshots of everything just 3 days apart
<jpoiret>i have to backport quite a lot of patches. I'm wondering how they even manage to compile things on debian
<jpoiret>can't wait to finally build hurd and then it just kernel panics on me 🤡
<jpoiret>really want to keep the great hurd experience on guix though
<rekado>I have a separate profile just for Emacs and all Emacs packages. I’m building it with Guix home and link it to ~/.emacs.d/.guix-profile.
<rekado>Before I launch Emacs I “export GUIX_PROFILE=$HOME/.emacs.d/.guix-profile” and then source its etc/profile file.
<vagrantc>lechner: in case you're curious, my ssh issue was apparently https://bugs.debian.org/1008573 and a one-line workaround appeared to work
<rekado>my problem now is that I can’t seem to see packages that have been installed after Emacs was launched.
<rekado>I used guix-set-emacs-environment, but it doesn’t seem to have any effect
<rekado>I always need to restart Emacs, which is unfortunate
<rekado>does anyone here have a similar set up? If so, how do you sidestep this issue?
<arjan>I have all Emacs packages directly in my home profile and in the rare case I want to add stuff without restarting I just build it and add the output to load path
<Guest74>since upgrading my system I get a BUG: kernel NULL pointer dereference, address: 0000000000000000 (can't make paste it says I should not spam) and also my system hangs upon shutting down at 'kvm: exiting hardware virtualization'
<Guest74>If I go back to my old system (5.16 I think) everything runs normally
<bjc>huzzah! with seatd/greetd i finally have rootless podman. we really need to clean up the cgroups stuff so it can be configured without contortions