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: [email protected]
[mailto:[email protected]] 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
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/