No Java 1.5 on freebsd1

2010-10-05 Thread Jukka Zitting
Hi,

The Jackrabbit-trunk build fails [1] on freebsd1 with the following error:

Cannot run program "/home/hudson/tools/java/latest1.5/bin/java"
(in directory "/home/hudson/hudson-slave/workspace/Jackrabbit-trunk/trunk"):
java.io.IOException: error=2, No such file or directory

PS. I tried to do something about this, but it looks like I still lack
sudo access to the hudson account on aegis. Can someone grant me the
missing karma? I have OPIE properly set up.

[1] https://hudson.apache.org/hudson/job/Jackrabbit-trunk/1300/console

BR,

Jukka Zitting


Re: No Java 1.5 on freebsd1

2010-10-05 Thread Niklas Gustavsson
On Tue, Oct 5, 2010 at 11:23 AM, Jukka Zitting  wrote:
> The Jackrabbit-trunk build fails [1] on freebsd1 with the following error:
>
>    Cannot run program "/home/hudson/tools/java/latest1.5/bin/java"
>    (in directory 
> "/home/hudson/hudson-slave/workspace/Jackrabbit-trunk/trunk"):
>    java.io.IOException: error=2, No such file or directory

I know Gav was looking into installing JDK 1.5 on the Lucene BSD jail.
I don't know the status of this, but if he's able to get it on the
Lucene jail, I guess we could also get it on the Hudson jail.

/niklas


Additional tools required on OSX Hudson slave

2010-10-05 Thread Stefan Seelmann
Hi,

is it possible to install the following tools to the OSX slave?

$ sudo port install rpm dpkg gnutar nsis

Pre-requirement is that xcode and macports are already installed, but
I think that's the case.

Background is that we want to try to generate all installers (Linux
rpm and deb, Windows exe, Mac dmg) for ApacheDS and our Pierre-Arnaud
Marcelot just revamped the installers and made it possible to generate
them all on OSX [1].

Thanks,
Stefan

[1] https://cwiki.apache.org/confluence/display/DIRxSRVx11/Installers


Re: Additional tools required on OSX Hudson slave

2010-10-05 Thread Niklas Gustavsson
On Tue, Oct 5, 2010 at 12:30 PM, Stefan Seelmann  wrote:
> is it possible to install the following tools to the OSX slave?
>
> $ sudo port install rpm dpkg gnutar nsis

Done.

/niklas


Re: Additional tools required on OSX Hudson slave

2010-10-05 Thread Stefan Seelmann
On Tue, Oct 5, 2010 at 1:15 PM, Niklas Gustavsson  wrote:
> On Tue, Oct 5, 2010 at 12:30 PM, Stefan Seelmann  wrote:
>> is it possible to install the following tools to the OSX slave?
>>
>> $ sudo port install rpm dpkg gnutar nsis
>
> Done.

Wow, that was fast. I'll try it out right now.

Many Thanks,
Stefan


Re: No Java 1.5 on freebsd1

2010-10-05 Thread Jukka Zitting
Hi,

On Tue, Oct 5, 2010 at 11:33 AM, Niklas Gustavsson  wrote:
> I know Gav was looking into installing JDK 1.5 on the Lucene BSD jail.
> I don't know the status of this, but if he's able to get it on the
> Lucene jail, I guess we could also get it on the Hudson jail.

OK, cool.

I changed the freebsd1 configuration to "tied jobs only" until we have
JDK 1.5 there, as I believe quite a few projects are using Java 5 as
their baseline build environment.

BR,

Jukka Zitting


Re: No Java 1.5 on freebsd1

2010-10-05 Thread Niklas Gustavsson
On Tue, Oct 5, 2010 at 2:03 PM, Jukka Zitting  wrote:
> I changed the freebsd1 configuration to "tied jobs only" until we have
> JDK 1.5 there, as I believe quite a few projects are using Java 5 as
> their baseline build environment.

My bad, I should have done this when setting up the slave. Thanks!

/niklas


RE: No Java 1.5 on freebsd1

2010-10-05 Thread Uwe Schindler
The biggest problem is curtrently the very antique version of JDK 1.5 for
FreeBSD (1.5.0_07). Also the JDK 1.6 is very old, I recommend to use the
openjdk6 port in BSD.

The plan for lucene node is to install the 32 bit linux JDKs in latest
versions (both 1.6 and 1.5 in /home/Hudson as Hudson-user local
installation, no server wide) and use the linprocfs and base_linux ELF
compatibility package, which works at the moment (except that the JDK needs
a mounted linprocfs, which is harder to do in a jail).

Uwe

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


> -Original Message-
> From: Niklas Gustavsson [mailto:nik...@protocol7.com]
> Sent: Tuesday, October 05, 2010 11:34 AM
> To: builds@apache.org
> Subject: Re: No Java 1.5 on freebsd1
> 
> On Tue, Oct 5, 2010 at 11:23 AM, Jukka Zitting 
> wrote:
> > The Jackrabbit-trunk build fails [1] on freebsd1 with the following
error:
> >
> >    Cannot run program "/home/hudson/tools/java/latest1.5/bin/java"
> >    (in directory "/home/hudson/hudson-slave/workspace/Jackrabbit-
> trunk/trunk"):
> >    java.io.IOException: error=2, No such file or directory
> 
> I know Gav was looking into installing JDK 1.5 on the Lucene BSD jail.
> I don't know the status of this, but if he's able to get it on the Lucene
jail, I
> guess we could also get it on the Hudson jail.
> 
> /niklas