<ison>Is it normal for ~/.cache/fontconfig to be completely inaccessible and non-removable, even for root? Every command I run on it hangs. Even "ls" just hangs and slows my whole system down. I even tried opening it as a directory stream in guile to just read 1 item and that hangs too.
<ison>I booted a liveCD to see what was inside and it only has a link to fonts.conf. I deleted the directory, but when I booted my system again it was back, and still inaccessible. I think it's causing some instability on my system because sometimes when I try to access it icecat crashes.
<vagrantc>awb999: using "guix install guix" will actually consistently downgrade your guix to an earlier version, counter-intuitively
<vagrantc>python-magic has a compatibility layer, but it's a ... not-quite-compatible compatibility layer. /o\
<ison>nckx: Thanks for pointing me in the right direction. I suppose the first thing I'll do is make sure to back up my files
<nckx>vagrantc: I'm impressed you found the cause, although I can imagine it was a painful journey.
<vagrantc>nckx: based on the test suite failures, i had a pretty good idea of which upstream patch to revert. and then reported the issue upstream and the result of that interaction got me thinking :)
<nckx>ison: Well, we don't know if it's the right direction, but I can certainly tell you there's nothing special about ~/.cache/fontconfig or that the behaviour you describe is indicative of anything else.
<vagrantc>given how many inputs diffoscope takes to build, really happy to remove at least one of them. :)
<nckx>Yes, it's one of my ‘oh joy, we're building ____ today’ packages.
<vagrantc>the taunting part about diffoscope is guix is still missing a few things: External-Tools-Required: apksigner, apktool, cbfstool, dumppdf, dumpxsb, lipo, oggDump, otool, ppudump, procyon, showttf Missing-Python-Modules: guestfs, r2pipe
<nckx>lf94: Mainly its libraries (like ice-9) and module system, but also (a few) internals/assumptions about Guile. Not undocumented hacks AFAIK, but the original author of Guix is also a Guile maintainer; it's probably hard not to use your intimate knowledge of one in the other.
<lf94>But cdr/cadr in most schemes is different in guile IIRC
<dongcarl>Hi all, I have a few colleagues who are building with `--no-substitutes` and with `--bootstrap`, of course they are running into the gnutls 3.6.12 test failure with the expired cert (https://issues.guix.gnu.org/44559). Since they are not using substitutes and don't care about hashes changing... Would `--firstname.lastname@example.org` sidestep this
<roptat>dongcarl, it won't work because grafts are done after building the actual package, so you'll still need to build the ungrafted (failing) gnutls first
<dongcarl>roptat: Ah okay that makes sense actually. Would you happen to know whether --email@example.com would work?
<roptat>but you can rewrite the whole dependency graph with --firstname.lastname@example.orgemail@example.com for instance (not sure it'll work, there's probably a reason we have two versions?)
<roptat>I suppose if you specify the name of the package, it changes the graph transitively?
<dftxbs3e>roptat, I have experience where it did not, especially during bootstrapping. I am not sure by what it is caused, maybe because there's also dependencies of the build systems themselves which these package transformations don't look at.
<spudpnds>357 byes of stage0 bootstrap for Mes is pretty impressive!
<wonko_the_sane>whole project is super impressive, mad props to all those hacking the good hack.
<awb99>I am running guix via a foreign barebome distro. I want to use guix services. Does this mean that I have to create a full docker image with guixos to do that? Or is it possible that I add the guix package to a 'guix environment -container' and then configure shepherd to use the guix services via guile config files?
<awb99>Is there any performance Penalty in guixos as a guest os compared to say alpine as a guest os?
<iyzsong>awb99: most system services use priviliged port or start as root then doing 'setuid' to a normal user, so they can't run in an environment container (guix system container should be fine, it can also running on a foreign distro)
<iyzsong>for guest os, do you mean in qemu with kvm, then I don't think there will any penalty for guix system.
<awb99>So say I create a guix container in docker format
<OriansJ>awb99: if you need more details #bootstrappable is where the bootstrapping work is being done.
<dftxbs3e>cbaines, hey for some reason things are slow. I don't think it's GNU Guile but rather some GNU Guix bottleneck, it looks like a locking or network I/O bottleneck, it's slow to find missing build inputs I think. Also it does not parallelize well, I have 4 parallel builds configured yet it seems it only checks missing build inputs for one package at a time.
<dftxbs3e>cbaines, I think there's some kind of locking bottleneck
<dftxbs3e>cbaines, also really wasteful usage of read (1 byte) and select system calls
<reepca>Anyone else have trouble with browserpass-extension not actually pasting to clipboard?
<reepca>er, I guess the proper term would be "copying" to clipboard, not pasting
<dftxbs3e>efraim, I think maybe we should use the Rust frontend of GCC when it's ready to compile Rust packages instead of developing something to substitute cargo.
<dftxbs3e>It would maybe be a better time investment
<cbaines>dftxbs3e, yeah, the code for checking substitutes for inputs is slow and unreliable
<cbaines>the code in Guix isn't particularly well suited for use in other parts of Guix or other tools like the Guix Build Coordinator, but I've been working to change that http://issues.guix.gnu.org/45409
<dftxbs3e>instead of the guile-written HTTP client
<cbaines>dftxbs3e, one thing you can do with the agents for powerpc64le is just specify one substitute server, that way the agent will only check one substitute server for the inputs, rather than however many are currently specified
***penguwin4 is now known as penguwin
<rndd>hi everyone! how i can see logs of service in guix system?
<sneek>rndd, mroh says: I think, the error you're getting with you kernel config is because of the initrd module safety checks, so you might try `guix system --skip-checks` or make sure all the modules that are tested are in your kernel (see default-initrd-modules in ~/gnu/system/linux-initrd.scm for the list of modules)
<cbaines>rndd, depends on the service. It's probably either a file in /var/log, or on the tty containing the shepherd output
<rndd>cbaines: i cannot run dhcpv4-daemon. so, there is nothing related in /var/log. how i can check tty?
<rekado>there are at least two known problems in this version: one is that it doesn’t start. That’s a somewhat recent regression and should be rather easy to fix. The other is that it doesn’t stay alive and segfaults pretty quickly. But you first need to get it to start.
<wleslie>having got something out of find-files, it's still not matching the line. why would the substitute* expression ("#define CAPOS_TARGET_(CRT.) \"(.*)\"$" _ crtx filename) not match the line `#define CAPOS_TARGET_CRT1 "crt1.o%s"` ?
<wleslie>nushell looks very nice. not only is the concept of structured data in a shell a breath of fresh air, nushell's concept of shells in shells looks pretty cool; like it's heading in the direction of a really nice job control system
<ngz>It contains interesting ideas, yes. If only it was Scheme-based ;)
<wleslie>there are quite a few local maxima in this area, it's true
<ngz>One of its dependecies is a Nintendo Entertainment System emulator… Odd.
<wleslie>eshell, scsh, shill, xonsh are all a bit nice
<wleslie>`(substitute* files ((".*" all) (format #f "~a hairy" all)))` puts hairy at the start of my lines. I guess this regex engine is not maximal munch
<user_>ison: I'm not clear on one thing, I'm looking at the default config my installer created, if I edited the scm and reconfigured my system, all the packages I installed that isn't explicitly in the config will be removed?
<ngz>No, there are system packages and user packages. Packages not in the config are user packages. But they are not removed when reconfiguring your system. Your $HOME is not wiped up either.
<ngz>Actually, you don't need to put much packages in your config, unless you need setuid.
<pkill9>tfw when you fix a build error just by clearing the build directory and reconfiguring
<awb99>I am building 'guixx system docker-image' , and I want to make the build reproduceable. I know the current Profile keeps all settings. So would I just 'guix describe' and store that output in a git repo? Ideally I would want to create the profile in a git folder. Is this possible? Does it make sense?
<user_>Hello again, when editing kernel-arguments in the config scm, what does cons* mean?
<janneke>cbaines: the childhurd has a static networking service, defaulting to the qemu guest ip
<cage_>Hi! I am trying packaging a program, its make file generates a file (in a directory src/) that is later used when compiling the executable, i am using (invoke "make" ...) to generate the file before the build phase but then, when compiling the program, the build system complains that can not find the file
<cage_>i can not understand where the make file is generating the file and where should i move so that is available to the building system
<ngz>You can use guix build -K your-package and have a look at /tmp/guix-build-your-package.../ directory
<cage_>unfortunately my package uses a mixture of GNU toolchain and ASDF (it is a common lisp program)
<cage_>maybe I have to instruct guix to generate the file before the package is copied in the store?
<cage_>seems that adding (add-after 'unpack (lambda (...)) works :-)
<cbaines>Hmm, I'm trying to run the guix-build-coordinator-agent service in a childhurd, but the wrapper script uses bash for linux...
<cbaines>I wonder if that's a issue with the package definition
<cbaines>Yeah, wrap-program does (which "bash"), which will probably find the host bash when cross compiling
<QsDDC>is there a way to make my changes persistent on the installer image(booted from USB)? I made a lot of 'guix install' commands and have some other files in root's home dir and want to keep everything on the installation USB so I don't have to install it again after rebooting if my system install failed.
<cbaines>QsDDC, I don't believe so, I'd suggest copying those files elsewhere. You can't do much about the installed packages.
<QsDDC>cbaines: thanks. I'll just copy my files & bash history then.
<janneke>cbaines: yes, that's a bug; see also 330f3ab7dd55ac95aad109000feca2d0d96a1e49
<cbaines>PotentialUser-95, that's unfortunate, looks like this happened post staging merge. Unfortunately getting out of this situation just requires someone fixing the broken package, feel free to file a bug with Guix about the breakage as well
<cbaines>janneke, cool, I'm glad someone knows about it. I can't see 330f3ab7dd55ac95aad109000feca2d0d96a1e49 though, where is the relevant repository?
<kondor>PotentialUser-95 can you not pack an unbroken version?
<cbaines>kondor, if you're referring to guix pack, how would that help?
<fnstudio>hi! =) i'm trying to "GNU-build-systemise" a simple guile project of mine (i.e. adding the Autotools files) and i get this error where './configure' doesn't seem to be able to find guile and other dependencies
<fnstudio>eg, it says: `PKG_PROG_PKG_CONFIG: command not found` while pkg-config is correctly installed in guix
<fnstudio>ok, great, i'm going to try with environment (`guix environment --ad-hoc autoconf guile ...`)
<fnstudio>cbaines: yeah, great write-up, thanks! it's actually open in my browser, together with a couple of other links
<fnstudio>cbaines: i'm trying and dissecting things here and there to understand things as much as possible
<librecat[m]>i am using guix package manager on linuxfromscratch systemd edition to get a gui and browser faster but guix fails saying failed to clone builder proccess invalid argument i have all namespaces enabled except for user_ns which deps do i need to get the sandbox working or how do i disable it
<fnstudio>hm... i've tried with `guix environment --ad-hoc autoconf guile pkg-config` but i still get the error about pkg-config missing
<cbaines>fnstudio, perhaps try adding automake to --ad-hoc
<cbaines>librecat[m], can you share the exact error?
<fnstudio>cbaines: oh oh oh... that made it! how did you do that? =)
<cybersyn`>heya guix, hope everyone is having an alright night. having a bit of trouble getting a wacom tablet running with guix. does anyone have a recommendation as to what to add to my config.scm to get this baby goin'? I'm using sway/wayland, which could be the problem
<dftxbs3e>user___, I will admit to you the font situation is a bit hazardous to me. Often, you configure things, they don't work then you do something else and come back and it magically starts working. Some kind of cache or something. Does the front show in fc-list?