-
-
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
bareos-client 21.1.3 #98016
bareos-client 21.1.3 #98016
Conversation
aabb287
to
fe61fcf
Compare
Formula/bareos-client.rb
Outdated
system "make", "install" | ||
end | ||
args = %W[ | ||
-DENABLE_PYTHON=OFF |
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.
No idea how to only disable Python 2.
bareos-client
uses find_package(Python2 ...)
and find_package(Python3 ...)
. - https://github.com/bareos/bareos/blob/Release/21.1.2/core/cmake/BareosFindAllLibraries.cmake#L45-L46
MacOS Python 2 causes issues during install.
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.
Could we just inreplace "Python2", "Python3"
?
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.
Even manually disabling Python 2 causes other failures with Python 3 as it tries to install into Python formula Framework directory. For now, will drop Python plugins. Build system isn't really friendly to 3rd-party distribution.
378c9c7
to
ac05771
Compare
Formula/bareos-client.rb
Outdated
end | ||
# Work around hardcoded paths to /usr/local Homebrew installation | ||
inreplace "core/CMakeLists.txt", "/usr/local/", "#{HOMEBREW_PREFIX}/" | ||
inreplace "core/cmake/FindReadline.cmake", "/usr/local/opt/readline/lib", Formula["readline"].opt_lib |
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.
Hardcoded path to readline static library (/usr/local/opt/readline/lib/libreadline.a
) in https://github.com/bareos/bareos/blob/Release/21.1.2/core/cmake/FindReadline.cmake#L32=
Could just remove the Darwin
section and let CMake find_library
properly detect the dylib. Otherwise, this isn't actually using readline
at runtime for macos.
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.
I'd suggest removing the Darwin section indeed
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a |
ac05771
to
7de4c9f
Compare
c4bb655
to
c35cb70
Compare
c35cb70
to
e6ec5f7
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a |
🤖 A scheduled task has triggered a merge. |
Created with
brew bump-formula-pr
.