-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined variable _s in stream_engine_base.cpp cause build failure on kFreeBSD #4113
Comments
Solution: fix refactor mistake introduced by: 091df74 Fixes zeromq#4113
Hello, The patch here seems to address |
Sigh, no I missed that, my bad. Can you send a PR? |
Quoting Laurent Bigonville (2021-01-08 16:07:38)
The patch here seems to address `_s` but not `_peer_address`, am I missing something?
The issue I reported involved only _s vs. s_ and the patch I proposed only covered those.
...if that is what you are asking.
|
Well the initial build log also mention |
Ohhh, indeed it does - and in Debian indeed it continues to fail with my proposed patch: https://buildd.debian.org/status/fetch.php?pkg=zeromq3&arch=kfreebsd-amd64&ver=4.3.3-5&stamp=1610053267&raw=0 I am so sorry that I didn't properly test :-( |
Solution: fix refactor mistake introduced by: 091df74 Fixes zeromq#4113
libzmq fails to build on kFreeBSD:
(full build log)
It seems the cause is that in shuffling around some code 2 years ago variable
_s
was oddly and inconsistently (probably accidentally) renamed tos_
: 091df74Fix seems to be to revert to use
_s
at its current locations:https://github.com/zeromq/libzmq/blob/master/src/stream_engine_base.cpp#L66
https://github.com/zeromq/libzmq/blob/master/src/stream_engine_base.cpp#L70
https://github.com/zeromq/libzmq/blob/master/src/stream_engine_base.cpp#L77
...so that it is defined at https://github.com/zeromq/libzmq/blob/master/src/stream_engine_base.cpp#L87
The text was updated successfully, but these errors were encountered: