pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40976: error in lang/sun-jdk6/builtin.mk
>Number: 40976
>Category: pkg
>Synopsis: error in lang/sun-jdk6/builtin.mk
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 07 02:30:01 +0000 2009
>Originator: Tetsuya KOBAYASHI
>Release:
>Organization:
University of Tokyo
>Environment:
Darwin obana.sodan.ecc.u-tokyo.ac.jp 9.6.0 Darwin Kernel Version 9.6.0: Mon Nov
24 17:37:00 PST 2008; root:xnu-1228.9.59~1/RELEASE_I386 i386
>Description:
Trying to make a package whose Makefile includes mk/java-vm.mk
(e.g. time/cardboard-schedule) results in error.
sh: : command not found
bmake: "../../lang/sun-jdk6/../../lang/sun-jdk6/builtin.mk" line 33: warning:
"/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/javac
-version 2>&1 | /usr/bin/head -1 | \ " returned non-zero status
bmake: "../../lang/sun-jdk6/../../lang/sun-jdk6/builtin.mk" line 34:
Unassociated shell command "${AWK} '{print $$2}'"
bmake: Fatal errors encountered -- cannot continue
bmake: stopped in /Volumes/pkgsrc/pkgsrc-current/time/cardboard-schedule
>How-To-Repeat:
bmake in time/cardboard-schedule
>Fix:
Patch to lang/sun-jdk6/builtin.mk
(note a trailing whitespace in the original line)
--- lang/sun-jdk6/builtin.mk.orig 2008-10-26 03:06:31.000000000 +0900
+++ lang/sun-jdk6/builtin.mk 2009-03-07 10:37:37.000000000 +0900
@@ -30,7 +30,7 @@
!empty(IS_BUILTIN.sun-jdk6:M[yY][eE][sS]) && \
empty(JDK6:M__nonexistent__)
-BUILTIN_VERSION.sun-jdk6!= ${JDK6} -version 2>&1 | ${HEAD} -1 | \
+BUILTIN_VERSION.sun-jdk6!= ${JDK6} -version 2>&1 | ${HEAD} -1 | \
${AWK} '{print $$2}'
BUILTIN_PKG.sun-jdk6= sun-jdk6-${BUILTIN_VERSION.sun-jdk6}
Home |
Main Index |
Thread Index |
Old Index