IRC channel logs

2018-03-24.log

back to list of logs

<marusich>janneke, it might help if you share the config you're using, and the output of a tool like "lsblk"
<janneke>marusich: http://paste.debian.net/1016375/
<Gamayun>janneke: Maybe try referring to the mapped device by UUID instead of device. I think I had the same problem. i.e. (mapped-device (source (uuid "blabla"))... etc.
<janneke>Gamayun: thanks, i'll try that
<Gamayun>I also have (needed-for-boot? #t) in the file-system definition, but I doubt that makes a difference, and that's the only other difference there. :)
<wigust>janneke: I think you should stick to a template https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/system/examples/desktop.tmpl?h=master#n24
<wigust>(mapped-devices (source (uuid "12345678-1234-1234-1234-123456789abc")) (target "my-root"))
<wigust>(file-system (device "my-root"))
<wigust>as Gamayun wrote
<janneke>wigust: yes, thanks -- trying that now
<janneke>wigust: "6.2.4 Mapped Devices" also lists (source "/dev/sda3") ... and i passionately dislike uuid's so tried that first
<janneke>Gamayun, wigust: yes using luksUUID instead of device names works
<janneke>i'll look at BUGS and make a bug report if there's nothing there
<wigust>xb
<Gamayun>janneke: Great!
<janneke>yes, very nice experience; thanks for your help
<tsholokhova>Hello everyone! My name is Tatiana. I am interested in guix and I would like to make a contribution for Outreachy/GSoC. I am looking for a package for which I can add a package definition. Could you give me a hint on where to look for such packages?
<catonano2>tsholokhova: Hi Tatiana, welcome ! Personally I'd love to have some more packages related to the GNUStep project
<iyzsong>tsholokhova: welcome! After install guix and have setup the develop workflow (git checkout and compile), you can browser the packages list (guix package -A, or guix source) and find something you using but missing. hint: libraries are usually easy to package than applications, eg: if you use python, add a python package.
<Gamayun>Привет Татьяна! I would also recommend looking for packages you use or are interested in first.. There are also bigger projects like packages and services to get KDE Plasma working.
<tsholokhova>Thanks everyone for your replies. I will try your suggestions, especially I like the idea with python packages.
<iyzsong>tsholokhova: the guix manual (especially the Contributing section) and the git repository should be the main reference, then please ask here (or mailing list) when any thing is not clear. good luck :-)
<jonsger[m]>tsholokhova: https://gitlab.com/pjotrp/guix-notes is maybe also a look worth...
<xshumeng>Hi, how to use proxy when i run command 'guix pull'. I tried to run 'export http_proxy=xxxx', but it not work.
<xshumeng>I saw 'the http_proxy env var can be set in the env of guix-daemon.' , how to set the http_proxy environment variable to guix-daemon ?
<ng0>libressl update was announced yesterday.. this hsa so little dependencies at the moment I can just sent it on master, right?
<mlatu>Hi all, I installed guixsd on my MacBook today and I want to enable the spi keyboard, then I found this : https://github.com/roadrunner2/macbook12-spi-driver
<mlatu>so, could these process mentioned in the link be configured in the guixsd system configurations?
<ng0>I will try to work on an mlmmj service next month. I'm still playing around with it on Debian with a backport, but it seems to me much more friendly than Mailman. The fact that mlmmj is filebased makes it easy to interact with as a service. Just the interaction of services might be tricky or getting tests right.
<ng0>mlatu: depends
<ng0>you can pass kernel arguments
<ng0>(still reading the README)
<ng0>we are now by default on linux version 4.15.12 with the libre patchset
<ng0>you could check if the modules listed there are loaded, with lsmod | grep "spi_"
<ng0>oh, I just realized this is a dkms module
<ng0>I don't think we have support for this at the moment, at least from my experience with experiments around with the kernel here
<ng0>some people have used / are using Macbooks here, so they should know more
<mlatu>So, I think I have to manually install the driver? Will these changes be dropped after a roll back or reboot?
<ng0>I can't tell you more than I have, it's best to wait for someone with Macbook experience :)
<mlatu>Sure, after struggling with Apple's hardware, I think I have patience :)
<ng0>the way the kernel is built here it still needs some way to be implemented to build non-dkms kernel modules (kernel source etc).. that information is more confusing than helping I guess
<mlatu>So actually I can't even manually install it, because the libre kernel doesn't support?
<ng0>no idea.. I'm not running the kernel that is in master.
<ng0>it's more about how dkms would need to be integrated
<mlatu>OK,I'll try to get more doc, thanks
<ng0>there was a discussion or bug report someone
<ng0>but I can't find it.. so just stick around :)
<ng0>I suppose you could try and report what happens.. but I'm not so optimistic that it will be easy
<darlingmouse>Good morning. I have an issue with the Guix package manager.
<darlingmouse>Was wondering if I could get some help with it.
<wigust>darlingmouse: Hello. You could :-) What's a problem?
***lldd is now known as lldd_
<darlingmouse>wigust: problem is with my glibc-locale
<darlingmouse>I keep getting "failed to install locale" when invoking guix package
<castilma>darlingmouse: I probably can't help you, but what's the output of $ echo $LC_ALL $LANG. maybe wigust can use that info.
<ng0>sneek: later tell darlingmouse: info guix locale will lead you to the follow-up link in the info document chapter 2.6 "Application Setup", 2.6.1 will probably help you solve your problem
<sneek>Okay.
<roptat>hi, I'm trying to develop a pygobject application, but I can't get a working environment for it...
<roptat>I even tried to use the same environment as sonata which uses pygobject (guix environment sonata)
<roptat>but it keep crashing on the first line of my program: from gi.repository import Gtk
<roptat>saying: TypeError: must be an interface
<ng0>so... when I lost all setuid applications.. is /run/setuid-binaries cleaned on boot? I could simply create the sudo I need as root.
<ng0>rollback.. so I don't think tinkering with setuid unless I have to is productive.. does someone have a working example of (setuid-programs)?
<thomassgn>ng0: I wasn't going to work on it, but found myself running a reconfigure with it in, don't know if it works yet. 1st time. Will let you know if I have time for it to finish... :)
<ng0>what does it look like? then I know if mine is just awful.
<ng0>I had a cons* with 2 gexps in it and the %setuid-programs
<ng0>docs on that could definitely be improved
<ng0>in before I write the real service: this could be done in 2 simple-services, right? Need to read the code on setuid again once I have the time
<thorwil>ng0: (setuid-programs (cons #~(string-append #$weston "/bin/weston-launch") %setuid-programs)
<ng0>which is weird, this crashed for me (I have to finish the real service, but there are blockers...):
<ng0> (setuid-programs (cons* #~(string-append #$gnunet-dev "/lib/gnunet/libexec/gnunet-helper-dns")
<ng0> #~(string-append #$gnunet-dev "/lib/gnunet/libexec/gnunet-helper-vpn")
<ng0> %setuid-programs))
<ng0>ehm.. crashed: /run/setuid-programs was empty and all the demons ran free
<ng0>I'm away for a bit
<thorwil>ng0: note cons vs con*
<thorwil>cons*, even
<ng0>ouch
<ng0>con-artist :)
<ng0>uhm.. what
<ng0>I will read the guile manual, maybe cons / cons* is more clear than
<ng0>I thought so far cons* is just when you have more than 2 written elements in the list
<ng0>and cons is when there's 2 of them
<thomassgn>ng0: sry, wasn't paying attention: (setuid-programs (cons* #~(string-append #$wireshark "/usr/bin/dumpcap") %setuid-programs))
<ng0>anywy, I'll be back
<thorwil>afair cons conses unto the empty list. cons* doesn't. for this reason, it is often used when the last argument is a list
<thorwil>so i would think the cons in my example is an error, except that it works ...
<thomassgn>I've just started using cons* because it adds as many elements as is, cons seems to only take one element and a list
<thorwil>thomassgn: cons takes 2 arguments and returns them as a pair
<thorwil>which means that given an element and a list, the result is a longer list. cons* in what ng0 has pasted is right
<thorwil>sheesh, it has been too long ago that i worked my way through the little schemer
<ng0>odd.... I ran the same thing in a guix vm, suids binaries where there
<rekado>on the rhel6 branch I get the old segfault trying to build ant-bootstrap.
<rekado>it seems that 799c3c868f6d06b032ab200ab387d761a97e61c5 didn’t actually fix the problem.
<rekado>hmm, tried something and it worked on my laptop, but it keeps failing on berlin.
<rekado>sablevm will have to be replaced sooner or later.
<mitch80>configure: error: found development files for Guile 2.0, but /home/swatiii/.guix-profile/bin/guile has effective version 2.2
<mitch80>any way to resolve this
<mitch80>while installing guix
<rekado>are you using “guix environment guix”? If so, try “guix environment --pure guix” instead.
<mitch80>it starts downloading substitutes
<Apteryx_>anyone having magit returning annoying stringp error messages??
<Apteryx_>more precisely: file-in-directory-p: Wrong type argument: stringp, nil
<mitch80>thanks rekado, it worked