Makefile: Fix build on ubuntu 16.04 with pkg-config.#626
Makefile: Fix build on ubuntu 16.04 with pkg-config.#626sangjinhan merged 1 commit intoNetSys:masterfrom
Conversation
Instead of listing twice the libraries that we want to link dynamically with, we can simply filter those out from the result of pkg-config. This should fix the build in ubuntu 16.04 (although I wasn't able to reproduce the problem). Reported and suggested by @Codeacious
|
I'm able to build successfully with this change. Thanks! |
|
I don't see why this is stalling on Travis, but something goes wrong during |
|
Hi, have this Travis issued been fixed? I am also hitting on this issue, and by using your patch, I can build bess now. |
|
I'm still investigating the issue, it doesn't appear to be related to this PR. I can reproduce the problem locally by upgrading python grpcio to 1.6.0 (@chris3torek and I noticed that it has been updated on pypi yesterday).
Line 90 in 65a01c7 This is the output with debug set to true ( Line 97 in 65a01c7 I'm still investigating, worst case we can ask pip to install grpcio 1.4.0 |
|
In my local setup, the test suite failed even without With some investigation, I am fairly certain that it's a bug of grpc 1.6.0. If a channel has been closed by the server ( #628 would work, but given that As a (not ideal either) workaround, we can launch/terminate the dummy gRPC server per testcase (rather than per individual test), so that the channel is not disrupted by between every two tests. This can be done by simply switching |
Codecov Report
@@ Coverage Diff @@
## master #626 +/- ##
=========================================
+ Coverage 69.3% 69.3% +<.01%
=========================================
Files 204 204
Lines 13072 13078 +6
=========================================
+ Hits 9059 9064 +5
- Misses 4013 4014 +1
Continue to review full report at Codecov.
|
chris3torek
left a comment
There was a problem hiding this comment.
This seems like the right fix, we get the statics and dynamics all listed separately now.

Instead of listing twice the libraries that we want to link dynamically
with, we can simply filter those out from the result of pkg-config.
This should fix the build in ubuntu 16.04 (although I wasn't able to
reproduce the problem).
Reported and suggested by @Codeacious