Re: [Monotone-devel] No windows buildbot?

2008-02-23 Thread Stephen Leake
Stephen Leake [EMAIL PROTECTED] writes:

 Kelly F. Hickel [EMAIL PROTECTED] writes:

  I've been waiting for better buildbot install instructions to show
 up,
  and for time to spend on it. The most recent set of emails about
  setting up buildbots was discouraging.
 
 The details of getting buildbot working on win32 is also something I'm
 not an expert on, unfortunately, but since we seem to have a working
 vs2005 buildbot already I'm sure someone around here knows how to do
 it :-).
 
 -- Nathaniel

 I'm the one running the vs2005 buildbot (on vista) and I updated the
 instructions in the wiki as best I could...  I don't know what
 differences are required to use mingw, I started with the vs2003
 instructions...

 I'm finally getting around to setting up a MinGW (and eventually
 Cygwin) buildbot.

 I'm looking at http://www.venge.net/mtn-wiki/BuildBot, and I don't see
 any Win32 instructions.

 I've got Cygwin installed, so I'm hoping the Unix instructions will
 just work; so far they have. More later.

I'm getting errors installing the Zope and Twisted Python modules:

gcc -shared -Wl,--enable-auto-image-base 
build/temp.cygwin-1.5.25-i686-2.5/twisted/protocols/_c_urlarg.o -L. -lpython2.5 
-o build/lib.cygwin-1.5.25-i686-2.5/twisted/protocols/_c_urlarg.dll

/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot 
find -lpython2.5

The problem is Cygwin has the Python library somewhere else, with a
different name. Changing -L. -lpython2.5 to -L/lib/python2.5/config
-lpython2.5.dll works.

However, doing that manually for all of the Twisted packages is
painful.

Does anyone know where in the Python build scripts this option is
specified? Editing that file once would be simpler.

-- 
-- Stephe


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] No windows buildbot?

2008-02-23 Thread Stephen Leake

Now I'm getting a different link error:

gcc -shared -Wl,--enable-auto-image-base 
build/temp.cygwin-1.5.25-i686-2.5/twisted/runner/portmap.o 
-L/lib/python2.5/config -lpython2.5.dll -o 
build/lib.cygwin-1.5.25-i686-2.5/twisted/runner/portmap.dll
/Apps/Twisted-2.5.0/TwistedRunner-0.2.0/twisted/runner/portmap.c:24: undefined 
reference to `_pmap_unset'
/Apps/Twisted-2.5.0/TwistedRunner-0.2.0/twisted/runner/portmap.c:25: undefined 
reference to `_pmap_set'
build/temp.cygwin-1.5.25-i686-2.5/twisted/runner/portmap.o: In function 
`portmap_unset':
/Apps/Twisted-2.5.0/TwistedRunner-0.2.0/twisted/runner/portmap.c:39: undefined 
reference to `_pmap_unset'

pmap_set and pmap_unset are functions defined in rpc/pmap_clnt.h.

Any suggestions on what the missing library is named? 

I found three libraries with rpc in their name:

/lib/w32api/librpcdce4.a
/lib/w32api/librpcns4.a
/lib/w32api/librpcrt4.a

but adding those to the link doesn't help.

I guess I should be asking on the Python or Twisted mailing lists.

-- 
-- Stephe


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] No windows buildbot?

2008-02-22 Thread Stephen Leake
Kelly F. Hickel [EMAIL PROTECTED] writes:

  I've been waiting for better buildbot install instructions to show
 up,
  and for time to spend on it. The most recent set of emails about
  setting up buildbots was discouraging.
 
 The details of getting buildbot working on win32 is also something I'm
 not an expert on, unfortunately, but since we seem to have a working
 vs2005 buildbot already I'm sure someone around here knows how to do
 it :-).
 
 -- Nathaniel

 I'm the one running the vs2005 buildbot (on vista) and I updated the
 instructions in the wiki as best I could...  I don't know what
 differences are required to use mingw, I started with the vs2003
 instructions...

I'm finally getting around to setting up a MinGW (and eventually
Cygwin) buildbot.

I'm looking at http://www.venge.net/mtn-wiki/BuildBot, and I don't see
any Win32 instructions.

I've got Cygwin installed, so I'm hoping the Unix instructions will
just work; so far they have. More later.

-- 
-- Stephe


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


RE: [Monotone-devel] No windows buildbot?

2008-02-22 Thread Kelly F. Hickel
 Kelly F. Hickel [EMAIL PROTECTED] writes:
 
   I've been waiting for better buildbot install instructions to
show
  up,
   and for time to spend on it. The most recent set of emails about
   setting up buildbots was discouraging.
 
  The details of getting buildbot working on win32 is also something
 I'm
  not an expert on, unfortunately, but since we seem to have a
working
  vs2005 buildbot already I'm sure someone around here knows how to
