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
  #11 (permalink)  
Old 11-24-2008, 11:59 AM
Intermediate Member
 
Posts: 21
Default

Sorry, I just found this out, too. Thanks!
Reply With Quote
  #12 (permalink)  
Old 11-24-2008, 12:04 PM
Zimbra Employee
 
Posts: 580
Default

I've updated our global defs file for CentOS?_64 ARCH setting, so with 5.0.12 and later, this at least won't be an issue.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #13 (permalink)  
Old 11-24-2008, 12:06 PM
Intermediate Member
 
Posts: 21
Default

Now I have this problem:
cp -f /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/../ZimbraServer/build/dist/conf/attrs/* /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild/opt/zimbra/conf/attrs
(cd /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild; \
rpmbuild --target x86_64 --quiet --define '_rpmdir /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild' --buildroot=/root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/corebuild -bb /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/zimbracore.spec )
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.70415
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ $'\r'
: command not found415: line 25:
error: Bad exit status from /var/tmp/rpm-tmp.70415 (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.70415 (%prep)
make: *** [core] Error 1
Reply With Quote
  #14 (permalink)  
Old 11-24-2008, 12:08 PM
Zimbra Employee
 
Posts: 580
Default

Sounds like your missing a required binary, unfortunately I don't know what command it can't find from that output, since it looks like it found rpmbuild.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
Reply With Quote
  #15 (permalink)  
Old 11-24-2008, 01:05 PM
Intermediate Member
 
Posts: 21
Default

please take a look at this one, I suspect it has something to do with the error, thanks
build of nginx fails

Last edited by syhliu; 11-24-2008 at 01:18 PM..
Reply With Quote
  #16 (permalink)  
Old 11-25-2008, 06:29 PM
Intermediate Member
 
Posts: 21
Default

I was able to go further, this problem is with
[root@localhost ZimbraBuild]# make -f Makefile ajaxtar sourcetar all
...
mkdir -p /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/storebuild/opt/zimbra/jetty-6.1.5/webapps
(cd /root/workspace/zimbra/FRANKLIN-5011/ZimbraBuild/../ZimbraServer; /usr/local/apache-ant-1.7.0/bin/ant \
-Dplat.tag=CentOS5_64 \
-Dis-production=1 \
-Dzimbra.buildinfo.version=5.0.11_GA_2698.CentOS5_6 4 \
-Dzimbra.buildinfo.type=FOSS \
-Dzimbra.buildinfo.release=20081125181938 -Dzimbra.buildinfo.date=20081125181938 \
-Dzimbra.buildinfo.host=localhost.localdomain dev-dist ; )
Buildfile: build.xml
[taskdef] java.util.zip.ZipException: invalid END header (bad central directory offset)
[taskdef] at java.util.zip.ZipFile.open(Native Method)
[taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:203)
[taskdef] at java.util.zip.ZipFile.<init>(ZipFile.java:234)
[taskdef] at org.apache.tools.ant.AntClassLoader.getResourceURL (AntClassLoader.java:1014)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumer ation.findNextResource(AntClassLoader.java:146)
[taskdef] at org.apache.tools.ant.AntClassLoader$ResourceEnumer ation.<init>(AntClassLoader.java:108)
[taskdef] at org.apache.tools.ant.AntClassLoader.findResources( AntClassLoader.java:958)
[taskdef] at java.lang.ClassLoader.getResources(ClassLoader.jav a:1015)
[taskdef] at org.apache.tools.ant.taskdefs.Definer.resourceToUR Ls(Definer.java:364)
[taskdef] at org.apache.tools.ant.taskdefs.Definer.execute(Defi ner.java:256)
[taskdef] at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:288)
[taskdef] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknow n Source)
[taskdef] at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
[taskdef] at java.lang.reflect.Method.invoke(Method.java:585)
[taskdef] at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:105)
[taskdef] at org.apache.tools.ant.Task.perform(Task.java:348)
[taskdef] at org.apache.tools.ant.Target.execute(Target.java:35 7)
[taskdef] at org.apache.tools.ant.helper.ProjectHelper2.parse(P rojectHelper2.java:140)
[taskdef] at org.apache.tools.ant.ProjectHelper.configureProjec t(ProjectHelper.java:96)
[taskdef] at org.apache.tools.ant.Main.runBuild(Main.java:683)
[taskdef] at org.apache.tools.ant.Main.startAnt(Main.java:199)
[taskdef] at org.apache.tools.ant.launch.Launcher.run(Launcher. java:257)
[taskdef] at org.apache.tools.ant.launch.Launcher.main(Launcher .java:104)
[taskdef] Could not load definitions from resource net/sf/antcontrib/antlib.xml. It could not be found.

build-init:
Reply With Quote
  #17 (permalink)  
Old 11-25-2008, 06:48 PM
Zimbra Employee
 
Posts: 580
Default

Probably related to the method in which you transfered the source repository. I strongly advise getting a new checkout on a mac or linux box, and not using windows.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
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.