-
-
Notifications
You must be signed in to change notification settings - Fork 12.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
emqx: upgrade to 5.1.4 and fix linkage issue #139582
Conversation
9663c1c
to
23e90fc
Compare
e5eaca7
to
50239bd
Compare
This library should be copied verbatim from erlang@25 install, but something overwrites load command adding 2 extra
|
Well, not quite. The issue is that
while
which is two directories shorter (and explains the extra You can't just relocate binaries arbitrarily and expect them to keep working. |
50239bd
to
4d2295a
Compare
4d2295a
to
f4a5739
Compare
the error have been occurring before this patch. |
@carlocab erlang's crypto.so uses absolute path to load libcrypto.3.dylib, while in emqx it somehow got changed to relative. |
Not in CI, it doesn't.
|
Interesting, for me it was showing this:
|
different behaviour on arm/intel? |
@carlocab was there some recent change in |
bcbcd92
to
faf9394
Compare
Ok, solved it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, one suggestion.
Also, I noticed that the build vendors a whole lot of things that Homebrew provides (e.g. lz4
, rocksdb
, etc.). We should change that given https://docs.brew.sh/Acceptable-Formulae#stuff-that-requires-vendored-versions-of-homebrew-formulae.
faf9394
to
a45ef9e
Compare
a45ef9e
to
a41a607
Compare
Thanks, brought this up with the team. It's not a trivial issue to solve, but I agree it's reasonable to expect from a library to make use of components already present in the system, if possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; thanks!
⛔ It looks like @BrewTestBot cannot push to your PR branch. For future pull requests, please allow maintainers to edit your PR to simplify the merge process. |
🤖 An automated task has requested creation of a replacement PR. |
Replacement PR dispatched
Apparently I cannot allow maintainers to edit PR because fork is owned by organization: https://github.com/orgs/community/discussions/5634. Should I fork homebrew-core into my personal acc and create another PR? |
--> #140246 |
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?