IRC channel logs


back to list of logs

<svetlana><svetlana> — can't install perl, trying to install gnu screen. (I finally learned to copy-paste text from guix's console by runing it in a tty with gpm.) is there anything I can do about the error?
<svetlana><jxself> It looks like a problem with downloading from CPAN, not with anything else? <Fulax> yes <Fulax> I got 503 error code when browsing :(
<svetlana>What next? Wait for a next release? Or ask the guix package manager to update its thoughts on where to take packages from? (How do I do that?)
<DusXMT>svetlana: you could submit a patch to , or report the bug to if you don't mind waiting some time
<svetlana>DusXMT: I would submit a report. Do I need anything other than that paste and a summary of information from this conversation (a " gives 503" note)?
<DusXMT>svetlana: I think that should be enough... although trying to download the file from the link works on my computer... (maybe it is blocked on sone parts of the world?)
<svetlana>Got that for "guix package -i screen". Will retry then I guess, since downloading it works for me manually too.
<DusXMT>50X errors are usually server errors afaik, so maybe the server was just having a bad time?
<svetlana>We'll know when if it starts working now. :)
<DusXMT>Yup, Wikipedia: "503 Service Unavailable: The service is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state."
<jxself>And so indicates a problem with the website, not with the person's local computer or software. :)
<svetlana>it's sweating for some good few minutes now.
<svetlana>ah, 'cannot write: no space left on device'. 3GB free on the computer hard drive.
<svetlana>not sure which limits it's hitting.
<civodul>Hello Guix!
<DusXMT>hi ludo
<DusXMT>I have 2 questions. Is it safe to delete unused system profiles from Ã/var/guix/profiles/, and is there a way I can debug the installation of Grub done by "guix system reconfigure"?
<civodul>DusXMT: for question 1, yes, it's safe to remove them, you just won't be able to rollback afterwards
<civodul>for #2, depends, what would you like to debug? :-)
<civodul>first you could look at gnu/system/grub.scm
<DusXMT>civodul: basically, any time I do "guix system reconfigure", it fails with "error: failed to install GRUB on device '/dev/sda'", no matter what verbosity level I give it
<civodul>then you can run "guix system build the-config.scm", then use "guix gc the-result |grep"
<DusXMT>Thanks, I'll look at the file
<civodul>and inspect that file
<DusXMT>civodul: It built successfully. THe problem isn't with buildign the config, the problem is with instsalling it to the drive. I'll check the source file now
<civodul>DusXMT: sorry i got disconnected while i was away
<DusXMT>no problem
<civodul>DusXMT: so do you see any GRUB message before the error?
<DusXMT>No, the config gets generated properly
<DusXMT>and if I install grub manually and copy over the newly generated grub.cfg from the store, all works okay
<civodul>yes, but the "failed to install GRUB" error message comes up when grub-install fails
<DusXMT>I looked at the source, but my scheme is too bad to be able to figure out what could be wrong yet. My bet is that guix can't find grub-install
<DusXMT>I also noticed that when DMD starts, /run/current-system/profile/sbin is not in the path, making checking non-root filesystems at boot impossible, since that's where e2fsck is
<civodul>in guix/scripts/system.scm, there's a (setenv "PATH" ...)
<civodul>could you add (format #t "path is ~s~%" (getenv "PATH")) just after that?
<civodul>and try again 'reconfigure'
<DusXMT>I'll try
<civodul>i can fix the other issue
<DusXMT>also, it would be nice if we could swapon swap at boot time :)
<civodul>yes, that's among the many things to do
<DusXMT>It looks like I'm a complete idiot, I can't even get that one debugging line to work... *sighs*
<civodul>you should try putting it right before "case action"
<DusXMT>it doesn't print anything... I'll try moving it around...
<civodul>hmm you could try (current-error-port) instead of #t
<civodul>or just (primitive-exit 1) to see if it actually goes there
<DusXMT>so it does get there, the (primitive-exit) causes it to exit
<DusXMT>I got it working, and there is bith "sbin" and "bin" in the path, so that was a wrong guess
<civodul>and can you confirm that 'grub-install' is in one of these directories?
<DusXMT>yup, it is
<civodul>in guix/build/install.scm, can you add "--debug" to the grub-install arguments?
<civodul>grub-install is a shell script, so maybe it's missing something else in $PATH
<DusXMT>civodul: added, but gives no additional output
<DusXMT>The error message is coming from install.scm, not grub
<civodul>yes, but that's because grub-install returned non-zero
<civodul>can you just do: strace -f -o log guix system reconfigure ... ?
<civodul>and then look at 'log' to see what's going on with 'grub-install'
<DusXMT>civodul: no 'grub-install' in the log...
<DusXMT>the two syscalls in between which it happens: mkdir("/boot/grub", 0755) = EEXIST; write(2, "guix system: error: failed to in"..., 64) = 64
<DusXMT>I'll have to go, thanks for the help though