Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-07-2007, 08:59 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default SVN Build error

Hi

The trunk code has been giving this error for about a week now, is it an error in the code or am I doing something wrong?

Thanks


Code:
jar:
    [javac] Compiling 1053 source files to /usr/share/src/zim/zimbra/ZimbraServer/build/classes
    [javac] /usr/share/src/zim/zimbra/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java:244: while expected
    [javac]                         } else {
    [javac]                           ^
    [javac] /usr/share/src/zim/zimbra/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java:249: '(' expected
    [javac]                     }
    [javac]                     ^
    [javac] /usr/share/src/zim/zimbra/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java:1055: ')' expected
    [javac]         Append(List<String> flags, Date date, byte[] content) {
    [javac]                                         ^
    [javac] /usr/share/src/zim/zimbra/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java:1130: 'catch' without 'try'
    [javac]             } catch (IOException e) {
    [javac]               ^
    [javac] 4 errors

BUILD FAILED
/usr/share/src/zim/zimbra/ZimbraServer/build.xml:293: Compile failed; see the compiler error output for details.

Total time: 13 seconds
make: *** [/usr/share/src/zim/zimbra/ZimbraBuild/../ZimbraServer/build/dist/tomcat/webapps/service.war] Error 1
Reply With Quote
  #2 (permalink)  
Old 04-07-2007, 07:45 PM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by dijichi2 View Post
Hi

The trunk code has been giving this error for about a week now, is it an error in the code or am I doing something wrong?

Thanks


Code:
jar:
    [javac] Compiling 1053 source files to /usr/share/src/zim/zimbra/ZimbraServer/build/classes
    [javac] /usr/share/src/zim/zimbra/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java:244: while expected
    [javac]                         } else {
    [javac]                           ^
    [javac] /usr/share/src/zim/zimbra/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java:249: '(' expected
    [javac]                     }
    [javac]                     ^
    [javac] /usr/share/src/zim/zimbra/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java:1055: ')' expected
    [javac]         Append(List<String> flags, Date date, byte[] content) {
    [javac]                                         ^
    [javac] /usr/share/src/zim/zimbra/ZimbraServer/src/java/com/zimbra/cs/imap/ImapHandler.java:1130: 'catch' without 'try'
    [javac]             } catch (IOException e) {
    [javac]               ^
    [javac] 4 errors

BUILD FAILED
/usr/share/src/zim/zimbra/ZimbraServer/build.xml:293: Compile failed; see the compiler error output for details.

Total time: 13 seconds
make: *** [/usr/share/src/zim/zimbra/ZimbraBuild/../ZimbraServer/build/dist/tomcat/webapps/service.war] Error 1
The HEAD code is always a bit dicey. I would suggest compiling off of FRANK until the Zimbra guys get the first 5.0 beta out.

(There are several other code errors in HEAD, including a bad merge comment that leaked into the code).
Reply With Quote
  #3 (permalink)  
Old 04-09-2007, 05:41 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

Ah right thanks for the pointer. I haven't built from source since cvs, I've switched to FRANK branch and it's working fine (well -ish, I'm trying to create Solaris ports..).
Reply With Quote
  #4 (permalink)  
Old 04-09-2007, 05:20 PM
Outstanding Member
 
Posts: 717
Default

I've been interested in a Solaris port. I'm running Solaris 10-x86.. Particularly interested because of ZFS and the ability to do a zimbra stop, zfs snapshot, zimbra start and have the fastest damn cold backup ever. :-)

Hmm, I may try this on my long-weekend ahead of me.
Reply With Quote
  #5 (permalink)  
Old 04-09-2007, 05:47 PM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

and dtrace, zones, etc on top the most stable OS in the history of OSs

I'm nearly there with the port on x86, it's building packages now just got a few foibles left to work out, and put a sparc target in place, then i'll release tarballs for testing. hopefully sometime this week, if i get the time.
Reply With Quote
  #6 (permalink)  
Old 04-09-2007, 05:56 PM
Outstanding Member
 
Posts: 717
Default

If you have something to test, I can do it on x86 Solaris 10...gladly. If you'd like to send over what you have when it's ready, I will give a go at it.
Reply With Quote
  #7 (permalink)  
Old 04-10-2007, 12:41 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

that would be great - I don't have any 'real' solaris x86 boxes, I'm doing the port under vmware and its a bit messy - will post a tarball when i think it's got a vague chance of working.

i do have an ancient sparc box which i'll also build a package on but that will probably take at least a week just to hit make!
Reply With Quote
  #8 (permalink)  
Old 04-10-2007, 01:39 PM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

There seems to be a directory missing out of svn. I'm trying to build FRANK branch - 4.5.4_754, and the build is failing looking for FRANK/ClamScanner.

Is this supposed to be there, or is it part of NE?
Reply With Quote
  #9 (permalink)  
Old 04-13-2007, 06:05 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

Hi

I've finished the build, the only bit missing seems to be the ClamScanner area. Has this just been missed out of the public svn push, or is it NE only please?

Thanks
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.