do
  it :-).
 
  -- Nathaniel
 
  I'm the one running the vs2005 buildbot (on vista) and I updated the
  instructions in the wiki as best I could...  I don't know what
  differences are required to use mingw, I started with the vs2003
  instructions...
 
 I'm finally getting around to setting up a MinGW (and eventually
 Cygwin) buildbot.
 
 I'm looking at http://www.venge.net/mtn-wiki/BuildBot, and I don't see
 any Win32 instructions.
 
 I've got Cygwin installed, so I'm hoping the Unix instructions will
 just work; so far they have. More later.
 

I've had the Vista/VS2005 buildbot running for a year or so, mostly
things work the same as on unix (even without cygwin).  Below is the
batch file I use to start the build slave.  I haven't tried running it
as a different user or as a service, but it doesn't seem as if it should
be difficult.

SETLOCAL
set PATH=C:\Python25\;%PATH%;c:\program files\monotone
set INCLUDE=C:\Program
Files\boost\boost_1_34_0;D:\DevTools\iconv-1.8-w32-1\include;d:\devtools
\zlib\include;%INCLUDE%
set
LIB=D:\DevTools\iconv-1.8-w32-1\lib;d:\devtools\zlib\lib\windows;C:\Prog
ram Files\boost\boost_1_34_0\lib;%LIB%
call C:\Python25\lib\site-packages\twisted\twistenv.bat
C:\Python25\scripts

cd slave-dir
twistd --nodaemon --no_save -y buildbot.tac -l twistd.log

-Kelly


 --
 -- Stephe
 
 
 ___
 Monotone-devel mailing list
 Monotone-devel@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/monotone-devel


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] No windows buildbot?

2007-09-24 Thread Howard Spindel

At 04:42 PM 9/23/2007, Nathaniel Smith wrote:

 If we don't have testing, there's no way to guarantee that the
next release of monotone will work on windows at all, and I suspect
some people on this list would find that problematic :-).


Quite. :-)

Howard





___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] No windows buildbot?

2007-09-24 Thread Stephen Leake
Nathaniel Smith [EMAIL PROTECTED] writes:

 I just noticed that we seem to have only one win32 buildslave at the
 moment, and it's building with VS2005 -- which is cool, but VS support
 is broken and we have never used it for actual releases in any case.
 So at the moment we have.. no automated testing on win32, and this is
 the platform that is most likely to get accidentally broken and also
 the one where such breakage is most likely to slip by us all
 unnoticed.

Right.

How is the Windows release built?

 I don't have any windows in the house, unfortunately, so I can't
 exactly help directly, but it seems like this would be a good thing to
 fix?  If we don't have testing, there's no way to guarantee that the
 next release of monotone will work on windows at all, and I suspect
 some people on this list would find that problematic :-).

Yes, I would.

I do try to run the testsuite often on my own machine, but that's not
the same as a buildbot.

I have a machine that I'm intending to set up a Windows MinGW buildbot
on. 

I've been waiting for better buildbot install instructions to show up,
and for time to spend on it. The most recent set of emails about
setting up buildbots was discouraging.

Thanks for the nudge; I'll get to it sometime :).

-- 
-- Stephe


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] No windows buildbot?

2007-09-24 Thread Nathaniel Smith
On Mon, Sep 24, 2007 at 06:32:41AM -0400, Stephen Leake wrote:
 Nathaniel Smith [EMAIL PROTECTED] writes:
 
  I just noticed that we seem to have only one win32 buildslave at the
  moment, and it's building with VS2005 -- which is cool, but VS support
  is broken and we have never used it for actual releases in any case.
  So at the moment we have.. no automated testing on win32, and this is
  the platform that is most likely to get accidentally broken and also
  the one where such breakage is most likely to slip by us all
  unnoticed.
 
 Right.
 
 How is the Windows release built?

MinGW: http://www.venge.net/mtn-wiki/BuildingOnWindows

  I don't have any windows in the house, unfortunately, so I can't
  exactly help directly, but it seems like this would be a good thing to
  fix?  If we don't have testing, there's no way to guarantee that the
  next release of monotone will work on windows at all, and I suspect
  some people on this list would find that problematic :-).
 
 Yes, I would.
 
 I do try to run the testsuite often on my own machine, but that's not
 the same as a buildbot.

Nope... a buildbot is much less effort for you :-).

 I have a machine that I'm intending to set up a Windows MinGW buildbot
 on. 
 
 I've been waiting for better buildbot install instructions to show up,
 and for time to spend on it. The most recent set of emails about
 setting up buildbots was discouraging.

The details of getting buildbot working on win32 is also something I'm
not an expert on, unfortunately, but since we seem to have a working
vs2005 buildbot already I'm sure someone around here knows how to do
it :-).

-- Nathaniel

-- 
Details are all that matters; God dwells there, and you never get to
see Him if you don't struggle to get them right. -- Stephen Jay Gould


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


RE: [Monotone-devel] No windows buildbot?

