From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oFDkL3iE02QKKQEASxT56A (envelope-from ) for ; Wed, 09 Aug 2023 14:20:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +DmZL3iE02S+NAAA9RJhRA (envelope-from ) for ; Wed, 09 Aug 2023 14:20:08 +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 577DF623E6 for ; Wed, 9 Aug 2023 14:20:08 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=DB3NWREn; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691583608; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=LLegYKtBaFH977SlrxYIkwcZRjokw2pcqTTFdu5noFI=; b=DUhMbXdhNyH5EcKTAtM6aBbyua3435rlii4atTzC8ERkECRB9Xj04QjFXejh6Nnoja+k72 wyELDQrmWJyGcj2BM1FeR8t7upaS096LEmEr1GcVnHN1LvBfcEHI4clyXmgvBAsc7JlS05 PKVZOcwaEsVAAayu6QmpPhQ9jqH0gr0znV3zJJTlBpbDyqY3sca+gDFw4Bzl5CVxAFcHNU Cw0qwHQG0HvgNQXhAwCSHMcMEMj9yEnA6865EVRVt15dV6hCYC5ojZ6JxbnMY3wCdRfJMg q06VQyojH4KqFqr3arUBMAT+RH1uzDr29Id1B0EPt3+37HzJYiIVoMFzxQUKZw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691583608; a=rsa-sha256; cv=none; b=QQ4xIRc9BPf1ca3wj8+NUFkuHMbnaJaHPFoML7ZsAYLiOs6Z7zvIEZu+BhEgo0cgvG8DrQ N1dSMl8my9xiEdPwLAuYXLfiBEXMTQrAr/uh3K30iPiaBm/Jf8eKrxaNfhj4qX6aWftTjN G8INinYgWd/JzCGzgi5Qen1VfFpLnMptr/HsVv2rxokE1prSUEnxEbwv8hZN50faw37YYH G4n60uqdgnsYIy3JAvAbT41IdcFI//Z6tqhLFSdDqZh/MfFn8809buEfxot3r3KMsvpGDL 4o30HuVyceOAhctqXxV2FDHOB3GGHi+FDC5it8xlUCTnPuccnAeP4wKhPtnwZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=DB3NWREn; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTiAS-0005qI-Hx; Wed, 09 Aug 2023 08:20:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSK3S-0006GU-UN for bug-guix@gnu.org; Sat, 05 Aug 2023 12:23:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSK3S-00040W-MM for bug-guix@gnu.org; Sat, 05 Aug 2023 12:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSK3S-0005eR-Ep for bug-guix@gnu.org; Sat, 05 Aug 2023 12:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65101: Singularity can't find basic programs Resent-From: "N. Y." Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Aug 2023 16:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65101 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65101@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169125257521707 (code B ref -1); Sat, 05 Aug 2023 16:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2023 16:22:55 +0000 Received: from localhost ([127.0.0.1]:58006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSK3K-0005e2-HR for submit@debbugs.gnu.org; Sat, 05 Aug 2023 12:22:55 -0400 Received: from lists.gnu.org ([2001:470:142::17]:50750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSK3H-0005do-W0 for submit@debbugs.gnu.org; Sat, 05 Aug 2023 12:22:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSK3C-00060A-O2 for bug-guix@gnu.org; Sat, 05 Aug 2023 12:22:46 -0400 Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSK3B-0003ya-1A for bug-guix@gnu.org; Sat, 05 Aug 2023 12:22:46 -0400 Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-76714caf466so247622985a.1 for ; Sat, 05 Aug 2023 09:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691252563; x=1691857363; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=LLegYKtBaFH977SlrxYIkwcZRjokw2pcqTTFdu5noFI=; b=DB3NWREnbpFXZsx/V54zYZLbEzGAdugHGZ+zj5NrrihUwrYq3SEpBlMIWIQFcaKZLM KnQIwunJzygruhXa1TLy+2Y5A4A67PywKp+skBDPHmf8kbLS8fyeH76DAq1uXpBaWkNB 7ZFZU5kuI3X4UXg9XYOlsXZtjTtoGSynBhJLishaT4r4at6LAVuY5q9Q8+BjnGHKsnR2 ODEMHgEsOR2AOQMmcMBHw8g70esZcoBM140lsv2FjImq91sjQu62BtkoDGlnRiafEaXF u+7wmOSjhz62yzkagnJ88AiitpE7wpEzgndQ16Q5qNZwx82rdQ7PMunM2fjIm3IqJOjK sZ7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691252563; x=1691857363; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=LLegYKtBaFH977SlrxYIkwcZRjokw2pcqTTFdu5noFI=; b=UP44QN8IsqVbHoqRiK+mEw72GLZh2FC3xWcrfX7C5/GqBaPoNkktMZIt0TgJJWNJvH 35gTZPYmR+05dCIv/SKHX1O127z895snegGQvRREEp5R2sDdTB71AkRMTbkgLZatRDYC 8LkYD599NBeYn1FkkDfMuVSqsHoC1A8MxX1ESLuG47iur4in3Fh+fJpnU6HQBu9tnA3B niqCA9QBjiigH32fJdnF+4d4RJiscBgjhgjYsU11Bxu66FLNiVN4LsTHnpXIgq6coXCf pSZX5haDJ7/+fU9JMomtZn6PVFqXy4yqz3AV4RgDZhaz4oQ5A6mSXLMwSy9IAEP6F55U 2a0g== X-Gm-Message-State: AOJu0YyT0V8UXnuKw7u3CGeoHey62ckL4YFNhvFKS49kUhA7sxPgQadM 7uuSiqVtqJRq6Op5GZk7PQIvEXqcohlLSica+CKbmEbTDdE= X-Google-Smtp-Source: AGHT+IHFAiJSstXDP7dDkgAEp6yd+Y/8+iSv95KwG6RZJVKLseLzXseF6CvE+OJHbZp5d1FCuAEMPUBgDf1h+O8W6BY= X-Received: by 2002:a05:622a:144e:b0:405:516b:4e0e with SMTP id v14-20020a05622a144e00b00405516b4e0emr7988225qtx.6.1691252563190; Sat, 05 Aug 2023 09:22:43 -0700 (PDT) MIME-Version: 1.0 From: "N. Y." Date: Sat, 5 Aug 2023 16:22:07 +0000 Message-ID: Content-Type: multipart/alternative; boundary="000000000000412f3e06022f6c53" Received-SPF: pass client-ip=2607:f8b0:4864:20::734; envelope-from=ningyuan.sg@gmail.com; helo=mail-qk1-x734.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 09 Aug 2023 08:19:59 -0400 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 577DF623E6 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.07 X-Spam-Score: -4.07 X-TUID: PHsKxKZpDM8Z --000000000000412f3e06022f6c53 Content-Type: text/plain; charset="UTF-8" On guix (GNU Guix) 5aceacac65784bd2e1fd12304f965ae6026de49d, trying to build a Singularity image, I get many "command not found" errors for the programs id, install, zcat, and tar: ning@bluecoral ~/repos/bento$ sudo singularity build bento.sif bento.def Password: Using container recipe deffile: bento.def Sanitizing environment /gnu/store/cg4mz2irhcjcmd6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/functions: line 34: id: command not found /gnu/store/cg4mz2irhcjcmd6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/functions: line 34: id: command not found /gnu/store/cg4mz2irhcjcmd6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/bootstrap-scripts/pre.sh: line 44: install: command not found /gnu/store/cg4mz2irhcjcmd6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/bootstrap-scripts/pre.sh: line 45: install: command not found /gnu/store/cg4mz2irhcjcmd6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/bootstrap-scripts/pre.sh: line 46: install: command not found egrep: warning: egrep is obsolescent; using grep -E /gnu/store/cg4mz2irhcjcmd6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/functions: line 34: id: command not found Adding base Singularity environment to container /gnu/store/cg4mz2irhcjcmd6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/bootstrap-scripts/environment.sh: line 45: zcat: command not found /gnu/store/cg4mz2irhcjcmd6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/bootstrap-scripts/environment.sh: line 45: tar: command not found Cleaning up... In my system.scm, I have both the singularity package: ;; Packages installed system-wide. Users can also install packages ;; under their own account: use 'guix search KEYWORD' to search ;; for packages and 'guix install PACKAGE' to install a package. (packages (append (map specification->package '("nss-certs" "ntfs-3g" "singularity")) %base-packages)) As well as the service: ;; Below is the list of system services. To search for available ;; services, run 'guix system search KEYWORD' in a terminal. (services (append (list (service gnome-desktop-service-type) (service cups-service-type ; http://localhost:631 (cups-configuration (web-interface? #t))) (service bluetooth-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) (service docker-service-type) (service singularity-service-type)) ;; This is the default list of services we ;; are appending to. %desktop-services)) p.s. I also cannot build images without sudo, but I do not know if this is intended: ning@bluecoral ~/repos/bento$ singularity build bento.sif bento.def Using container recipe deffile: bento.def ERROR: You must be the root user to build from a Singularity recipe file Cleaning up... Best regards, Ning --000000000000412f3e06022f6c53 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On=C2=A0guix (GNU Guix) 5aceacac65784bd2e1fd12304f965ae602= 6de49d, trying to build a Singularity image, I get many "command not f= ound" errors for the programs id, install, zcat, and tar:

