IRC channel logs

2023-06-02.log

back to list of logs

<rekado>I restarted the bot
<rekado>and now a new file is started
<rekado>this is a known bug with a simple solution
<rekado>thanks for letting me know
<efraim>pjals: libx265 has been due for a rewrite for a while. I've been meaning to follow Debian's build plan to do that.... eventually
<efraim>Different build outputs would also probably be good
<evilsetg[m]>next4th: Thank You!
<next4th>evilsetg[m]: thank you for the patch. my email provider is down, unable to sent mail to close the issue though..
<evilsetg[m]>next4th: Should/can I do that? I don't know what kind of email to send to close an issue though.
<iyzsong[m]>evilsetg[m]: np, you can close the issue with send a email to 62293-done@debbugs.gnu.org, or i can close it later.
<janneke>jpoiret: commencement is done, now trying to build hello (with its dependencies)
<janneke>that wasn't easy, the libc-for-target fixes of course had some impact on passing/failing tests here and there (coreutils, grep, sed), triggering rebuild after rebuild
<apteryx>hm, new bug? guix shell coreutils -C --symlink=/usr/bin/env=bin/env -> error: evaluate-populate-directive: unbound variable
<apteryx>I should add a test for it...
<apteryx>can someone reproduce just to make sure?
<HiltonChain[m]>apteryx: I can reproduce it.
<apteryx>thanks :-(
<apteryx>will first create an issue for it, no time to fix it atm
<apteryx>reported as https://issues.guix.gnu.org/63845
<evilsetg[m]>next4th: I wrote a mail to mark the issue as done. Thank you for your help :)
<janneke>omg, findutils needs to be patched...world rebuild ;-(
<janneke>thes commencement.scm -> bbase.scm dependencies are really killing
<janneke>*these
<civodul>apteryx: oh i think i see where that comes from (and i think i'm guilty!)
<janneke>will need to rebuild 3 glibc's two gcc's and a guile and lots of other stuff to get one little step further... %-/
<apteryx>civodul: perhaps already captured by the tests? I haven't checked
<pjals>efraim: ah, that's good to know, maybe i could do it if i have time
<apteryx>b
<civodul>jpoiret: hi! i know you looked at the PRoot failures in the past; i'm willing to just apply https://issues.guix.gnu.org/63843 WDYT?
<civodul>(given that "guix pack -RR" has been broken because of that since the merge)
<apteryx>is there a way to have C-c (SIGINT) passed to the Guix containerized process?
<pjals>how are you getting into the containerized shell?
<apteryx>guix shell -C ...
<apteryx>then launching some Python GUI; C-c from the shell doesn't interrupt it.
<pjals>SIGINT is indeed passed in the containerized shell, is the Python GUI freezing or something?
<pjals>It may be that SIGINT is not enough to terminate the process, SIGKILL may be needed.
<pjals>Could you try C-z?
<pjals>Then do bg, and then echo $!, and then kill --signal KILL <pid reported by $!>
<pjals>Of course, this will forcefully terminate the program, throwing away any unsaved changes.
<apteryx>another problem with containers: I cannot share /etc, either via --share or --expose. It throws a mkstemp error in both cases.
<pjals>Well, /etc very well exists in the container.
<pjals>What are you actually trying to do? What do you wish to do when you share /etc? Is it a solution to a problem?
<apteryx>kill -sKILL 15339 (the python app process) does not kill it
<apteryx>the application can be interrupted when not running inside the container
<apteryx>seems to be something with that custom application though, because I can't reproduce with another Python GUI application: guix shell -CN --preserve=XAUTHORITY --expose=$XAUTHORITY --preserve=DISPLAY deluge
<apteryx>that one is properly interrupted on C-c, from the containerized shell
<apteryx>ah, it only happens when using -- to execute the command I think
<pjals>which python app is this?!?
<apteryx>hm, not for deluge...
<apteryx>it's a custom wxPython one for a project I'm working on
<pjals>well, does it have signal ignoring code?
<pjals>it's hard to know what is the issue without any context
<apteryx>yeah, I guess it has to with how its main loop works, hard to say. it doesn't do anything with signals
<apteryx>thanks for the help!
<jpoiret>civodul: that test is failing because of an actual bug in proot
<jpoiret>from what I can gather from the test, cwd-related functions and pthreads don't interact well
<civodul>jpoiret: ok; any idea whether it breaks only multi-threaded applications?
<civodul>we could make a compromise...
<rgherdt>Hi. I'm trying to create my first package and having a problem during the configure phase. Basically it's a guile library `guile-lsp-server` that relies on another library `guile-json-rpc`. `guile-lsp-server` has in configure.ac a check for the availability of the module `json-rpc` (provided by `guile-json-rpc`). The build fails with: "configure: error: required guile module not found: (json-rpc)"
<rgherdt>`guile-json-rpc` is listed in the `inputs` field
<rgherdt>and I see in the logs, that GUILE_LOAD_PATH is set to the path of `json-rpc` as expected
<rgherdt>do I have to manipulate the phases somehow, so that `json-rpc` is available?
<rgherdt>I'm using the gnu-build-system btw
<jpoiret>archive[m]: I can try to look at it today
<jpoiret>oops, wrong mention, sorry
<rgherdt>here what I have so far: https://paste.debian.net/1281806/
<rgherdt>ignore the fact that guile-json-rpc was already packaged by someone as guile-scheme-json-rpc, I saw it later
<apteryx>pjals: re the SIGINT not being honored, it appears to be a wxPython problem. The minimal "Hello World" application fromhttps://wiki.wxpython.org/Getting%20Started#A_First_Application:_.22Hello.2C_World.22 reproduces it, via: guix shell --container --network --preserve=XAUTHORITY --expose=$XAUTHORITY --preserve=DISPLAY python python-wxpython -- python3 hello-world.py
<apteryx>reported here: https://github.com/wxWidgets/Phoenix/issues/2406
<jpoiret>sneek, later tell civodul: I'm looking at the bug right now, I think i have some clues
<sneek>Got it.
<attila_lendvai>sneek later tell civodul: i got an error at the end of a guix system reconfigure: guix system: warning: exception caught while executing 'eval' on service 'root': error: remove: unbound variable
<sneek>Got it.
<mirai>is the person who wrote define-maybe around?
<mirai>or whoever happens to understand the choice of using the %unset-value symbol?
<rgherdt>answering myself: I figured out another library was missing. Sorry for the noise
<attila_lendvai>mirai, i think i am
<mirai>๐Ÿ˜‚
<attila_lendvai>...if you feel like getting into some philosophy, that is... :)
<mirai>I was wondering if we could replace the custom symbol we use there for #<unspecified> instead
<rdrg109>[Q] Newbie: I have two version (1.1.1 and 1.2.1) of Inkscape installed in /gnu/store (see last two lines in http://0x0.st/HbfJ.org ). My system is currently using 1.2.1 , but I want to run 1.1.1 . How to switch to a previous version?
<mirai>the same object used in when
<attila_lendvai>mirai, that's what i have proposed originally, but my patch got modified to the current solution. unfortunately i don't remember why. just my emotional response of dissatisfaction, that then settled down with the current solution.
<elevenkb>rdrg109: i'd think you'd have to use inferiors (look up that index in the info manual).
<attila_lendvai>mirai, just use maybe-value-set? and maybe-value to deal with the case of defaults.
<rdrg109>elevenkb: thanks!
<elevenkb>rdrg109: watch out though, I tried them for a similar reason and had to rebuild w/o substitutes.
<mirai>attila_lendvai: oh those won't be going away soon even if #<unspecified> is used
<mirai>it's more or less straightforward to replace them behind the scenes without breaking anything
<attila_lendvai>mirai, i think i even proposed to use srfi-189 instead of a custom maybe stuff, but it didn't get used
<mirai>it's more or less straightforward to replace them behind the scenes without breaking anything
<mirai>TIL srfi-189
<mirai>will take a look at it
<mirai>I'm prototyping a generic INI serializer for define-configuration using SRFI-171
<mirai>attila_lendvai: perhaps https://www.gnu.org/software/guile/manual/html_node/SRFI-Support.html ?
<mirai>I don't see 189 listed
<mirai>though guile might have it baked in, haven't carefully checked yet
<attila_lendvai>sneek, later tell civodul: FYI, i'm seeing behavior with shepherd that suggests shepherd bug(s). one thing is with `herd stop x`: i see no sign of the TERM signal in the daemon logs, and after the grace period (1 min here) it gets killed. could be a daemon bug.
<sneek>Will do.
<lispmacs[work]>hi, I don't seem to have enough memory (a measley 8GB) to link together telegram-desktop
<lispmacs[work]>and substitute doesn't seem to be currently available
<lispmacs[work]>I was wondering about getting the substitute from the last successfully build, but can't remember how to look that up and what guix commit to use
<lispmacs[work]>or if there is something I can do to modify telegram-desktop build to bring linking memory usage down to sane levels
<attila_lendvai>lispmacs[work], this may help: https://data.guix.gnu.org/repository/1/branch/master/package/telegram-desktop/output-history
<anemofilia>Guys, when I try to run a user service I get
<anemofilia>herd: error: /tmp/runtime-radio/shepherd/socket: No such file or directory
<anemofilia>What could it be?
<redan>sudo?
<anemofilia>But it's a user service
<anemofilia>I need sudo for that?
<attila_lendvai>anemofilia, probably shepherd wasn't started for your login. maybe some login init file is not evaluated? is this a normal login? or through e.g. ssh?
<redan>Check the perms on the socket and your users groups. ย can insto something earlier where sudo worked and non-sudo required me to logout and bakc in due to an added group.
<redan>I am trying to follow https://tannerhoelzel.com/gnu-shepherd-simple-service.html and reconfigure gives me 'error: kmonad-service-type: unbound variable'.
<redan>Got something similar trying to follow error: kmonad-service-type: unbound variable.
<redan>er, https://github.com/kmonad/kmonad/issues/483
<jpoiret>redan: can you post a snippet of your work on paste.debian.net?
<jpoiret>anemofilia: what's your herd service invocation?
<anemofilia>attila_lendvai: it's a normal login. What do you mean by evaluating the init file?
<attila_lendvai>anemofilia, dunno, something like not sourcing .profile (that may start shepherd). i don't know how this works, sorry.
<jpoiret>what's your XDG_RUNTIME_DIR?
<anemofilia>I am invoking redshift from here https://github.com/ekaitz-zarraga/dotfiles/blob/guix/shepherd/shepherd/init.d/redshift.scm
<jpoiret>guix uses XDG_RUNTIME_DIR/shepherd/socket i think
<anemofilia>jpoiret: /tmp/runtime/radio
<jpoiret>that's why then :) are you modifying it yourself?
<anemofilia>Idk, let me see
<anemofilia>Aaaaaaa
<anemofilia>Seems that I have modified it
<anemofilia>Another question that I have is
<anemofilia>Is it possible to not generate a sudoers file?
<redan>jpoiret https://paste.debian.net/1281827/
<jpoiret>redan: does (my services kmonad) export kmonad-service-type?
<jpoiret>you need to have #:export (kmonad-service-type) in the define-module form
<redan>jpoiret Yes. https://paste.debian.net/1281830/
<jpoiret>and you still get kmonad-service-type: unbound variable?
<redan>Exactly
<jpoiret>how do you manage to get your other modules into the load path? do you use local-guix as a channel, or the `-L` option?
<redan>`sudo guix system -L ~/local-guix reconfigure /etc/config.scm`
<noobly>hi, I'm getting an error when installing a generic / barebones guix. I get to the point where I run 'guix system init '/mnt/etc/config.scm' '/mnt'', but the command fails with: 'guix system: error: fport_read: Input/Output error copying to '/mnt'
<jpoiret>noobly: is /mnt big enough?
<noobly>dmesg is clear after running the command as well
<noobly>jpoiret: how do i check?
<jpoiret>`df -h`
<noobly>ok, /dev/sda3 which is mounted on /mnt has 208GB available, so i would think it's got room
<noobly>jpoiret: not sure where else to look, i assume this wouldn't be caused by non-free firmware
<jpoiret>no, probably not. did you start the cow-store service?
<noobly>yeah
<noobly>i get the same error when doing graphical install and manual, by the way
<noobly`>is there anywhere i can look for more informative error messages?
<jpoiret>nope, and this is a pretty low-level error
<jpoiret>are you on bare metal or VM? what are you booting off of?
<noobly`>bare metal, just my regular ol' desktop on a new SSD
<jpoiret>do you have enough RAM? 8 gigs should be enough
<noobly`>jpoiret: that's given with 'free -h'? total says 7.7
<jpoiret>starting to exhaust my ideas. is your install image recent?
<noobly`>jpoiret: screenfetch says RAM: 645MiB / 7920MiB, kinda weird?
<noobly`>jpoiret: yeah just downloaded it fresh a couple days ago, let me check to make sure it was x86_64
<noobly`>just to double check, how can I check the guix version that's on my usb drive? I'm using it right now to access this channel so don't want to unplug it
<noobly`>umount /dev/sdb
<noobly`>oops
<jackhill>Do we know when substitutes will be available again for armhf-linux i686-linux and powerpc64le-linux? I ask because it seems to be holding up QA review for my patch https://qa.guix.gnu.org/issue/63085
<dthompson>has anyone dealt with locale issues in guix packs before?
<vagrantc>jackhill: i would say armhf really should not block progress... but who am i? :)
<jackhill>vagrantc: :) I mean, it would warm my heart for sortware to work on that platorm, but we probably need to tackle aarch64 first.
<vagrantc>wow, that's confusing ... why would qa block testing of x86_64 when armhf/i686/powerpc64le are blocking...
<vagrantc>jackhill: it has been a long time since i've tested any of the armhf boards, but i had tested a few with guix
<vagrantc>worked well enough, as long as substitutes were available
<vagrantc>and then the fastest one i had started having kernel panics around linux-libre 5.4.x if i recall
<jackhill>awww. Yeah, I need to get back to doing arm stuff. Last time I tried, I caught it at a bad time for buildability, but I think many of those issues have since been fixed.
<vagrantc> https://qa.guix.gnu.org/branch/master suggests aarch64 is remarkably close to x86_64 (at least on bordeaux)
<jackhill>๐ŸŽ‰
<jpoiret>dthompson: what kind of locale issues?
<jpoiret>sneek, later tell civodul: got a fix for proot which I also sent upstream, will push tomorrow, see https://github.com/proot-me/proot/pull/355
<sneek>Will do.
<civodul>jpoiret: woow, excellent, thank you!
<sneek>Welcome back civodul, you have 4 messages!
<sneek>civodul, jpoiret says: I'm looking at the bug right now, I think i have some clues
<sneek>civodul, attila_lendvai says: i got an error at the end of a guix system reconfigure: guix system: warning: exception caught while executing 'eval' on service 'root': error: remove: unbound variable
<sneek>civodul, attila_lendvai says: FYI, i'm seeing behavior with shepherd that suggests shepherd bug(s). one thing is with `herd stop x`: i see no sign of the TERM signal in the daemon logs, and after the grace period (1 min here) it gets killed. could be a daemon bug.
<sneek>civodul, jpoiret says: got a fix for proot which I also sent upstream, will push tomorrow, see https://github.com/proot-me/proot/pull/355
<jackhill>jpoiret: very cool, thank you for tracking that down!