Hi there,

Could someone please help me with my vpp build  for vargrant target centos 7.2?

What I am missing (see my build excerpts below)?

Highly appreciated any help.

BR,

Zhelyko Oluic

...

   29  vagrant box add --provider virtualbox 
https://atlas.hashicorp.com/puppetlabs/centos-7.2-64-nocm
   30  export http_proxy=http://192.168.7.7:3128
   31  export https_proxy=https://192.168.7.7:3128
   32  cd build-root/
   33  cd vagrant/
   34  ls
   35  vi Vagrantfile
   36  export VPP_VAGRANT_DISTRO=centos7
...
zhelyko.oluic@lmg-sr2-ostack:~/work$ cd vpp
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp$ pwd
/home/zhelyko.oluic/work/vpp
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp$ git clone https://gerrit.fd.io/r/vpp
Cloning into 'vpp'...
remote: Counting objects: 2081, done
remote: Finding sources: 100% (49/49)
remote: Total 18691 (delta 0), reused 18661 (delta 0)
Receiving objects: 100% (18691/18691), 23.95 MiB | 5.38 MiB/s, done.
Resolving deltas: 100% (9676/9676), done.
Checking connectivity... done.
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp/build-root/vagrant$ cd 
~/work/vpp/vpp/
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp$ git pull
Already up-to-date.
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp$ cd build-root/vagrant
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp/build-root/vagrant$ vi Vagrantfile
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp/build-root/vagrant$ echo $http_proxy
http://192.168.7.7:3128
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp/build-root/vagrant$ echo 
$https_proxy
https://192.168.7.7:3128
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp/build-root/vagrant$ echo 
$VPP_VAGRANT_DISTRO
centos7
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp/build-root/vagrant$ echo 
$VAGRANT_DEFAULT_PROVIDER
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp/build-root/vagrant$ export 
VAGRANT_DEFAULT_PROVIDER=virtualbox
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp/build-root/vagrant$ echo 
$VAGRANT_DEFAULT_PROVIDER
virtualbox
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp/build-root/vagrant$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'puppetlabs/centos-7.2-64-nocm' could not be found. Attempting 
to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Loading metadata for box 'puppetlabs/centos-7.2-64-nocm'
    default: URL: https://atlas.hashicorp.com/puppetlabs/centos-7.2-64-nocm
==> default: Adding box 'puppetlabs/centos-7.2-64-nocm' (v1.0.1) for provider: 
virtualbox
    default: Downloading: 
https://vagrantcloud.com/puppetlabs/boxes/centos-7.2-64-nocm/versions/1.0.1/providers/virtualbox.box
==> default: Successfully added box 'puppetlabs/centos-7.2-64-nocm' (v1.0.1) 
for 'virtualbox'!
==> default: Importing base box 'puppetlabs/centos-7.2-64-nocm'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: vagrant_default_1484595933101_99247
==> default: Fixed port collision for 22 => 2222. Now on port 2200.
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 22 (guest) => 2200 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2200
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Configuring and enabling network interfaces...
==> default: Configuring proxy environment variables...
==> default: Configuring proxy for Yum...
==> default: Installing rsync to the VM...
==> default: Rsyncing folder: /home/zhelyko.oluic/work/vpp/vpp/ => /vpp
==> default:   - Exclude: [".vagrant/", "build-root/build*/", 
"build-root/install*/", "build-root/images*/", "build-root/*.deb", 
"build-root/*.rpm", "build-root/*.changes", "build-root/python", 
"build-root/deb/debian/*.dkms", "build-root/deb/debian/*.install", 
"build-root/deb/debian/changes", "build-root/tools"]
==> default: Mounting shared folders...
    default: /vagrant => /home/zhelyko.oluic/work/vpp/vpp/build-root/vagrant
    default: /tmp/vagrant-cache => 
/home/zhelyko.oluic/.vagrant.d/cache/puppetlabs/centos-7.2-64-nocm
==> default: Configuring cache buckets...
==> default: Running provisioner: shell...
    default: Running: /tmp/vagrant-shell20170116-31922-gtrozf.sh
==> default: vm.nr_hugepages = 1024
==> default: Loaded plugins: fastestmirror
==> default: Loading mirror speeds from cached hostfile
==> default:  * base: centos.eecs.wsu.edu
==> default:  * extras: centos-distro.cavecreek.net
==> default:  * updates: centos.aol.com
...
> default: configure: creating ./config.status
==> default: config.status: creating Makefile
==> default: config.status: creating plugins/Makefile
==> default: config.status: creating vpp-api/python/Makefile
==> default: config.status: creating vpp-api/java/Makefile
==> default: config.status: executing libtool commands
==> default: config.status: executing depfiles commands
==> default: 
==============================================================================
==> default:   version                 vpp 17.04
==> default:   prefix                  /vpp/build-root/install-vpp-native/vpp
==> default:   libdir                  
/vpp/build-root/install-vpp-native/vpp/lib64
==> default:   includedir              ${prefix}/include
==> default:   CFLAGS                   -g -O2 -DFORTIFY_SOURCE=2 -march=corei7 
-mtune=corei7-avx -fstack-protector -fPIC -Werror
==> default:   CPPFLAGS                  
-I/vpp/build-root/install-vpp-native/dpdk/include
==> default:   LDFLAGS                  -g -O2 -DFORTIFY_SOURCE=2 -march=corei7 
-mtune=corei7-avx -fstack-protector -fPIC -Werror   
-L/vpp/build-root/install-vpp-native/dpdk/lib -Wl,-rpath 
-Wl,/vpp/build-root/install-vpp-native/dpdk/lib
==> default:   JAVA_VERSION            1.8.0_111
==> default:   JAVA_HOME               
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64
==> default:
==> default: with:
==> default:   dpdk                    yes
==> default:   dpdk_crypto             no
==> default:   dpdk_mlx5_pmd           no
==> default:   ipsec                   yes
==> default:   ipv6sr                  yes
==> default:   apicli                  yes
==> default:
==> default: enabled:
==> default:   tests                   no
==> default:   dpdk_shared             no
==> default:   perftool                no
==> default:   g2                      no
==> default:   vlib                    yes
==> default:   svm                     yes
==> default:   papi                    yes
==> default:   japi                    yes
==> default:
==> default: plugins:
==> default:   acl                     yes
==> default:   flowperpkt              yes
==> default:   ila                     yes
==> default:   ioam                    yes
==> default:   lb                      yes
==> default:   sixrd                   yes
==> default:   snat                    yes
==> default: 
==============================================================================
==> default: @@@@ Building vpp in /vpp/build-root/build-vpp-native/vpp @@@@
==> default: make[3]: Entering directory `/vpp/build-root/build-vpp-native/vpp'
==> default:   YACC     tools/vppapigen/gram.c
==> default:   CC       tools/vppapigen/node.o
==> default: In file included from 
/vpp/build-data/../src/tools/vppapigen/node.c:30:0:
==> default: /vpp/build-data/../src/tools/vppapigen/lex.h:32:34: fatal error: 
tools/vppapigen/gram.h: No such file or directory
==> default:  #include "tools/vppapigen/gram.h"
==> default:                                   ^
==> default: compilation terminated.
==> default:   VERSION  vpp/app/version.h (17.04-rc0~114-gb601f22)
==> default:   CC       tools/vppapigen/gram.o
==> default:   CC       tools/vppapigen/lex_e.o
==> default:   CC       vppinfra/asm_x86.lo
==> default:   CC       vppinfra/backtrace.lo
==> default: The bug is not reproducible, so it is likely a hardware or OS 
problem.
==> default: make[3]: *** [tools/vppapigen/node.o] Error 1
==> default: make[3]: *** Waiting for unfinished jobs....
==> default: make[3]: Leaving directory `/vpp/build-root/build-vpp-native/vpp'
==> default: make[2]: Leaving directory `/vpp/build-root'
==> default: make[2]: *** [vpp-build] Error 2
==> default: make[1]: Leaving directory `/vpp/build-root'
==> default: make[1]: *** [install-rpm] Error 1
==> default: make: *** [pkg-rpm] Error 2
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
...
zhelyko.oluic@lmg-sr2-ostack:~/work/vpp/vpp/build-root/vagrant$ vagrant ssh
[vagrant@localhost ~]$ cd /vpp
[vagrant@localhost vpp]$ ls
build-data  build-root  doxygen  dpdk  gmod  LICENSE  Makefile  README.md  
RELEASE.md  src  test
[vagrant@localhost vpp]$ find . -name gram.h
./build-root/build-tool-native/tools/tools/vppapigen/gram.h
./build-root/build-vpp-native/vpp/tools/vppapigen/gram.h


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.

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

Reply via email to