IRC channel logs
2016-01-18.log
back to list of logs
<sartre>The installation boot message is not very encouraging, "Thanks for being so brave." <lfam>On a foreign distro, how can I use root's Guix packages from sudo? For example, if root has Vim in her profile, what is the proper way to do `sudo vim /etc/fstab`? <lfam>I tried to read the man page for sudo and realized that this Debian didn't want to let me read manpages with `less`. So I had to go down a rabbit hole. <lfam>Do we have a working implementation of zsh completion? I have a package with bash and zsh completions. <iyzsong>completions provided by zsh should work, I haven't try to use completions provided by other packages. <lfam>What can I do on a foreign distro to make Guix packages available to remote connections over ssh? For example, if I use Guix to install rsync remotely, how can I invoke rsync locally such that it can find the remote rsync? <lfam>The Bash manual says that ~/.bashrc can be sourced in that case, but our manual advises not to set $PATH in ~/.bashrc <efraim>I've had to stick our path stuff in ~/.bashrc instead of ~/.profile <lfam>I wonder about the effect on `guix environment` <sneek>Jookia, civodul says: unfortunately, no --keep-going yet <tsyesika>civodul: i'll try and test what you pushed, I'm not too sure how yet... but i'll try and figure a way out <tsyesika>civodul: is it possibly for me to build an image similiar to 0.9? is the config you use to build the installation images somewhere? <tsyesika>lfam: great, don't know how i missed that <civodul>tsyesika: alternately, you could try to unload the usbkbd <tsyesika>i'll try and build and test an image tonight after work <civodul>just running 'guix system reconfigure' would be easier than building a new image <civodul>so easiest is "rmmod usbkbd" and see what happens; 2nd easiest is 'guix system reconfigure' <Jookia>I wonder how hard it'd be to get Guile running on Wine/ReactOS <tsyesika>civodul: i can't without the keyboard working <tsyesika>civodul: the macbook air only has 2 usb ports and the internal network card doesn't work and the laptop doesn't have an eithernet port so i need to use usb network as well as the usb drive to boot from <Jookia>Is there a way to specify a package repository for Guix to use? So far it seems to only let you use what's installed or guix-latest <rekado>tsyesika: you could do without the network for a moment to check if "rmmod usbkbd" works. <rekado>(I don't think it would work, though, because that would not necessarily make the internal keyboard be served by usbhid) <rekado>Jookia: what do you mean by package repository? <tsyesika>rekado: i'll build an image later tonight and test it <rekado>Jookia: you can use a different set of recipes with GUIX_PACKAGE_PATH. <Jookia>rekado: I have a custom Guix version that I want to install and use as my default Guix- I can also see this being the case if I want to edit package- GUIX_PACKAGE_PATH! That sounds like it <Jookia>A little like it, I still have to package my custom Guix version <rekado>I normally use a git clone of upstream Guix and have my own changes in the tree. <rekado>then I link ~/.config/guix/latest to the location of the clone. <Jookia>Hmm, but that won't install it will it? Since the Guix package doesn't have the changes <Jookia>Well, I suppose 'install' is the wrong idea here anyway ;) <Jookia>That solution works fine for me, thanks <tsyesika>civodul: macbooks are a nightmare to run free software on >.< can't wait until i can justify the cost of getting a libreboot x200 <Jookia>Does anyone else find coreutils' test fail when building? I have a specific test and the source code itself seems like it's intended to fail <Jookia>In addition, is there a way to step through a build's phases? Would I need to use Guile and breakpoints for this? <civodul>could you paste the relevant part of the build log? <civodul>mark_weaver: apparently both gettext/armhf and coreutils/mips64el are built now on Hydra, so i guess these were transient failures? <civodul>Jookia: what file system are you using? <civodul>that could be related, given that this test is looking at low-level FS details <civodul>also, you seem to be using an "old" guix-daemon, which leaks the real name of the build directory (/mnt/scratch/...) <civodul>i'd recommend using the latest one in master <civodul>that way, you'll be using the same build directory name as everyone else <Jookia>civodul: Does that help reproducibility or is it just for logs? <civodul>in some cases, that can avoid obscure failures (related to file name limits, etc.) <civodul>though i think the problem here is due to btrfs <Jookia>Where do patches go in the guix tree? <civodul>i think it'll have to wait until the next full-rebuild cycle tho <Jookia>civodul: It's cool, I'm building it all myself because I'm stubborn <Jookia>Patches don't require hashes? Interesting <lfam>Jookia: Patches are applied to sources and thus change the hash of the source <lfam>Or not of the source but of whatever goes into the store <Jookia>It bothers me a tad that NixOS doesn't have a way to verify the image you download <Jookia>Or stable releases for people that don't want to compile constantly <Jookia>Sorry to bother with all the questions- now my build is failing because of a hash mismatch I assume, is there a way to find out the new hash? <lfam>Usually in that case it tells what hash it expects and also the hash it actually computes <Jookia>I get "builder for `/gnu/store/788sjp611abfscl8bb88vnm7j2ppx4lp-coreutils-8.24.tar.xz.drv' failed to produce output path `/gnu/store/g0sn86663570x3jkrl2qmks2n4hqbqhs-coreutils-8.24.tar.xz'" after applying the final patch <rekado>when there's a hash mismatch Guix reports both hashes. <rekado>if you don't see both hashes reported then maybe it's not a hash mismatch. <Jookia>It's not a hash mismatch then, and I'm unsure what's going on- looking at other logs doesn't show patches being applied so I'm not sure what I'm looking for. http://paste.rel4tion.org/217 <civodul>Jookia: "patch: **** Only garbage was found in the patch input." <Jookia>civodul: Yeah, that looks suspicious <Jookia>But I don't have the log for a normal .tar.xz build (not sure how to get it either) <Jookia>Is there a way to get a build log for a tarball? <civodul>guix build --log-file /gnu/store/g0sn86663570x3jkrl2qmks2n4hqbqhs-coreutils-8.24.tar.xz <civodul>so the error here is that the patch you added is malformed <Jookia>civodul: I mean logs from other people's builds of the tarball. And yeah, maybe it's malformed- it'd be helpful if I could step through the build phases and use a shell to see what's going wrong <civodul>"guix build -S --log-file coreutils" will give you the build log on hydra.gnu.org <civodul>but no, it's not possible to step through the build phases <civodul>but i don't think it would help in this case :-) <Jookia>In NixOS I often step through the build phases when debugging builds since rebuilding is often costly :\\ <efraim>I'm working on python2-jsonschema atm <efraim>looks like its going to be a very large commit message <Jookia>Does anyone know of a command line tool to format a Guile/Lisp document? <lfam>I used paredit in Vim. It's probably not as good as what you get in Emacs but it helps and it's easy to install <Jookia>So I figure I'll use Guile to debug the build script <Jookia>civodul: Thanks, I'm on my way to hacking together what I want to debug builds <jin_>hi tsyesika, i test with the command 'rmmod usbhid' and the keyboard of the mackbook working fine. <jin_>the command 'rmmod usbkbd' not working in my macbook. <civodul>mark_weaver: ok, thanks for letting me know <paron_remote>(explaining why we're keeping the older linux-libre around) <civodul>paron_remote: roughly two semicolons for line comments, one semicolon for margin comments <civodul>see "Formatting Code" in the manual ;-) <paron_remote>I'm just not sure if this is considered a line comment or a toplevel comment.. :) <paron_remote>so I looked at packaging maildrop, but it has a lot of complexity to package, and when I configured it it tried looking for a directory in /var/ to see if there was a default mail spool (I could fake this I guess) <paron_remote>and that one has a dependency on tdb which can't determine its host type for some reason <francis7>mark_weaver, I don't think linux is at fault with that epoch thing <francis7> <romanis> hello, i've got a warning message in my dmesg and wanted to know if it's harmless <francis7>[18:37] <romanis> WARNING: Persistent clock returned invalid value! <francis7>[18:37] <romanis> Check your CMOS/BIOS settings. <francis7>[18:38] <romanis> i'm on a t400 using some patches from libreboot <francis7>[18:42] <icon> romanis: that is a known issue and was fixed recently in upstream coreboot. coreboot accidentally overwrote the century byte on many systems (including all supported thinkpads) <francis7>[18:45] <icon> romanis: you'd need that patch and have to reset the century byte manually (at least I did it somehow with nvramtool) <francis7>I'll work on merging this into libreboot now <francis7>libreboot uses an older coreboot revision. I'll update it eventually, but for now I'll backport this patch <francis7>actually, looks like I'll have to update the coreboot revision <paron_remote>francis7: then why is it fine on some kernels and not others...? <calher>francis7: Does GuixSD run on Libreboot? <petter>calher, of interest to you may be that you can run a fully encrypted GuixSD with Libreboot (you can encrypt /boot and everything) <francis7>and still possible to bisect (linux kernel git repository) <francis7>according to coreboot though, it's coreboot's problem <francis7>however, the bug obviously wasn't exposed, and the kernel was changed somehow in later versions exposing the bug. we've seen this before <paron_remote>I think I've done the most I can to identify it and provide a kludge for now <petter>The special thing here is that you can put your Grub config file etc in your boot firmware, Libreboot (and Coreboot i guess). Usually Grub would need to get some resources from a partition (/boot) <petter>i run a fully encrypted GuixSD myself, so i can vouch for that it works :) <calher>petter: You use GuixSD for everyday stuff? <petter>Is there something particular holding you back in this regard? <calher>petter: Not sure how to configure WiFi with command line; can't get Ethernet. <giammi_>hello, wanted to download ftp://alpha.gnu.org/gnu/guix/guixsd-usb-install-0.9.0.i686-linux.xz through tor <giammi_>gives me error: 425 Security: Bad IP connecting. <civodul>giammi_: weird; with "torify wget ..." i get: "Error in server response, closing control connection" <civodul>giammi_: it works if you replace "ftp" with "http" though <petter>it works for me with ftp:// in IceCat <petter>at least it's not all Tor nodes, "just the bad ones" <giammi_>petter, I tried with tor browser bundle and with tor on firefox <petter>maybe it will work if you restart Tor or somehow get another exit node <giammi_>will try again. I can also download it without tor. But I just wanted to give a heads up <petter>i've restarted Tor twice, which changed exit node each time. From the third node i get a 425 as well <petter>Yeah, thanks for mentioning it :) <giammi_>petter, you have more luck than me, tried already 5 times, no success :) <petter>do you verify you get a different IP? <petter>seems like a significant share of Tor exit nodes are currently blacklisted then :( <giammi_>seems so, it seemed strange to me, that there was a blacklisting on the FSF website <petter>yeah, i'm pretty it has nothing to do with Tor per se <giammi_>petter, ok, thanks for your help - will then give guix a go - have a good one - bye <civodul>what do people use as an FTP proxy to route FTP traffic through Tor? <civodul>i use Privoxy for HTTP(S), but that doesn't handle FTP <calher>torify curl ftp://example.net/example.txt >Example.txt <civodul>i was looking at implementing 'ftp_proxy' for Guix