Summary: | java/sablevm-classpath did not build/install from ports | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | areilly | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
areilly
2008-02-22 03:10:02 UTC
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 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. Björn It's necessary to update java/sablevm too. State Changed From-To: open->analyzed Maintainer is aware of the problem and is working on it. Here's the patch. http://www.alpha-tierchen.de/~bkoenig/ports-java-sablevm-classpath.diff Björn Responsible Changed From-To: freebsd-java->freebsd-ports-bugs Maintainer has submitted a patch. State Changed From-To: analyzed->open . State Changed From-To: open->feedback 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 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 Björn 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" State Changed From-To: feedback->closed Committed. Thanks! |