Billy,

This is the same failure that I am seeing on MacOsX 10.11.6/Vagrant 1.8.6/Virtualbox Version 5.1.6 r110634.

Thanks for taking the time to reproduce/diagnose the issue.

-daw-

On 10/19/16 8:43 AM, Billy McFall wrote:
In the VPP Meeting yesterday (10/18/2016), Dave Wallace reported having issues compiling VPP in a Vagrant VM running Centos. The thought was it might be a MAC issue. I was able to reproduce on a Fedora 24 host. Dave, let me know if this is not the same issue you were seeing. I created Jira https://jira.fd.io/browse/VPP-504 to track the issue.

Details:
I created a new vpp sandbox and ran vagrant vpp image with CentOs. The vpp build failed in the CentOs Vagrant VM as follows:

    => default: make[5]: Leaving directory
    `/home/vagrant/git/vpp/build-root/build-vpp-native/vlib-api'
    ==> default: make[4]: Leaving directory
    `/home/vagrant/git/vpp/build-root/build-vpp-native/vlib-api'
    ==> default: make[3]: Leaving directory
    `/home/vagrant/git/vpp/build-root/build-vpp-native/vlib-api'
    ==> default: @@@@ Configuring vnet in
    /home/vagrant/git/vpp/build-root/build-vpp-native/vnet @@@@
    ==> default: autom4te: cannot open autom4te.cache/requests:
    Permission denied
    ==> default: aclocal: error: echo failed with exit status: 1
    ==> default: autoreconf: aclocal failed with exit status: 1
    ==> default: make[2]: Leaving directory
    `/home/vagrant/git/vpp/build-root'
    ==> default: make[2]: *** [vnet-configure] Error 1
    ==> default: make[1]: *** [install-rpm] Error 1
    ==> default: make[1]: Leaving directory
    `/home/vagrant/git/vpp/build-root'
    ==> default: make: *** [pkg-rpm] Error 2


As a quick test, I added 'sudo' to the 'aclocal' and 'automake' and it builds. I don't like spraying 'sudo' everywhere so this is just a work around while I am still investigating.


    $ git diff build-root/vagrant/build.sh
    diff --git a/build-root/vagrant/build.sh b/build-root/vagrant/build.sh
    index e500240..76838e2 100755
    --- a/build-root/vagrant/build.sh
    +++ b/build-root/vagrant/build.sh
    @@ -68,7 +68,7 @@ $SUDOCMD make bootstrap
     if [ $DISTRIB_ID == "Ubuntu" ]; then
     $SUDOCMD make pkg-deb
     elif [ $DISTRIB_ID == "CentOS" ]; then
    -    (cd $VPP_DIR/vnet ;aclocal; automake -a)
    +    (cd $VPP_DIR/vnet ;$SUDOCMD aclocal;$SUDOCMD automake -a)
     $SUDOCMD make pkg-rpm
     fi


Billy McFall


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to