From unknown Sun Jun 15 08:54:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45447: metapost: ``invalid option'' Resent-From: Holger Peters Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 26 Dec 2020 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45447 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45447@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160900247030459 (code B ref -1); Sat, 26 Dec 2020 17:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Dec 2020 17:07:50 +0000 Received: from localhost ([127.0.0.1]:59830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktD2k-0007vD-IU for submit@debbugs.gnu.org; Sat, 26 Dec 2020 12:07:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:57964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktD2i-0007v5-Ph for submit@debbugs.gnu.org; Sat, 26 Dec 2020 12:07:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktD2i-0002O4-LU for bug-guix@gnu.org; Sat, 26 Dec 2020 12:07:48 -0500 Received: from mout02.posteo.de ([185.67.36.66]:36599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktD2g-0003gR-9Y for bug-guix@gnu.org; Sat, 26 Dec 2020 12:07:48 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id AAE5B2400FE for ; Sat, 26 Dec 2020 18:07:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1609002461; bh=9yd52WXftPU2A3u1nC+tcFDGNZQ7UhoGI2KiXZ5Sci4=; h=Subject:From:To:Date:From; b=HSZ3pKrlfkbtDc7PUCjE8ub/1EE5Ct4gqfNlnC/2R/JWPrJe+7FHdDCSLF0M2UNPQ CDQ+PlYURUKSwjlLSNOiQFW5m5HzqawHNqcCn82/YOQtNaWmbpELNWhM9YSj4nxt5i TxwFdStapbnD+RBtzZ5cGzsqX2aLInA1fp7wegsL542Q21T0II0E5/w0ViSs55+7Vr ANrFYKDlZSHpO0yg8opS6lMrPKZsQ+/6gRVrn53cYxq+lxg+qSvUf1wLCggL9SHST3 kNwf6DqhEwCCSRcUHl855fbY4kEcTS4L+18YWOxe/71WJWejZdym5Tl34IlWsLrklF fLSnHNzBCyshA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4D39H11kmvz9rxL for ; Sat, 26 Dec 2020 18:07:41 +0100 (CET) Message-ID: From: Holger Peters Date: Sat, 26 Dec 2020 18:07:19 +0100 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.2-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=holger.peters@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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: -2.3 (--) Hi, I have trouble running the guix-supplied `mptopdf' which I think is related to the guix packaging / bundling. The file I run this on stems from my pre-guix times, so I think it should be fine. The error seems to stem from a bash invocation. % mptopdf --latex myfig.mp /gnu/store/87kif0bpf0anwbsaw0jvg8fyciw4sz67-bash-5.0.16/bin/bash: -S: invalid option Usage: /gnu/store/87kif0bpf0anwbsaw0jvg8fyciw4sz67-bash- 5.0.16/bin/bash [GNU long option] [option] ... /gnu/store/87kif0bpf0anwbsaw0jvg8fyciw4sz67-bash- 5.0.16/bin/bash [GNU long option] [option] script-file ... GNU long options: --debug --debugger --dump-po-strings --dump-strings --help --init-file --login --noediting --noprofile --norc --posix --pretty-print --rcfile --restricted --verbose --version Shell options: -ilrsD or -c command or -O shopt_option (invocation only) -abefhkmnptuvxBCHP or -o option For this % type mptopdf mptopdf is /home/holger/.guix-profile/bin/mptopdf