D Hubler,

Thanks for the info!  I am trying to re-run the chroot-init and the
lib.rpm/sipx.rpm builds right now.  I will sprinkle some combinations of
rebuilding sipxcommons with it.  If those give me issues I will try just
rebuilding my VM from scratch - with all the fiddling around it might
just be too messed up.  I will post back with the results.

Thanks again!

D Chang



-----Original Message-----

Re: [sipx-dev] Error building RPM off master branch

    From: Douglas Hubler <dhubler@xxxxxxxxx>
    Date: Sat, 21 Apr 2012 19:19:06 -0400

Dan, I just did a full rpm build of master and everything worked.

George I think gave you the answer.  If you're building the centos 6
x86_64 set of rpms, this is what should work
  make distro.centos-6-x86_64.repo-choot-init
  make distro.centos-6-x86_64.sipx.rpm

The problem you ran into is that sipxconfig rpm is finding an old
version of sipxcommons.  You can rebuild sipxcommons but it doesn't
help until you run

  make distro.centos-6-x86_64.repo-choot-init


On Fri, Apr 20, 2012 at 5:21 PM, Dan Chang <Dan.Chang@xxxxxxxxxxx>
wrote:
> So as far as I can tell I have errors finding MongoConstants, however
> the file is in my ...org.sipfoundry.commons.mongo source folder and it
> contains entries for the enum values shown.  perhaps there is some
> BUILDPATH or other pointer that I am missing that is causing the build
> to not be able to link the MongoConstants.java file in?
>
>
> -----Original Message-----
> From: sipx-dev-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:sipx-dev-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Dan Chang
> Sent: Friday, April 20, 2012 4:23 PM
> To: sipXecs developer discussions
> Subject: Re: [sipx-dev] Error building RPM off master branch
>
> try doing a tail -75 on the log and see if you can run into any
"cannot
> find symbol" errors or something like that.  25 was not enough for me
> but at 50 lines i found some stuff like
>
>
>        org/sipfoundry/sipxconfig/commserver/imdb/OpenAcd.java:32:
> cannot find symbol
>        symbol  : variable UUID
>        location: interface org.sipfoundry.commons.mongo.MongoConstants
>                  top.put(MongoConstants.UUID,
> UUID.randomUUID().toString());
>                                     ^
>
> i have tried installing mongo and mongo-devel but nothing changed.   i
> will continue to look into making the environment able to compile
> sipxecs completely, then work from there
>
> d chang
>
>
> -----Original Message-----
> From: sipx-dev-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:sipx-dev-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of R P Herrold
> Sent: Friday, April 20, 2012 3:11 PM
> To: sipXecs developer discussions
> Subject: [sipx-dev] Error building RPM off master branch
>
> On Fri, 20 Apr 2012, George Niculae wrote:
>
>>> You should get more details from build.log, anything there?
>
> build environment:
> Centos 6, 64 bit updated to current
>
> [herrold@sipxecs-builder ~]$ cat /etc/redhat-release
> CentOS release 6.2 (Final)
> [herrold@sipxecs-builder ~]$ cd sipxecs/sipxecs/build
> [herrold@sipxecs-builder build]$ make
> distro.centos-6-x86_64.{repo-chroot-init,{sipXcommons,sipXconfig}.rpm}
>  ...
>
> I too get:
>
> [herrold@sipxecs-builder ~]$ find -name build.log
> ./sipxecs/sipxecs/build/repo/CentOS_6/x86_64/build.log
> [herrold@sipxecs-builder ~]$ tail -25
> ./sipxecs/sipxecs/build/repo/CentOS_6/x86_64/build.log
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 38 errors
> make[2]: Leaving directory
> `/builddir/build/BUILD/sipxconfig-0.0.4.5.2/neoconf/src'
> make[2]: *** [javac-neoconf] Error 1
> make[1]: Leaving directory
> `/builddir/build/BUILD/sipxconfig-0.0.4.5.2/neoconf'
> RPM build errors:
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.2JxDhe (%build)
>     Bad exit status from /var/tmp/rpm-tmp.2JxDhe (%build)
> Child returncode was: 1
> EXCEPTION: Command failed. See logs for output.
>  # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
> --nodeps builddir/build/SPECS/sipxconfig.spec']
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py",
> line 70, in trace
>     result = func(*args, **kw)
>   File "/usr/lib/python2.6/site-packages/mockbuild/util.py",
> line 352, in do
>     raise mockbuild.exception.Error, ("Command failed. See
> logs for output.\n # %s" % (command,), child.returncode)
> Error: Command failed. See logs for output.
>  # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
> --nodeps builddir/build/SPECS/sipxconfig.spec']
> LEAVE do --> EXCEPTION RAISED
>
> [herrold@sipxecs-builder ~]$
>
> -----------------
>
> as to the later suggestion:
>
> [herrold@sipxecs-builder build]$ cd
> [herrold@sipxecs-builder ~]$ cd sipxecs/sipxecs/build
> [herrold@sipxecs-builder build]$ make \
> distro.centos-6-x86_64.{repo-chroot-init,{sipXcommons,sipXconfig}.rpm}
>
>  ...
>
> [herrold@sipxecs-builder build]$ tail -25 \
>        ` find . -name build.log `
>
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 38 errors
> make[2]: Leaving directory
> `/builddir/build/BUILD/sipxconfig-0.0.4.5.2/neoconf/src'
> make[2]: *** [javac-neoconf] Error 1
> make[1]: Leaving directory
> `/builddir/build/BUILD/sipxconfig-0.0.4.5.2/neoconf'
> RPM build errors:
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.S7RwnU (%build)
>     Bad exit status from /var/tmp/rpm-tmp.S7RwnU (%build)
> Child returncode was: 1
> EXCEPTION: Command failed. See logs for output.
>  # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
> --nodeps builddir/build/SPECS/sipxconfig.spec']
> Traceback (most recent call last):
>   File
> "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py",
> line 70, in trace
>     result = func(*args, **kw)
>   File "/usr/lib/python2.6/site-packages/mockbuild/util.py",
> line 352, in do
>     raise mockbuild.exception.Error, ("Command failed. See
> logs for output.\n # %s" % (command,), child.returncode)
> Error: Command failed. See logs for output.
>  # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
> --nodeps builddir/build/SPECS/sipxconfig.spec']
> LEAVE do --> EXCEPTION RAISED
>
> [herrold@sipxecs-builder build]$
> _______________________________________________
> sipx-dev mailing list
> sipx-dev@xxxxxxxxxxxxxxxxxxx
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
> _______________________________________________
> sipx-dev mailing list
> sipx-dev@xxxxxxxxxxxxxxxxxxx
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/
> _______________________________________________
> sipx-dev mailing list
> sipx-dev@xxxxxxxxxxxxxxxxxxx
> List Archive: http://list.sipfoundry.org/archive/sipx-dev/

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to