Subject: bug#41217: closed (Resolution)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 12 May 2020 22:57:02 +0000

Your bug report

#41217: guix pull: error: You found a bug: the program '/gnu/store/h1b3kqafcgwv5zdj98f9ka3nppkz4l09-compute-guix-derivation'

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
41217: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41217
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Resolution
From: W Knight <[email-masked]>
To: [email-masked]
Date: Tue, 12 May 2020 21:29:40 +0000 (GMT+00:00)
List-Id: <debbugs-submit.debbugs.gnu.org>

After troubleshooting with lfam, rekado, cbaines in #guix the problem was found to be caused by lack of ram during "guix pull". 
With 1GB of ram for VM "guix pull" fails at different locations. 
With 2GB of ram "guix pull" finishes. Low point of available system memory (per 'free -s') during pull was ~320MB with ~910MB being common. 

Subject: guix pull: error: You found a bug: the program '/gnu/store/h1b3kqafcgwv5zdj98f9ka3nppkz4l09-compute-guix-derivation'
From: W Knight <[email-masked]>
To: [email-masked]
Date: Tue, 12 May 2020 19:19:02 +0000 (GMT+00:00)
List-Id: <debbugs-submit.debbugs.gnu.org>

Disclaimer: User error highly likely. Only second day playing around with guix 

Action attempted: 

guix pull # As testuser account per < https://guix.gnu.org/manual/en/guix.html#After-System-Installation> 

Error Message: 
<blockquote>

guix pull: error: You found a bug: the program '/gnu/store/h1b3kqafcgwv5zdj98f9ka3nppkz4l09-compute-guix-derivation' 
failed to compute the derivation for Guix (version: "75741af9b2996217732c9fe82d408a4927d5e321"; system: "x86_64-linux"; 
host version: "1.1.0"; pull-version: 1). 
</blockquote>

Error Detail: 

<blockquote>

testuser@guixFirst ~$ guix pull 
... 
downloading from https://ci.guix.gnu.org/nar/lzip/sc7z07gim1iq5zvfz1amdwf2irxrzifg-guile-2.2.6... 
guile-2.2.6 5.5MiB 2.7MiB/s 00:02 [##################] 100.0% 

downloading from https://ci.guix.gnu.org/nar/gzip/h1b3kqafcgwv5zdj98f9ka3nppkz4l09-compute-guix-derivation... 
compute-guix-derivation 859B 148KiB/s 00:00 [##################] 100.0% 

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 
/@ substituter-started /gnu/store/z7a6sbvqzb5zapwpznmjkq2rsxil6i67-glibc-utf8-locales-2.31 substitute 
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% 
guix pull: error: You found a bug: the program '/gnu/store/h1b3kqafcgwv5zdj98f9ka3nppkz4l09-compute-guix-derivation' 
failed to compute the derivation for Guix (version: "75741af9b2996217732c9fe82d408a4927d5e321"; system: "x86_64-linux"; 
host version: "1.1.0"; pull-version: 1). 
Please report it by email to <[email-masked]>. 

</blockquote>

System Configuration: 

<blockquote>
testuser@guixFirst ~$ guix system describe 
Generation 1 May 11 2020 17:10:26 (current) 
file name: /var/guix/profiles/system-1-link 
canonical file name: /gnu/store/ymbmfzp1jfa966zp7jixmmsdxamgg9mn-system 
label: GNU with Linux-Libre 5.4.31 
bootloader: grub 
root device: UUID: dcb203af-8c28-473b-b101-8553950c56fe 
kernel: /gnu/store/g56i8savnfr7981fil03idkjl0syj29d-linux-libre-5.4.31/bzImage 
configuration file: /gnu/store/1hv6mkhh7ziphhyn7axpd0c6p4i4hz14-configuration.scm 

testuser@guixFirst ~$ cat /gnu/store/1hv6mkhh7ziphhyn7axpd0c6p4i4hz14-configuration.scm 
;; This is an operating system configuration generated 
;; by the graphical installer. 

(use-modules (gnu)) 
(use-service-modules desktop networking ssh xorg) 

(operating-system 
(locale "en_US.utf8") 
(timezone "America/Chicago") 
(keyboard-layout (keyboard-layout "us")) 
(host-name "guixFirst") 
(users (cons* (user-account 
(name "testuser") 
(comment "Testuser") 
(group "users") 
(home-directory "/home/testuser") 
(supplementary-groups 
'("wheel" "netdev" "audio" "video"))) 
%base-user-accounts)) 
(packages 
(append 
(list (specification->package "nss-certs")) 
%base-packages)) 
(services 
(append 
(list (service xfce-desktop-service-type) 
(service openssh-service-type) 
(set-xorg-configuration 
(xorg-configuration 
(keyboard-layout keyboard-layout)))) 
%desktop-services)) 
(bootloader 
(bootloader-configuration 
(bootloader grub-bootloader) 
(target "/dev/sda") 
(keyboard-layout keyboard-layout))) 
(swap-devices (list "/dev/sda2")) 
(file-systems 
(cons* (file-system 
(mount-point "/") 
(device 
(uuid "dcb203af-8c28-473b-b101-8553950c56fe" 
'ext4)) 
(type "ext4")) 
%base-file-systems))) 

</blockquote>

Created on 20200512 (yesterday) with: 
<blockquote>

# Download the installation image 
cd /data/isos 
mkdir guix 
cd guix 
wget https://ftp.gnu.org/gnu/guix/guix-system-install-1.1.0.x86_64-linux.iso.xz 
wget https://ftp.gnu.org/gnu/guix/guix-system-install-1.1.0.x86_64-linux.iso.xz.sig 
gpg --verify guix-system-install-1.1.0.x86_64-linux.iso.xz.sig 
xz --decompress guix-system-install-1.1.0.x86_64-linux.iso.xz 

# Create vm 
cd /data//vms 
mkdir guixFirst 
cd guixFirst 
qemu-img create -f qcow2 guix-system.img 50G 
qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm \ 
-net nic,model=virtio -net user -boot menu=on,order=d \ 
-drive file=guix-system.img \ 
-drive media=cdrom,file=/data/isos/guix/guix-system-install-1.1.0.x86_64-linux.iso 

# Run the vm 
qemu-system-x86_64 \ 
-net nic,model=virtio -net user \ 
-enable-kvm -m 1024 \ 
-device virtio-blk,drive=myhd \ 
-drive if=none,file=guix-system.img,id=myhd 
</blockquote>

Qemu version: 

<blockquote>
qemu-system-x86_64 --version 
QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.23) 
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers 

</blockquote>
Please let me know if you want any additional details, 

Cheers, 
Warren