Subject: bug#31162: "guix pull" broke itself

From: Danny Milosavljevic <[email-masked]>
Date: Thu, 19 Apr 2018 14:37:23 +0200

Hi Ludo,

> OK, so it sounds like it’s the *previous* ‘guix pull’ that left you with
> miscompiled or otherwise broken modules.
> 
> Could you: ‘guix gc -R $(readlink -f ~/.config/guix/latest)’,

$ guix gc -R $(readlink -f ~/.config/guix/latest) |grep guix
/gnu/store/yafigkxkq1fxfq0vwq4sndl1fjhh9aki-guix-packages-source
/gnu/store/q6sg0n5rxcgh95vzh7y623vwk8ksa33f-guix-register-0.14.0-10.486de73
/gnu/store/0drxkvvxm76vz0hb5mdpvdl071ha3if3-guix-system-source
/gnu/store/5jiyj90d2wk8jcz34n8zh59gnxdkj8v6-guix-f02d254ac

$ grep -l 5jiyj90d2wk8jcz34n8zh59gnxdkj8v6-guix-f02d254ac *guix*drv
pxm17xn6p9ndy3sjkzpdjwglfjizl7s1-guix-f02d254ac.drv

$ guix build --log-file /gnu/store/pxm17xn6p9ndy3sjkzpdjwglfjizl7s1-guix-f02d254ac.drv
/var/log/guix/drvs/px/m17xn6p9ndy3sjkzpdjwglfjizl7s1-guix-f02d254ac.drv.bz2

$ bunzip2 -cd /var/log/guix/drvs/px/m17xn6p9ndy3sjkzpdjwglfjizl7s1-guix-f02d254ac.drv.bz2  |od -tx1
0000000

> Besides, to work around the issue, you can always do:
> 
>   mv ~/.config/guix/latest{,.broken}
>   guix pull

Sure, as soon as we've exhausted the debugging possibilities I'll do that.