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 11-06-2009, 02:58 AM
Junior Member
 
Posts: 9
Default Missing ZimbraAdminVersionCheck directory in ZCS 6.0.2 sources

Hello all
I get this error when trying to build ZCS 6.0.2 release from sources whith the change number reported on pm.zimbra.com

I did a fresh checkout (p4 -u public -P public1234 -c public-view sync //depot/zcs/GNR-602/...@215469)

I am building against UBUNTU 9.04 amd64 and patched some files. I just did a copy/replace on some files.
I don't think this issue comes from my changes : the directory ZimbraAdminVersionCheck is simply missing! Is it created by another ant build ?

Here is the log :

Code:
(cd /home/public/p4/GNR-602/ZimbraBuild/../ZimbraAdminVersionCheck; /usr/bin/ant -Ddebug=false\
		-Dzimbra.buildinfo.platform=UBUNTU9_64 \
		-Dzimbra.buildinfo.version=6.0.2_GA_1912.UBUNTU9_64 \
		-Dzimbra.buildinfo.release=20091106102202 -Dzimbra.buildinfo.date=20091106102202 \
		-Dzimbra.buildinfo.host=hery-desktop package-zimlet ; )
/bin/sh: line 0: cd: /home/public/p4/GNR-602/ZimbraBuild/../ZimbraAdminVersionCheck: Aucun fichier ou dossier de ce type
Buildfile: build.xml does not exist!
Build failed
make: *** [/home/public/p4/GNR-602/ZimbraBuild/../Zimlet/build/dist/zimlets/nofile] Erreur 1
Thanks for your help

Last edited by hallelujah; 11-11-2009 at 03:40 PM.. Reason: Better title
Reply With Quote
  #2 (permalink)  
Old 11-06-2009, 07:38 AM
Junior Member
 
Posts: 9
Default

Well after digging ( grep ZimbraAdminVersionCheck . -R ) few hours
I found some inexisting directories defined in ZimbraBuild/defs/paths.def :

ZMCBPOLICYD_DIR := $(BUILD_ROOT)/../ZimbraCBPolicyd
SYNC_COMMON_DIR := $(BUILD_ROOT)/../ZimbraSyncCommon
ARCHIVE_DIR := $(BUILD_ROOT)/../ZimbraArchive
ADMIN_VERSIONCHECK_DIR := $(BUILD_ROOT)/../ZimbraAdminVersionCheck

Are the sources up to date ?
Reply With Quote
  #3 (permalink)  
Old 11-06-2009, 08:39 AM
Junior Member
 
Posts: 9
Default

Ok It seems that zmversioncheck is missing (with other features archive, sync_common)

I commented zmversioncheck like targets in ZimbraBuild/defs/storetargets.def and it builds successfully!

I upgraded to 6.0.2 on Ubuntu Jaunty and all seems OK

But I think you can not build ZCS 6.0.2 from fresh sources without commenting these lines ...
Reply With Quote
  #4 (permalink)  
Old 11-10-2009, 03:02 PM
Zimbra Employee
 
Posts: 572
Default

There was a bug in the GNR-602 branch specification. I've fixed it, and now ZimbraAdminVersionCheck directory should show up in your checkout. If you find issues where files are required to build from P4 that aren't there, please file a bug in the bugzilla, using the Install & upgrade component.

Thanks,
Quanah
__________________
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
  #5 (permalink)  
Old 11-10-2009, 03:08 PM
Zimbra Employee
 
Posts: 572
Default

Also, checking on ZimbraCBPolicyd, which also appears to be missing.
__________________
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
  #6 (permalink)  
Old 11-11-2009, 03:35 PM
Junior Member
 
Posts: 9
Default

Hello quanah
Thanks for the reply but it seems that these directories are missing when I sync the GNR-602 branch :

p4 -u public -P public1234 -c public-view sync //depot/zcs/GNR-602/...

Quote:
SYNC_COMMON_DIR := $(BUILD_ROOT)/../ZimbraSyncCommon
ARCHIVE_DIR := $(BUILD_ROOT)/../ZimbraArchive
ADMIN_VERSIONCHECK_DIR := $(BUILD_ROOT)/../ZimbraAdminVersionCheck
Ok I'll report this in bugzilla.

EDIT: bug reported Bug 42605 – Missing directories when building from sources
Reply With Quote
  #7 (permalink)  
Old 11-11-2009, 03:41 PM
Zimbra Employee
 
Posts: 572
Default

Can you try again?

ZimbraArchive will never be present, it's not needed, just referenced with a graceful fail.

The policyd directory was just added today, I know it is present because I saw the sync message.
__________________
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
  #8 (permalink)  
Old 11-12-2009, 07:01 AM
Junior Member
 
Posts: 9
Default

A resync does it!
Thanks.

Great work.
Reply With Quote
  #9 (permalink)  
Old 02-04-2010, 05:09 PM
Zimlet Guru & Moderator
 
Posts: 467
Default

Hey Guys, this is still broken in Main.
Reply With Quote
  #10 (permalink)  
Old 02-16-2010, 03:50 PM
Zimbra Employee
 
Posts: 572
Default

Quote:
Originally Posted by JoshuaPrismon View Post
Hey Guys, this is still broken in Main.
It shows up for me in the public main branch. Did you run p4 sync -f on it?
__________________
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.