<roptat>in any case, the fact that building from the VCS means building without pre-generated files (like configure and such) is a good point for me, so I'd be in favor of switching to VCS whenever possible
<anadon>But that wouldn't allow the same degree of run-time augmentation because it closes off more information from the invokation.
<roptat>I've been rebuilding java packages over and over again all day long, but I'm making progress on my wip-maven-build-system branch
<roptat>it's getting really hot even with the windows open here ^^'
<KE0VVT>jonsger: HP desktop. 7 GB RAM. 160 GB HDD. Core 2 Duo. 19 in LCD.
<mbakke>nckx: thanks for taking care of zziplib, I thought that was the big remaining python2 dependency, but according to 'guix refresh' there are still 7540 packages that depend on python2 one way or another
<KE0VVT>System is taking a LONG time at "Loading /gnu/store/...-system/boot".
<mbakke>we should reduce that number to close to 'guix package -A python2 | wc -l' for the next core-updates round
<ptibedo>Re ! I create a recipe for the package gnome-builder. How I must use it ?
<roptat>define-public defines a variable, and doesn't return anything (it returns #<unspecified>), and guix cannot build that. define-public creates a variable called "gnome-builder" which contains the package definition. putting the name of the variable at the end gets it evaluated and a package object is returned
<calher>Successfully running encrypted GNOME desktop with Guix System on scruffy.local.
<nckx>greyseek3r: I think that's been through about 3 rewrites or at least proposals and I guess it's still not clear.
<KE0VVT>Mi ne povas paroli bone. \ Je ne peux parler bien.
<nckx>greyseek3r: The first 2 paragraphs (‘Success’ and the two example commands) are quite clear, but then the rest tries to give some background info but appears to mainly confuse new users like yourself.
<greyseek3r>nckx: I installed, reconfigured and rebooted but still no fonts. Could it be a locale issue? I have both glibc-locales and glibc-utf8-locales installed as well.
<nckx>greyseek3r: I sympathise, and I can (with some effort) see how you might've read that as endorsing ‘sudo -i’. The problem is that it starts quite clear, then someone thought ‘well we have to at least mention root's guix’ and it's not clear to new users that it's just background info for (more) advanced/control-freaky users.
<roptat>ptibedo, au moins un input, éventuellement un gnu package s'il en manque un
<roptat>chaque module peut avoir plusieurs paquets, qui n'ont pas toujours le même nom que le paquet
<nckx>greyseek3r: Hm, shouldn't be locale-related *touches wood*. What do you mean by ‘no fonts’? Absolutely none? Squares? Some letters but not all? A screenshot might be helpful.
<roptat>tu peux utiliser "guix show <le paquet>" pour voir dans quel fichier il se trouve, c'est le gnu package à importer
<calher>Also, I notice the computer first presents me with a TTY login prompt, and takes a LONG time to get to GDM. If I didn't know any better, I would have logged in at the TTY and thought GNOME was broken.
<calher>Whoa, why are the emoji black and white in Polari? They are not this way in Trisquel.
<nckx>Good night everyone. greyseek3r: I was expecting this to be an easy thing to fix, sorry about that. Do file a bug if you get nowhere here. Some things don't sound right (well, apart from the obvious facts that fonts should not be square, I mean).
<calher>Maybe I should have just stuck with Trisquel 8 for my media server and desktop...
<nckx>calher: guix install font-google-noto if colourmojoes are *that* important to you.
<calher>What's the use... I can't do anything on this OS. I can't mount a CD. I can't SSH into it without it crashing.
<calher>Do I need special privileges to use the CD drive or something?
<greyseek3r>calher: You probably need to be a member of cdrom group
<calher>I installed this with the GNOME desktop option. The auto-config.
<greyseek3r>calher: modify your /etc/config.scm and add "cdrom" under supplementary-groups
<greyseek3r>calher: then run "sudo guix system reconfigure /etc/config.scm" then a reboot
<calher>How is this system supposed to be useful if people have to reboot it all the time?
<greyseek3r>Well, a log out and log in might suffice too. Not sure though.
<calher>I've been waiting an hour to install a font. Can't reboot right now.
<calher>I would be calmer if I could SSH into this and sit on the couch while waiting on this, but that crashes the system.
<calher>So I have to hunker down in the office chair.
<calher>Oh, maybe it was just GNOME's Automatic Suspend that interrupted my connection. Oops.
<ryanprior>calher: you don't need to reboot to change your own packages, but I think you do to change the system packages. I never use Guix on Debian, so I never reboot after running a guix command, and rarely after running a dpkg one.
<nckx>If the laptop can't sleep the nckx can't sleep, and the laptop is still compiling Linux. So here I am for a few more minutes.
<ryanprior>Fair enough =X I see you're a Trisquel user also?
<nckx>calher: You don't need to reboot to update anything but the kernel.
<KE0VVT>ryanprior: I use Trisquel for all my daily stuff. I got a second computer and wanted to try Guix, since I'm just going to use it as a media server.
<KE0VVT>ryanprior: But maybe Guix is too much work.
<ryanprior>I don't think Guix is nearly as friendly as Trisquel yet. It makes you appreciate the huge amount of effort the Trisquel/Ubuntu community put into that software to make it so nice!
<KE0VVT>ryanprior: I mean, who tells the installer to make a desktop configuration and forgets the CD drive?
<ryanprior>I don't have a CD drive on any machine I own
<KE0VVT>Not having a CD drive is fine if all you do is use Netflix, but I don't do DRM.
<ryanprior>I occasionally buy mixtapes and demos on CD from local artists because I want to support them but I havne't listened to a one in the past ~7 years bc no hardware and not enough desire to buy an external drive and have it sitting around =X
<KE0VVT>Sure, you can torrent, but why wait hours when you can rip a DVD from the library for free?
<KE0VVT>Physical media is way faster than the network.
<nckx>KE0VVT: It's easy to sit around and complain but it doesn't improve anything. If there's a bug with the installer and optical drives (which hardly anyone still uses, ‘DRM’ and ‘Netflix’ are non-sequiturs), report it, or better yet help fix it.
<KE0VVT>nckx: How do people get their entertainment, then? Even free software users seem to be using Roku with Amazon Prime.
<nckx>I don't know how people get their entertainment. I've never used DRM and it cost me 0 effort so it can't be that hard to avoid it.
<nckx>But this is #guix, the ‘everybody here is probably “pragmatic” and streaming Netflix’ argument just doesn't hold up.
<KE0VVT>Well, I'd like to know what people's TV setups are. Mine is currently ripping DVDs on my Trisquel laptop with vobcopy and serving them to the Roku with DLNA.
<KE0VVT>Or torrents. Depending on where I get the movie from.
<nckx>I have a 4 TiB home server full of films. We'll not discuss how they got there, but it wasn't using an optical drive. I just use sshfs to watch them on my laptop with MPV, so probably not the kind of ‘set up’ you mean (don't have a TV).
<apteryx>I'm not sure what you are trying to achieve
<greyseek3r>Managed to reproduce the font issue on a fresh install even without using "sudo -i". Normal guix pull and reconfigure will mess it up.
<nckx>KE0VVT: OK, you've found the single exception, but even that 1) doesn't really require rebooting, just ‘logging in & out’, however that's defined for your system/desktop and 2) has nothing whatsoever to do with Guix.
<greyseek3r>apteryx: I'm trying to instruct the system on where to look for locales, and I want the variable to be read by GDM
<KE0VVT>nckx: I'm using the Guix System. On Trisquel, you just log in and log back out. No rebooting. But how does the system know you changed config.scm?
<nckx>KE0VVT: And you good luck 🙂 Functional means same input → same output, so if your Gnome configuration fields don't change your Gnome installation won't change. Guix could wipe all of Gnome from the store and replace it with an identical copy but that's just inefficient, not more functional.
<apteryx>greyseek3r: are you on a Guix System or other distro?
<apteryx>I'm not sure, but I think GDM should source your ~/.profile; you could try adding your 'export VAR=VALUE' there
<greyseek3r>apteryx: I'm on a Guix System. There isn't any .profile, will try to create on and see if it helps
<reepca>hmm, how do I make a guile process single-threaded? We use without-automatic-finalization to temporarily shut off the finalization thread while we call clone in (guix build syscalls), but I still count 5 entries in /proc/<pid>/task
<greyseek3r>I wonder if the whole font issue is somehow a vm/qemu issue? Now I'm installing guix in Virtualbox to see if the fonts will still be messed up after a pull and reconfigure
<calher>Scared to "guix system reconfigure" while "guix install".
<pkill9>is it possible to change the default tty that guix system boots into
<greyseek3r>apteryx: I'm having the issue with font rendering. I see an error message when I do a reconfigure for the first time. Guile says something about being unable to install locale. I don't know if this is what's causing the font issue
<apteryx>greyseek3r: if your user profile is newer than your system profile, or vice-versa, it may cause issues with locale. On my machine, echo $GUIX_LOCPATH -> /run/current-system/locale. So it's bound to the system profile.
<apteryx>If you're having locale issues, try having both in sync or close enough
<rekado_>calher: Gnome Videos probably uses Gstreamer, so you’ll need to pick gstreamer plugins.
<KE0VVT>rekado_: Thanks. "guix search" doesn't tell me if it's installed.
<rekado_>“guix search” searches packages. It does not show you installed packages. You can use “guix package --list-installed” for that.
<ryanprior>I'm getting a warning saying "consier running guix pull and guix package -u to get security updates"
<ryanprior>When I run guix pull, it says nothing to be done. When I run guix package -u, it just prints that warning again.
<wxie>KE0VVT: You can install emacs-guix package, and use M-x guix in GNU Emacs to view packages.
<idoesnot[m]>Im trying to write a package definition for a package which only installs auxillary data for another package. The primary package needs to have environment variables defined to tell it where to find the auxillary files which I'm assuming can be done using the (search-paths) part of the package definition. However, when I write a package definition like this and install it with "guix package --install-from-file=foo.scm", the
<idoesnot[m]>environment variable I specified does not show up when using "guix package --search-paths". Is this something particular to the way I installed the package or is it something I've done wrong in the package definition?
<idoesnot[m]>> Im trying to write a package definition for a package which only installs auxillary data for another package. The primary package needs to have environment variables defined to tell it where to find the auxillary files which I'm assuming can be done using the (search-paths) part of the package definition. However, when I write a package definition like this and install it with "guix package --install-from-file=foo.scm",
<idoesnot[m]>the environment variable I specified does not show up when using "guix package --search-paths". Is this something particular to the way I installed the package or is it something I've done wrong in the package definition?
<idoesnot[m]>Doing a bump of this question from earlier today in hopes that someone is online now that might know. Hope this is OK!
<rekado_>idoesnot[m]: I suppose it would help to see the package definition.
<mbakke>idoesnot: I think you need native-search-paths instead of search-paths
<rekado_>PotentialUser-87: there’s no such file. What tells you that the file is missing?
<lprndn>sneek: later tell ryanprior: On my side, I had a mostly working pantheon desktop on gnome 3.30. I'm updating everything I had. For now: plank, gala, wingpanel + most indicators, switchboard + most plugs, themes. It needs checking and testing. I also need to update files, calendar and screenshot and figure out what to do with some services...
<kamil_>Oh. That's odd. I sent a private message to you here on IRC. IRC is too confusing to me hahah
<kamil_>mbakke: This is the message: I asked you how to check the currently installed version of the kernel for CVE's, and how to use an older version of the kernel using a inferior. I successfully configured the inferior, pining the kernel package to an older commit, using examples in the Guix official manual and your instructions,where you told me to "(define kernel (lookup-inferior-packages ...))", as a point of reference. You also told me h
<kamil_>ow to scan the kernel package for CVEs, but I've not been able to get it right so far. You told me this: "you may also be able to call (@ (guix lint) check-vulnerabilities) directly in your system configuration, i.e. (define kernel (lookup-inferior-packages ...)) (check-vulnerabilities kernel)". My question is where in my config do I call (check-vulnerabilities kernel)?
<mbakke>kamil_: just after the channel definition should do
<nckx>calher: You don't need to be scared to run ‘guix system reconfigure’ (or any Guix command) in parallel with ‘guix install’. And while it's true that you can almost always safely ^C it, one major exception is while GRUB is installing at the very end. Guix is transactional, GRUB is not; don't interrupt it. But that phase takes mere seconds.
<nckx>issues.guix has got all fancee since I last saw it. Nice job, rekado_!
<kamil_>mbakke, yes, there's a problem. "(check-vulnerabilities kernel-package)" leads to "guix/ling.scm: In procedure check-vulnerabilities: In procedure %package-replacement-real: Wrong type argument: #<inferior-package firstname.lastname@example.org xxxxxxxx>"
<mbakke>kamil_: OK, I guess you'll have to use 'guix time-machine' for now. It seems the linter cannot work with inferior packages atm.
<kamil_>mbakke, What a shame. Inferiors are still a technology preview, though. Thanks for trying to help me. I must figure out another way in which I can fetch CVEs for the currently booted kernel then.
<leon>OH! Thank you very much! Installing font-dejavu worked for me.
<mbakke>hm, the standard (remove (cut string-prefix? "--foo" <>) ,flags) trick does not seem to work when flags is a not-yet-evaluated (list ...)
<leon>I have another question. My distribution is Debian Buster (Debian 10, lastest), and my desktop environment is GNOME. Do you think there could be a way to integrate icecat to the apps icons of GNOME 3? I'd like to run icecat without having to launch it from the command line.
<leon>But I also did the export XDG_DATA_DIRS="$HOME/.guix-profile/share:$XDG_DATA_DIRS" before, but that alone didn't work. So Does it work now because I did both this and the symlink? Or was it just the symlink? I have other machines elsewhere where I'm going to want to do it too.
<mbakke>leon: I don't think GNOME reads your local .bashrc or wherever you did that export.
<mbakke>you could check /proc/$(pidof gnome-shell)/environ to verify, I think
<alextee[m]>oh hmm, then it should work when i do `fc-cache -fv gnu`. maybe it's a different problem then
<pkill9>I'm adding a bootoader menu entry but I'm getting this build error, what does this mean? ice-9/boot-9.scm:1515:18: object is not an exception of the right type #<&gexp-input-error input: #<procedure base-initrd (file-systems #:key linux linux-modules
<nckx>belgin: And that's because ‘guix environment --pure gcc-toolchain mesa’'s include/GL directory points to xorgproto/include/GL, not mesa's :-/
<rndd>hi everyone! i tried to install guix on my old laptop. after installation there are many errors and PC don't boot os. last error on display is "GC Warning: pthread_getattr_np or pthread_attr_getstack failed for maint thread". is it possible to fix?
<nckx>That's probably logical to someone who knows why but not to little old me.
<nckx>rndd: Do you have more output? That last line isn't relevant (happens to everyone).
<nckx>A screenshot is fine 's long as it's on a freedom-respecting site (no imgur please).
<nckx>rndd: How standard is your system.scm? Very custom or installer defaults? A desperate hack you could try to get slightly more output is booting with ‘quiet fbcon=font:VGA8x8’ on the kernel command line.
<nckx>So this is a Ryzen system? I think they're known to be troublesome. Don't know why.
<nckx>(Well, the buggy as hell BIOS might be a factor. -_-)
<rndd>nckx: well, i booted with ‘quiet fbcon=font:VGA8x8’ and nothing really changed in output
<nckx>Hmkay. It should've shrunk your font but never mind. It was pretty desperate. The problem is your screenshot full of text is telling us close to nothing useful, so it's going to be hard to suggest solutions.
<rndd>nckx: well, i can boot tqisquel and cannot guix. is it useful info?
<mbakke>rndd: does the boot stop completely on that last line (pthread_getattr_np failed)? how long did you wait?
<rndd>mbakke: ye, it stops on that last line. Around 30 minutes
<nckx>rndd: It gives hope that this can be fixed, yes. It doesn't immediately point us towards a solution. It might be useful to compare Trisquel's dmesg to the screenshot above. If it doesn't contain the same ACPI errors we know our kernel is doing something wrong/strict. If it does, we know they're not fatal on their own.
<nckx>If you do, use a pastebin (such as paste.debian.net). Make sure it starts at the beginning (the first line should be ‘Linux version 5.x…’), otherwise you'll have to get the full dmesg from $wherever_trisquel_saves_logs.
<nckx>Or send it to the mailing list. But the comparison is something you can do yourself, and so is checking for obvious differences.
<nckx>I think there are more AMD users on the list 😛
<rndd>nckx: another question. what i as newbe should learn in next few years to be able to solve such problems?
<nckx>mbakke: How do you handle changes on c-u while you're working on them?
<mbakke>nckx: I used to abort and do a new merge (solving the same conflicts anew) for a long time, until I discovered 'git rerere'
<mbakke>nckx: though 'Merge: 8d33f263c1 ebbf915422' was the tip of the core-updates branch, no?
<nckx>I'm not sure, I'm doing reflog autopsy at this point.
<nckx>Just when you mentioned ‘rerere’ I was reading ‘rere is not the solution, as you still have to resolve merges manually the first time across.’ although this was a conflict-free merge, so maybe not relevant.
<mbakke>right, 'git rerere' is only used to save merge resolutions and irrelevant when there are no conflicts
<mbakke>even with git rerere you need to 'git merge --abort' and run a new 'git merge' if the branch has moved
<nckx>I've never used git rerere so I'll keep that for another time.
<efraim>I'll wait a bit before pushing my core updates packages
<rekado_>next step is to rebase Guile Emacs on top of Emacs 26.
<rekado_>(not gonna touch 27 because of the new dumping mechanism)
<nckx>mbakke: Fair enough. Sorry for the rebase mess, not sorry for core-updates CUPS, although I will check staging for sneakiness from now on 😉
<efraim>i figured you might want to ninja-delete core-updates and try again with a merge :)
<nckx>I would if I thought I could get away with it.
<mbakke>nckx: dw, not blaming you for anything, just thought you should know :-)
<mbakke>I'd recommend against rebasing merges if possible as the REBASING MERGES section of git-rebase(1) reads like an instruction manual for shooting your own foot :P
<nckx>mbakke: No, thanks. I hadn't got the mail blast when you did so I was clueless, having used ‘git merge’ as always.
<nckx>Yeah, I was just about to use the word ‘foot’ here. Cool, rebases destroy even non-conflict merges, thanks for letting me know this way git. Really appreciated. You rock. Next time also send a mail to my mother calling a stupidhead thanks.
<rekado_>bah, I have guile-emacs that builds and starts, but when I eval (display "hello") after entering scheme-interaction-mode I get a crash
<alextee[m]>is there a guide/instructions/example packages for cross compiling (mingw) ?
<boeg>Save for just trying it out, how would I go about finding out if my hardware is supported by guix? Im running arch Linux on a MacBook Pro 12,1 and it works great. Should guix have the same hardware support available in the package archive?
<alextee[m]>ideally i would be making a mingw package for each of my dependencies?
<janneke>efraim: ah, up our own stream -- that's great!
<efraim>right now full upstreaming isn't possible with glibc-2.31, there's some sort of alignment errors
<efraim>locally I downgraded to 2.30, i'll re-create bootstrap binaries with 2.32
<ryanprior>I've got a patch series I'm ready to send with some new Python and Emacs packages =D
<sneek>Welcome back ryanprior, you have 2 messages!
<sneek>ryanprior, lprndn says: Nice! Most our work doesn't overlap. :) I'll look into that.
<sneek>ryanprior, lprndn says: On my side, I had a mostly working pantheon desktop on gnome 3.30. I'm updating everything I had. For now: plank, gala, wingpanel + most indicators, switchboard + most plugs, themes. It needs checking and testing. I also need to update files, calendar and screenshot and figure out what to do with some services...
<ryanprior>Anybody know how to use Emacs to send patches?
<janneke>efraim: yeah, saw your FIXME -- that's terrible
<ryanprior>What I've been doing is writing emails and attaching the patches as files, but since the patches are formatted as emails, that feels kinda extra?
<ryanprior>I assume there's a way to just send a patch as an email, like that's it that's the email.
<bricewge>Too bad that 'git send-email' can't be used from magit
<abralek>Hm, Sending patches over the email is a new process for me. I did install send-email. But most of my question relates to the way to send them. settings for format-patch, writing a cover letter and send series
<abralek>Ideally I think I need to write a cover letter with patches and somehow make cover email available in guix-devel list as well as in guix patches
<erikg>nckx: no word from #gcc, seems like a dead channel
<abralek>Maybe it would be helpfull to have git send-email/format configuration topic in the docs?
<erikg>searching on the web doesn't explain why the string to integer conversion functions in gcc 10.1.0 now require a wstring
<efraim>I normally go with 'git format-patch -10 -o ~/my-patch-set' (-10 for 10 patches)
<abralek>efraim: OK, but what about chainreplyto/ thread.
<abralek>efraim: Can you clarify what is going to happen if I send a series of patches using thread to guix-patches? So all emails except the first one will have the first one in theirs references. but will debbugs create one ticket only?
<abralek>I was looking for some debbugs testings package/server but failed
<ryanprior>abralek: you need to send the first patch (or cover letter) first and wait for a response from debbugs, which will give you a ticket # and a reply address for that ticket.
<ryanprior>abralek: then you can send the rest of the patches to the given reply address
<efraim>and then you get a response email giving you a patch number
<efraim>that patch number is the one you send the rest of the patches to
<boeg>ryanprior: i'm not sure if I need any nonfree drivers actually. Haven't installed any manually on this arch setup, just installed arch and turned on the correct wifi module (brcmfmac) and everything else worked out of the box, and as far as I can see, the brcmfmac driver is open source
<efraim>as far as threaded vs not threaded, we're not particular, we can figure it out :)
<abralek>ryanprior: That is what I did today. I sent series of patches and my first patch became a parent. But would it be better to set --nothread and make My cover email as a parent?
<abralek>efraim: I also would like to send cover email to guix-devel and have XXX in a cc
<abralek>So I am guessing there is no a single command to do everything in one go
<abralek>TZander: yes, but afaik attachments is bad in such a process. Plus how patchworks will process this? How to send an updates in that case.
<ryanprior>boeg: I've never tried Guix System as a liveusb, I know there's a USB installer image but I don't know if it can boot a "live" environment? Anybody else know about that?
<efraim>erikg: I also go the same output with gcc-9
<TZander>abralek: as said above by someone else, you get an email confirming your bug number and you can send updates (any number of attachments) to that address. And thus they become available on that bug report.
<boeg>but using the guix installer, does the installer not connect either via wifi or ethernet to download stuff? Because i mean if that is the case, then i can see if wifi is supported that way, ryanprior
<boeg>or are all packages includes on the installer?
<efraim>erikg: it also failed with gcc-toolchain@8 and only started working with gcc-toolchain@7
<ryanprior>abralek: I maintain a repo for my packages so that I can use them and link people to them before they're ready to send to the ml
<kamil_>What are your recommendations of emacs plugins available in the repository? I already have an eye on emacs-evil because I'm used to Vi editors.
<kamil_>I need a few basic ones that simplify writing GNU Guile code
<boeg>is it correctly understood that I can make a guile scheme "config file" and when that has been made, the only thing I need to set up a device with this config is to (i assume) manually format disks and install a "base system" and set up and user and then just apply the config and the rest of the system - drivers and locale and everything is - is set up as to my configuration?
<anadon>I'm having trouble getting `git send-email` configured just right. Coulld someone decipher the following for me?
<anadon>STARTTLS failed! SSL connect attempt failed error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed at /gnu/store/js8f0w00yp5mv4jkcx2nkzi10wsrjb2x-git-2.26.2-send-email/libexec/git-core/.git-send-email-real line 1548.
<anadon>nss-certs and libressl are both installed.
<reepca>boeg: the only part you have to do manually is creating the partition you want it on. From there you can just 'guix system init config.scm <target-partition>' from any system with a functioning guix on it.
<ryanprior>My guix-installed software has been degrading day after day in terms of font rendering.
<ryanprior>My Emacs has started showing symbols instead of text in places
<ryanprior>I really need a thorough explainer of how one is supposed to get guix apps to render fonts appropriately, and ideally also of why that isn't something we can get workign out of the box (or how I can help contribute to making that happen)
<jackhill>I have font trouble in Epiphany as well, but I haven't investigated enough to say more than that. I had been thinking of it as a Epiphany-spcific problem, fonts in Icecat and other software seem fine (but I don't use many font-heavy programs).
<jackhill>I have all the font packages installed in my user's default profile. For Epiphany I had been wondering if the fonts wheren't getting into the bubblewrap container for the web worker processes.
<jackhill>Oh! I just tried gnome-font-viewer, and it doesn't show any fonts. I did in the past. hmmm…