Date: Thu, 9 Jul 2009 19:17:00 +0400 (MSD) From: Eygene Ryabinkin <rea-fbsd@codelabs.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/136621: [patch] devel/ruby-subversion: unbreak the build Message-ID: <20090709151700.3863DDA81D@void.codelabs.ru> Resent-Message-ID: <200907091520.n69FK1Z5031334@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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&<F]M.B!%>6=E;F4@4GEA8FEN M:VEN(#QR96$M9F)S9$!C;V1E;&%B<RYR=3X*1&%T93H@5&AU+"`Y($IU;"`R M,#`Y(#$W.C,W.C4V("LP-#`P"E-U8FIE8W0Z(%M0051#2%T@<G5B>2US=6)V M97)S:6]N.B!F:7@@8G5I;&0*"E1H92!O<FEG:6YA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)50EDB("$](")N M;VYE(CL@=&AE;@HK+2`@:68@(B1254)9(B`M<B!M:VUF("UE("=E>&ET*&AA M=F5?9G5N8R@B<F)?:&%S:%]F;W)E86-H(BD@/R`P(#H@,2DG.R!T:&5N"BLK M("!I9B!;("UZ("(D4%1(4D5!1%],24)3(B!=.R!T:&5N"BLK("`@(%!42%)% M041?3$E"4STM<'1H<F5A9`HK*R`@9FD**RL@(&EF("(D4E5"62(@+7(@;6MM M9B`M92`G=VET:%]L9&9L86=S*"(G(B105$A214%$7TQ)0E,B)R(I('L@97AI M="AH879E7V9U;F,H(G)B7VAA<VA?9F]R96%C:"(I(#\@,"`Z(#$I('TG.R!T M:&5N"BL@("`@(",@17AT<F%C="!T:&4@9FER<W0@=V]R9"!O9B`B<F1O8R(L M('-O(&ET(&-A;B!B92!A('!R;V=R86T@;F%M92!W:71H(&%R9W,N"BL@<V5T M(&1U;6UY(')D;V,[(&%C7W=O<F0])#(**R![("1A<U]E8VAO("(D87-?;64Z M)$Q)3D5.3SH@8VAE8VMI;F<@9F]R("1A8U]W;W)D(B`^)C4*+2T@"C$N-BXS $+C,*"@`` ` end --- fix-BROKEN-build-rb_hash_foreach.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090709151700.3863DDA81D>