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

From: [email-masked] (Ludovic Courtès)
Date: Mon, 23 Apr 2018 17:14:52 +0200

Hello Danny,

Danny Milosavljevic <[email-masked]> skribis:

>> 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

This .drv is just the tip, all it does is symlink things produced by the
previous derivations.

Could you check the log file of the other derivations, like
guix-packages.drv?  Does anyone contain errors or anything interesting?

Thanks,
Ludo’.