From nobody@FreeBSD.org  Thu Jul 12 15:13:49 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id E4C7116A46C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Jul 2007 15:13:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id D574B13C4B7
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Jul 2007 15:13:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l6CFDnv9018234
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 12 Jul 2007 15:13:49 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l6CFDnVJ018233;
	Thu, 12 Jul 2007 15:13:49 GMT
	(envelope-from nobody)
Message-Id: <200707121513.l6CFDnVJ018233@www.freebsd.org>
Date: Thu, 12 Jul 2007 15:13:49 GMT
From: Manuel <martin@tomato.it>
To: freebsd-gnats-submit@FreeBSD.org
Subject: rubygem-eventmachine fail to build
X-Send-Pr-Version: www-3.0

>Number:         114529
>Category:       ports
>Synopsis:       devel/rubygem-eventmachine fail to build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 12 15:20:04 GMT 2007
>Closed-Date:    Sun Jul 15 09:54:04 GMT 2007
>Last-Modified:  Sun Jul 15 09:54:04 GMT 2007
>Originator:     Manuel
>Release:        6.2-STABLE #0: Wed Jul 11 17:35:03 CEST 2007
>Organization:
Tomato
>Environment:
FreeBSD feedback2.xxxx.it 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11 17:35:03 CEST 2007     martin@feedback2.xxxx.it:/usr/obj/usr/src/sys/FEEDBACK2  i386
>Description:
cat /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.7.2/ext/gem_make.out

ruby extconf.rb install --no-ri --install-dir /usr/local/lib/ruby/gems/1.8 /usr/ports/distfiles/rubygem/eventmachine-0.7.2.gem
checking for main() in -lpthread... yes
checking for main() in -lssl... yes
checking for main() in -lcrypto... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
creating Makefile

make
c++ -I. -I. -I/usr/local/lib/ruby/1.8/i386-freebsd6 -I. -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_ERR_H  -DOS_UNIX -DBUILD_FOR_RUBY -DWITH_SSL -fPIC -O2 -fno-strict-aliasing -pipe    -fPIC -c em.cpp
In file included from /usr/local/lib/ruby/1.8/i386-freebsd6/ruby.h:719,
                 from em.h:34,
                 from project.h:87,
                 from em.cpp:24:
/usr/local/lib/ruby/1.8/i386-freebsd6/intern.h:207: error: use of enum `thread_status' without previous declaration
/usr/local/lib/ruby/1.8/i386-freebsd6/intern.h:207: error: invalid type in declaration before ';' token
*** Error code 1

Stop in /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.7.2/ext.

>How-To-Repeat:
cd /usr/ports/devel/rubygem-eventmachine && make install


my pkg_info:
bash-3.2.17_2       The GNU Project's Bourne Again SHell
daemontools-0.76_12 Service monitoring and logging utilities by djb
freetype2-2.2.1_2   A free and portable TrueType font rendering engine
gettext-0.16.1_3    GNU gettext package
gmake-3.81_2        GNU version of 'make' utility
javavmwrapper-2.3   Wrapper script for various Java Virtual Machines
jdk-1.5.0.11p5,1    Java Development Kit 1.5.0
libart_lgpl-2.3.19,1 Library for high-performance 2D graphics
libiconv-1.9.2_2    A character set conversion library
libtool-1.5.22_4    Generic shared library support script
lighttpd-1.4.15     A secure, fast, compliant, and very flexible Web Server
mysql-client-5.0.41 Multithreaded SQL database (client)
pcre-7.1            Perl Compatible Regular Expressions library
perl-5.8.8          Practical Extraction and Report Language
pkg-config-0.22     A utility to retrieve information about installed libraries
png-1.2.18          Library for manipulating PNG images
qmail-1.03_5        A secure, reliable, efficient, simple, and fast MTA
rrdtool-1.2.23      Round Robin Database Tools
rsync-2.6.9         A network file distribution/synchronization utility
ruby-1.8.6_1,1      An object-oriented interpreted scripting language
ruby18-aspectr-0.3.5 Ruby libraries for Aspect programming
ruby18-dbd_mysql-0.1.1 MySQL driver for DBI-for-Ruby
ruby18-dbi-0.1.1    DBI-for-Ruby - a common interface for SQL-based databases
ruby18-gems-0.9.2   Package management framework for the Ruby language
ruby18-mysql-2.7.3  Ruby module for accessing MySQL databases with a C API like
rubygem-daemons-1.0.7 A toolkit to convert your script to a controllable daemon
rubygem-fastthread-1.0 Optimized replacement for thread.rb primitives
rubygem-gem_plugin-0.2.2 Gem Based Plugin System
rubygem-mongrel-1.0.1_1 Fast HTTP 1.1 library and server for Ruby web applications
rubygem-rake-0.7.3  Ruby Make
screen-4.0.3        A multi-screen window manager
sudo-1.6.8.12_2     Allow others to run commands as root
ucspi-tcp-0.88_2    Command-line tools for building TCP client-server applicati
zip-2.32            Create/update ZIP files compatible with pkzip


>Fix:

I don't know.. sorry


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Jul 12 22:47:00 UTC 2007 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114529 

From: Alexander Logvinov <ports@logvinov.com>
To: Edwin Groothuis <bug-followup@FreeBSD.org>
Cc: Manuel <martin@tomato.it>
Subject: Re[2]: ports/114529: devel/rubygem-eventmachine fail to build
Date: Fri, 13 Jul 2007 09:10:50 +1000

 ------------F11261B41CF37A25
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: quoted-printable
 
 Hello!
 
 > Maintainer of devel/rubygem-eventmachine,
 > Please note that PR ports/114529 has just been submitted.
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/114529
  Yes, I have know about this problem. It seems Ruby 1.8.6_1,1 update
 problem. We investigating it with stas@ now.
  Now you can patch /usr/local/lib/ruby/1.8/i386-freebsd6/ruby.h:
 
 # diff -u ruby.h.old ruby.h
 --- ruby.h.old  Thu Jul 12 07:46:28 2007
 +++ ruby.h      Thu Jul 12 07:46:46 2007
 @@ -716,6 +716,7 @@
  }
 
  #include "missing.h"
 +#include "node.h"
  #include "intern.h"
 
  #if defined(EXTLIB) && defined(USE_DLN_A_OUT)
 
 =20
  Thanks for the PR.
 
 --
 Best regards,
  Alexander                            mailto:ports@logvinov.com
 ------------F11261B41CF37A25
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP MESSAGE-----
 Version: GnuPG v1.4.7 (MingW32)
 
 iQEVAwUBRpa0+ivkNOkwqtvMAQJwTwf8DfYb6ixGw7hRDE+iQJqRreAxRIXGN54/
 qwovbgwduBgxO9O0/Srbh58sq/ZtKEAGxTmjr5xx2YoO8a/4Nl132EsZZY7xacYd
 N2c7b562fcJ/LzDxQYciAthZQEIxCnLqGs7p32/9TThm1b4lLaG3mMXHX2onmrag
 /tORfgCiV+dDaog0tjUa9BBAcYdJpNUa5JAZjf78H2YOStOs0EuLDs8fOjTUP+x2
 gGIb2sKRtX511hl+FUF3n7JosMR+MbbfJlq4ua9Nr8Hc8zH+QZe4bJ1FdjJkz5qD
 SzsbkrCqedVRP9xvgZIVI/UTJqTbXwZe2L57NjR/VaL6HeyNrOb3xw==
 =Lu8I
 -----END PGP MESSAGE-----
 
 ------------F11261B41CF37A25--
 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Jul 15 09:54:02 UTC 2007 
State-Changed-Why:  
is already fixed. Please update your Portstree. Thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114529 
>Unformatted:
