Results 1 to 9 of 9

Thread: SVN Build error

  1. #1
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    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

  2. #2
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    10

    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).

  3. #3
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    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..).

  4. #4
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    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.

  5. #5
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    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.

  6. #6
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    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.

  7. #7
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    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!

  8. #8
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    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?

  9. #9
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    12

    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

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 01:42 AM
  2. Replies: 0
    Last Post: 11-07-2006, 04:14 PM
  3. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM
  4. Replies: 14
    Last Post: 12-22-2005, 04:59 PM
  5. Building native libraries on MacOS X
    By ajmas in forum Developers
    Replies: 3
    Last Post: 10-15-2005, 12:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •