IRC channel logs

2018-12-21.log

back to list of logs

<g_bor>yw!
<g_bor>:) is seems I am working my way up the java chain, now building openjdk10
<g_bor>sorry, 9.
<g_bor>then comes 10, and then I'm back to bussiness working on 11 :)
<lsl88>hi guix!
<lsl88>rekado: are you there?
<g_bor>hello guix!
<thomassgn>Hello Guix! And happy winter solstice!
<g_bor>hello guix!
<notnotdan>jackhill: i mean... fair enough
<tuete>Hey. I like to do `sudo guix system reconfigure myconfig.scm`. It says that I should invoke guix pull first. When I do that as my user it still shows that my installation is old and I should run guix pull. When I do `sudo guix pull` I get: Migrating profile generations to '/var/guix/profiles/per-user/root'...
<tuete>guix pull: error: symlink: File exists: "/var/guix/profiles/per-user/root/current-guix"
<tuete>I think I had that before.. I solved it by deleting the symlink.. but I guess that is not a smart nor permanent solution.. Any advice?
<brendyyn>tuete: I think this is a known problem but I forget what the solution is, I could offer some dumb advice and suggest trying things other than sudo, like logging in with su -l first and trying it
<tuete>brendyyn: Doesn't work as root with su either
<brendyyn>Did you not update in a very long time?
<tuete>11 days
<brendyyn>And you don't have guix in your profile, and your path variable provides the updated guix ?
<tuete>brendyyn: Under which user?
<brendyyn>both yours and root
<tuete>brendyyn: It seems that my user has .config/guix/current setup correctly in PATH. As root the PATH does not include /root/.config/guix/
<tuete>brendyyn: What do you mean by if PATH provides the updated guix?
<brendyyn>Well in the past there was a change from using 'latest' to 'current' i think, so so I wanted to check.
<tuete>I hit Ctrl+C when guix system reconfigure was running.. could it be that?
<brendyyn>Then I don't really know what to do, perhaps check the irc logs or mailing list to see if it's been discussed.
<tuete>brendyyn: Thanks for the help. I deleted the symlink now.. seems to work. I will check the lists until it appears again :)
<brendyyn>sorry i couldnt really help
<rekado_>tuete: aborting a “guix system reconfigure” is fine.
<rekado_>tuete: you may want to use “sudo -E” to use the current user’s Guix instead of the root user’s.
<tuete>rekado_: Ok, that is good to hear that I can safely abort :). I use the -E flag
<efraim>gcc-cross-boot0 on core-updates is FTBFS on aarch64
<civodul>hi!
<civodul>efraim: could you report it to the list?
<roptat>Hi guix!
***BubuIIC1 is now known as BubuIIC
<pkill9>hey
<kristofer>hello guix! I'm in over my head here. I'm confused why a container shares the host network namespace because it looks to me like the CLONE_NEWNET flag is used when guix starts a new container with the -N flag
<kristofer>shouldn't CLONE_NEWNET flag start the process in a new network namespace?
<kristofer>sorry for my ignorance. if there's some suggested reading please let me know
<pkill9>civodul: Is there a delay when applying patches? The patch I submitted (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33806) doesn't seem to be applied yet looking at the guix git master
<civodul>pkill9: i applied it locally but haven't pushed yet, hence the delay :-)
<civodul>i'm reviewing another patch and will push right after
<pkill9>ah ok :)
<pkill9>does anyone get "guix gc: error: build failed: executing SQLite statement: FOREIGN KEY constraint failed" when running `guix gc`?
<allana>Hi, is anyone running guixsd through qemu on a windows host? I am trying to transition from virtualbox. I face a couple of issues. 1) keymap seems totally off. I use a norwegian keyboard and specifying the -k qemu option doesn't seem to work, and "loadkeys" in the guest vm also fails to work properly. 2) for the guixsd install, the network test uses ping, which I don't think will work from a qemu guest. I see something in the docs about
<allana>only allowing TCP/UDP.
<allana>I know this may be a question for #qemu, but they are not responsive over there
<allana>And I am just seeing if anyone here has been able to work thoruhg a similar situation
<amz3>what are the processor architecture must be supported by cuirass?
<amz3>what processor architecture must be supported by cuirass?
<OriansJ>amz3: assuming we want cuirass to be able to run on any and all guix systems, the answer will have to be *ALL of THEM*
<amz3>yes, sorry for the noise.
<allana>Hi, anyone know of any good trivial-build-system examples? I essentially want to unpack a zip file which has a fat binary.
<OriansJ>allana: %binutils-static-stripped in gnu/packages/make-bootstrap.scm is pretty clean
<THFKA4>anyone look at clang 7 yet?
<allana>OriansJ: thanks
<allana>I'm poking around in the dark here, being new to guix and scheme. Is there a method for for unzipping source zip archive in a package definition? I see (invoke "unzip" ...) in the gnu build system, but I can't seem to get it to work in a trivial build system. I may be missing a use-module directive or some special syntax in my package definition. I can share a paste if anyone is willing to help me have a look.
<allana>I'm not getting particularly useful errors from the build, and I suppose there are better ways of debugging my package build that I have yet to learn.
<allana>The build directory in /tmp/... remains totally empty
<pkill9>allana: there isn't, but there's an example of unzipping a file within a trivial-build system, see https://lists.gnu.org/archive/html/guix-devel/2016-08/msg00962.html
<pkill9>oops
<pkill9>wrong link
<pkill9> http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/games.scm#n5480
<rekado_>allana: you can also try the gnu-build-system and delete phases that don’t apply.
<rekado_>last obstacle before getting a working tensorflow package: fix the RUNPATH for Python libraries.
<rekado_>(and then the fun begins unbundling dependencies…)
<allana>pkill9 and rekado_, thanks!
<rekado_>civodul: my containers devroom talk submission has been rejected.
<OriansJ>pkill9: that reminds me we will need to add a kaem-build-system option for the bootstrap
<civodul>rekado: oh, too bad
<rekado>I was on the waiting list, but they had only one speaker drop out.
<civodul>ok
<civodul>i haven't heard about my distro devroom submission
*rekado is still working on the rb blog post
<allana>pkill9: Thanks so much. I'm so happy that the example that you provided had what I needed for the trivial build.
<rekado>roptat: would you like to contribute a little snippet about your work on Scala for the bootstrappable.org website?
<rekado>I’d like to link to it :)
<tune>is there no notify-send on guix?
<rekado>have you tried installing inotify-tools?
<tune>nope, wasn't sure what package it was normally part of
<tune>thanks
<pkill9>tune: it's in the libnotify package
<tune>ah okay
<roptat>rekado: I'll do that
<rekado>roptat: thanks!
<pkill9>is there a way to refer to the build directory in a build phase?
<pkill9>hmm actually that won't fix my problem
<pkill9>nvm found a solution
<civodul>pkill9: (getcwd) or "." is usually what you'd want