2007-09-24 Thread Kelly F. Hickel
  I've been waiting for better buildbot install instructions to show
 up,
  and for time to spend on it. The most recent set of emails about
  setting up buildbots was discouraging.
 
 The details of getting buildbot working on win32 is also something I'm
 not an expert on, unfortunately, but since we seem to have a working
 vs2005 buildbot already I'm sure someone around here knows how to do
 it :-).
 
 -- Nathaniel

I'm the one running the vs2005 buildbot (on vista) and I updated the
instructions in the wiki as best I could...  I don't know what
differences are required to use mingw, I started with the vs2003
instructions...

-Kelly


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] No windows buildbot?

2007-09-24 Thread Stephen Leake
Nathaniel Smith [EMAIL PROTECTED] writes:

 On Mon, Sep 24, 2007 at 06:32:41AM -0400, Stephen Leake wrote:
 Nathaniel Smith [EMAIL PROTECTED] writes:

  I just noticed that we seem to have only one win32 buildslave at the
  moment, and it's building with VS2005 -- which is cool, but VS support
  is broken and we have never used it for actual releases in any case.
  So at the moment we have.. no automated testing on win32, and this is
  the platform that is most likely to get accidentally broken and also
  the one where such breakage is most likely to slip by us all
  unnoticed.

 Right.

 How is the Windows release built?

 MinGW: http://www.venge.net/mtn-wiki/BuildingOnWindows

Well, yes; I followed that.

I meant; who builds it, on what machine?

  I don't have any windows in the house, unfortunately, so I can't
  exactly help directly, but it seems like this would be a good thing to
  fix?  If we don't have testing, there's no way to guarantee that the
  next release of monotone will work on windows at all, and I suspect
  some people on this list would find that problematic :-).

 Yes, I would.

 I do try to run the testsuite often on my own machine, but that's not
 the same as a buildbot.

 Nope... a buildbot is much less effort for you :-).

Only _after_ I get it set up :).

--
-- Stephe


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] No windows buildbot?

2007-09-24 Thread Nathaniel Smith
On Mon, Sep 24, 2007 at 08:32:50PM -0400, Stephen Leake wrote:
 Nathaniel Smith [EMAIL PROTECTED] writes:
  On Mon, Sep 24, 2007 at 06:32:41AM -0400, Stephen Leake wrote:
  How is the Windows release built?
 
  MinGW: http://www.venge.net/mtn-wiki/BuildingOnWindows
 
 Well, yes; I followed that.
 
 I meant; who builds it, on what machine?

For the last while it's been Matt 'kinetik' Gregan, who's in the
middle of moving -- dunno if that affects his ability to provide
release builds.

-- Nathaniel

-- 
Electrons find their paths in subtle ways.


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] No windows buildbot?

2007-09-24 Thread Justin Patrin
On 9/24/07, William Uther [EMAIL PROTECTED] wrote:

 On 24/09/2007, at 8:32 PM, Stephen Leake wrote:

  I've been waiting for better buildbot install instructions to show up,
  and for time to spend on it. The most recent set of emails about
  setting up buildbots was discouraging.
 
  Thanks for the nudge; I'll get to it sometime :).

 Having recently helped a student set up a macos buildbot, I found the
 instructions pretty simple actually.  It was harder to get the
 machine set up to build monotone at all than it was to get the
 buildbot running from that point.

 We used the instructions here:

 http://www.venge.net/mtn-wiki/BuildBot

 and ignored all the runit stuff.  That is just there to start the
 slave on boot.  You can do that however you feel comfortable on your
 windows box.


Oh yeah, OSX wasn't bad. But I can't get buildbot working on Windows
due to some strange windows compatibility issues.

-- 
Justin Patrin


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] No windows buildbot?

2007-09-23 Thread Matthew Gregan
At 2007-09-23T16:42:40-0700, Nathaniel Smith wrote:
 I just noticed that we seem to have only one win32 buildslave at the
 moment, and it's building with VS2005 -- which is cool, but VS support is
 broken and we have never used it for actual releases in any case.  So at
 the moment we have.. no automated testing on win32, and this is the
 platform that is most likely to get accidentally broken and also the one
 where such breakage is most likely to slip by us all unnoticed.

I usually run one of the MinGW/Windows buildbots, but I'm in the multi-month
process of moving cities so I won't be able to run that buildbot for quite a
while.  That goes for the Debian and OS X ones I ran as well, but I think we
have decent coverage there already.

Cheers,
-mjg
-- 
Matthew Gregan |/
  /|[EMAIL PROTECTED]


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel


Re: [Monotone-devel] No windows buildbot?

2007-09-23 Thread Ben Walton
I've been dragging my feet on this, but I can supply a windows
buildbot at work.  I just need to update my cygwin environment (which,
for me, means building a new cfengine package against the newer libs,
and rolling an msi to deploy it to other machines...hence the foot
dragging).  I'll look at getting to this during the upcoming week.

-Ben
-- 
---
Ben Walton [EMAIL PROTECTED]

When one person suffers from a delusion, it is called insanity. When
many people suffer from a delusion it is called Religion.
Robert M. Pirsig, Zen and the Art of Motorcycle Maintenance

---


___
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel