-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
systemd 257.2 #203531
Open
BrewTestBot
wants to merge
1
commit into
master
Choose a base branch
from
bump-systemd-257.2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+4
−3
Open
systemd 257.2 #203531
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,8 @@ | |
|
||
desc "System and service manager" | ||
homepage "https://systemd.io" | ||
url "https://github.com/systemd/systemd/archive/refs/tags/v257.1.tar.gz" | ||
sha256 "375365b9f3718ba5fc2a972445eefcd9e229cc18bffe95818220c2a52efe8ed9" | ||
url "https://github.com/systemd/systemd/archive/refs/tags/v257.2.tar.gz" | ||
sha256 "7f2bc3253e4f87578132c5e433ef9ff7e8fee01d9eb5a5b7c64376d617f694d0" | ||
license all_of: [ | ||
# Main license is LGPL-2.1-or-later while systemd-udevd is GPL-2.0-or-later | ||
"LGPL-2.1-or-later", | ||
|
@@ -27,7 +27,6 @@ | |
{ any_of: ["MIT", "GPL-2.0-or-later" => { with: "Linux-syscall-note" }] }, | ||
{ any_of: ["GPL-2.0-only", "BSD-2-Clause"] }, | ||
] | ||
revision 1 | ||
head "https://github.com/systemd/systemd.git", branch: "main" | ||
|
||
bottle do | ||
|
@@ -69,7 +68,9 @@ | |
sha256 "ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0" | ||
end | ||
|
||
def install | ||
Check failure on line 71 in Formula/s/systemd.rb GitHub Actions / Linux`brew install --verbose --formula --build-bottle systemd` failed on Linux!
|
||
ENV.prepend_path "PKG_CONFIG_PATH", Formula["libxml2"].opt_lib/"pkgconfig" | ||
|
||
venv = virtualenv_create(buildpath/"venv", "python3.12") | ||
venv.pip_install resources | ||
ENV.prepend_path "PATH", venv.root/"bin" | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Seems suspicious. Is this a regression with Homebrew/brew#19023?
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.
not sure, but that did not fix the issue though
still got this
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.
It's probably the same behavior we get on macOS now. Recursive build deps are missing from PKG_CONFIG_PATH.
I recall there were prior discussions for macOS side on this topic. Particularly seen with
glib
/GNOME dependency trees asglib
is usually included in Requires.Which is why we end up with stuff like:
homebrew-core/Formula/b/babl.rb
Lines 24 to 28 in 321b9dc
EDIT: I do think that if build dependency is in PKG_CONFIG_PATH, then the runtime dependencies of the build dependency should also be included as pkg-config may be used for things like static library builds
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.
There is a
depends_on "libxml2" => :build
alreadyThere 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.
It's due to Requires.private, which are used to detect
--cflags
for both shared and static builds. And--libs
for static builds.Not ideal workaround would be
depends_on "icu4c@76" => :build
anddepends_on "zlib" => :build
I do think we should just add these paths to
determine_pkg_config_path
. Not sure what is easiest way, maybe just computing them based on(deps - run_time_deps).map(&:runtime_dependencies)
EDIT: Maybe some variation of:
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.
Another alternative is the pkg-config rewrite to convert Requires/Requires.private to absolute paths (Homebrew/brew#18229). Haven't found a way of handling whitespace though. May not be possible in current spec and I haven't found much documentation on absolute paths.