Although I happily run the current binary of Zimbra Desktop, I had reason to install Zimbra Desktop from source. I used GNR-602 sourcecode, and followed instructions on the wiki - Building Zimbra Desktop on Linux - Zimbra :: Wiki.

I get the following error each time:

Code:
BUILD FAILED
/home/public/p4/GNR-602/ZimbraOffline/build.xml:616: The following error occurred while executing this line:
/home/public/p4/GNR-602/ZimbraOffline/build.xml:586: The following error occurred while executing this line:
/home/public/p4/GNR-602/ZimbraOffline/build.xml:642: The following error occurred while executing this line:
/home/public/p4/GNR-602/ZimbraOffline/build.xml:363: The following error occurred while executing this line:
/home/public/p4/GNR-602/ZimbraOffline/build.xml:190: Basedir /home/public/p4/GNR-602/ZimbraSyncCommon does not exist
This is the full output:

Code:
storm@Amaranth:/home/public/p4/GNR-602/ZimbraOffline$ ant offline-reset-the-world
Buildfile: build.xml                                                             

offline-reset-the-world:

offline-reset-the-world-part-1:

offline-make-dist:

offline-clean:

clean:

clean:

clean:

clean:
Trying to override old definition of task shellscript
Trying to override old definition of task propertycopy
Trying to override old definition of task pathtofileset
Trying to override old definition of task remoteant    
Trying to override old definition of task runtarget    
Trying to override old definition of task assert       
Trying to override old definition of task propertyregex
Trying to override old definition of task math         
Trying to override old definition of task trycatch     
Trying to override old definition of task antserver    
Trying to override old definition of task antcallback  
Trying to override old definition of task compilewithwalls
Trying to override old definition of task outofdate       
Trying to override old definition of task osfamily        
Trying to override old definition of task stopwatch       
Trying to override old definition of task throw           
Trying to override old definition of task antclipse       
Trying to override old definition of task urlencode       
Trying to override old definition of task bool            
Trying to override old definition of task timestampselector
Trying to override old definition of task foreach          
Trying to override old definition of task if               
Trying to override old definition of task propertyselector 
Trying to override old definition of task sortlist         
Trying to override old definition of task antfetch         
Trying to override old definition of task post             
Trying to override old definition of task for              
Trying to override old definition of task forget           
Trying to override old definition of task limit            
Trying to override old definition of task switch           
Trying to override old definition of task var              
Trying to override old definition of task inifile          
Trying to override old definition of datatype isgreaterthan
Trying to override old definition of datatype islessthan   
Trying to override old definition of datatype ispropertyfalse
Trying to override old definition of datatype ispropertytrue 

customer-init:

clean:

build-init:
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraTagLib/build

clean:
   [delete] Deleting directory /home/public/p4/GNR-602/ZimbraTagLib/build
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraOffline/build/dist
   [gunzip] Expanding /home/public/p4/GNR-602/ThirdParty/jetty/jetty-6.1.15.z6.tar.gz to /home/public/p4/GNR-602/ZimbraOffline/build/dist/jetty-6.1.15.z6.tar                                                                                                                             
    [untar] Expanding: /home/public/p4/GNR-602/ZimbraOffline/build/dist/jetty-6.1.15.z6.tar into /home/public/p4/GNR-602/ZimbraOffline/build/dist                                                                                                                                         
   [delete] Deleting: /home/public/p4/GNR-602/ZimbraOffline/build/dist/jetty-6.1.15.z6.tar                                                   

offline-dev-dist:

offline-build-init:
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraOffline/build/classes
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraOffline/build/src/java
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraOffline/build/data    

offline-compile:

build-init:
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraCommon/build/classes

compile:
    [javac] Compiling 157 source files to /home/public/p4/GNR-602/ZimbraCommon/build/classes
    [javac] Note: Some input files use or override a deprecated API.                        
    [javac] Note: Recompile with -Xlint:deprecation for details.                            
    [javac] Note: Some input files use unchecked or unsafe operations.                      
    [javac] Note: Recompile with -Xlint:unchecked for details.                              

jar:
      [jar] Building jar: /home/public/p4/GNR-602/ZimbraCommon/build/zimbracommon.jar

