Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro >> mail # dev >> ASF Solaris Buildbot


+
Igor Galić 2013-02-19, 14:16
+
Theo Schlossnagle 2013-02-19, 14:18
+
Igor Galić 2013-02-19, 15:14
Copy link to this message
-
Re: ASF Solaris Buildbot

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ć <[EMAIL PROTECTED]>
> > 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
> > > [EMAIL PROTECTED] ) 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,
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: [EMAIL PROTECTED]
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB