You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by Igor Galić <ig...@apache.org> on 2013/02/19 15:16:54 UTC

ASF Solaris Buildbot

Hey folks,

Right now we (Apache Traffic Server and Apache Avro) are
the only sharing this Solaris box as buildbot. The Solaris
build is giving us a *lot* of trouble, much of which is
caused by the installations in /usr/local (Yay autoconf!)

I have installed up-to-date and easily updatable software
in /opt/csw (courtesy of the OpenCSW project).

I would gladly volunteer my time if you allow me to remove
the software installed in /usr/local and migrate your build
to that in /opt/csw 

I'm not subscribed to your list, so please CC me (or
dev@trafficserver.apache.org ) You can also get into contact
with me or any other Traffic Server developer on IRC
in #traffic-server (on Freenode).

Thank you very much in advance!

So long,

-- i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

Re: ASF Solaris Buildbot

Posted by Igor Galić <ig...@apache.org>.
As a proof of concept, I've started replicating a build of avro using
only CSW tools, here's what it looks like for the C build:

  http://apaste.info/dSnS

Nice! Compiles out of the box and passes tests!

The for the C++ build, I installed boost, and added -DBOOST_ROOT=/opt/csw/gxx
to the CMake command line, the result here isn't so nice, though:

   http://apaste.info/3qf9

But all in all it looks like a pretty good start (since your
solaris build only covers C to begin with)

If you're happy with this, I'll commit the following to your
buildbot config:




Index: avro.conf
===================================================================
--- avro.conf   (revision 851155)
+++ avro.conf   (working copy)
@@ -103,9 +103,21 @@
     defaultBranch="avro/trunk",
 ))
 
-f43.addStep(Configure(command=["cmake", "."], workdir="build/lang/c"))
-f43.addStep(Compile(command=["make"], workdir="build/lang/c"))
-f43.addStep(Test(workdir="build/lang/c"))
+f43.addStep(Configure(command=["cmake", "."], workdir="build/lang/c",
+                     env={ 'PATH': '/opt/csw/bin:/opt/csw/gnu:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin',
+                                              'CC': 'gcc',
+                                                  'CXX': 'g++',
+                                            }))
+f43.addStep(Compile(command=["make"], workdir="build/lang/c",
+                     env={ 'PATH': '/opt/csw/bin:/opt/csw/gnu:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin',
+                                              'CC': 'gcc',
+                                                  'CXX': 'g++',
+                                            }))
+f43.addStep(Test(workdir="build/lang/c",
+                     env={ 'PATH': '/opt/csw/bin:/opt/csw/gnu:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin',
+                                              'CC': 'gcc',
+                                                  'CXX': 'g++',
+                                            }))
 
 b43 = {'name': "avro-c-solaris-x86",
       'slavename': "bb-solaris_zone"
----

That's all from me!

So long,

-- i

> ----- Original Message -----
> > Igor, you are more than welcome to alter anything I've done on that
> > box.
> 
> Thank you Theo,
> 
> right now the only thing I want to do is get rid of these here:
> 
> igalic@bb-solaris ~ % pkginfo | awk '{ if ($2 ~ /^SMC/) { print $0
> }}'
> application SMCcoreu                         coreutils
> application SMCcurl                          curl
> application SMCexpat                         expat
> application SMCgit                           git
> application SMClgcc346                       libgcc
> application SMClibidn                        libidn
> application SMCliconv                        libiconv
> application SMClintl                         libintl
> application SMClssh2                         libssh2
> application SMCossl                          openssl
> igalic@bb-solaris ~ % pkginfo | awk '{ if ($2 ~ /^SMC/) { print $2
> }}' | xargs sudo pkgrm
> 
> But I don't know how this will affect the avro build.
> 
> > On Tue, Feb 19, 2013 at 9:16 AM, Igor Galić <ig...@apache.org>
> > wrote:
> > 
> > >
> > > Hey folks,
> > >
> > > Right now we (Apache Traffic Server and Apache Avro) are
> > > the only sharing this Solaris box as buildbot. The Solaris
> > > build is giving us a *lot* of trouble, much of which is
> > > caused by the installations in /usr/local (Yay autoconf!)
> > >
> > > I have installed up-to-date and easily updatable software
> > > in /opt/csw (courtesy of the OpenCSW project).
> > >
> > > I would gladly volunteer my time if you allow me to remove
> > > the software installed in /usr/local and migrate your build
> > > to that in /opt/csw
> > >
> > > I'm not subscribed to your list, so please CC me (or
> > > dev@trafficserver.apache.org ) You can also get into contact
> > > with me or any other Traffic Server developer on IRC
> > > in #traffic-server (on Freenode).
> > >
> > > Thank you very much in advance!
> > >
> > > So long,
> > >
> > > -- i
> > >
> > > --
> > > Igor Galić
> > >
> > > Tel: +43 (0) 664 886 22 883
> > > Mail: i.galic@brainsware.org
> > > URL: http://brainsware.org/
> > > GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
> > >
> > 
> > 
> > 
> > --
> > 
> > Theo Schlossnagle
> > 
> > http://omniti.com/is/theo-schlossnagle
> > 
> 
> --
> Igor Galić
> 
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
> 
> 
> --
> 
> 

--

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

Re: ASF Solaris Buildbot

Posted by Igor Galić <ig...@apache.org>.
As a proof of concept, I've started replicating a build of avro using
only CSW tools, here's what it looks like for the C build:

  http://apaste.info/dSnS

Nice! Compiles out of the box and passes tests!

The for the C++ build, I installed boost, and added -DBOOST_ROOT=/opt/csw/gxx
to the CMake command line, the result here isn't so nice, though:

   http://apaste.info/3qf9

But all in all it looks like a pretty good start (since your
solaris build only covers C to begin with)

If you're happy with this, I'll commit the following to your
buildbot config:




Index: avro.conf
===================================================================
--- avro.conf   (revision 851155)
+++ avro.conf   (working copy)
@@ -103,9 +103,21 @@
     defaultBranch="avro/trunk",
 ))
 
-f43.addStep(Configure(command=["cmake", "."], workdir="build/lang/c"))
-f43.addStep(Compile(command=["make"], workdir="build/lang/c"))
-f43.addStep(Test(workdir="build/lang/c"))
+f43.addStep(Configure(command=["cmake", "."], workdir="build/lang/c",
+                     env={ 'PATH': '/opt/csw/bin:/opt/csw/gnu:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin',
+                                              'CC': 'gcc',
+                                                  'CXX': 'g++',
+                                            }))
+f43.addStep(Compile(command=["make"], workdir="build/lang/c",
+                     env={ 'PATH': '/opt/csw/bin:/opt/csw/gnu:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin',
+                                              'CC': 'gcc',
+                                                  'CXX': 'g++',
+                                            }))
+f43.addStep(Test(workdir="build/lang/c",
+                     env={ 'PATH': '/opt/csw/bin:/opt/csw/gnu:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin',
+                                              'CC': 'gcc',
+                                                  'CXX': 'g++',
+                                            }))
 
 b43 = {'name': "avro-c-solaris-x86",
       'slavename': "bb-solaris_zone"
----

That's all from me!

So long,

-- i

> ----- Original Message -----
> > Igor, you are more than welcome to alter anything I've done on that
> > box.
> 
> Thank you Theo,
> 
> right now the only thing I want to do is get rid of these here:
> 
> igalic@bb-solaris ~ % pkginfo | awk '{ if ($2 ~ /^SMC/) { print $0
> }}'
> application SMCcoreu                         coreutils
> application SMCcurl                          curl
> application SMCexpat                         expat
> application SMCgit                           git
> application SMClgcc346                       libgcc
> application SMClibidn                        libidn
> application SMCliconv                        libiconv
> application SMClintl                         libintl
> application SMClssh2                         libssh2
> application SMCossl                          openssl
> igalic@bb-solaris ~ % pkginfo | awk '{ if ($2 ~ /^SMC/) { print $2
> }}' | xargs sudo pkgrm
> 
> But I don't know how this will affect the avro build.
> 
> > On Tue, Feb 19, 2013 at 9:16 AM, Igor Galić <ig...@apache.org>
> > wrote:
> > 
> > >
> > > Hey folks,
> > >
> > > Right now we (Apache Traffic Server and Apache Avro) are
> > > the only sharing this Solaris box as buildbot. The Solaris
> > > build is giving us a *lot* of trouble, much of which is
> > > caused by the installations in /usr/local (Yay autoconf!)
> > >
> > > I have installed up-to-date and easily updatable software
> > > in /opt/csw (courtesy of the OpenCSW project).
> > >
> > > I would gladly volunteer my time if you allow me to remove
> > > the software installed in /usr/local and migrate your build
> > > to that in /opt/csw
> > >
> > > I'm not subscribed to your list, so please CC me (or
> > > dev@trafficserver.apache.org ) You can also get into contact
> > > with me or any other Traffic Server developer on IRC
> > > in #traffic-server (on Freenode).
> > >
> > > Thank you very much in advance!
> > >
> > > So long,
> > >
> > > -- i
> > >
> > > --
> > > Igor Galić
> > >
> > > Tel: +43 (0) 664 886 22 883
> > > Mail: i.galic@brainsware.org
> > > URL: http://brainsware.org/
> > > GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
> > >
> > 
> > 
> > 
> > --
> > 
> > Theo Schlossnagle
> > 
> > http://omniti.com/is/theo-schlossnagle
> > 
> 
> --
> Igor Galić
> 
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
> 
> 
> --
> 
> 

--

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

Re: ASF Solaris Buildbot

Posted by Igor Galić <ig...@apache.org>.

----- Original Message -----
> Igor, you are more than welcome to alter anything I've done on that
> box. 

Thank you Theo,

right now the only thing I want to do is get rid of these here:

igalic@bb-solaris ~ % pkginfo | awk '{ if ($2 ~ /^SMC/) { print $0 }}'
application SMCcoreu                         coreutils
application SMCcurl                          curl
application SMCexpat                         expat
application SMCgit                           git
application SMClgcc346                       libgcc
application SMClibidn                        libidn
application SMCliconv                        libiconv
application SMClintl                         libintl
application SMClssh2                         libssh2
application SMCossl                          openssl
igalic@bb-solaris ~ % pkginfo | awk '{ if ($2 ~ /^SMC/) { print $2 }}' | xargs sudo pkgrm 

But I don't know how this will affect the avro build.

> On Tue, Feb 19, 2013 at 9:16 AM, Igor Galić <ig...@apache.org>
> wrote:
> 
> >
> > Hey folks,
> >
> > Right now we (Apache Traffic Server and Apache Avro) are
> > the only sharing this Solaris box as buildbot. The Solaris
> > build is giving us a *lot* of trouble, much of which is
> > caused by the installations in /usr/local (Yay autoconf!)
> >
> > I have installed up-to-date and easily updatable software
> > in /opt/csw (courtesy of the OpenCSW project).
> >
> > I would gladly volunteer my time if you allow me to remove
> > the software installed in /usr/local and migrate your build
> > to that in /opt/csw
> >
> > I'm not subscribed to your list, so please CC me (or
> > dev@trafficserver.apache.org ) You can also get into contact
> > with me or any other Traffic Server developer on IRC
> > in #traffic-server (on Freenode).
> >
> > Thank you very much in advance!
> >
> > So long,
> >
> > -- i
> >
> > --
> > Igor Galić
> >
> > Tel: +43 (0) 664 886 22 883
> > Mail: i.galic@brainsware.org
> > URL: http://brainsware.org/
> > GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
> >
> 
> 
> 
> --
> 
> Theo Schlossnagle
> 
> http://omniti.com/is/theo-schlossnagle
> 

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE


-- 


Re: ASF Solaris Buildbot

Posted by Igor Galić <ig...@apache.org>.

----- Original Message -----
> Igor, you are more than welcome to alter anything I've done on that
> box. 

Thank you Theo,

right now the only thing I want to do is get rid of these here:

