From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 27 01:20:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC95F1065673 for ; Fri, 27 Feb 2009 01:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8E51D8FC15 for ; Fri, 27 Feb 2009 01:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1R1K1e4089601 for ; Fri, 27 Feb 2009 01:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1R1K1ao089600; Fri, 27 Feb 2009 01:20:01 GMT (envelope-from gnats) Resent-Date: Fri, 27 Feb 2009 01:20:01 GMT Resent-Message-Id: <200902270120.n1R1K1ao089600@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, Grzegorz Junka Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37B75106566C for ; Fri, 27 Feb 2009 01:19:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 268C58FC15 for ; Fri, 27 Feb 2009 01:19:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1R1JGsq055860 for ; Fri, 27 Feb 2009 01:19:16 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1R1JFdj055859; Fri, 27 Feb 2009 01:19:15 GMT (envelope-from nobody) Message-Id: <200902270119.n1R1JFdj055859@www.freebsd.org> Date: Fri, 27 Feb 2009 01:19:15 GMT From: Grzegorz Junka To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/132146: Problem with fork in Ruby 1.9.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Feb 2009 01:20:02 -0000 >Number: 132146 >Category: ports >Synopsis: Problem with fork in Ruby 1.9.1 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 27 01:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Grzegorz Junka >Release: 7.1 >Organization: >Environment: FreeBSD cratan.lan 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 08:58:24 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Fork not correctly implemented in Ruby port version 1.9.1. The problem causes the Passenger apache plugin to not work correctly. The problem doesn't exist in the version 1.8.7 of the port. >How-To-Repeat: start interactive ruby: irb19 type: @pid = fork result: irb(main):001:0> @pid = fork NotImplementedError: fork() function is unimplemented on this machine from (irb):1:in `fork' from (irb):1 from /usr/local/bin/irb19:12:in `
' irb(main):002:0> exit the same typed in irb18 does work properly. >Fix: Maybe the code from version 1.8.7 could be copied to version 1.9.1? >Release-Note: >Audit-Trail: >Unformatted: