From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 9 15: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 8D3701065697 for ; Thu, 9 Jul 2009 15: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 69CB48FC12 for ; Thu, 9 Jul 2009 15: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 n69FK1XX031335 for ; Thu, 9 Jul 2009 15: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 n69FK1Z5031334; Thu, 9 Jul 2009 15:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 9 Jul 2009 15:20:01 GMT Resent-Message-Id: <200907091520.n69FK1Z5031334@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, Eygene Ryabinkin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E104C10656E9 for ; Thu, 9 Jul 2009 15:17:01 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 760648FC0A for ; Thu, 9 Jul 2009 15:17:01 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtps (TLSv1:CAMELLIA256-SHA:256) id 1MOvMq-00094v-Ch for FreeBSD-gnats-submit@freebsd.org; Thu, 09 Jul 2009 19:17:00 +0400 Message-Id: <20090709151700.3863DDA81D@void.codelabs.ru> Date: Thu, 9 Jul 2009 19:17:00 +0400 (MSD) From: Eygene Ryabinkin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/136621: [patch] devel/ruby-subversion: unbreak the build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Eygene Ryabinkin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 15:20:02 -0000 >Number: 136621 >Category: ports >Synopsis: [patch] devel/ruby-subversion: unbreak the build >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 09 15:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Eygene Ryabinkin >Release: FreeBSD 8.0-BETA1 amd64 >Organization: Code Labs >Environment: System: FreeBSD 8.0-BETA1 amd64 >Description: Ruby bindings for Subversion are marked as broken since compilation fails. For me, it fails because Ruby isn't properly detected -- it is just rejected by configure script for not being able to find rb_hash_foreach. >How-To-Repeat: Try to build devel/ruby-subversion e.g. on 8.x. I used to have some 7.x machines where build was failing, but on some it was successful. >Fix: The following patch should fix the stuff. The root of the problems seem to lie in the fact that mkmf.rb tries to compile test program without pthread libraries. Patched port builds fine on all of my 8.x machines; it also passes builds on my Tinderbox for 6.x, 7.x and 8.x. --- fix-BROKEN-build-rb_hash_foreach.diff begins here --- begin 644 fix-BROKEN-build-rb_hash_foreach.diff M1G)O;2!E86(U-64T-C%C8S=D,S4Y-V-E8S1E83%F,#DP,#0X-#(T960W-C5E M($UO;B!397`@,3<@,#`Z,#`Z,#`@,C`P,0I&6=E;F4@4GEA8FEN M:VEN(#QR96$M9F)S9$!C;V1E;&%B2US=6)V M97)S:6]N.B!F:7@@8G5I;&0*"E1H92!O2]L:6)S=FY?3H@ M17EG96YE(%)Y86)I;FMI;B`\2US=6)V97)S:6]N+TUA:V5F:6QE("`@("`@("`@?"`@("`S M("LM+0H@9&5V96PO2US=6)V97)S:6]N+TUA M:V5F:6QE"BLK*R!B+V1E=F5L+W)U8GDMRY#55)$25)] M"B`*+4)23TM%3CT)"61O97,@;F]T(&-O;7!I;&4*+0H@55-%7U)50ED]"0EY M97,*(`H@4U9.7T)524Q$7T))3D1)3D=3/7EEU!42%)%041?3$E"4WT*(`H@+FEN8VQU9&4@(B1[ M34%35$521$E2?2]-86ME9FEL92YC;VUM;VXB"B`*9&EF9B`M+6=I="!A+V1E M=F5L+W-U8G9E&ET*&AA M=F5?9G5N8R@BRelease-Note: >Audit-Trail: >Unformatted: