We also found it in gerrit verifying process of NSH_SFC 17.07, and raised a
ticket to helpdesk.
From: [email protected] [mailto:[email protected]] On
Behalf Of Jon Loeliger
Sent: Friday, March 31, 2017 7:15 AM
To: Ed Warnicke <[email protected]>
Cc: vpp-dev <[email protected]>
Subject: Re: [vpp-dev] Out of Tree Build Failure on vnet/rewrite.h
On Thu, Mar 30, 2017 at 5:42 PM, Ed Warnicke
<[email protected]<mailto:[email protected]>> wrote:
The more interesting (to me) question is... how did it pass verify?
Ed
Ed,
If I might speculate, it isn't anything that the VPP Builds even checks.
To catch this, you have to build VPP to packages, take those packages,
install them on a machine somewhere, now build a C API based
application that uses those installed include files and libraries.
That's what I do; I don't think you guys do that anywhere.
HTH,
jdl
--- Begin Message ---
Hi Vanessa,
I lay down a v17.07-rc0 tag on master, and submit a patch to update the version
to 17.07.
https://gerrit.fd.io/r/#/c/5940/ Bump master's JVPP version to 17.07
It is built successfully locally, but failed in gerrit.
Below is the error:
Could you take a look at this issue?
Thanks a lot,
Hongjun
05:44:16 make all-am
05:44:16 make[3]: Entering directory
'/w/workspace/nsh_sfc-verify-master-ubuntu1604/nsh-plugin/build/java'
05:44:16 /bin/bash ./libtool --tag=CC --mode=compile gcc
-DPACKAGE_NAME=\"nsh-japi\" -DPACKAGE_TARNAME=\"nsh-japi\"
-DPACKAGE_VERSION=\"17.07\" -DPACKAGE_STRING=\"nsh-japi\ 17.07\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DPACKAGE=\"nsh-japi\" -DVERSION=\"17.07\" -I. -I../../java
-I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include
-I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include/linux -I../ -I../../java/../
-I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include
-I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include/linux -Wall -g -O2 -MT
jvpp/libjvpp_nsh_la-jvpp_nsh.lo -MD -MP -MF
jvpp/.deps/libjvpp_nsh_la-jvpp_nsh.Tpo -c -o jvpp/libjvpp_nsh_la-jvpp_nsh.lo
`test -f 'jvpp/jvpp_nsh.c' || echo '../../java/'`jvpp/jvpp_nsh.c
05:44:17 libtool: compile: gcc -DPACKAGE_NAME=\"nsh-japi\"
-DPACKAGE_TARNAME=\"nsh-japi\" -DPACKAGE_VERSION=\"17.07\"
"-DPACKAGE_STRING=\"nsh-japi 17.07\"" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DLT_OBJDIR=\".libs/\" -DPACKAGE=\"nsh-japi\" -DVERSION=\"17.07\" -I.
-I../../java -I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include
-I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include/linux -I../ -I../../java/../
-I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include
-I/usr/lib/jvm/java-1.8.0-openjdk-amd64/include/linux -Wall -g -O2 -MT
jvpp/libjvpp_nsh_la-jvpp_nsh.lo -MD -MP -MF
jvpp/.deps/libjvpp_nsh_la-jvpp_nsh.Tpo -c ../../java/jvpp/jvpp_nsh.c -fPIC
-DPIC -o jvpp/.libs/libjvpp_nsh_la-jvpp_nsh.o
05:44:18 In file included from /usr/include/vnet/ip/ip.h:51:0,
05:44:18 from ../../java/jvpp/jvpp_nsh.h:19,
05:44:18 from ../../java/jvpp/jvpp_nsh.c:40:
05:44:18 /usr/include/vnet/ip/lookup.h:58:26: fatal error: vnet/rewrite.h: No
such file or directory
05:44:18 compilation terminated.
05:44:18 Makefile:579: recipe for target 'jvpp/libjvpp_nsh_la-jvpp_nsh.lo'
failed
05:44:18 make[3]: *** [jvpp/libjvpp_nsh_la-jvpp_nsh.lo] Error 1
05:44:18 make[3]: Leaving directory
'/w/workspace/nsh_sfc-verify-master-ubuntu1604/nsh-plugin/build/java'
05:44:18 Makefile:402: recipe for target 'all' failed
05:44:18 make[2]: *** [all] Error 2
05:44:18 make[2]: Leaving directory
'/w/workspace/nsh_sfc-verify-master-ubuntu1604/nsh-plugin/build/java'
05:44:18 Makefile:671: recipe for target 'all-recursive' failed
05:44:18 make[1]: *** [all-recursive] Error 1
05:44:18 make[1]: Leaving directory
'/w/workspace/nsh_sfc-verify-master-ubuntu1604/nsh-plugin/build'
05:44:18 Makefile:439: recipe for target 'all' failed
05:44:18 make: *** [all] Error 2
--- End Message ---
_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev