From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 12 16:42:45 2019 Received: (at 35640) by debbugs.gnu.org; 12 Jun 2019 20:42:45 +0000 Received: from localhost ([127.0.0.1]:34152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbA4z-0007Ng-GY for submit@debbugs.gnu.org; Wed, 12 Jun 2019 16:42:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hbA4y-0007NQ-5L for 35640@debbugs.gnu.org; Wed, 12 Jun 2019 16:42:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hbA4s-000720-OJ; Wed, 12 Jun 2019 16:42:38 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51976 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hbA4r-0006Cq-Vy; Wed, 12 Jun 2019 16:42:38 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#35640: Make USB modems just work on Guix References: <20190514103555.1b2a6316@scratchpost.org> <20190514205648.nl4s4lwvc4t67gho@pelzflorian.localdomain> <87ef4zvpm7.fsf@gnu.org> <20190522162909.tds5wz7lj6npkgy4@pelzflorian.localdomain> <87ef4nx3s2.fsf@gnu.org> <20190524201210.bzeyua7lv2mamf52@pelzflorian.localdomain> <20190525111856.jfu5ly2p6ynn3rdk@pelzflorian.localdomain> <87lfyupgxm.fsf@gnu.org> <20190612121312.hobngtkentkiavai@pelzflorian.localdomain> <874l4vxadq.fsf@gnu.org> <20190612195120.bg7yuvjghf2d546f@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Prairial an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 12 Jun 2019 22:42:36 +0200 In-Reply-To: <20190612195120.bg7yuvjghf2d546f@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Wed, 12 Jun 2019 21:51:20 +0200") Message-ID: <87v9xasfgj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35640 Cc: 35640@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) "pelzflorian (Florian Pelz)" skribis: > On Wed, Jun 12, 2019 at 02:21:05PM +0200, Ludovic Court=C3=A8s wrote: >> "pelzflorian (Florian Pelz)" skribis: >> > On Sat, May 25, 2019 at 07:44:37PM +0200, Ludovic Court=C3=A8s wrote: >> >> >> + (substitute* "usb_modeswitch_dispatcher" >> >> >> + (("!/usr/bin/tclsh") >> >> >> + (string-append "!" jimtcl "/bin/jimsh")) >> [=E2=80=A6] >> I meant that the =E2=80=98patch-shebangs=E2=80=99 phase should take care= of this, so you >> can remove this substitution and save two lines. >>=20 >> Ludo=E2=80=99. > > It is needed. Upstream USB_Modeswitch bundles jimtcl. Its Makefile > uses jimsh0 from the bundled jimtcl, if possible, and replaces the > shebang using sed. Therefore it seems right to use jimsh for Guix=E2=80= =99 > USB_ModeSwitch as well. > > patch-shebang fails because the basename of #!/usr/bin/tclsh is not > jimsh. > > patch-shebang: /gnu/store/24yzny7szv1fnmq6ci1x2ndyy7dzyigk-usb-modeswitch= -2.5.2-dispatcher/bin/usb_modeswitch_dispatcher: warning: no binary for int= erpreter `tclsh' found in $PATH Oh got it, thanks for explaining. Ludo=E2=80=99.