From andrew@areilly.bpa.nu  Fri Feb 22 03:08:35 2008
Return-Path: <andrew@areilly.bpa.nu>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BC74816A402
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 22 Feb 2008 03:08:35 +0000 (UTC)
	(envelope-from andrew@areilly.bpa.nu)
Received: from omta02ps.mx.bigpond.com (omta02ps.mx.bigpond.com [144.140.83.154])
	by mx1.freebsd.org (Postfix) with ESMTP id 4E40B13C45E
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 22 Feb 2008 03:08:34 +0000 (UTC)
	(envelope-from andrew@areilly.bpa.nu)
Received: from oaamta04ps.mx.bigpond.com ([124.188.162.219])
          by omta02ps.mx.bigpond.com with ESMTP
          id <20080222030833.TZBB5615.omta02ps.mx.bigpond.com@oaamta04ps.mx.bigpond.com>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Fri, 22 Feb 2008 03:08:33 +0000
Received: from areilly.bpa.nu ([124.188.162.219])
          by oaamta04ps.mx.bigpond.com with ESMTP
          id <20080222030832.GDIN8735.oaamta04ps.mx.bigpond.com@areilly.bpa.nu>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Fri, 22 Feb 2008 03:08:32 +0000
Received: (qmail 86795 invoked by uid 501); 22 Feb 2008 03:08:20 -0000
Message-Id: <20080222030820.86794.qmail@areilly.bpa.nu>
Date: 22 Feb 2008 03:08:20 -0000
From: Andrew Reilly <areilly@bigpond.net.au>
Reply-To: Andrew Reilly <areilly@bigpond.net.au>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: sablevm-classpath did not build/install from ports
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         120959
>Category:       ports
>Synopsis:       java/sablevm-classpath did not build/install from ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 22 03:10:02 UTC 2008
>Closed-Date:    Sun May 18 09:32:14 UTC 2008
>Last-Modified:  Sun May 18 09:40:01 UTC 2008
>Originator:     Andrew Reilly
>Release:        FreeBSD 7.0-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD duncan.reilly.home 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #2: Thu Feb 21 16:18:10 EST 2008 root@duncan:/usr/obj/usr/src/sys/DUNCAN amd64


Machine is an Athlon64-X2 with 3G RAM
>Description:
In response to Bjo"rn Ko"nig's e-mail about SableVM going, I tried to
install from ports.  The SableVM itself seems to have built OK, but the
-classpath dependency broke thusly:

gmake[3]: Entering directory `/usr/ports/java/sablevm-classpath/work/sablevm-classpath-1.13/lib'
true
top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '..'.
Adding java source files from VM directory ../vm/reference
mkdir -p /usr/local/lib/sablevm/{lib,jre/lib}
unlink /usr/local/lib/sablevm/jre/lib/rt.jar
unlink: /usr/local/lib/sablevm/jre/lib/rt.jar: No such file or directory
gmake[3]: [install-data-hook] Error 1 (ignored)
for f in libclasspath.jar resources.jar ; do \
          rm -f /usr/local/lib/sablevm/{lib,jre/lib}/$f ; \
          ln -s /usr/local/share/sablevm-classpath/$f /usr/local/lib/sablevm/lib/$f ; \
          ln -s ../../lib/$f /usr/local/lib/sablevm/jre/lib/$f ; \
        done
ln: /usr/local/lib/sablevm/lib/libclasspath.jar: No such file or directory
ln: /usr/local/lib/sablevm/jre/lib/libclasspath.jar: No such file or directory
ln: /usr/local/lib/sablevm/lib/resources.jar: No such file or directory
ln: /usr/local/lib/sablevm/jre/lib/resources.jar: No such file or directory
gmake[3]: *** [install-data-hook] Error 1
gmake[3]: Leaving directory `/usr/ports/java/sablevm-classpath/work/sablevm-classpath-1.13/lib'
gmake[2]: *** [install-data-am] Error 2
gmake[2]: Leaving directory `/usr/ports/java/sablevm-classpath/work/sablevm-classpath-1.13/lib'
gmake[1]: *** [install-am] Error 2
gmake[1]: Leaving directory `/usr/ports/java/sablevm-classpath/work/sablevm-classpath-1.13/lib'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop in /usr/ports/java/sablevm-classpath.
*** Error code 1

Stop in /usr/ports/java/sablevm.
*** Error code 1

Stop in /usr/ports/java/sablevm.


>How-To-Repeat:
cd /usr/ports/java/sablevm; sudo make install clean
>Fix:

Looks as though the install script isn't quite right.  Don't know how
to fix, sorry.


>Release-Note:
>Audit-Trail:

From: Andrew Reilly <areilly@bigpond.net.au>
To: bug-followup@FreeBSD.org, areilly@bigpond.net.au
Cc:  
Subject: Re: java/120959: sablevm-classpath did not build/install from ports
Date: Fri, 22 Feb 2008 14:25:55 +1100

 Actually, that was really easy to fix.  A script was trying to do this:
 mkdir -p /usr/local/lib/sablevm/{lib,jre/lib}
 which doesn't work in our /bin/sh.  (Where does it work?  Zsh?)
 I made the directories manually, and the installation proceeded properly.
 
 The fix is to replace that line with two:
 mkdir -p /usr/local/lib/sablevm/lib
 mkdir -p /usr/local/lib/sablevm/jre/lib
 
 Not sure where, though...
 
 -- 
 Andrew

From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de>
To: areilly@bigpond.net.au
Cc: bug-followup@FreeBSD.org
Subject: Re: java/120959: sablevm-classpath did not build/install from ports
Date: Fri, 22 Feb 2008 10:00:27 +0100 (CET)

 Hello,
 
 the problem is known to me. It happens if archivers/zip is installed. Here
 is a quick workaround: execute pkg_delete zip\* and 'make clean install'
 for java/sablevm-classpath again.
 
 The background is that sablevm-classpath tries to create a zip archive of
 the whole class library if zip is available. Now you have a zip archive in
 /usr/local/share/sablevm-classpath which is not listed in pkg-plist.
 
 Your explanation regarding the shell is correct, it's a bashism. Fixing
 the Makefile is already on my to-do list. I'll submit a patch soon.
 
 Bjrn
 
 

From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de>
To: areilly@bigpond.net.au
Cc: bug-followup@freebsd.org
Subject: Re: java/120959: sablevm-classpath did not build/install from ports
Date: Fri, 22 Feb 2008 21:14:33 +0100 (CET)

 ------=_20080222211433_99087
 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: 8bit
 
 It's necessary to update java/sablevm too.
 ------=_20080222211433_99087
 Content-Type: application/octet-stream; name="ports-java-sablevm.diff"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="ports-java-sablevm.diff"
 
 ZGlmZiAtLWdpdCBwb3J0cy9qYXZhL3NhYmxldm0vTWFrZWZpbGUgcG9ydHMvamF2YS9zYWJsZXZt
 L01ha2VmaWxlCmluZGV4IGRmMmU2MTEuLmVlOTY1NzMgMTAwNjQ0Ci0tLSBwb3J0cy9qYXZhL3Nh
 Ymxldm0vTWFrZWZpbGUKKysrIHBvcnRzL2phdmEvc2FibGV2bS9NYWtlZmlsZQpAQCAtMzMsNyAr
 MzMsNyBAQCBDT05GTElDVFM9CWNsYXNzcGF0aC0qCiAuaW5jbHVkZSA8YnNkLnBvcnQucHJlLm1r
 PgogCiAuaWYgIWRlZmluZWQoV0lUSE9VVF9TVk1DUCkKLVJVTl9ERVBFTkRTKz0JJHtMT0NBTEJB
 U0V9L3NoYXJlL3NhYmxldm0tY2xhc3NwYXRoL2phdmEvbGFuZy9PYmplY3QuY2xhc3M6JHtQT1JU
 U0RJUn0vamF2YS9zYWJsZXZtLWNsYXNzcGF0aAorUlVOX0RFUEVORFMrPQkke0xPQ0FMQkFTRX0v
 bGliL3NhYmxldm0tY2xhc3NwYXRoL2xpYmphdmFsYW5nLnNvOiR7UE9SVFNESVJ9L2phdmEvc2Fi
 bGV2bS1jbGFzc3BhdGgKIC5lbmRpZgogCiAuaWYgIWRlZmluZWQoV0lUSE9VVF9NQU4pCg==
 ------=_20080222211433_99087--
 
 
State-Changed-From-To: open->analyzed 
State-Changed-By: linimon 
State-Changed-When: Sat Feb 23 01:03:01 UTC 2008 
State-Changed-Why:  
Maintainer is aware of the problem and is working on it. 

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

From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/120959: java/sablevm-classpath did not build/install 
     from ports
Date: Wed, 27 Feb 2008 09:06:46 +0100 (CET)

 Here's the patch.
 
 http://www.alpha-tierchen.de/~bkoenig/ports-java-sablevm-classpath.diff
 
 Bjrn
 
 
Responsible-Changed-From-To: freebsd-java->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu May 8 19:41:32 UTC 2008 
Responsible-Changed-Why:  
Maintainer has submitted a patch. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120959 
State-Changed-From-To: analyzed->open 
State-Changed-By: miwi 
State-Changed-When: Thu May 15 20:22:30 UTC 2008 
State-Changed-Why:  
. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120959 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Thu May 15 20:22:42 UTC 2008 
State-Changed-Why:  
Hi Bjoern, 

The provided patch does't patch cleanly,  Can you please investigate and 
re-submit? 

===>  Cleaning for sablevm-classpath-1.13_2 ===>  Vulnerability check 
disabled, database not found ===>  Found saved configuration for 
sablevm-classpath-1.13_2 ===>  Extracting for sablevm-classpath-1.13_2 
=> MD5 Checksum OK for sablevm-classpath-1.13.tar.gz.  => SHA256 
Checksum OK for sablevm-classpath-1.13.tar.gz.  ===>  Patching for 
sablevm-classpath-1.13_2 ===>  Applying FreeBSD patches for 
sablevm-classpath-1.13_2 Ignoring previously applied (or reversed) 
patch.  2 out of 2 hunks ignored--saving rejects to lib/Makefile.in.rej 
Ignoring previously applied (or reversed) patch.  2 out of 2 hunks 
ignored--saving rejects to lib/Makefile.in.rej => Patch 
patch-lib-Makefile failed to apply cleanly.  *** Error code 1 

Stop in /usr/home/miwi/dev/ports/java/sablevm-classpath.  *** Error code 
1 

Stop in /usr/home/miwi/dev/ports/java/sablevm-classpath. 



Thanks ! 

- Martin 


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

From: "Bjoern Koenig" <bkoenig@alpha-tierchen.de>
To: bug-followup@freebsd.org
Cc: miwi@freebsd.org
Subject: Re: ports/120959: java/sablevm-classpath did not build/install 
     from ports
Date: Sun, 18 May 2008 10:23:35 +0200 (CEST)

 It applied cleanly until someone bumped the portrevision number, dear
 Martin. ;-)
 
 Here is an updated version of the patch:
 
 http://www.alpha-tierchen.de/~bkoenig/ports-java-sablevm-classpath-3.diff
 
 Regards
 Bjrn
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Sun May 18 09:32:10 UTC 2008 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/120959: commit references a PR
Date: Sun, 18 May 2008 09:32:07 +0000 (UTC)

 miwi        2008-05-18 09:32:01 UTC
 
   FreeBSD ports repository
 
   Modified files:
     java/sablevm-classpath Makefile pkg-plist 
   Added files:
     java/sablevm-classpath/files patch-lib-Makefile 
   Log:
   - Fix build/install problems
   
   PR:             120959
   Reported by:    Andrew Reilly <areilly@bigpond.net.au>
   Submitted by:   Bjoern Koenig <bkoenig@alpha-tierchen.de> (maintainer)
   
   Revision  Changes      Path
   1.4       +14 -3       ports/java/sablevm-classpath/Makefile
   1.1       +24 -0       ports/java/sablevm-classpath/files/patch-lib-Makefile (new)
   1.2       +5573 -5573  ports/java/sablevm-classpath/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
