Klement, Burt,

> looking at vpp_papi (which is Ole's deed), I see
> 
> vpp_api = ffi.dlopen('libvppapiclient.so')
> 
> so it looks like it couldn't load said .so. It surely should've been
> built as part of 'make test'. Does it exist in your WS?
> 
> Ole, thoughts?

No, this is indeed a sign of dlopen failing.
Why that happens in this exact scenario is a little hard to speculate on.

Cheers,
Ole


> 
> Regards,
> Klement
> 
> Quoting Burt Silverman (2017-10-11 23:30:38)
>>   Hi Klement,
>>   Any idea what I am doing wrong? Is master the wrong place to try "make
>>   test"? I suppose it should be OK. I tried make test-wipe, but that does
>>   not help. I didn't see anything posted recently on lists or wiki. Thanks,
>>   Burt
>>   ...
>>   Using
>>   /home/burts/vpp3/build-root/python/virtualenv/lib/python2.7/site-packages
>>   Finished processing dependencies for vpp-papi==1.4
>>   make -C ext
>>   make[2]: Entering directory '/home/burts/vpp3/test/ext'
>>   mkdir -p /home/burts/vpp3/build-root/vapi_test/
>>   /home/burts/vpp3/src/vpp-api/vapi/vapi_c_gen.py --prefix
>>   /home/burts/vpp3/build-root/vapi_test/ fake.api.json
>>   cc -o /home/burts/vpp3/build-root/vapi_test/vapi_c_test -std=gnu99 -g
>>   -Wall -pthread -I/home/burts/vpp3/src
>>   -I/home/burts/vpp3/build-root/install-vpp-native//vpp/include
>>   -I/home/burts/vpp3/build-root/vapi_test/ vapi_c_test.c
>>   -L/home/burts/vpp3/build-root/build-vpp-native/vpp/.libs/
>>   -L/home/burts/vpp3/build-root/build-vpp-native/vpp/vpp-api/vapi/.libs/
>>   -lvppinfra -lvlibmemoryclient -lsvm -lpthread -lcheck -lsubunit -lrt -lm
>>   -lvapiclient
>>   /home/burts/vpp3/src/vpp-api/vapi/vapi_cpp_gen.py --prefix
>>   /home/burts/vpp3/build-root/vapi_test/ fake.api.json
>>   g++ -o /home/burts/vpp3/build-root/vapi_test/vapi_cpp_test -std=c++11 -g
>>   -Wall -pthread -I/home/burts/vpp3/src
>>   -I/home/burts/vpp3/build-root/install-vpp-native//vpp/include
>>   -I/home/burts/vpp3/build-root/vapi_test/ vapi_cpp_test.cpp
>>   -L/home/burts/vpp3/build-root/build-vpp-native/vpp/.libs/
>>   -L/home/burts/vpp3/build-root/build-vpp-native/vpp/vpp-api/vapi/.libs/
>>   -lvppinfra -lvlibmemoryclient -lsvm -lpthread -lcheck -lsubunit -lrt -lm
>>   -lvapiclient
>>   make[2]: Leaving directory '/home/burts/vpp3/test/ext'
>>   Traceback (most recent call last):
>>     File "sanity_import_vpp_papi.py", line 4, in <module>
>>       import vpp_papi
>>     File "build/bdist.linux-x86_64/egg/vpp_papi/__init__.py", line 2, in
>>   <module>
>>     File "build/bdist.linux-x86_64/egg/vpp_papi/vpp_papi.py", line 22, in
>>   <module>
>>   ImportError: No module named vpp_api
>>   *******************************************************************
>>   * Sanity check failed, cannot import vpp_papi
>>   * to debug:
>>   * 1. enter test shell:   make test-shell
>>   * 2. execute debugger:   gdb python -ex 'run sanity_import_vpp_papi.py'
>>   *******************************************************************
>>   Makefile:95: recipe for target 'sanity' failed
>>   make[1]: *** [sanity] Error 1
>>   make[1]: Leaving directory '/home/burts/vpp3/test'
>>   Makefile:353: recipe for target 'test' failed
>>   make: *** [test] Error 2
>>   burts@burtvb:~/vpp3$
> _______________________________________________
> vpp-dev mailing list
> vpp-dev@lists.fd.io
> https://lists.fd.io/mailman/listinfo/vpp-dev

Attachment: signature.asc
Description: Message signed with OpenPGP

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

Reply via email to