--- Log opened Fri Aug 02 00:00:28 2019 02:36 -!- jonatack [d598a245@213.152.162.69] has quit [Remote host closed the connection] 04:11 < jonasschnelli> dongcarl: what exactly does "echo "1" > /proc/sys/kernel/unprivileged_userns_clone"? 04:32 < dongcarl> jonasschnelli: it allows normal users to create linux containers! 04:33 < dongcarl> meaning that after this step... you can run the entire guix build unprivileged! 04:34 < jonasschnelli> dongcarl: okay. Thanks. 04:36 < jonasschnelli> dongcarl: If i build the depends env with guix environment --manifest=contrib/guix/manifest.scm, how to I compile with that environment? 04:37 < jonasschnelli> Or does it set/export all relevant env. vars? 04:39 < dongcarl> jonasschnelli: Ah... I'd suggest you use https://github.com/bitcoin/bitcoin/blob/master/contrib/guix/guix-build.sh first... The container isn't very useful standalone right now and requires some setup 04:40 < jonasschnelli> I'm currently using that... but was wondering what "As a Development Environment" means in https://github.com/bitcoin/bitcoin/tree/master/contrib/guix#as-a-development-environment 04:42 < dongcarl> jonasschnelli: Oh right! A native depends build should work with what we have right now... To use the depends you built, I believe you set the `CONFIG_SITE` when you configure 04:42 < jonasschnelli> thanks... I'll have a look 04:43 < dongcarl> e.g. `env CONFIG_SITE="${PWD}/depends/x86_64-linux-gnu/share/config.site" ./configure ...` 04:43 < dongcarl> see: https://github.com/bitcoin/bitcoin/blob/master/contrib/guix/libexec/build.sh#L147 04:56 < jonasschnelli> Thanks! 05:45 < jonasschnelli> build of /gnu/store/xr5cb16nxlpjvx44v30g4rjs1n5pdj9n-curl-7.65.0.drv failed 05:47 < dongcarl> jonasschnelli: Huh... what version of Guix r u on? I would have expected substitutes to just work for curl 06:12 < dongcarl> jonasschnelli: Anyway if you did the guix pull as detailed in the README the packages should be good, in the future #16519 should eliminate this step entirely 06:28 < jonasschnelli> don't ask GUIX after a version.. :) 06:28 < jonasschnelli> guix (GNU Guix) 82c77e52b8b46e0a3aad2cb12307c2e30547deec 06:41 < dongcarl> jonasschnelli: At my desk now... Should be more responsive... What command did you run that resulted in this error? 06:43 < dongcarl> I'm looking at a container built from the manifest right now, and curl doesn't seem to be needed 06:44 < jonasschnelli> dongcarl: I'm on Debian GNU/Linux 9 06:44 < jonasschnelli> Installed GUIX this morning with the guix install shell script 06:44 * dongcarl listening 06:45 < fanquake> 👀 06:45 < dongcarl> which command triggered the `build of /gnu/store/xr5cb16nxlpjvx44v30g4rjs1n5pdj9n-curl-7.65.0.drv failed` error? 06:45 < jonasschnelli> did echo "1" > /proc/sys/kernel/unprivileged_userns_clone 06:45 < jonasschnelli> ./contrib/guix/guix-build.sh 06:45 < dongcarl> sanity check: does `cat /proc/sys/kernel/unprivileged_userns_clone` show "1"? 06:46 < jonasschnelli> guix environment --manifest=contrib/guix/manifest.scm <--- ran through fine 06:46 < jonasschnelli> jup, cat /proc/sys/kernel/unprivileged_userns_clone gives me a 1 06:46 * dongcarl thinking 06:46 < dongcarl> jonasschnelli: very glad you ran into this, definitely a good place to improve UX 06:47 < dongcarl> jonasschnelli: Can you should me `guix describe`? 06:48 < jonasschnelli> guix describe: error: failed to determine origin 06:48 < dongcarl> AH! 06:48 < jonasschnelli> oh. wait. I'm root now.. exitiing root 06:48 < jonasschnelli> with my non root user: 06:48 < jonasschnelli> Generation 1 Aug 02 2019 11:15:05 (current) 06:48 < jonasschnelli> guix 82c77e5 06:48 < jonasschnelli> repository URL: https://github.com/dongcarl/guix.git 06:48 < jonasschnelli> commit: 82c77e52b8b46e0a3aad2cb12307c2e30547deec 06:50 < dongcarl> okay, could you try `git clean -xdff && ./contrib/guix/guix-build.sh`? It will clean your current bitcoin directory jsyk 06:50 < dongcarl> also what does `git rev-parse HEAD` say? 06:50 * dongcarl is thankful for your patience 06:51 < jonasschnelli> e653eeff7651d823407e2e31a89176cc0b240c62 06:51 < jonasschnelli> non clean version 06:51 < jonasschnelli> now cleaniung 06:51 < jonasschnelli> cleaning 06:52 < jonasschnelli> building again... I'll let you know later 06:52 < dongcarl> jonasschnelli: sounds good, thanks for being patient with me! 06:54 < jonasschnelli> dongcarl: thanks for working on this! 06:54 < dongcarl> :-) 08:39 -!- hebasto [~hebasto@95.164.65.194] has joined #bitcoin-builds 08:58 < jonasschnelli> dongcarl: build of /gnu/store/xr5cb16nxlpjvx44v30g4rjs1n5pdj9n-curl-7.65.0.drv failed 08:59 < jonasschnelli> I guess "/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)" should not be the problem 09:00 < dongcarl> jonasschnelli: Oh I think I know what might be wrong...... 09:00 < dongcarl> jonasschnelli: could you show me `which guile`? 09:00 < jonasschnelli> Have to go afk, I'll response soon 09:00 < dongcarl> jonasschnelli: no worries :-) 09:33 -!- hebasto [~hebasto@95.164.65.194] has quit [Remote host closed the connection] 09:34 -!- hebasto [~hebasto@95.164.65.194] has joined #bitcoin-builds 10:55 < jonasschnelli> dongcarl: guile: command not found 10:56 -!- jonatack [d598a245@213.152.162.69] has joined #bitcoin-builds 10:56 < dongcarl> jonasschnelli: Okay, when it printed out the build of curl failed, it should have pointed you to a `.bz2` archive of the build logs, can you send that over? 10:56 < jonasschnelli> dongcarl: but if you meant guix, it's at /home/jonasschnelli/.config/guix/current/bin/guix 10:57 < jonasschnelli> Lost that terminal... building again now 10:57 < dongcarl> jonasschnelli: Thanks! 10:57 < dongcarl> jonasschnelli: It's extremely weird that `guix environment --manifest` worked, but not the build script... 10:58 < dongcarl> anyway, we'll know once we have the logs 10:58 < jonasschnelli> Yeah... 11:22 < cfields> fanquake: happen to have an extracted 10.14 sdk handy? 11:29 < jonasschnelli> cfields: I have a MacOSX10.14.sdk folder here in my XCode. Tell me how I should pack it if you want a download link 11:30 -!- hebasto [~hebasto@95.164.65.194] has quit [Remote host closed the connection] 11:32 < cfields> jonasschnelli: just a tarball would be great! 11:38 < jonasschnelli> cfields: MacOSX10.14.sdk is now a symlink to MacOSX.sdk 11:38 < jonasschnelli> not sure if it always was 11:38 < jonasschnelli> But stuff in the tar is in folder MacOSX.sdk/ 11:39 < jonasschnelli> NOT in MacOSX10.14.sdk 11:49 < cfields> jonasschnelli: ah. Don't worry about it, then. I need to go through the process myself to understand it better anyway :) 12:39 < jonasschnelli> dongcarl: looks like the build completed... 12:40 < jonasschnelli> no idea why this time (new ssh session though) 12:40 < dongcarl> jonasschnelli: oh well, that's good then! 12:40 < dongcarl> if you have time you can look for recently added `.bz2` archives 12:40 < dongcarl> but if not it's chill too :-) 12:41 < jonasschnelli> Where should they be stored? 12:42 < dongcarl> jonasschnelli: I believe `/var/log/guix` 12:46 < jonasschnelli> dongcarl: find tells me that all files are roughly about the same age (stat "%y"), all from when I first tried the build 12:46 < jonasschnelli> hmm... though: 12:46 < jonasschnelli> /var/log/guix/drvs/xr/5cb16nxlpjvx44v30g4rjs1n5pdj9n-curl-7.65.0.drv.bz2 2019-08-02 15:59:49.265563737 +0200 12:47 < jonasschnelli> /var/log/guix/drvs/k6/g1pfdqvbcikhsd16f1y8x9ila7msz1-curl-7.65.0.tar.xz.drv.bz2 2019-08-02 13:37:36.287528952 +0200 12:47 < jonasschnelli> wait.. different file 12:47 < dongcarl> jonasschnelli: you can `bzmore` the file 12:47 < dongcarl> which is basically `less` but with `.bz2` archived files 12:48 < jonasschnelli> can do,... anythings I should look for? 296k of text. 12:48 < dongcarl> jonasschnelli: just look at the end if it says it failed 12:49 < jonasschnelli> make: *** [Makefile:791: test] Error 1 12:49 * jonasschnelli looking for more... 12:49 < jonasschnelli> looks like the test failed 12:49 < dongcarl> jonasschnelli: probably a spurious curl test failure 12:49 < jonasschnelli> 1551: protocol FAILED: 12:50 < jonasschnelli> jup. test 1551 failed 12:50 < jonasschnelli> TESTDONE: 930 tests out of 931 reported OK: 99% 12:50 < dongcarl> jonasschnelli: do you see a test name? 12:50 < jonasschnelli> I guess no... 12:50 < jonasschnelli> looking though... 12:51 < dongcarl> jonasschnelli: If you just wanna throw that bz2 file my way I can take care of it too 12:51 < dongcarl> Don't wanna take up too much of your time :-) 12:51 < jonasschnelli> https://github.com/curl/curl/blob/f762fec323f36fd7da7ad6eddfbbae940ec3229e/tests/data/test1551 12:51 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Excess Flood] 12:52 < dongcarl> jonasschnelli: Dope 12:52 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #bitcoin-builds 12:52 < dongcarl> I'll take a look later :-) 12:52 < jonasschnelli> https://0bin.net/paste/eA2BxPz31SFCZy1D#RtqtwGC6hb19tbgmjY0KS61VTGyOAWi+y6Uk7WwTqUH 12:54 < dongcarl> jonasschnelli: Urgh, looks like a flaky test 12:54 < dongcarl> thanks for helping debug 12:54 < jonasschnelli> Yeah. Looks like nothing returned in the test. 12:54 < dongcarl> Guix is very adamant about running all the tests... but sometimes badly written tests will trip builds up 12:54 < jonasschnelli> Simple http test 12:54 < jonasschnelli> Yeah. 12:55 < jonasschnelli> Does Guix retries? 12:55 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has quit [Excess Flood] 12:55 < dongcarl> jonasschnelli: Hmmm not really... 12:56 -!- luke-jr [~luke-jr@unaffiliated/luke-jr] has joined #bitcoin-builds 12:56 < dongcarl> I do with there were a --disable-tests flag tho haha 12:56 < dongcarl> or `--unsafe-disable-tests` 12:56 < dongcarl> anyway, thanks for being patient with me, glad we got it working in the end! 12:56 < dongcarl> I'll work with upstream on that bug 12:58 < jonasschnelli> Thanks! No worries... glad I could manage to make the build and slowly gain understanding of whats going on with Guix. :) 12:59 < dongcarl> :-) 16:53 < fanquake> cfields: can get you one now if your still looking. 16:53 < fanquake> I’m pretty sure they’ve always been a symlink. 20:40 -!- jb55 [~jb55@gateway/tor-sasl/jb55] has quit [Ping timeout: 260 seconds] 22:02 -!- hebasto [~hebasto@95.164.65.194] has joined #bitcoin-builds --- Log closed Sat Aug 03 00:00:28 2019