From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shane Sturrock Subject: Re: Squashfs files no longer work with singularity 3.x Date: Mon, 15 Jul 2019 15:37:22 +1200 Message-ID: References: <87lfx0hw38.fsf@elephly.net> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41833) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmrnv-00076f-0f for help-guix@gnu.org; Sun, 14 Jul 2019 23:37:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmrnt-0005Bm-U6 for help-guix@gnu.org; Sun, 14 Jul 2019 23:37:30 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:46321) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmrnt-0005Al-CJ for help-guix@gnu.org; Sun, 14 Jul 2019 23:37:29 -0400 Received: by mail-pl1-x634.google.com with SMTP id c2so7541277plz.13 for ; Sun, 14 Jul 2019 20:37:28 -0700 (PDT) In-Reply-To: <87lfx0hw38.fsf@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: help-guix@gnu.org Thanks Richardo, the --entry-point=3Dbin/sh was the key. I can just call = samtools without the leading /bin just fine: $ singularity --silent exec $image samtools --version samtools 1.9 Using htslib 1.9 Copyright (C) 2018 Genome Research Ltd. Regards, Shane > On 15/07/2019, at 2:26 PM, Ricardo Wurmus wrote: >=20 >=20 > Hi Shane, >=20 >> However, the most recent updates/installs of Guix produce a file that >> fails with "FATAL: exec /.singularity.d/actions/exec failed: no such >> file or directory=E2=80=9D. >=20 > I can reproduce this with singularity version 3.1.0-1.el7.centos. >=20 >> $ guix pack -f squashfs -S /bin=3Dbin samtools >> /gnu/store/7wpn9a4nlpyr0hgzcl65qi8fqmqz6swg-squashfs-pack.gz.squashfs >> $ singularity exec = /gnu/store/7wpn9a4nlpyr0hgzcl65qi8fqmqz6swg-squashfs-pack.gz.squashfs = samtools >> WARNING: passwd file doesn't exist in container, not updating >> WARNING: group file doesn't exist in container, not updating >> FATAL: exec /.singularity.d/actions/exec failed: no such file or = directory >=20 > This works for me: >=20 > image=3D$(guixr pack -f squashfs --entry-point=3Dbin/sh -S /bin=3Dbin= samtools bash) > singularity exec $image /bin/samtools >=20 > Hope this helps! >=20 > -- > Ricardo >=20 Shane Sturrock, Ph.D Director of Bio-it m +64 21 648 466 e shane.sturrock@realtimegenomics.com