From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jelle Licht Subject: bug#26752: Ansible & others' problems with wrapped '.ansible-real' scripts Date: Tue, 2 May 2017 22:08:38 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113755d4026c1f054e901b4a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5e7X-0000t0-R3 for bug-guix@gnu.org; Tue, 02 May 2017 16:10:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5e7W-0000qa-Nq for bug-guix@gnu.org; Tue, 02 May 2017 16:10:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53369) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d5e7W-0000qV-Kt for bug-guix@gnu.org; Tue, 02 May 2017 16:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d5e7W-0001Us-Gj for bug-guix@gnu.org; Tue, 02 May 2017 16:10:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5e6K-0000Bh-7i for bug-guix@gnu.org; Tue, 02 May 2017 16:08:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5e6J-0000He-5q for bug-guix@gnu.org; Tue, 02 May 2017 16:08:48 -0400 Received: from mail.fsfe.org ([2001:aa8:ffed::3:102]:46261) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d5e6I-0000Gy-VI for bug-guix@gnu.org; Tue, 02 May 2017 16:08:47 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.fsfe.org (Postfix) with ESMTP id CCE7E63BC45 for ; Tue, 2 May 2017 22:08:44 +0200 (CEST) Received: from mail.fsfe.org ([127.0.0.1]) by localhost (cavendish.fsfeurope.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wYM3WH7kxgX6 for ; Tue, 2 May 2017 22:08:44 +0200 (CEST) Received: by mail-it0-f50.google.com with SMTP id o5so21413462ith.1 for ; Tue, 02 May 2017 13:08:44 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 26752@debbugs.gnu.org --001a113755d4026c1f054e901b4a Content-Type: text/plain; charset=UTF-8 Hi, I had some problems getting current ansible package to work. It seems that the bin/ansible script which is created as part of the python-build-system via a call to `wrap-program' interferes with certain expectations ansible has regarding how it and its subcommands are called. This mechanism does not work well with our generated created .ansible-real. See [1] for a similar issue that has since been worked around in the newest version of ansible. For now, I have a similar workaround that add some guix-specific checks to ansible looking for being called as .ansible-real, though I do consider this a hack. This problem is indicative of a bigger issue: the fact that wrap-program currently leads to subtle bugs for lots of scripts. There has been some noise on #guix about solving this problem in general. Thanks, Jelle [1]: https://github.com/ansible/ansible/issues/22261 --001a113755d4026c1f054e901b4a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I had some problems gettin= g current ansible package to work. It seems that the bin/ansible script whi= ch is created as part of the python-build-system via a call to `wrap-progra= m' interferes with certain expectations ansible has regarding how it an= d its subcommands are called.

This mechanism does not work well wit= h our generated created .ansible-real. See [1] for a similar issue that has= since been worked around in the newest version of ansible.

For now, I have a similar workaround that add some guix-specific c= hecks to ansible looking for being called as .ansible-real, though I do con= sider this a hack. This problem is indicative of a bigger issue: the fact t= hat wrap-program currently leads to subtle bugs for lots of scripts. There = has been some noise on #guix about solving this problem in general.

=
Thanks,
--001a113755d4026c1f054e901b4a--