NetBSD Problem Report #39586

From www@NetBSD.org  Fri Sep 19 09:21:02 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 5886263B877
	for <gnats-bugs@gnats.netbsd.org>; Fri, 19 Sep 2008 09:21:02 +0000 (UTC)
Message-Id: <20080919092102.2518263B842@narn.NetBSD.org>
Date: Fri, 19 Sep 2008 09:21:02 +0000 (UTC)
From: hasso@estpak.ee
Reply-To: hasso@estpak.ee
To: gnats-bugs@NetBSD.org
Subject: The patch-aa in devel/ruby-eventmachine breaks compile
X-Send-Pr-Version: www-1.0

>Number:         39586
>Category:       pkg
>Synopsis:       The patch-aa in devel/ruby-eventmachine breaks compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    taca
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 19 09:25:00 +0000 2008
>Closed-Date:    Sat Oct 04 14:03:09 +0000 2008
>Last-Modified:  Sat Oct 04 14:03:09 +0000 2008
>Originator:     Hasso Tepper
>Release:        DragonFly
>Organization:
>Environment:
DragonFly
>Description:
The patch-aa in devel/ruby-eventmachine breaks compile at least in DragonFly:

em.cpp: In member function 'void EventMachine_t::ArmKqueueWriter(EventableDescriptor*)':
em.cpp:1420: error: invalid conversion from 'intptr_t' to 'void*'
em.cpp: In member function 'void EventMachine_t::ArmKqueueReader(EventableDescriptor*)':
em.cpp:1438: error: invalid conversion from 'intptr_t' to 'void*'
*** Error code 1

>How-To-Repeat:

>Fix:
Just deleting the patch makes it compile.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Fri, 19 Sep 2008 12:49:34 +0000
Responsible-Changed-Why:
taca added the patch.


From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39586 CVS commit: pkgsrc/devel/ruby-eventmachine
Date: Tue, 23 Sep 2008 08:06:04 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	taca
 Date:		Tue Sep 23 08:06:04 UTC 2008

 Modified Files:
 	pkgsrc/devel/ruby-eventmachine: distinfo
 	pkgsrc/devel/ruby-eventmachine/patches: patch-aa

 Log Message:
 Restrict cast with patch-aa to NetBSD only.  It should fix PR pkg/39586.

 Other *BSD has void pointer for udata member of kevent structure.
 NetBSD's kqueue is something behind to others?


 To generate a diff of this commit:
 cvs rdiff -r1.2 -r1.3 pkgsrc/devel/ruby-eventmachine/distinfo
 cvs rdiff -r1.1 -r1.2 pkgsrc/devel/ruby-eventmachine/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: taca@NetBSD.org
State-Changed-When: Tue, 23 Sep 2008 08:13:37 +0000
State-Changed-Why:
I've restricted the patch's effect to NetBSD only.
Please check the problem has solved.


From: Hasso Tepper <hasso@estpak.ee>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/39586 (The patch-aa in devel/ruby-eventmachine breaks compile)
Date: Sat, 4 Oct 2008 14:30:40 +0300

 Confirmed to be fixed. Please close.

 -- 
 Hasso Tepper

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 04 Oct 2008 14:03:09 +0000
State-Changed-Why:
Confirmed fixed, thanks


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.