[jira] Updated: (DERBY-4694) Build breaks on Mac OS X due to JDK classpath issues
[ https://issues.apache.org/jira/browse/DERBY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-4694: --- Attachment: derby-4694-2b-debugging_and_mac_fix.diff Attached patch 2b, committed to trunk with revision 963206. > Build breaks on Mac OS X due to JDK classpath issues > > > Key: DERBY-4694 > URL: https://issues.apache.org/jira/browse/DERBY-4694 > Project: Derby > Issue Type: Bug > Components: Build tools >Affects Versions: 10.7.0.0 > Environment: Mac OS X JDK 1.6 >Reporter: Kristian Waagan >Assignee: Kristian Waagan > Fix For: 10.7.0.0 > > Attachments: 1.6.0allfiles.txt, 1.6.0dirStructure.txt, > antPrintCompilerPropertiesVerbose.txt, antwithlibset.txt, > antwithpatch_diff.txt, derby-4694-1a.diff, derby-4694-2a-debugging.diff, > derby-4694-2b-debugging_and_mac_fix.diff > > > The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6 compile > classpath for JDK 1.4. > A quick look indicates that PropertySetter is only using defaults when > configuring the classpaths, and this fails when OS X (?) creates symlinks 1.4 > -> 1.6 and 1.5 -> 1.6. > We should investigate whether the current JAR inspection logic works on OS X > with Apple JDKs as well (it is currently used for Sun and IBM JDKs, as well > as for other / unknown JDKs). > Issue was reported on derby-dev (see > http://db.markmail.org/thread/wqe73b27rknuezm7 ). > See also this thread for a related issue that may affect OS X: > http://markmail.org/thread/7w24qwmvgxfctndi -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-4694) Build breaks on Mac OS X due to JDK classpath issues
[
https://issues.apache.org/jira/browse/DERBY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kathey Marsden updated DERBY-4694:
--
Attachment: antwithlibset.txt
This is my latest run with local.properties:
printCompilerProperties=true
printCompilerPropertiesVerbose=true
jdkdir=/System/Library/Frameworks/JavaVM.framework/Versions
jdk16=${jdkdir}/1.6.0
j16lib=${jdk16}/Home/lib
j15lib=${jdkdir}/1.5/Home/lib
j14lib=${jdkdir}/1.4.2/Home/lib
I will look some more when I get home. Sorry this has come in such small
hurried spurts.
> Build breaks on Mac OS X due to JDK classpath issues
>
>
> Key: DERBY-4694
> URL: https://issues.apache.org/jira/browse/DERBY-4694
> Project: Derby
> Issue Type: Bug
> Components: Build tools
>Affects Versions: 10.7.0.0
> Environment: Mac OS X JDK 1.6
>Reporter: Kristian Waagan
>Assignee: Kristian Waagan
> Fix For: 10.7.0.0
>
> Attachments: 1.6.0allfiles.txt, 1.6.0dirStructure.txt,
> antPrintCompilerPropertiesVerbose.txt, antwithlibset.txt,
> antwithpatch_diff.txt, derby-4694-1a.diff, derby-4694-2a-debugging.diff
>
>
> The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6 compile
> classpath for JDK 1.4.
> A quick look indicates that PropertySetter is only using defaults when
> configuring the classpaths, and this fails when OS X (?) creates symlinks 1.4
> -> 1.6 and 1.5 -> 1.6.
> We should investigate whether the current JAR inspection logic works on OS X
> with Apple JDKs as well (it is currently used for Sun and IBM JDKs, as well
> as for other / unknown JDKs).
> Issue was reported on derby-dev (see
> http://db.markmail.org/thread/wqe73b27rknuezm7 ).
> See also this thread for a related issue that may affect OS X:
> http://markmail.org/thread/7w24qwmvgxfctndi
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-4694) Build breaks on Mac OS X due to JDK classpath issues
[
https://issues.apache.org/jira/browse/DERBY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kathey Marsden updated DERBY-4694:
--
Attachment: 1.6.0allfiles.txt
1.6.0dirStructure.txt
I am sorry Kristian, I missed your earlier comment. Here are the files in in
1.6.0.It doesn't even have an rt.jar, so definitely not what I am used to.
I tried setting
jdkdir=/System/Library/Frameworks/JavaVM.framework/Versions
jdk16=${jdkdir}/1.6.0
jdk16lib=${jdk16}/1.6.0/Home/Classes
with no luck. I will try for a little bit longer before I go into the office in
about 20 minutes.
If my installation is corrupt, it must have happened in the factory as I have
not mucked with it except for the ls's.
> Build breaks on Mac OS X due to JDK classpath issues
>
>
> Key: DERBY-4694
> URL: https://issues.apache.org/jira/browse/DERBY-4694
> Project: Derby
> Issue Type: Bug
> Components: Build tools
>Affects Versions: 10.7.0.0
> Environment: Mac OS X JDK 1.6
>Reporter: Kristian Waagan
>Assignee: Kristian Waagan
> Fix For: 10.7.0.0
>
> Attachments: 1.6.0allfiles.txt, 1.6.0dirStructure.txt,
> antPrintCompilerPropertiesVerbose.txt, antwithpatch_diff.txt,
> derby-4694-1a.diff, derby-4694-2a-debugging.diff
>
>
> The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6 compile
> classpath for JDK 1.4.
> A quick look indicates that PropertySetter is only using defaults when
> configuring the classpaths, and this fails when OS X (?) creates symlinks 1.4
> -> 1.6 and 1.5 -> 1.6.
> We should investigate whether the current JAR inspection logic works on OS X
> with Apple JDKs as well (it is currently used for Sun and IBM JDKs, as well
> as for other / unknown JDKs).
> Issue was reported on derby-dev (see
> http://db.markmail.org/thread/wqe73b27rknuezm7 ).
> See also this thread for a related issue that may affect OS X:
> http://markmail.org/thread/7w24qwmvgxfctndi
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-4694) Build breaks on Mac OS X due to JDK classpath issues
[ https://issues.apache.org/jira/browse/DERBY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-4694: -- Attachment: antPrintCompilerPropertiesVerbose.txt Sorry Kristian, I did not have the verbose property set. This is the output with the following in my local.properties file: printCompilerProperties=true printCompilerPropertiesVerbose=true I did not look at the actual output but did confirm [verbose] lines are there. > Build breaks on Mac OS X due to JDK classpath issues > > > Key: DERBY-4694 > URL: https://issues.apache.org/jira/browse/DERBY-4694 > Project: Derby > Issue Type: Bug > Components: Build tools >Affects Versions: 10.7.0.0 > Environment: Mac OS X JDK 1.6 >Reporter: Kristian Waagan >Assignee: Kristian Waagan > Fix For: 10.7.0.0 > > Attachments: antPrintCompilerPropertiesVerbose.txt, > antwithpatch_diff.txt, derby-4694-1a.diff, derby-4694-2a-debugging.diff > > > The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6 compile > classpath for JDK 1.4. > A quick look indicates that PropertySetter is only using defaults when > configuring the classpaths, and this fails when OS X (?) creates symlinks 1.4 > -> 1.6 and 1.5 -> 1.6. > We should investigate whether the current JAR inspection logic works on OS X > with Apple JDKs as well (it is currently used for Sun and IBM JDKs, as well > as for other / unknown JDKs). > Issue was reported on derby-dev (see > http://db.markmail.org/thread/wqe73b27rknuezm7 ). > See also this thread for a related issue that may affect OS X: > http://markmail.org/thread/7w24qwmvgxfctndi -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-4694) Build breaks on Mac OS X due to JDK classpath issues
[ https://issues.apache.org/jira/browse/DERBY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-4694: -- Attachment: antwithpatch_diff.txt Hi Kristian, Here is the output with the patch. I have not looked at PropertySetter before. It is interesting the directories it comes up with. Please let me know if you would like me to put some effort into debugging. > Build breaks on Mac OS X due to JDK classpath issues > > > Key: DERBY-4694 > URL: https://issues.apache.org/jira/browse/DERBY-4694 > Project: Derby > Issue Type: Bug > Components: Build tools >Affects Versions: 10.7.0.0 > Environment: Mac OS X JDK 1.6 >Reporter: Kristian Waagan >Assignee: Kristian Waagan > Fix For: 10.7.0.0 > > Attachments: antwithpatch_diff.txt, derby-4694-1a.diff, > derby-4694-2a-debugging.diff > > > The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6 compile > classpath for JDK 1.4. > A quick look indicates that PropertySetter is only using defaults when > configuring the classpaths, and this fails when OS X (?) creates symlinks 1.4 > -> 1.6 and 1.5 -> 1.6. > We should investigate whether the current JAR inspection logic works on OS X > with Apple JDKs as well (it is currently used for Sun and IBM JDKs, as well > as for other / unknown JDKs). > Issue was reported on derby-dev (see > http://db.markmail.org/thread/wqe73b27rknuezm7 ). > See also this thread for a related issue that may affect OS X: > http://markmail.org/thread/7w24qwmvgxfctndi -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-4694) Build breaks on Mac OS X due to JDK classpath issues
[ https://issues.apache.org/jira/browse/DERBY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-4694: --- Attachment: (was: derby-4694-2a-debugging.diff) > Build breaks on Mac OS X due to JDK classpath issues > > > Key: DERBY-4694 > URL: https://issues.apache.org/jira/browse/DERBY-4694 > Project: Derby > Issue Type: Bug > Components: Build tools >Affects Versions: 10.7.0.0 > Environment: Mac OS X JDK 1.6 >Reporter: Kristian Waagan >Assignee: Kristian Waagan > Fix For: 10.7.0.0 > > Attachments: derby-4694-1a.diff, derby-4694-2a-debugging.diff > > > The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6 compile > classpath for JDK 1.4. > A quick look indicates that PropertySetter is only using defaults when > configuring the classpaths, and this fails when OS X (?) creates symlinks 1.4 > -> 1.6 and 1.5 -> 1.6. > We should investigate whether the current JAR inspection logic works on OS X > with Apple JDKs as well (it is currently used for Sun and IBM JDKs, as well > as for other / unknown JDKs). > Issue was reported on derby-dev (see > http://db.markmail.org/thread/wqe73b27rknuezm7 ). > See also this thread for a related issue that may affect OS X: > http://markmail.org/thread/7w24qwmvgxfctndi -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-4694) Build breaks on Mac OS X due to JDK classpath issues
[ https://issues.apache.org/jira/browse/DERBY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-4694: --- Attachment: derby-4694-2a-debugging.diff Hi Kathey, The patch was invalid, I had by mistake issued "svndiff" instead of "svn diff" to generate the patch. The former generates terminal control characters (and was piped through less...) Sorry for the hassle, I uploaded a new patch. The layout on your Mac looks like expected (but not exactly intuitive!). If you revert back to before patch 1a went in, your build will probably fail as it did for Brett because 1.4 and 1.5 are symlinked to 1.6. I do not yet understand why PropertySetter fails to pick up the JDK in 1.6.0 on your machine. It worked on my Mac Mini and on Rick's laptop, but those OS X installations were not brand new. Hopefully the verbose debugging info can tell us where things go wrong. > Build breaks on Mac OS X due to JDK classpath issues > > > Key: DERBY-4694 > URL: https://issues.apache.org/jira/browse/DERBY-4694 > Project: Derby > Issue Type: Bug > Components: Build tools >Affects Versions: 10.7.0.0 > Environment: Mac OS X JDK 1.6 >Reporter: Kristian Waagan >Assignee: Kristian Waagan > Fix For: 10.7.0.0 > > Attachments: derby-4694-1a.diff, derby-4694-2a-debugging.diff, > derby-4694-2a-debugging.diff > > > The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6 compile > classpath for JDK 1.4. > A quick look indicates that PropertySetter is only using defaults when > configuring the classpaths, and this fails when OS X (?) creates symlinks 1.4 > -> 1.6 and 1.5 -> 1.6. > We should investigate whether the current JAR inspection logic works on OS X > with Apple JDKs as well (it is currently used for Sun and IBM JDKs, as well > as for other / unknown JDKs). > Issue was reported on derby-dev (see > http://db.markmail.org/thread/wqe73b27rknuezm7 ). > See also this thread for a related issue that may affect OS X: > http://markmail.org/thread/7w24qwmvgxfctndi -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (DERBY-4694) Build breaks on Mac OS X due to JDK classpath issues
[ https://issues.apache.org/jira/browse/DERBY-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-4694: -- Summary: Build breaks on Mac OS X due to JDK classpath issues (was: Build breaks on OS X due to JDK classpath issues) Environment: Mac OS X JDK 1.6 See related discussion at: http://old.nabble.com/build-on-iMac-OS-X-10.6-ts29031016.html Changing the summary and environment to include Mac as I was having trouble finding this bug last night > Build breaks on Mac OS X due to JDK classpath issues > > > Key: DERBY-4694 > URL: https://issues.apache.org/jira/browse/DERBY-4694 > Project: Derby > Issue Type: Bug > Components: Build tools >Affects Versions: 10.7.0.0 > Environment: Mac OS X JDK 1.6 >Reporter: Kristian Waagan >Assignee: Kristian Waagan > Fix For: 10.7.0.0 > > Attachments: derby-4694-1a.diff, derby-4694-2a-debugging.diff > > > The Derby build breaks on OS X, apparently trying to use JDK 1.5/1.6 compile > classpath for JDK 1.4. > A quick look indicates that PropertySetter is only using defaults when > configuring the classpaths, and this fails when OS X (?) creates symlinks 1.4 > -> 1.6 and 1.5 -> 1.6. > We should investigate whether the current JAR inspection logic works on OS X > with Apple JDKs as well (it is currently used for Sun and IBM JDKs, as well > as for other / unknown JDKs). > Issue was reported on derby-dev (see > http://db.markmail.org/thread/wqe73b27rknuezm7 ). > See also this thread for a related issue that may affect OS X: > http://markmail.org/thread/7w24qwmvgxfctndi -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