igalic@bb-solaris ~ % pkginfo | awk '{ if ($2 ~ /^SMC/) { print $0 }}'
application SMCcoreu                         coreutils
application SMCcurl                          curl
application SMCexpat                         expat
application SMCgit                           git
application SMClgcc346                       libgcc
application SMClibidn                        libidn
application SMCliconv                        libiconv
application SMClintl                         libintl
application SMClssh2                         libssh2
application SMCossl                          openssl
igalic@bb-solaris ~ % pkginfo | awk '{ if ($2 ~ /^SMC/) { print $2 }}' | xargs sudo pkgrm 

But I don't know how this will affect the avro build.

> On Tue, Feb 19, 2013 at 9:16 AM, Igor Galić <ig...@apache.org>
> wrote:
> 
> >
> > Hey folks,
> >
> > Right now we (Apache Traffic Server and Apache Avro) are
> > the only sharing this Solaris box as buildbot. The Solaris
> > build is giving us a *lot* of trouble, much of which is
> > caused by the installations in /usr/local (Yay autoconf!)
> >
> > I have installed up-to-date and easily updatable software
> > in /opt/csw (courtesy of the OpenCSW project).
> >
> > I would gladly volunteer my time if you allow me to remove
> > the software installed in /usr/local and migrate your build
> > to that in /opt/csw
> >
> > I'm not subscribed to your list, so please CC me (or
> > dev@trafficserver.apache.org ) You can also get into contact
> > with me or any other Traffic Server developer on IRC
> > in #traffic-server (on Freenode).
> >
> > Thank you very much in advance!
> >
> > So long,
> >
> > -- i
> >
> > --
> > Igor Galić
> >
> > Tel: +43 (0) 664 886 22 883
> > Mail: i.galic@brainsware.org
> > URL: http://brainsware.org/
> > GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
> >
> 
> 
> 
> --
> 
> Theo Schlossnagle
> 
> http://omniti.com/is/theo-schlossnagle
> 

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE


-- 


Re: ASF Solaris Buildbot

Posted by Theo Schlossnagle <je...@omniti.com>.
Igor, you are more than welcome to alter anything I've done on that box.

On Tue, Feb 19, 2013 at 9:16 AM, Igor Galić <ig...@apache.org> wrote:

>
> Hey folks,
>
> Right now we (Apache Traffic Server and Apache Avro) are
> the only sharing this Solaris box as buildbot. The Solaris
> build is giving us a *lot* of trouble, much of which is
> caused by the installations in /usr/local (Yay autoconf!)
>
> I have installed up-to-date and easily updatable software
> in /opt/csw (courtesy of the OpenCSW project).
>
> I would gladly volunteer my time if you allow me to remove
> the software installed in /usr/local and migrate your build
> to that in /opt/csw
>
> I'm not subscribed to your list, so please CC me (or
> dev@trafficserver.apache.org ) You can also get into contact
> with me or any other Traffic Server developer on IRC
> in #traffic-server (on Freenode).
>
> Thank you very much in advance!
>
> So long,
>
> -- i
>
> --
> Igor Galić
>
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
>



-- 

Theo Schlossnagle

http://omniti.com/is/theo-schlossnagle

Re: ASF Solaris Buildbot

Posted by Theo Schlossnagle <je...@omniti.com>.
Igor, you are more than welcome to alter anything I've done on that box.

On Tue, Feb 19, 2013 at 9:16 AM, Igor Galić <ig...@apache.org> wrote:

>
> Hey folks,
>
> Right now we (Apache Traffic Server and Apache Avro) are
> the only sharing this Solaris box as buildbot. The Solaris
> build is giving us a *lot* of trouble, much of which is
> caused by the installations in /usr/local (Yay autoconf!)
>
> I have installed up-to-date and easily updatable software
> in /opt/csw (courtesy of the OpenCSW project).
>
> I would gladly volunteer my time if you allow me to remove
> the software installed in /usr/local and migrate your build
> to that in /opt/csw
>
> I'm not subscribed to your list, so please CC me (or
> dev@trafficserver.apache.org ) You can also get into contact
> with me or any other Traffic Server developer on IRC
> in #traffic-server (on Freenode).
>
> Thank you very much in advance!
>
> So long,
>
> -- i
>
> --
> Igor Galić
>
> Tel: +43 (0) 664 886 22 883
> Mail: i.galic@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
>



-- 

Theo Schlossnagle

http://omniti.com/is/theo-schlossnagle