--- Log opened Fri Jul 09 00:00:01 2021 01:53 < darosior> So after 12 hours of building Guix with --no-subsitutes (Guile 3.0, version 1.3.0) i got a hash mismatch for texlive .. https://0bin.net/paste/2sYYJtPS#TrOUFxGHA4YHPh9a270-gZ+8QzV+mB6SHBfDXCgrGGx . Gonna try to debug soon 02:58 -!- robertspigler [~robertspi@2001:470:69fc:105::2d53] has quit [Ping timeout: 252 seconds] 05:04 -!- robertspigler [~robertspi@2001:470:69fc:105::2d53] has joined #bitcoin-core-builds 07:17 -!- lukedashjr [~luke-jr@user/luke-jr] has joined #bitcoin-core-builds 07:18 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 252 seconds] 07:19 -!- lukedashjr is now known as luke-jr 08:02 -!- gribble [~gribble@bitcoin/bot/gribble] has quit [Remote host closed the connection] 08:07 < dongcarl> darosior: Woah... Looks like the patch might have changed on their server? 08:07 < dongcarl> def a bug, or maybe texlive's servers were down 08:07 -!- gribble [~gribble@bitcoin/bot/gribble] has joined #bitcoin-core-builds 08:08 < darosior> dongcarl: kept trying, then with last mainline commit and this time had a Guile `make check` bug, try new mainline (they just pushed 13 new commits today) and still no luck 08:09 < darosior> So i think i'll do the binary install to test the remaining part of the doc :/ 08:09 < dongcarl> darosior: Let me investigate some more, thanks for the bug report 08:21 < dongcarl> darosior: I think you can just get a substitute for the patch... 08:21 < dongcarl> darosior: Sec 08:21 < darosior> I tried with your server 08:22 < dongcarl> darosior: Haha my server is having some obscure tcp problems 08:22 < dongcarl> darosior: try with the guix build farm server (with its key authorized) 08:22 < dongcarl> You can also check against https://raw.githubusercontent.com/archlinux/svntogit-packages/49d7fe25e5ea63f136ebc20270c1d8fc9b00041c/repos/extra-x86_64/pdftex-poppler0.76.patch once it's substituted if you're paranoid 08:24 < dongcarl> Although if the guix people can generate sha256 hash collisions for patch files... We have a larger problem XP 08:25 < dongcarl> darosior: Thanks for the diligent testing BTW 08:25 < dongcarl> Much appreciated 08:25 < dongcarl> Always good to catch things before 5 people report them all at once haha 08:26 < darosior> :) 08:27 < dongcarl> darosior: curious: you built Guix from source? 08:27 < darosior> Yes 08:27 < darosior> Trying `guix pull --branch=version-1.3.0 --substitute-urls="https://ci.guix.gnu.org"`, will let you know 08:27 < dongcarl> darosior: Oh! You don't need to do that 08:27 < dongcarl> darosior: One second let me give you a command 08:28 < darosior> (btw didn't have a /etc/guix/acl so i created one and ran `guix archive --authorize < /usr/local/share/guix/ci.guix.gnu.org.pub`) 08:28 < dongcarl> Try this: guix build --substitute-urls="https://ci.guix.gnu.org" /gnu/store/20g6mvz00kw749y27kyjnw2y22gl6wgh-texlive-bin-pdftex-poppler0.76.patch.drv 08:28 < dongcarl> That way you only use the substitute server for that single patch 08:30 < dongcarl> darosior: lmk if that works 08:30 < darosior> Ok it worked like a charm 08:30 < dongcarl> WOOHOO 08:30 < dongcarl> Developer-focused tooling FTW 08:30 < darosior> Now trying to guix pull without substitutes again :D 08:30 < dongcarl> Fingers crossed! 08:51 < darosior> It worked (so fast i double checked i didn't still have substitutes enabled, must have failed on tex at the very end!) :tada: 09:04 < darosior> dongcarl: sorry to bug you again, i think i just missed a step but can't find it. So guix pull worked, but `${localstatedir}/guix/profiles/per-user/root/current-guix` isn't populated 09:05 < dongcarl> darosior: Did you pull as root or as your normal user? 09:06 < darosior> So my guix works well, but from /usr/local/bin (service guix-daemon-original) not from the "normal" /var/guix (service guix-daemon) 09:06 < darosior> As root 09:06 < darosior> Followed https://github.com/dongcarl/bitcoin/blob/2021-03-guix-docs/contrib/guix/INSTALL.md#creating-and-starting-a-guix-daemon-original-service-with-a-fixed-argv0 09:07 < dongcarl> As in you did `sudo --login guix pull --branch=version-1.3.0`? 09:08 < dongcarl> or perhaps `su -` then `guix pull --branch=version-1.3.0`? 09:08 < darosior> I did `guix pull --branch=version-1.3.0 --no-substitutes` as root 09:09 < dongcarl> darosior: logged in as root? Or a bare `sudo`? 09:09 < darosior> Logged as root 09:09 < dongcarl> !! 09:09 < gribble> Error: "!" is not a valid command. 09:10 < dongcarl> darosior: What did the tail of the log of `guix pull` say? 09:11 < darosior> dongcarl: https://0bin.net/paste/CX3rDDGL#hYuEyHyYh3fCQ18UESJWk+vcXHhR7nB1a9ID6Ud2I7R 09:12 < darosior> And i have `/root/.config/guix/current/bin/guix-daemon`, and have your profile script in /etc/profile 09:12 < dongcarl> darosior: `file /root/.config/guix/current`? 09:12 < darosior> "/root/.config/guix/current: symbolic link to /var/guix/profiles/per-user/darosior/current-guix" 09:12 < darosior> oO 09:12 < dongcarl> ?! 09:13 < darosior> It should link to per-user/root right? 09:13 < dongcarl> Yeah... Did you ever set $USER or do a bare `sudo` without `sudo -i` or `sudo --login`? 09:13 < darosior> Didn't set USER, and don't have sudo at all 09:14 < dongcarl> I'm stunned! 09:14 < dongcarl> In any case, try using `/root/.config/guix/current` as argv0, should work 09:14 < dongcarl> I'll get to the bottom of this tho 09:14 < darosior> Will try again, maybe i messed something up while trying to get substitutes and all for `guix pull` to work. But i didn't do anything as user `darosior` but compiling guix 09:15 < darosior> And tons of deps because had issue building from source too 09:15 < dongcarl> Yeah very strange... 09:16 < dongcarl> Try using `/root/.config/guix/current/bin/guix-daemon` as argv0 09:25 < dongcarl> darosior: What does stat /usr/local/bin/guix say? 09:26 < sipa> "it does not talk" 09:27 < darosior> What sipa said, but it also wrote that: https://0bin.net/paste/XIN+Gsap#Zi3k42HHFcIvOQE38+UDaaMmCvw47TvCUpojxnJhMoO 09:27 < dongcarl> XP 09:30 < dongcarl> darosior: When you built Guix, you checked out version-1.3.0 in the git repo? 09:30 < dongcarl> Also, what distro are you on? I'll try to reproduce 09:30 < darosior> checked out tag v1.3.0 to be precise 09:31 < darosior> Debian testing 09:34 < dongcarl> darosior: Okay I'll start from scratch on Debian testing and see if I can reproduce. 09:36 < darosior> Maybe i can try something on my end too? Like starting from scratch post compilation from source 09:36 < achow101> is there a way to run guix-install.sh completely non-interactively? 09:38 < dongcarl> darosior: Yeah would be good to do a wipe and see if we can reproduce. Is this a VM/separate machine or your workstation? 09:38 < darosior> Nope 09:38 < darosior> Will do this before, so that we are sure it's not a mistake on my end before you lose time reproducing.. 09:39 < dongcarl> darosior: If this is a machine/vm specifically to test Guix I'd recommend starting over so we are sure. I'm going to start trying to reproduce as well so we get more datapoints :-) 09:39 < dongcarl> achow101: Does `yes | ./guix-install.sh` work? 09:40 < darosior> It's not a machine/VM to test guix specifically, but i can run it in the background. Just won't have `pull` ready before tomorrow :) 09:41 < dongcarl> darosior: Try this for wiping: https://github.com/dongcarl/bitcoin/tree/2021-03-guix-docs/contrib/guix#purginguninstalling-guix 09:45 < achow101> dongcarl: ah, thanks 09:47 < darosior> dongcarl: actually a typo in `su -` could be the culprit i think? Just doing `su` would have kept the env from the user `darosior` 09:47 < dongcarl> darosior: That might be it, `su` by itself does not work 09:50 * dongcarl shakes fist at POSIX 09:50 < dongcarl> Oh! `su` was excluded from POSIX... 10:55 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has quit [Ping timeout: 244 seconds] 10:55 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #bitcoin-core-builds 11:15 < dongcarl> darosior: I was able to reproduce your error! /root/.config/guix/current: symbolic link to /var/guix/profiles/per-user/dongcarl/current-guix 11:16 < darosior> Oh 11:16 < dongcarl> darosior: It is indeed due to a faulty $USER 11:16 < dongcarl> I tried `su` without the `-` 11:16 < dongcarl> And was able to reproduce 11:17 < darosior> Ok, thanks for looking into it. Currently re-building from scratch, still 11:19 < dongcarl> darosior: I tried `guix pull` right after with proper login and `guix` corrected the symlink 13:14 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Read error: Connection reset by peer] 13:16 -!- luke-jr [~luke-jr@user/luke-jr] has joined #bitcoin-core-builds 14:10 -!- lukedashjr [~luke-jr@user/luke-jr] has joined #bitcoin-core-builds 14:11 -!- luke-jr [~luke-jr@user/luke-jr] has quit [Ping timeout: 252 seconds] 14:12 -!- lukedashjr is now known as luke-jr 15:03 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has quit [Ping timeout: 244 seconds] 15:05 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #bitcoin-core-builds 17:22 -!- belcher_ [~belcher@user/belcher] has joined #bitcoin-core-builds 17:26 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 272 seconds] 17:47 -!- copumpkin [~woohoo@user/copumpkin] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…] 23:24 -!- Netsplit *.net <-> *.split quits: michaelfolkson, ryanofsky, laanwj, sipa 23:25 -!- Netsplit over, joins: michaelfolkson, ryanofsky, laanwj, sipa --- Log closed Sat Jul 10 00:00:02 2021