From owner-freebsd-ports@FreeBSD.ORG Tue Jun 11 15:38:07 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3510E96D; Tue, 11 Jun 2013 15:38:07 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) by mx1.freebsd.org (Postfix) with ESMTP id DF0E31AED; Tue, 11 Jun 2013 15:38:06 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id hu16so3052793qab.15 for ; Tue, 11 Jun 2013 08:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=W8Whk+PQYCOtc6r0h2nm6xSoT6Pr+4Gc8Xj6sX29IU8=; b=Dnq82EB5E04TFJagQFME/sD7OVQq4eU0PkEqTJo5lP4TXXW609hl3TJCrwHsqpnruT p0jhyH7s+6cKE+5eK/SrId1k9Zk7z5xTa7fpUmVZe/V3+5zg3PRK9I4F9JcbAcGTjuZd VhYDJSVwi3pAviFZx8Kjsa8JeXT2q4u2CArTzvDxXK9/ZdLzhdzpUvbWRODCNMgiIdtO nriJekEjM5ivIruIvn0KEZdab5E1FzqpYgAYhCJ7W9vc3DH9LdjCdIf2A5ET0LvaxGqU VpqGR4X4Ehsw/xwLJ9k0VQ9utYNY7w2HOR/Egm568NXUoITMtU+d+tPqpvgVBr5KYmcI EstQ== MIME-Version: 1.0 X-Received: by 10.224.53.68 with SMTP id l4mr2905970qag.93.1370965086407; Tue, 11 Jun 2013 08:38:06 -0700 (PDT) Received: by 10.224.182.148 with HTTP; Tue, 11 Jun 2013 08:38:06 -0700 (PDT) In-Reply-To: <71c953f9ebbd220a72258fb1dbf322f8.squirrel@mouf.net> References: <71c953f9ebbd220a72258fb1dbf322f8.squirrel@mouf.net> Date: Tue, 11 Jun 2013 18:38:06 +0300 Message-ID: Subject: Re: www/rubygem-passenger now requires bash? From: Kimmo Paasiala To: Steve Wills Content-Type: text/plain; charset=UTF-8 Cc: Paul Mather , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 15:38:07 -0000 On Tue, Jun 11, 2013 at 5:04 PM, Steve Wills wrote: >> I'm running FreeBSD/amd64 8-STABLE (r250276) and, yesterday, updated >> www/rubygem-passenger from 3.0.19 to 4.0.5 via portmaster. Although the >> port upgraded without error, the resultant Passenger no longer works: it >> complains it can't find "bash" and Rails apps won't spawn. >> >> I don't have shells/bash installed, and didn't need to with version 3.0.19 >> of the www/rubygem-passenger port. The shells/bash port isn't listed as a >> runtime dependency for www/rubygem-passenger in its Makefile, either. >> >> If I install shells/bash and also put a symlink from /usr/bin/bash to >> /usr/local/bin/bash then Passenger will run once again. I don't like this >> solution, though. Does anyone know of a way of running the Passenger >> 4.0.5 port without needing bash? >> >> I've included at the end a snippet from httpd-error.log showing the >> behaviour of the new Passenger 4.0.5 prior to the workaround I put in >> place mentioned in the preceding paragraph. > > I think it only calls bash like that when it crashes, so that it can > generate a crash report of some kind and possibly submit it somewhere. As > far as the crash, I'm told it's a bug in our C++ stuff and that upgrading > to 9-STABLE should help, although I haven't had time to test that. If you > try that, please let us know how it goes. > > Steve > My experience is that it needs bash to run in the first place, I couldn't get the apache module working at all until I installed shells/bash and symlinked /bin/bash to /usr/local/bin/bash. -Kimmo