=
ning@bluecoral ~/repos/bento$ sudo singularity build bento.sif b= ento.def
Password:
Using container recipe deffile: bento.def
San= itizing environment
/gnu/store/cg4mz2irhcjcmd6ngszc04prn6xqvlqj-singular= ity-2.6.1/libexec/singularity/functions: line 34: id: command not found
= /gnu/store/cg4mz2irhcjcmd6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singu= larity/functions: line 34: id: command not found
/gnu/store/cg4mz2irhcjc= md6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/bootstrap-script= s/pre.sh: line 44: install: command not found
/gnu/store/cg4mz2irhcjcmd6= ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/bootstrap-scripts/p= re.sh: line 45: install: command not found
/gnu/store/cg4mz2irhcjcmd6ngs= zc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/bootstrap-scripts/pre.= sh: line 46: install: command not found
egrep: warning: egrep is obsoles= cent; using grep -E
/gnu/store/cg4mz2irhcjcmd6ngszc04prn6xqvlqj-singular= ity-2.6.1/libexec/singularity/functions: line 34: id: command not found
= Adding base Singularity environment to container
/gnu/store/cg4mz2irhcjc= md6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/bootstrap-script= s/environment.sh: line 45: zcat: command not found
/gnu/store/cg4mz2irhc= jcmd6ngszc04prn6xqvlqj-singularity-2.6.1/libexec/singularity/bootstrap-scri= pts/environment.sh: line 45: tar: command not found
Cleaning up...

In my system.scm, I have both the singularity packa= ge:

=C2=A0 ;; Packages installed system-wide.=C2= =A0 Users can also install packages
=C2=A0 ;; under their own account: u= se 'guix search KEYWORD' to search
=C2=A0 ;; for packages and &#= 39;guix install PACKAGE' to install a package.
=C2=A0 (pa= ckages (append (map specification->package '("nss-certs" &= quot;ntfs-3g" "singularity"))
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 %base-packages))
<= br>
As well as the service:

=C2=A0 ;; Be= low is the list of system services.=C2=A0 To search for available
=C2=A0= ;; services, run 'guix system search KEYWORD' in a terminal.
= =C2=A0 (services
=C2=A0 =C2=A0(append (list (service gnome-desktop-servi= ce-type)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(= service cups-service-type
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0; http://localhost= :631
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0(cups-configuration (web-interface? #t)))
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(service bluetooth-service-type)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(set-xorg-con= figuration
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 (xorg-configuration (keyboard-layout keyboard-layout)))
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(service docker-service= -type)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(se= rvice singularity-service-type))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0;; This is the default list of services we
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0;; are appending to.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0%desktop-services))

p.s. I also cannot = build images without sudo, but I do not know if this is intended:

ning@bluecoral ~/repos/bento$ singularity build bento.sif b= ento.def
Using container recipe deffile: bento.def
ERROR: You must b= e the root user to build from a Singularity recipe file
Cleaning up...

Best regards,
Ning
--000000000000412f3e06022f6c53--