Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2176716 | 7 | Peter Kessler | P3 | Closed | Fixed | b02 |
JDK-2171820 | 6u4 | Peter Kessler | P3 | Closed | Fixed | b03 |
In
build/linux/makefiles/buildtree.make
it generates the test_gamma script with
test_gamma: $(BUILDTREE_MAKE)
@echo Creating $@ ...
$(QUIETLY) ( \
echo '#!/bin/ksh'; \
....
which makes the test_gamma script fail with, e.g.,
cd linux_i486_compiler2/product && ./test_gamma
/bin/sh: ./test_gamma: /bin/ksh: bad interpreter: No such file or directory
make: *** [product] Error 126
because Linuxes *don't have* a /bin/ksh (for good
reasons)! The obvious fix is to remove the "k" from
"/bin/ksh". Doing that the sleazy way shows:
$ JAVA_HOME=$Deployed/JDK-1.7.0 /bin/sh test_gamma
1. A1 B5 C8 D6 E3 F7 G2 H4
2. A1 B6 C8 D3 E7 F4 G2 H5
3. A1 B7 C4 D6 E8 F2 G5 H3
....
build/linux/makefiles/buildtree.make
it generates the test_gamma script with
test_gamma: $(BUILDTREE_MAKE)
@echo Creating $@ ...
$(QUIETLY) ( \
echo '#!/bin/ksh'; \
....
which makes the test_gamma script fail with, e.g.,
cd linux_i486_compiler2/product && ./test_gamma
/bin/sh: ./test_gamma: /bin/ksh: bad interpreter: No such file or directory
make: *** [product] Error 126
because Linuxes *don't have* a /bin/ksh (for good
reasons)! The obvious fix is to remove the "k" from
"/bin/ksh". Doing that the sleazy way shows:
$ JAVA_HOME=$Deployed/JDK-1.7.0 /bin/sh test_gamma
1. A1 B5 C8 D6 E3 F7 G2 H4
2. A1 B6 C8 D3 E7 F4 G2 H5
3. A1 B7 C4 D6 E8 F2 G5 H3
....
- backported by
-
JDK-2171820 build/linux/makefiles/buildtree.make thinks there's /bin/ksh on Linux
-
- Closed
-
-
JDK-2176716 build/linux/makefiles/buildtree.make thinks there's /bin/ksh on Linux
-
- Closed
-