I am trying to build RPMs (really just the SipXConfig RPM if I could)
from a Git fork off the master branch, following the directions at

 

 
http://wiki.sipfoundry.org/display/sipXecs/Building+RPMS+on+CentOS+or+Fe
dora

 

I am getting a failure from both

 make distro.centos-6-x86_64.lib.rpm 

 make distro.centos-6-x86_64.sipx.rpm

 

I presume the failure in the sipx build is caused by the failed lib
build.  I have copied the tail end of the errors messages below and was
hoping maybe someone had some ideas about what was wrong.  I apologize
up front for spamming a bunch of make errors but honestly I do not
really know what I am looking at.  (Incidentally, do I have to actually
compile sipx on this machine before I can build RPMS?)  Thanks for any
help ^_^

 

* lib failure

 

INFO: State Changed: build

INFO: ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps builddir/build/SPECS/freeswitch.spec'], False,
'/var/lib/mock/centos-6-x86_64/root/', None, 0, True, False, 500, 490,
None, False, {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL':
'/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock',
'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir',
'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'},
logger=<mockbuild.trace_decorator.getLog object at 0x1987c90>)

INFO: EXCEPTION: Command failed. See logs for output.

 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/freeswitch.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/freeswitch.spec']

INFO: LEAVE do --> EXCEPTION RAISED

 

ERROR:
Exception(repo/CentOS_6/source/freeswitch-1.0.7-4697.g7393a.src.rpm)
Config(centos-6-x86_64) 14 minutes 47 seconds

INFO: Results and/or logs in: repo/CentOS_6/x86_64

ERROR: Command failed. See logs for output.

 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/freeswitch.spec']

make[2]: *** [freeswitch.rpm-by-mock] Error 1

make[2]: Leaving directory `/home/patlive/code/sipxecs/build'

make[1]: *** [lib.rpm] Error 2

make[1]: Leaving directory `/home/patlive/code/sipxecs/build'

make: *** [distro.centos-6-x86_64.lib.rpm] Error 2

[patlive@vm-centos-bayonetta build]$

 

* sipx failure

 

INFO: State Changed: build

INFO: ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps builddir/build/SPECS/sipxconfig.spec'], False,
'/var/lib/mock/centos-6-x86_64/root/', None, 0, True, False, 500, 490,
None, False, {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL':
'/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock',
'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir',
'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'},
logger=<mockbuild.trace_decorator.getLog object at 0x26bec50>)

INFO: 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']

INFO: LEAVE do --> EXCEPTION RAISED

 

ERROR:
Exception(repo/CentOS_6/source/sipxconfig-0.0.4.5.2-1749.g4e669b.src.rpm
) Config(centos-6-x86_64) 0 minutes 50 seconds

INFO: Results and/or logs in: repo/CentOS_6/x86_64

ERROR: Command failed. See logs for output.

 # ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/sipxconfig.spec']

make[2]: *** [sipXconfig.rpm-by-mock] Error 1

make[2]: Leaving directory `/home/patlive/code/sipxecs/build'

make[1]: *** [sipx.rpm] Error 2

make[1]: Leaving directory `/home/patlive/code/sipxecs/build'

make: *** [distro.centos-6-x86_64.sipx.rpm] Error 2

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

Reply via email to