← Back to team overview

bzr-mac team mailing list archive

Re: Bazaar 2.1.0rc1 Mac installer

 

Gordon,

On Fri, 2010-02-05 at 15:07 -0500, Gordon Tyler wrote:
> On 05/02/2010 1:54 PM, Russel Winder wrote:
> > Except that Bazaar appears not to be able to work over a network
> > filestore.
> > 
> > 	cd /Volumes/russel/Repositories/Bazaar/Master/ADS
> > 	bzr explorer .
> > 
> > results in:
> > 
> > 	bzr: ERROR: Could not acquire lock
> > 	"/Volumes/russel/Repositories/Bazaar/Master/ADS/.bzr/checkout/dirstate":
> > 	(45, 'Operation not supported')
> 
> I'm guessing that whatever network protocol is used to provide that
> volume is not compatible with the file locking that bzr requires. Do you
> know which network protocol it is?

It can only be Samba.  My server offers NFS and Samba -- though I would
have preferred not to have Samba, but my wife has to use Windows -- and
Mac OS X laptops and NFS just do not work together over WiFi.

My MacMini uses wired Ethernet and NFS works fine, I can do the direct
equivalent of the above and it works.

So the hypothesis is that the locking mechanism used by Bazaar, or at
least by Bazaar Explorer, fails to work over Samba between Mac OS X
client and Ubuntu server.

Has anyone tried this sort of thing before and/or using Samba between
Windows and a server?

> > Also of note:  qt-mac takes about 5 hours to compile, and py26-pyqt4
> 
> Ouch.

Indeed, exactly my reaction.  If there were fewer releases it would
help :-)

> >> What would be interesting though is whether our build scripts will work
> >> on your Mac Mini with the default Python if you have the 32-bit Qt
> >> installed.
> > 
> > If there is a instruction sheet somewhere as to what to do, I can
> > certainly set off some experiments and report back.
> > 
> > I have 2 Mac OS X machines:
> > 
> > 1.  MacMini with 32-bit only capability running Snow Leopard.
> 
> Install Pyrex for the default Mac OS X python (i.e. not the MacPorts
> python) and Qt 4.6.1 (Cocoa 32-bit). You'll also need the Mac OS X
> developer tools installed (Xcode, etc.).

XCode I have anyway -- this is needed for MacPorts and other things.

I am assuming I have a Qt from the qt-mac, do I need another one?

Does Bazaar enforce picking up the Apple installed Python in preference
to the one on the users path?

> Then run the following in a directory suitable for storing source and
> build output (I use ~/Projects):
> 
> bzr branch lp:bzr-mac-installers/2.1 bzr-mac-installers-2.1
> cd bzr-mac-installers-2.1
> python fetch-external.py -p
> python build.py -d
> 
> If necessary change the 'python' above so that it invokes the default
> Mac OS X python.
> 
> That should download all the other requirements and build. On a MacBook
> Pro circa 2006, it takes about 30 minutes to build. You'll need about
> 70MB for the downloaded packages and 60MB for the build output files.

OK, I'll see what I can do.


-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel@xxxxxxxxxxxxx
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder@xxxxxxxxx
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References