[sakai-kernel] [Sakai Jira] Created: (KERN-755) 0.4 fails to compile on RHEL5

0 views
Skip to first unread message

Lance Speelmon (JIRA)

unread,
Apr 28, 2010, 1:16:43 PM4/28/10
to sakai-...@googlegroups.com
0.4 fails to compile on RHEL5
-----------------------------

Key: KERN-755
URL: http://jira.sakaiproject.org/browse/KERN-755
Project: Nakamura
Issue Type: Bug
Components: System - other
Affects Versions: 0.4
Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_17
Java home: /opt/jdk1.6.0_17/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.18-194.el5pae" arch: "i386" Family: "unix"
Reporter: Lance Speelmon


[INFO] ------------------------------------------------------------------------
[INFO] Building Sakai Search Support Bundle
[INFO] task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 19 source files to /home/hybrid/sakai3/open-experiments/slingtests/osgikernel/bundles/search/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/hybrid/sakai3/open-experiments/slingtests/osgikernel/bundles/search/src/main/java/org/sakaiproject/nakamura/api/search/SearchUtil.java:[23,46] cannot find symbol
symbol : class QueryHitsExtractor
location: package org.apache.jackrabbit.core.query.lucene

/home/hybrid/sakai3/open-experiments/slingtests/osgikernel/bundles/search/src/main/java/org/sakaiproject/nakamura/api/search/SearchUtil.java:[81,4] cannot find symbol
symbol : class QueryHitsExtractor
location: class org.sakaiproject.nakamura.api.search.SearchUtil

/home/hybrid/sakai3/open-experiments/slingtests/osgikernel/bundles/search/src/main/java/org/sakaiproject/nakamura/api/search/SearchUtil.java:[81,34] cannot find symbol
symbol : class QueryHitsExtractor
location: class org.sakaiproject.nakamura.api.search.SearchUtil

/home/hybrid/sakai3/open-experiments/slingtests/osgikernel/bundles/search/src/main/java/org/sakaiproject/nakamura/api/search/SearchUtil.java:[143,36] [deprecation] XPATH in javax.jcr.query.Query has been deprecated

/home/hybrid/sakai3/open-experiments/slingtests/osgikernel/bundles/search/src/main/java/org/sakaiproject/nakamura/api/search/SearchUtil.java:[143,73] [deprecation] SQL in javax.jcr.query.Query has been deprecated

/home/hybrid/sakai3/open-experiments/slingtests/osgikernel/bundles/search/src/main/java/org/sakaiproject/nakamura/search/SearchServlet.java:[237,36] [deprecation] SQL in javax.jcr.query.Query has been deprecated

/home/hybrid/sakai3/open-experiments/slingtests/osgikernel/bundles/search/src/main/java/org/sakaiproject/nakamura/search/processors/PageSearchPropertyProvider.java:[67,59] [deprecation] XPATH in javax.jcr.query.Query has been deprecated


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.sakaiproject.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
You received this message because you are subscribed to the Google Groups "Sakai Kernel" group.
To post to this group, send email to sakai-...@googlegroups.com.
To unsubscribe from this group, send email to sakai-kernel...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sakai-kernel?hl=en.

Lance Speelmon (JIRA)

unread,
Apr 28, 2010, 1:18:42 PM4/28/10
to sakai-...@googlegroups.com

