NetBSD Problem Report #30137

From gary@capo.xnet.duzan.org  Thu May  5 11:39:08 2005
Return-Path: <gary@capo.xnet.duzan.org>
Received: from pop-a065d19.pas.sa.earthlink.net (pop-a065d19.pas.sa.earthlink.net [207.217.121.253])
	by narn.netbsd.org (Postfix) with ESMTP id 7C7E163B116
	for <gnats-bugs@gnats.netbsd.org>; Thu,  5 May 2005 11:39:08 +0000 (UTC)
Message-Id: <200505051139.j45Bd08R005867@capo.xnet.duzan.org>
Date: Thu, 5 May 2005 07:39:00 -0400 (EDT)
From: Gary Duzan <gary@duzan.org>
Reply-To: gary@duzan.org
To: gnats-bugs@netbsd.org
Subject: lang/sablevm-classpath for amd64
X-Send-Pr-Version: 3.95

>Number:         30137
>Category:       pkg
>Synopsis:       lang/sablevm-classpath for amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu May 05 11:40:00 +0000 2005
>Closed-Date:    Fri Apr 21 15:22:48 +0000 2006
>Last-Modified:  Fri Apr 21 15:22:48 +0000 2006
>Originator:     Gary Duzan
>Release:        NetBSD 3.99.3
>Organization:
	Not A Lot
>Environment:
System: NetBSD capo 3.99.3 NetBSD 3.99.3 (CAPO64) #6: Sat Apr 9 21:07:15 EDT 2005 gary@capo:/src/sys/arch/amd64/compile/obj.amd64/CAPO64 amd64
Architecture: x86_64
Machine: amd64
>Description:
	lang/sablevm-classpath doesn't work on amd64
>How-To-Repeat:
	Try building it.
>Fix:
	This works well enough to get a basic test going, but I
	make no claims as to absolute correctness. It is a

Index: distinfo
===================================================================
RCS file: /usr2/netbsd-cvs/pkgsrc/lang/sablevm-classpath/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo	30 Apr 2004 21:12:55 -0000	1.2
+++ distinfo	24 Jan 2005 12:17:36 -0000
@@ -2,3 +2,4 @@

 SHA1 (sablevm-classpath-1.1.3.tar.gz) = 938e79337c6825568b7b4a950c5f8d73ee8754c5
 Size (sablevm-classpath-1.1.3.tar.gz) = 3677493 bytes
+SHA1 (patch-aa) = 2f86a2d339eb1f4d9e7c2cb70cb40d030e896ab4
Index: patches/patch-aa
===================================================================
RCS file: patches/patch-aa
diff -N patches/patch-aa
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-aa	24 Jan 2005 12:17:29 -0000
@@ -0,0 +1,13 @@
+--- native/fdlibm/ieeefp.h.orig	2005-01-24 07:07:27.000000000 -0500
++++ native/fdlibm/ieeefp.h	2005-01-24 07:12:48.000000000 -0500
+@@ -59,6 +59,10 @@
+ #define __IEEE_LITTLE_ENDIAN
+ #endif
+ 
++#ifdef __x86_64__
++#define __IEEE_LITTLE_ENDIAN
++#endif
++
+ #ifdef __i960__
+ #define __IEEE_LITTLE_ENDIAN
+ #endif

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: tonio@netbsd.org
State-Changed-When: Sat, 15 Apr 2006 23:39:45 +0000
State-Changed-Why:
sablevm-classpath was updated to 1.13, which is synced with gnu-classpath 0.19
It contains the patch from this PR, so i suspect sablevm-classpath-1.13 do work on x86_64. It is correct ?

Cheers,
antoine


From: Gary Duzan <gary@duzan.org>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
	gnats-admin@netbsd.org, tonio@netbsd.org
Subject: Re: pkg/30137 (lang/sablevm-classpath for amd64) 
Date: Sun, 16 Apr 2006 09:48:42 -0400

 In Message <20060415233946.3A0D363B8A7@narn.netbsd.org> ,
    tonio@netbsd.org wrote:

 =>Synopsis: lang/sablevm-classpath for amd64
 =>
 =>State-Changed-From-To: open->feedback
 =>State-Changed-By: tonio@netbsd.org
 =>State-Changed-When: Sat, 15 Apr 2006 23:39:45 +0000
 =>State-Changed-Why:
 =>sablevm-classpath was updated to 1.13, which is synced with gnu-classpath 0.19
 =>It contains the patch from this PR, so i suspect sablevm-classpath-1.13 do work on x86_64. It is correct ?

    There appear to be other build problems with it now. I'll try
 to look at it sometime today, as well as pkg/30138.

 					Gary Duzan


From: Gary Duzan <gary@duzan.org>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org,
	gnats-admin@netbsd.org, tonio@netbsd.org
Subject: Re: pkg/30137 (lang/sablevm-classpath for amd64) 
Date: Mon, 17 Apr 2006 06:07:33 -0400

 In Message <20060415233946.3A0D363B8A7@narn.netbsd.org> ,
    tonio@netbsd.org wrote:

 =>Synopsis: lang/sablevm-classpath for amd64
 =>
 =>State-Changed-From-To: open->feedback
 =>State-Changed-By: tonio@netbsd.org
 =>State-Changed-When: Sat, 15 Apr 2006 23:39:45 +0000
 =>State-Changed-Why:
 =>sablevm-classpath was updated to 1.13, which is synced with gnu-classpath 0.19
 =>It contains the patch from this PR, so i suspect sablevm-classpath-1.13 do work on x86_64. It is correct ?

    After a proper update this appears to be working, for the most
 part. However, both sablevm-classpath and sablevm are installing
 /usr/pkg/java/sablevm/include/jni.h, which generates an install
 conflict message.

 					Gary Duzan


From: Antoine Reilles <tonio@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/30137 CVS commit: pkgsrc/lang
Date: Mon, 17 Apr 2006 12:21:14 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tonio
 Date:		Mon Apr 17 12:21:14 UTC 2006

 Modified Files:
 	pkgsrc/lang/sablevm: Makefile PLIST
 	pkgsrc/lang/sablevm-classpath: Makefile PLIST distinfo
 	pkgsrc/lang/sablevm-classpath-gui: Makefile
 Added Files:
 	pkgsrc/lang/sablevm-classpath/patches: patch-ac patch-ad

 Log Message:
 Make sure sablevm-classpath do not install jni.h (since it is provided by
 sablevm) as noted by Gary Duzan in PR pkg/30137

 Fix PLIST issues, to properly deintall
 Fix AWK snippets for print-PLIST
 Bump PKGREVISION for sablevm and sablevm-classpath


 To generate a diff of this commit:
 cvs rdiff -r1.17 -r1.18 pkgsrc/lang/sablevm/Makefile
 cvs rdiff -r1.7 -r1.8 pkgsrc/lang/sablevm/PLIST
 cvs rdiff -r1.8 -r1.9 pkgsrc/lang/sablevm-classpath/Makefile \
     pkgsrc/lang/sablevm-classpath/PLIST
 cvs rdiff -r1.4 -r1.5 pkgsrc/lang/sablevm-classpath/distinfo
 cvs rdiff -r1.10 -r1.11 pkgsrc/lang/sablevm-classpath-gui/Makefile
 cvs rdiff -r0 -r1.1 pkgsrc/lang/sablevm-classpath/patches/patch-ac \
     pkgsrc/lang/sablevm-classpath/patches/patch-ad

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

From: Gary Duzan <gary@duzan.org>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,
	pkgsrc-bugs@netbsd.org
Subject: Re: PR/30137 CVS commit: pkgsrc/lang 
Date: Fri, 21 Apr 2006 04:38:16 -0400

 In Message <20060417122501.B87DF63B907@narn.netbsd.org> ,
    Antoine Reilles <tonio@netbsd.org> wrote:

 =>The following reply was made to PR pkg/30137; it has been noted by GNATS.
 =>
 =>From: Antoine Reilles <tonio@netbsd.org>
 =>To: gnats-bugs@netbsd.org
 =>Cc: 
 =>Subject: PR/30137 CVS commit: pkgsrc/lang
 =>Date: Mon, 17 Apr 2006 12:21:14 +0000 (UTC)
 =>
 => Module Name:	pkgsrc
 => Committed By:	tonio
 => Date:		Mon Apr 17 12:21:14 UTC 2006
 => 
 => Modified Files:
 => 	pkgsrc/lang/sablevm: Makefile PLIST
 => 	pkgsrc/lang/sablevm-classpath: Makefile PLIST distinfo
 => 	pkgsrc/lang/sablevm-classpath-gui: Makefile
 => Added Files:
 => 	pkgsrc/lang/sablevm-classpath/patches: patch-ac patch-ad
 => 
 => Log Message:
 => Make sure sablevm-classpath do not install jni.h (since it is provided by
 => sablevm) as noted by Gary Duzan in PR pkg/30137
 => 
 => Fix PLIST issues, to properly deintall
 => Fix AWK snippets for print-PLIST
 => Bump PKGREVISION for sablevm and sablevm-classpath

    Looks good. Close PR.

State-Changed-From-To: feedback->closed
State-Changed-By: reed@netbsd.org
State-Changed-When: Fri, 21 Apr 2006 15:22:48 +0000
State-Changed-Why:
Originator said looks good and close PR.
Thanks for the report.


>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.