build-init:
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/classes
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/generated/src/java
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/wiki              
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/data              
Trying to override old definition of task deploy                                      

make-dirs:
     [echo] Creating dirs under /home/public/p4/GNR-602/ZimbraServer/build/dist
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/dist/conf  
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/dist/openldap/etc/openldap/schema
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/dist/bin                         
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/dist/conf/msgs                   
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/dist/db                          
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/dist/lib/ext                     
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/dist/lib/jars                    
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/dist/libexec                     
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/dist/wiki                        

compile:

build-init:

compile:

jar:

build-init:
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraIM/build/classes

compile:
    [javac] Compiling 353 source files to /home/public/p4/GNR-602/ZimbraIM/build/classes
    [javac] Note: Some input files use or override a deprecated API.                    
    [javac] Note: Recompile with -Xlint:deprecation for details.                        
    [javac] Note: Some input files use unchecked or unsafe operations.                  
    [javac] Note: Recompile with -Xlint:unchecked for details.                          

jar:
      [jar] Building jar: /home/public/p4/GNR-602/ZimbraIM/build/zimbraim.jar
    [javac] Compiling 1683 source files to /home/public/p4/GNR-602/ZimbraServer/build/classes
    [javac] /home/public/p4/GNR-602/ZimbraServer/src/java/com/zimbra/cs/index/LocalizedSortBy.java:163: warning: unmappable character for encoding UTF8                                                                                                                                   
    [javac]             test.add(new TestHit("�belacker", 2));                                                                               
    [javac]                                   ^                                                                                              
    [javac] /home/public/p4/GNR-602/ZimbraServer/src/java/com/zimbra/cs/index/LocalizedSortBy.java:165: warning: unmappable character for encoding UTF8                                                                                                                                   
    [javac]             test.add(new TestHit("�lle",4));                                                                                     
    [javac]                                   ^                                                                                              
    [javac] /home/public/p4/GNR-602/ZimbraServer/src/java/com/zimbra/cs/index/LocalizedSortBy.java:167: warning: unmappable character for encoding UTF8                                                                                                                                   
    [javac]             test.add(new TestHit("�xk�ll",6));                                                                                   
    [javac]                                   ^                                                                                              
    [javac] /home/public/p4/GNR-602/ZimbraServer/src/java/com/zimbra/cs/index/LocalizedSortBy.java:167: warning: unmappable character for encoding UTF8                                                                                                                                   
    [javac]             test.add(new TestHit("�xk�ll",6));                                                                                   
    [javac]                                      ^                                                                                           
    [javac] /home/public/p4/GNR-602/ZimbraServer/src/java/com/zimbra/cs/index/LocalizedSortBy.java:181: warning: unmappable character for encoding UTF8                                                                                                                                   
    [javac]             // for Swedish, z<�, for German �<z                                                                                  
    [javac]                               ^                                                                                                  
    [javac] /home/public/p4/GNR-602/ZimbraServer/src/java/com/zimbra/cs/index/LocalizedSortBy.java:181: warning: unmappable character for encoding UTF8                                                                                                                                   
    [javac]             // for Swedish, z<�, for German �<z                                                                                  
    [javac]                                             ^                                                                                    
    [javac] /home/public/p4/GNR-602/ZimbraServer/src/java/com/zimbra/cs/index/LocalizedSortBy.java:186: warning: unmappable character for encoding UTF8                                                                                                                                   
    [javac]             test.add(new TestHit("�",3));                                                                                        
    [javac]                                   ^                                                                                              
    [javac] Note: Some input files use or override a deprecated API.                                                                         
    [javac] Note: Recompile with -Xlint:deprecation for details.                                                                             
    [javac] Note: Some input files use unchecked or unsafe operations.                                                                       
    [javac] Note: Recompile with -Xlint:unchecked for details.                                                                               
    [javac] 7 warnings                                                                                                                       
Trying to override old definition of task deploy                                                                                             

set-buildinfo-vars:
     [echo] Version: 2.0 Date: 20091111-1125

generate-buildinfo:
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/buildinfo
    [javac] Compiling 1 source file to /home/public/p4/GNR-602/ZimbraServer/build/classes

mysql-versions-init:

sqlite-versions-init:

derby-versions-init:

db-versions-init:

jar:
     [echo] Hostname: Amaranth
      [jar] Building jar: /home/public/p4/GNR-602/ZimbraServer/build/zimbrastore.jar
Trying to override old definition of task deploy                                    

generate-ldap-config:

setup-ldap-config:
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/attrs-src
     [copy] Copying 3 files to /home/public/p4/GNR-602/ZimbraServer/build/attrs-src

set-buildinfo-vars:
     [echo] Version: 2.0 Date: 20091111-1125

do-generate-ldap-config:
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/attrs
     [copy] Copying 3 files to /home/public/p4/GNR-602/ZimbraServer/build/attrs
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/ldap-config
    [mkdir] Created dir: /home/public/p4/GNR-602/ZimbraServer/build/ldap-config/config
     [java] [] WARN: local config file `/opt/zimbra/conf/localconfig.xml' is not readable
     [java] [] WARN: local config file `/opt/zimbra/conf/localconfig.xml' is not readable
     [java] [] WARN: local config file `/opt/zimbra/conf/localconfig.xml' is not readable
     [java] [] WARN: local config file `/opt/zimbra/conf/localconfig.xml' is not readable
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/ldap-config     
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/ldap-config     
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/ldap-config     
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/ldap-config/config
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/ldap-config/config
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/ldap-config/config
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/ldap-config/config
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/ldap-config/config
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/ldap-config/config
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/ldap-config/config
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/ldap-config/config

war:
     [echo] war.include=slf4j*.jar, *jsieve*.jar, lucene*.jar, ant-tar*.jar
      [war] Building war: /home/public/p4/GNR-602/ZimbraServer/build/service.war

dev-dist-unix:
     [copy] Warning: Could not find file /home/public/p4/GNR-602/ZimbraServer/lib/libzimbra-native.so.Linux.amd64 to copy.

dev-dist-jetty:
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/jetty/webapps
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/jetty/etc    
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/jetty/etc    
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/jetty/etc    
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/jetty/etc    
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/jetty/resources
     [copy] Copying 38 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/jetty/common/lib
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/jetty/common/endorsed
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/jetty/common/lib     
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/jetty/lib            

choose-db-schema:
     [echo] Using database schema in src/db/mysql

dev-dist:
     [copy] Copying 69 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/bin
     [copy] Copying 66 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/libexec
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/bin      
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/bin      
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/conf     
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/conf     
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/conf     
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/conf     
     [copy] Copying 26 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/conf/msgs
     [copy] Copying 9 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/conf/msgs 
     [copy] Copying 3 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/conf/attrs
     [copy] Copying 6 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/conf/rights
     [copy] Copying 60 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/lib/jars  
     [copy] Copying 2 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/lib/jars
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/lib/jars
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/lib/jars
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/lib/jars
     [copy] Copying 1 file to /home/public/p4/GNR-602/ZimbraServer/build/dist/conf
     [copy] Copying 4 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/openldap/etc/openldap
     [copy] Copying 2 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/openldap/etc/openldap/schema
Trying to override old definition of task deploy

set-buildinfo-vars:
     [echo] Version: 2.0 Date: 20091111-1125

generate-buildinfo:
    [javac] Compiling 1 source file to /home/public/p4/GNR-602/ZimbraServer/build/classes

mysql-versions-init:

sqlite-versions-init:

derby-versions-init:

db-versions-init:
     [copy] Copying 5 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/db
     [copy] Copying 23 files to /home/public/p4/GNR-602/ZimbraServer/build/dist/wiki
    [javac] Compiling 171 source files to /home/public/p4/GNR-602/ZimbraOffline/build/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

BUILD FAILED
/home/public/p4/GNR-602/ZimbraOffline/build.xml:616: The following error occurred while executing this line:
/home/public/p4/GNR-602/ZimbraOffline/build.xml:586: The following error occurred while executing this line:
/home/public/p4/GNR-602/ZimbraOffline/build.xml:642: The following error occurred while executing this line:
/home/public/p4/GNR-602/ZimbraOffline/build.xml:363: The following error occurred while executing this line:
/home/public/p4/GNR-602/ZimbraOffline/build.xml:190: Basedir /home/public/p4/GNR-602/ZimbraSyncCommon does not exist

Total time: 1 minute 14 seconds