[ http://jira.sakaiproject.org/browse/KERN-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=98495#action_98495 ]

Lance Speelmon commented on KERN-755:
-------------------------------------

FYI - this issue is affecting the nightly hybrid server.

Zach A. Thomas (JIRA)

unread,
Apr 28, 2010, 2:04:42 PM4/28/10
to sakai-...@googlegroups.com

[ http://jira.sakaiproject.org/browse/KERN-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=98499#action_98499 ]

Zach A. Thomas commented on KERN-755:
-------------------------------------

I tried a merge from ieb yesterday for the first time in a while, and I'm getting this build error as well on my OS X development machine.

Simon Gaeremynck (JIRA)

unread,
Apr 28, 2010, 2:23:43 PM4/28/10
to sakai-...@googlegroups.com

[ http://jira.sakaiproject.org/browse/KERN-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=98504#action_98504 ]

Simon Gaeremynck commented on KERN-755:
---------------------------------------

This is my fault.
I've pushed a fix [1] this morning, but it hasn't been merged in yet.
I was working on seeing if it wasn't possible to get the total search query results I seem to have missed 1 line when comitting some other fixes.
That's what I get for not properly branching.


[1] http://github.com/simong/open-experiments/commit/2c1262c16de0310ecf6fcf20812996b6ed367b40

Ian Boston

unread,
Apr 29, 2010, 1:31:16 AM4/29/10
to sakai-...@googlegroups.com
Still got an error building on local (ok on my version)


<http://hafnon.dmz.caret.local:8080/job/OpenExperiments/ws/slingtests/osgikernel/bundles/calendar/src/test/java/org/sakaiproject/nakamura/calendar/CalendarServiceImplTest.java>:[48,15] cannot find symbol
symbol : class IOError
location: package java.io


I think that there are some Java 1.6 only classes in there ?

Ian

Simon Gaeremynck (JIRA)

unread,
Apr 29, 2010, 4:38:42 AM4/29/10
to sakai-...@googlegroups.com

[ http://jira.sakaiproject.org/browse/KERN-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Gaeremynck reassigned KERN-755:
-------------------------------------

Assignee: Simon Gaeremynck

> 0.4 fails to compile on RHEL5
> -----------------------------
>
> Key: KERN-755
> URL: http://jira.sakaiproject.org/browse/KERN-755
> Project: Nakamura
> Issue Type: Bug
> Components: System - other
> Affects Versions: 0.4
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
> Java version: 1.6.0_17
> Java home: /opt/jdk1.6.0_17/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.18-194.el5pae" arch: "i386" Family: "unix"
> Reporter: Lance Speelmon
> Assignee: Simon Gaeremynck

Simon Gaeremynck

unread,
Apr 29, 2010, 4:38:41 AM4/29/10
to sakai-...@googlegroups.com
Yes,
I was using Java 1.6, I'll revert back and clean it up.
It looks like the imports aren't even used.

Simon

Simon Gaeremynck (JIRA)

unread,
Apr 29, 2010, 4:56:43 AM4/29/10
to sakai-...@googlegroups.com

[ http://jira.sakaiproject.org/browse/KERN-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=98530#action_98530 ]

Simon Gaeremynck commented on KERN-755:
---------------------------------------

I've pushed a fix [1] that removes the java.io.IOError import. I have no idea how that got in there.

[1] http://github.com/simong/open-experiments/commit/0116bff06144e5e7b977c6aa68d47b306e215521

> 0.4 fails to compile on RHEL5
> -----------------------------
>
> Key: KERN-755
> URL: http://jira.sakaiproject.org/browse/KERN-755
> Project: Nakamura
> Issue Type: Bug
> Components: System - other
> Affects Versions: 0.4
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
> Java version: 1.6.0_17
> Java home: /opt/jdk1.6.0_17/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.18-194.el5pae" arch: "i386" Family: "unix"
> Reporter: Lance Speelmon
> Assignee: Simon Gaeremynck

Simon Gaeremynck (JIRA)

unread,
May 7, 2010, 6:59:42 AM5/7/10
to sakai-...@googlegroups.com

[ http://jira.sakaiproject.org/browse/KERN-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Gaeremynck resolved KERN-755.
-----------------------------------

Fix Version/s: 0.5
Resolution: Fixed

The fix has been merged into Ian's master.
Setting as resolved.

> 0.4 fails to compile on RHEL5
> -----------------------------
>
> Key: KERN-755
> URL: http://jira.sakaiproject.org/browse/KERN-755
> Project: Nakamura
> Issue Type: Bug
> Components: System - other
> Affects Versions: 0.4
> Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
> Java version: 1.6.0_17
> Java home: /opt/jdk1.6.0_17/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.18-194.el5pae" arch: "i386" Family: "unix"
> Reporter: Lance Speelmon
> Assignee: Simon Gaeremynck
> Fix For: 0.5
Reply all
Reply to author
Forward
0 new messages