From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2LD5HY0qzGLBpgAAbAwnHQ (envelope-from ) for ; Mon, 11 Jul 2022 15:50:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id oA/PHI0qzGIAyQAAG6o9tA (envelope-from ) for ; Mon, 11 Jul 2022 15:50:05 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C1BA845B36 for ; Mon, 11 Jul 2022 15:50:04 +0200 (CEST) Received: from localhost ([::1]:34352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAtnX-000218-Og for larch@yhetil.org; Mon, 11 Jul 2022 09:50:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAtmY-0001Kh-Tx for bug-guix@gnu.org; Mon, 11 Jul 2022 09:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAtmY-0006JZ-L0 for bug-guix@gnu.org; Mon, 11 Jul 2022 09:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oAtmY-0004c7-D7 for bug-guix@gnu.org; Mon, 11 Jul 2022 09:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40641: Building from git breaks when /bin/sh isn't bash Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 11 Jul 2022 13:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40641 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: elaexuotee@wilsonb.com Cc: 40641@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" Received: via spool by 40641-submit@debbugs.gnu.org id=B40641.165754730517687 (code B ref 40641); Mon, 11 Jul 2022 13:49:02 +0000 Received: (at 40641) by debbugs.gnu.org; 11 Jul 2022 13:48:25 +0000 Received: from localhost ([127.0.0.1]:38914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAtlt-0004b8-43 for submit@debbugs.gnu.org; Mon, 11 Jul 2022 09:48:25 -0400 Received: from mail-qt1-f180.google.com ([209.85.160.180]:37598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oAtlq-0004aj-S4 for 40641@debbugs.gnu.org; Mon, 11 Jul 2022 09:48:20 -0400 Received: by mail-qt1-f180.google.com with SMTP id j29so6523944qtv.4 for <40641@debbugs.gnu.org>; Mon, 11 Jul 2022 06:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=pmMfXv3dfFn3gAn5/enF6CtUyKdaaIqDWq/cNkioIY0=; b=Ku56iwIxqw3BDkOw+WCB6txmEGfu+GxvQSQPNqCyGGLIveBuuc0lB/72BYg+zomtks pnDO7NIC9RgYQYdieF/Pj82gdghnEQuu0Rd73bi/3FxfMGnZDh0BvAi6z7a/3HFozzUK lph+/pYZQIKij8BzJ3wvCzBRJeKXwaWQ30kODQM36nJMjYJAdFLb9KpDu0Y5RcYYTFjd bS/JNMXqqEGAa14rnyZmhMPE5G15ItgnaNI5qr6U3Lh/XA5Q8fZpIvJqm/k27YfwoAZU UkTnPEmNxbuqwQ/9AezeRAdLy2Mv4h8cVu+37Gk0s3/zZXENWn+pwHj1BCxwu111orOV oFPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=pmMfXv3dfFn3gAn5/enF6CtUyKdaaIqDWq/cNkioIY0=; b=Ga/qoJOgnhBnSMI51SHfnLBp5X5x0kLEC8DSgnLwKLeHHC6iijm7KREbuE+ey4IgS1 tIuuuOzSXjchdtfi0KamGrzEb/ZHo473ufeOpmkIsGHpNKlbd4gOVMdk2w2jwq1M8ef/ kUNS8+yKT6GVqvzIXHgXc7pM3r49nEu+htHcAudoCAlPKGbnEwwAnacx4Kdw+jm3myFk vp62nJj9zb0U/3wQZlotOs5+9pSfYekJUN2O7jsGabBFx7lsMx3hvG/ovTqnRi6X7GIK YKuEJp2qsOI59hYn+YLEWhO36A51LMujHKfVvZxgzdd1DXiP85TRCPgWbOQNpgaBYRUv d4cA== X-Gm-Message-State: AJIora/YQbOvgQz0po0KW9ifayOD/UGpQvmc8YaUHwZHkkugpMb26gky 7J33MIXWkk+k2lpfHIc+wq6UzPYXiYfbHg== X-Google-Smtp-Source: AGRyM1sRvvK9SdkzrfXIhDapEpjeEQ5nNTX/WhjY0RMHpc5N2jjGtrGmoNh7lAa+AzUtkZMsLJYBxw== X-Received: by 2002:a05:622a:152:b0:31b:bf62:9e78 with SMTP id v18-20020a05622a015200b0031bbf629e78mr13249004qtw.363.1657547292514; Mon, 11 Jul 2022 06:48:12 -0700 (PDT) Received: from hurd (dsl-155-226.b2b2c.ca. [66.158.155.226]) by smtp.gmail.com with ESMTPSA id q22-20020a05620a2a5600b006b58facde91sm1734956qkp.106.2022.07.11.06.48.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 06:48:11 -0700 (PDT) From: Maxim Cournoyer References: <2O2NKRGHD2OZD.30CKDJBOP4LE3@wilsonb.com> <20200415122149.j7b6bcgvrp5cpq5l@pelzflorian.localdomain> <38M8QJ1PDKHCI.2ZBQF20W9BE03@wilsonb.com> <87h74tgxui.fsf@gmail.com> <20220613144005.gv2j5igdmisnaiqv@pelzflorian.localdomain> <874k0nfcq6.fsf@gmail.com> <2N3KLAV9USDUO.2FGVQNI398LFY@"@WILSONB.COM> <20220621090254.kyskzwkliku53mob@pelzflorian.localdomain> <62c2cd89.1c69fb81.7ad72.92c8SMTPIN_ADDED_BROKEN@mx.google.com> <87edywvbdz.fsf@gmail.com> <878rp4c7em.fsf@pelzflorian.de> <87mtdhftw7.fsf@gmail.com> <62caa649.1c69fb81.5b288.1112SMTPIN_ADDED_BROKEN@mx.google.com> <87wnckeo8j.fsf@gmail.com> Date: Mon, 11 Jul 2022 09:48:10 -0400 In-Reply-To: <87wnckeo8j.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 10 Jul 2022 15:55:56 -0400") Message-ID: <87h73nep5x.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657547405; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pmMfXv3dfFn3gAn5/enF6CtUyKdaaIqDWq/cNkioIY0=; b=CULUIy88hVq5oYP8g/Ex6m0/7eroMAgXpeV8S/04OKfsJQP7TO0LSlkJ4PE5T6B/u8MBOP Q8rgPbqEPiEuIxjGZnOFTjoJUqANUDbn3iTYOwBlx6wDLmZDXwibfg+16YJ7jK80bHjCoX jrGS5ske9Gb8+uc08cmnTQdJKOi4u1DW8tRNzlXfd7b4/Y8fu0XpVEIm4j8Yh9+2eSXAjP /IUE8CC9wHlkYXNlPI2BoUydwL3e19k8HlanqSeQuvt/uwkQkfoBciQhih9UxWvQlwQ5wA /tbr++S3niz2Sv4TiJ8lNp0YQongQybeK4b6fGduPE/iJokbL7UowegkGR+3Ug== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657547405; a=rsa-sha256; cv=none; b=fGCIb1+C8Rscy0L7bgdtOVujGkCRTSfpGeUQZ5HzYSK01vdWqyPSdElq9CkIzZl1PqPBx7 yCJacBcnqD/j6zBhM44bu+frX3jREnZH0shJfe4O7q2ixQnzBZrQxCejIDi8vapLIv29Ea 7hkVJTHQA19Y+ueGEaFtvbYajRJSEYq4Fzjkmz63wiQfMc4lh5Q5Ou5WX0nDtOyLpnltXl mf1K70FBUsU3rsfgUE3OXcZIn+RU4DhJlzagahtBtag4lUO2MfmmkSjL3b9HCIYh+cSs4H Xe49HgV7ZIizufwsy8yYQBeaBmMWkzY2dEOJxbL7aZTyiCd2pho5+sr0NRy4vQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Ku56iwIx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Ku56iwIx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C1BA845B36 X-Spam-Score: 5.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: YJ8cZEcB5G4e Hello, [...] > I've just 'ln -sf $(guix build dash)/bin/dash /bin/sh && export > SHELL=3D/bin/sh' on my Guix System, and could rebuild Guix master from > scratch successfully: > > make[1]: Leaving directory '/home/maxim/src/guix-master' > $ echo $? > 0 > $ ./pre-inst-env guix describe > Git checkout: > repository: /home/maxim/src/guix/.git/worktrees > branch: test-dash-as-bin-sh > commit: bf0a646a5bcde489b602c58fbb63a93acb9d08f6 > $ echo $SHELL > /bin/sh > $ ls -al /bin/sh > lrwxrwxrwx 1 root root 66 Jul 10 15:11 /bin/sh -> /gnu/store/nm0hccsphymx= i8c24xmg6ixm9vcf25xb-dash-0.5.11.5/bin/dash > $ grep SHELL Makefile > [...] > SHELL =3D /bin/sh > > I'll now try the tests. I've now done so, and there are only 3 tests that fail due to /bin/sh -> dash: --8<---------------cut here---------------start------------->8--- FAIL: tests/guix-package.sh FAIL: tests/guix-home.sh FAIL: tests/guix-repl.sh FAIL: tests/guix-package =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + guix package --version guix package (GNU Guix) 1.3.0.22041-bf0a6 Copyright (C) 2022 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. + module_dir=3Dt-guix-package-16322 + profile=3Dt-profile-16322 + tmpfile=3Dt-guix-package-file-16322 + rm -f t-profile-16322 t-guix-package-file-16322 + trap rm -f "$profile" "$profile.lock" "$profile-"[0-9]* "$tmpfile"; rm -r= f "$module_dir" t-home-16322 EXIT + guix package --bootstrap -e + guix package: error: expression "+" does not evaluate to a package + guix build guile-bootstrap accepted connection from pid 16340, user maxim + guix package --bootstrap -p t-profile-16322 -i /home/maxim/src/guix-maste= r/test-tmp/store/ff4yyg2g39ri2zpm0lbmvc2s2f5addv3-guile-bootstrap-2.0 accepted connection from pid 16347, user maxim The following package will be installed: guile-bootstrap 2.0 The following derivation will be built: /home/maxim/src/guix-master/test-tmp/store/4m9bi66d6b4lvj33n792flj071cxip= 1k-profile.drv building profile with 1 package... hint: Consider setting the necessary environment variables by running: GUIX_PROFILE=3D"/home/maxim/src/guix-master/t-profile-16322" . "$GUIX_PROFILE/etc/profile" Alternately, see `guix package --search-paths -p "/home/maxim/src/guix-mast= er/t-profile-16322"'. + guix package -A guile-bootstrap + cut -f 1-2 + guix package -p t-profile-16322 -I + cut -f 1-2 + test guile-bootstrap 2.0 =3D guile-bootstrap 2.0 + guix package -p t-profile-16322 -I + cut -f 3 + test out =3D out + rm t-profile-16322 + guix package --bootstrap -p t-profile-16322 -i guile-bootstrap accepted connection from pid 16381, user maxim The following package will be installed: guile-bootstrap 2.0 hint: Consider setting the necessary environment variables by running: GUIX_PROFILE=3D"/home/maxim/src/guix-master/t-profile-16322" . "$GUIX_PROFILE/etc/profile" Alternately, see `guix package --search-paths -p "/home/maxim/src/guix-mast= er/t-profile-16322"'. + test -L t-profile-16322 + test -L t-profile-16322-1-link + test -f t-profile-16322/bin/guile + guix gc --list-live + readlink t-profile-16322-1-link + grep /home/maxim/src/guix-master/test-tmp/store/bbxfpsy329libdc30s62az73w= 8x0b7cv-profile accepted connection from pid 16388, user maxim finding garbage collector roots... accepted connection from pid 16397, user maxim determining live/dead paths... /home/maxim/src/guix-master/test-tmp/store/bbxfpsy329libdc30s62az73w8x0b7cv= -profile + guix package --bootstrap -p t-profile-16322 -i guile-bootstrap accepted connection from pid 16404, user maxim The following package will be upgraded: guile-bootstrap (dependencies or package changed) nothing to be done + test -L t-profile-16322 + test -L t-profile-16322-1-link + test -f t-profile-16322-2-link + test -f t-profile-16322/bin/guile + guix package -e (begin (use-modules (guix) (gnu packages base)) (package = (inherit sed) (supported-systems (list)))) -n accepted connection from pid 16411, user maxim The following package would be installed: sed 4.8 guix package: error: package sed@4.8 does not support x86_64-linux + uname -m + guix package -i novena-eeprom -n accepted connection from pid 16419, user maxim The following package would be installed: novena-eeprom 2.3 guix package: error: package novena-eeprom@2.3 does not support x86_64-linux + break + guix package --bootstrap -n -p t-profile-16322 -i g-wrap guile@2.0 accepted connection from pid 16427, user maxim The following packages would be installed: g-wrap 1.9.15 guile 2.0.14 guix package: error: profile contains conflicting entries for guile guix package: error: first entry: guile@2.0.14 /home/maxim/src/guix-maste= r/test-tmp/store/7f6yrypzqyppdcap71ya9342i4kmb3wd-guile-2.0.14 guix package: error: second entry: guile@2.2.7 /home/maxim/src/guix-maste= r/test-tmp/store/wsnd10ajsz7vaapw2bxp8rw4h4x86406-guile-2.2.7 guix package: error: ... propagated from g-wrap@1.9.15 hint: Backtrace: In ice-9/eval.scm: 619:8 19 (_ #(#(#))) In guix/ui.scm: 2238:7 18 (run-guix . _) 2201:10 17 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 16 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) In guix/status.scm: 835:3 15 (_) 815:4 14 (call-with-status-report _ _) In guix/store.scm: 1298:8 13 (call-with-build-handler # =E2=80=A6) In guix/build/syscalls.scm: 1425:3 12 (_) 1392:4 11 (call-with-file-lock/no-wait _ _ _) In guix/scripts/package.scm: 151:19 10 (build-and-use-profile #= "t-profile-16322" #< =E2=80=A6) In guix/store.scm: 2168:25 9 (run-with-store # _ #:gu= ile-for-build _ #:system _ # =E2=80=A6) In guix/profiles.scm: 1935:2 8 (_ _) 358:4 7 (_ _) In guix/store.scm: 1883:0 6 (loop _ _) In ice-9/boot-9.scm: 1685:16 5 (raise-exception _ #:continuable? _) In guix/ui.scm: 757:16 4 (_ _) 310:42 3 (display-hint "Try upgrading both @code{guile} and @code{g-wra= p},\nor remove one of them=E2=80=A6" =E2=80=A6) In ice-9/boot-9.scm: 1747:15 2 (with-exception-handler # _ # _ # =E2=80=A6) In guix/build/syscalls.scm: 2284:35 1 (_) 2273:8 0 (terminal-window-size _) guix/build/syscalls.scm:2273:8: In procedure terminal-window-size: In procedure terminal-window-size: Inappropriate ioctl for device + guix package --bootstrap -n -p t-profile-16322 -i g-wrap guile@2.0 --allo= w-collisions accepted connection from pid 16434, user maxim The following packages would be installed: g-wrap 1.9.15 guile 2.0.14 + guix package -p t-profile-16322 --search-paths export PATH=3D"t-profile-16322/bin" + guix package -p t-profile-16322 --search-paths + grep ^export PATH=3D export PATH=3D"t-profile-16322/bin" + guix package -p t-profile-16322 --search-paths + wc -l + test 1 =3D 1 + set -e + set -x + guix package --search-paths=3Dprefix -p /home/maxim/src/guix-master/t-pro= file-16322 + eval export PATH=3D"/home/maxim/src/guix-master/t-profile-16322/bin${PATH= :+:}$PATH" + export PATH=3D/home/maxim/src/guix-master/t-profile-16322/bin:/home/maxim= /src/guix-master/scripts:/home/maxim/src/guix-master:/gnu/store/18zvp6m7c63= r66849g0pj20bxi3mc501-profile/bin:/gnu/store/18zvp6m7c63r66849g0pj20bxi3mc5= 01-profile/sbin:/home/maxim/.nix-profile/bin:/home/maxim/.local/bin/:/run/s= etuid-programs:/home/maxim/.config/guix/current/bin:/home/maxim/.guix-profi= le/bin:/home/maxim/.guix-profile/sbin:/run/current-system/profile/bin:/run/= current-system/profile/sbin + type -P guile + test -P: not found guile is /home/maxim/src/guix-master/t-profile-16322/bin/guile =3D /home/ma= xim/src/guix-master/t-profile-16322/bin/guile + rm -f t-profile-16322 t-profile-16322.lock t-profile-16322-1-link t-guix-= package-file-16322 + rm -rf t-guix-package-16322 t-home-16322 FAIL tests/guix-package.sh (exit status: 1) cause: test -P FAIL: tests/guix-home =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + set -e + guix home --version guix show (GNU Guix) 1.3.0.22041-bf0a6 Copyright (C) 2022 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. + guile -c (use-modules (guix config))(display %storedir) + NIX_STORE_DIR=3D/gnu/store + guile -c (use-modules (guix config))(display %localstatedir) + localstatedir=3D/var + GUIX_DAEMON_SOCKET=3D/var/guix/daemon-socket/socket + export NIX_STORE_DIR GUIX_DAEMON_SOCKET + guile -c (use-modules (guix)) (exit (false-if-exception (open-connection)= )) + dirname /gnu/store + STORE_PARENT=3D/gnu + export STORE_PARENT + test /gnu =3D / + mktemp -d + test_directory=3D/tmp/tmp.OAmVzSob58 + trap chmod -Rf +w "$test_directory"; rm -rf "$test_directory" EXIT + cd /tmp/tmp.OAmVzSob58 + cat + echo -n # dot-bashrc test file for guix home + guix home extension-graph home.scm + grep label =3D "home-activation" "140636280345728" [label =3D "home-activation", shape =3D box, fontname = =3D sans]; + guix home extension-graph home.scm + grep label =3D "home-symlink-manager" "140025808877824" [label =3D "home-symlink-manager", shape =3D box, fontn= ame =3D sans]; + guix home extension-graph home.scm + grep label =3D "home" "139908936525792" [label =3D "home", shape =3D box, fontname =3D sans]; + guix home shepherd-graph home.scm guix home: error: service of type 'home-shepherd' not found + container_supported + guile -c ((@ (guix scripts environment) assert-container-features)) + return 0 + guix home container home.scm -- true [...] The following derivations will be built: /gnu/store/2xy8zsfkw9v91ryin87ppqdj88ig4p84-home.drv /gnu/store/0s1m03p4vdcsxcy4iy0p7yn0i4bjbh3c-on-first-login.drv /gnu/store/c2py3dx3izjfslsdn6g7m1y0pvaz52ya-profile.drv /gnu/store/fwlni5mm6k9sv78xhrzl8gs6ypsqcwsw-activate.drv /gnu/store/4badi8l0vfddhg2hkn1rlbpk4f3s17r5-update-symlinks.drv 43.0 MB will be downloaded listing Emacs sub-directories... building profile with 2 packages... ........................................... building /gnu/store/0s1m03p4vdcsxcy4iy0p7yn0i4bjbh3c-on-first-login.drv... building /gnu/store/4badi8l0vfddhg2hkn1rlbpk4f3s17r5-update-symlinks.drv... The following build is still in progress: /gnu/store/4badi8l0vfddhg2hkn1rlbpk4f3s17r5-update-symlinks.drv building /gnu/store/fwlni5mm6k9sv78xhrzl8gs6ypsqcwsw-activate.drv... building /gnu/store/2xy8zsfkw9v91ryin87ppqdj88ig4p84-home.drv... substitute: .substitute: .[Kupdating substitutes from 'http://127.0.0.1:818= 1'... 0.0%.substitute: .[Kupdating substitutes from 'http://127.0.0.1:818= 1'... 100.0% substitute: .substitute: .[Kupdating substitutes from 'https://ci.guix.gnu.= org'... 0.0%.substitute: .[Kupdating substitutes from 'https://ci.guix.gn= u.org'... 100.0% substitute: .substitute: .[Kupdating substitutes from 'https://bordeaux.gui= x.gnu.org'... 0.0%.substitute: .[Kupdating substitutes from 'https://bord= eaux.guix.gnu.org'... 100.0% The following derivations will be built: /gnu/store/j60d0x8dfg97l4rgrxhra2v66zcyv4g3-module-import.drv /gnu/store/a707jiqfsd287442lhx5k6l8rr68a4lp-module-import-compiled.drv /gnu/store/s4578ab9is6z1akkhg76dk9a03w78bj4-home-system-profile.drv building /gnu/store/j60d0x8dfg97l4rgrxhra2v66zcyv4g3-module-import.drv... listing Emacs sub-directories... The following build is still in progress: /gnu/store/j60d0x8dfg97l4rgrxhra2v66zcyv4g3-module-import.drv building profile with 1 package... The following build is still in progress: /gnu/store/j60d0x8dfg97l4rgrxhra2v66zcyv4g3-module-import.drv building /gnu/store/a707jiqfsd287442lhx5k6l8rr68a4lp-module-import-compiled= .drv... [...] + guix home container home.scm -- echo $HOME + test /home/maxim =3D /home/maxim + + guix home container home.scmgrep -- the content of cat ~/.config/test.conf the content of ~/.config/test.conf + guix home container home.scm -- test -h ~/.bashrc + guix home container home.scm -- id -u + test 1000 =3D 1000 + guix home container home.scm -- test -f $HOME/sample/home.scm + guix home container home.scm --expose=3D/tmp/tmp.OAmVzSob58=3D/home/maxim= /sample -- test -f $HOME/sample/home.scm + guix home container home.scm --expose=3D/tmp/tmp.OAmVzSob58=3D/home/maxim= /sample -- rm -v $HOME/sample/home.scm rm: cannot remove '/home/maxim/sample/home.scm': Read-only file system + HOME=3D/tmp/tmp.OAmVzSob58 + export HOME + echo # This file will be overridden and backed up. + mkdir /tmp/tmp.OAmVzSob58/.config + echo This file will be overridden too. + echo This file will stay around. + guix home reconfigure /tmp/tmp.OAmVzSob58/home.scm guix home: warning: cannot determine provenance for current system Symlinking /tmp/tmp.OAmVzSob58/.profile -> /gnu/store/dann7r1095xll0kji5yl0= ql07096rc8j-shell-profile... done Symlinking /tmp/tmp.OAmVzSob58/.bash_profile -> /gnu/store/flqaxzvgfv2g3415= mhmq6c0zbzdzv2k4-bash_profile... done Backing up /tmp/tmp.OAmVzSob58/.bashrc... done Symlinking /tmp/tmp.OAmVzSob58/.bashrc -> /gnu/store/npd40qqa8hsvm7p5aqc3sj= 79hxjsrdin-bashrc... done Backing up /tmp/tmp.OAmVzSob58/.config/test.conf... done Symlinking /tmp/tmp.OAmVzSob58/.config/test.conf -> /gnu/store/bdixb09v30bv= hpgi2f6ndiq25wzb9l74-tmp-file.txt... done Symlinking /tmp/tmp.OAmVzSob58/.config/fontconfig/fonts.conf -> /gnu/store/= 4261pxafny0g2myhh9yj1771ry7k05lc-fonts.conf... done done Finished updating symlinks. Comparing /gnu/store/non-existing-generation/profile/share/fonts and /gnu/store/18h8fhfkpfyl8mvkfn9za8sj7dyxzzd4-home/profile/share/fo= nts... done (same) Evaluating on-change gexps. On-change gexps evaluation finished. + test -d /tmp/tmp.OAmVzSob58/.guix-home + test -h /tmp/tmp.OAmVzSob58/.bash_profile + test -h /tmp/tmp.OAmVzSob58/.bashrc + tail -n 2 /tmp/tmp.OAmVzSob58/.bashrc + test # dot-bashrc test file for guix home # the content of bashrc-test-config.sh =3D=3D # dot-bashrc test file for gu= ix home # the content of bashrc-test-config.sh ./tests/guix-home.sh: 137: test: # dot-bashrc test file for guix home # the content of bashrc-test-config.sh: unexpected operator + chmod -Rf +w /tmp/tmp.OAmVzSob58 + rm -rf /tmp/tmp.OAmVzSob58 FAIL tests/guix-home.sh (exit status: 2) cause: bashism in bashrc-test-config.sh FAIL: tests/guix-repl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + guix repl --version guix repl (GNU Guix) 1.3.0.22041-bf0a6 Copyright (C) 2022 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. + mktemp -d + test_directory=3D/tmp/tmp.PREwMwz2Ln + export test_directory + trap chmod -Rf +w "$test_directory"; rm -rf "$test_directory" EXIT + tmpfile=3D/tmp/tmp.PREwMwz2Ln/foo.scm + rm -f /tmp/tmp.PREwMwz2Ln/foo.scm + trap rm -f "$tmpfile" EXIT + module_dir=3Dt-guix-repl-19912 + mkdir t-guix-repl-19912 + trap rm -rf "$module_dir" EXIT + cat + guix repl /tmp/tmp.PREwMwz2Ln/foo.scm + test coreutils =3D coreutils + dirname /tmp/tmp.PREwMwz2Ln/foo.scm + cd /tmp/tmp.PREwMwz2Ln + basename /tmp/tmp.PREwMwz2Ln/foo.scm + guix repl foo.scm + test coreutils =3D coreutils + cat + cat + guix repl /tmp/tmp.PREwMwz2Ln/foo.scm -L t-guix-repl-19912 + test 42 =3D 42 + cat + guix repl -- /tmp/tmp.PREwMwz2Ln/foo.scm -a b --input=3Dfoo.txt + test (-a b --input=3Dfoo.txt) =3D (-a b --input=3Dfoo.txt) + type -P env + cat + chmod 755 /tmp/tmp.PREwMwz2Ln/foo.scm + /tmp/tmp.PREwMwz2Ln/foo.scm -a b --input=3Dfoo.txt ./tests/guix-repl.sh: 1: /tmp/tmp.PREwMwz2Ln/foo.scm: not found + test =3D (-a b --input=3Dfoo.txt) + rm -rf t-guix-repl-19912 FAIL tests/guix-repl.sh (exit status: 1) cause: type -P --8<---------------cut here---------------end--------------->8--- I'll see if these Bashisms can be easily switched to POSIX variants, else I'll experiment with setting the shebang of the test scripts to bash. Thanks, Maxim