-
Notifications
You must be signed in to change notification settings - Fork 1.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
[Build] Fix dbus-run-session command not found issue when install dbus-python #12009
Conversation
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
@@ -72,7 +72,8 @@ RUN apt-get install -y net-tools \ | |||
{%- if ENABLE_ASAN == "y" %} | |||
libasan5 \ | |||
{%- endif %} | |||
libsystemd0 | |||
libsystemd0 \ | |||
dbus |
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.
@xumia just one quick question, where to specify the version of dbus for this branch?
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.
@StormLiangMS , you mean for reproducible build right?
We can specify version in release branches, such as 202012, 202205, not in master branch.
hi @xumia , can you also raise PRs to 202012/202205? |
Has already merged in 202205 branch, no affect 202012. |
…#12009) (#12054) Why I did it Cherry-pick #12009, and fix code conflict. Fix the dbus-pyhon installation failure when building docker-sonic-vs, caused by the command dbus-run-session not found. The command "dbus-run-session" should be the new dependency introduced in dbus-python 1.3.2, the old version 1.2.18 does not have the issue. How I did it Install the dbus debian package which contains the command dbus-run-session. It is not a blocking issue on release branches. The release branches with reproducible build feature can avoid such issue in official builds and PR builds, it only block the version upgrade (trying to upgrade from 1.2.18 to 1.3.2). How to verify it
…#12009) (#12055) Why I did it Cherry-pick #12009, and fix code conflict. Fix the dbus-pyhon installation failure when building docker-sonic-vs, caused by the command dbus-run-session not found. The command "dbus-run-session" should be the new dependency introduced in dbus-python 1.3.2, the old version 1.2.18 does not have the issue. How I did it Install the dbus debian package which contains the command dbus-run-session. It is not a blocking issue on release branches. The release branches with reproducible build feature can avoid such issue in official builds and PR builds, it only block the version upgrade (trying to upgrade from 1.2.18 to 1.3.2).
@xumia PR conflicts with 202106 branch |
Why I did it
Fix the dbus-pyhon installation failure when building docker-sonic-vs, caused by the command dbus-run-session not found.
The command "dbus-run-session" should be the new dependency introduced in dbus-python 1.3.2, the old version 1.2.18 does not have the issue.
How I did it
Install the dbus debian package which contains the command dbus-run-session.
It is not a blocking issue on release branches. The release branches with reproducible build feature can avoid such issue in official builds and PR builds, it only block the version upgrade (trying to upgrade from 1.2.18 to 1.3.2).
How to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)