On Mon, 23 Apr 2012, Douglas Hubler wrote:

> On Mon, Apr 23, 2012 at 11:39 AM, R P Herrold <[email protected]> wrote:
>>
>> Under the instructions at:
>>        
>> http://wiki.sipfoundry.org/display/sipXecs/Building+RPMS+on+CentOS+or+Fedora
>> I continue to obtain the failure noted over the weekend
>>
>> Centos 6, environment, with EPElk enabled, x86_86 arch
>
> I'm not sure you ran the recommended commands listed here
>  http://list.sipfoundry.org/archive/sipx-dev/msg27173.html
>
> Please show me the output from those commands.

  [this email came in after I had restarted a scripted build]

> NOTE: A lot of your rpm commands operate on the build machine, not the
> mock chroot system.

I assume from the URL quoted that you mean the 'init' commands 
... yes, I run them each time, either via my driver script 
(below), or manually walking through the process

[herrold@sipxecs-builder ~]$ find  ~ -name  "sipxcommons*rpm"
        -a -exec ls -al {} \;
-rw-rw-r--. 1 herrold herrold 73971901 Apr 23 11:08 
/home/herrold/rpmbuild/SRPMS/sipxcommons-0.0.4.5.2-1371.g0a675.src.rpm


If you are saying that the init needs to be run-periodically 
through the build process the wiki article outlines, that 
would either be a Makefile target (spotting a later file 
[sipxcommons-....src.rpm ] existing than expected and so 
running the init automatically), or a call out in the wiki 
article, no?

I have a build process running under the script atm, and will 
test when it completes

Thanks,

-- Russ herrold


   367  make distro.centos-6-x86_64.repo-chroot-init
   369  make 
distro.centos-6-x86_64.{repo-chroot-init,{sipXcommons,sipXconfig}.rpm}
   380  make 
distro.centos-6-x86_64.{repo-chroot-init,{sipXcommons,sipXconfig}.rpm}
   383  make 
distro.centos-6-x86_64.{repo-chroot-init,{sipXcommons,sipXconfig}.rpm}
   400  history | grep init | tail


[herrold@sipxecs-builder ~]$ cat README
#!/bin/sh
#
#       README
#               $Id: README,v 1.10 2012/04/23 16:14:48 herrold Exp herrold $
#
#       Run the wiki instructions, deterministicly, until we get a failure
#
# http://wiki.sipfoundry.org/display/sipXecs/Building+RPMS+on+CentOS+or+Fedora
#
cd
cd sipxecs
##      through step 4 ... not generally applicable once done and
##              the initial VCS CO is done
## ./step4.sh
#
#       VCS freshen is not explicitly a step in the wiki article,
#       but by rights should come before the 'init' phase
cd
cd sipxecs
#
cd sipxecs
git submodule init
git submodule update
autoreconf -if
#
#       sanity check that we are in the top directory, and that a
#               ./configure exists after the reconf
##      we are at~/sipxecs/sipxecs/
[ ! -e configure ] && {
         echo -n "error:  cannot see ./configure at: " 1>&2
         pwd 1>&2
         exit 1
         }
[   -e build ] && rm -rf build
[ ! -e build ] && mkdir build
cd build
../configure --enable-rpm
#
#       initialize build environment (step 7)
cd
cd sipxecs/sipxecs/build
make distro.centos-6-x86_64.repo-chroot-init
#
#       set up the libraries (step 8)
#               -- this seems premature, before we have emumerated missing
#               BRs
cd
cd sipxecs/sipxecs/build
make distro.centos-6-x86_64.lib.rpm
#
#       enumerate missing BR's  (step 9)
#               -- sipx deps
cd
cd sipxecs/sipxecs/build
#       TBD: we are still missing: sipx-openfire
#               query: whatprovides
make sipx.deps-missing-build-list
#
#               -- lib deps
cd
cd sipxecs/sipxecs/build
##      FIXME:  this emits error noise (a null list and the usage message)
##              and needs to be run down
make lib.deps-missing-build-list
#
#       and then the binaries at the bottom of step 9
cd
cd sipxecs/sipxecs/build
make distro.centos-6-x86_64.sipx.rpm
#       TBD:  we are not getting past there presently
exit 0
#
#########################################################
#
#       random mailing list matter
#
cd
cd sipxecs/sipxecs/build
make distro.centos-6-x86_64.{repo-chroot-init,{sipXcommons,sipXconfig}.rpm}
#
#       seems like same command in two succesive posts
cd
cd sipxecs/sipxecs/build
make distro.centos-6-x86_64.{repo-chroot-init,{sipXcommons,sipXconfig}.rpm}
#
#       tail -75 is more useful
tail -25 
./sipxecs/sipxecs/build/repo/CentOS_6/x86_64/build.log
#
#
[herrold@sipxecs-builder ~]$
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to