From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 5 17:30:03 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 15E36CDF for ; Wed, 5 Feb 2014 17:30:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DCC3512ED for ; Wed, 5 Feb 2014 17:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s15HU23b052955 for ; Wed, 5 Feb 2014 17:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s15HU2oL052954; Wed, 5 Feb 2014 17:30:02 GMT (envelope-from gnats) Resent-Date: Wed, 5 Feb 2014 17:30:02 GMT Resent-Message-Id: <201402051730.s15HU2oL052954@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mathieu Arnold Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06913CBF for ; Wed, 5 Feb 2014 17:28:46 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B59B012DB for ; Wed, 5 Feb 2014 17:28:45 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id BE682BDC56 for ; Wed, 5 Feb 2014 18:28:43 +0100 (CET) Received: from gw.in.absolight.net (gw-ecl.in.absolight.net [79.143.241.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id B75B6BDC3E for ; Wed, 5 Feb 2014 18:28:43 +0100 (CET) Received: from aragorn.in.absolight.net (aragorn.in.absolight.net [79.143.241.225]) by gw.in.absolight.net (Postfix) with ESMTP id 18157613D for ; Wed, 5 Feb 2014 18:28:42 +0100 (CET) Received: by aragorn.in.absolight.net (Postfix, from userid 1000) id 794FE1426A2; Wed, 5 Feb 2014 18:28:42 +0100 (CET) Message-Id: <20140205172842.794FE1426A2@aragorn.in.absolight.net> Date: Wed, 5 Feb 2014 18:28:42 +0100 (CET) From: Mathieu Arnold To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/186490: emulators/qemu-devel: Can't run scripts with shebang args. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 17:30:03 -0000 >Number: 186490 >Category: ports >Synopsis: emulators/qemu-devel: Can't run scripts with shebang args. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 05 17:30:02 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Mathieu Arnold >Release: FreeBSD 10.0-RELEASE i386 >Organization: Absolight >Environment: System: FreeBSD aragorn.in.absolight.net 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Fri Jan 17 01:46:25 UTC >Description: When a script has a shebang with arguments, say "#!/usr/bin/perl -w" or "#!/bin/sh -" qemu-xxx tries to exec the whole line, and fails, obviously. e.g.: root@pkg:~ # cat test.pl #!/usr/bin/perl -w print "ok\n"; root@pkg:~ # ./test.pl Error loading /usr/bin/perl -w root@pkg:~ # ln -s /usr/local/bin/perl5.16.3 /usr/bin/"perl -w" root@pkg:~ # ./test.pl ok Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN) >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: