Skip to content

mach: Add necessary space between command-line arguments windows.py and handle GStreamer failed installation - #46181

Merged
yezhizhen merged 2 commits into
servo:mainfrom
dDostalker:main
Jul 3, 2026
Merged

mach: Add necessary space between command-line arguments windows.py and handle GStreamer failed installation#46181
yezhizhen merged 2 commits into
servo:mainfrom
dDostalker:main

Conversation

@dDostalker

@dDostalker dDostalker commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

In windows.py there was no space between ....msi" and TARGETDIR; and instead they were joined into a single string. msiexec treats this entire string as the path to the MSI file and attempts to open it. At the same time, the issue where the "is gstreamer installed" check only looked for ffi-7.dll (the runtime), preventing the installation of the devel package if the runtime package was already present—has been fixed.

Testing: This part of the Servo bootstrap does not really have testing coverage.
Fixes: None

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 2, 2026

@mrobinson mrobinson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good with a tiny change, but please use the default commit template when submitting PRs to Servo.

Comment thread python/servo/platform/windows.py Outdated
@servo-highfive servo-highfive added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. S-awaiting-review There is new code that needs to be reviewed. and removed S-awaiting-review There is new code that needs to be reviewed. S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Jul 2, 2026
@dDostalker

Copy link
Copy Markdown
Contributor Author

The format has been changed to the default format. Thank you!: )

dDostalker and others added 2 commits July 3, 2026 10:40
Signed-off-by: dDostalker <146743193+dDostalker@users.noreply.github.com>
Co-authored-by: Martin Robinson <martin@abandonedwig.info>
Signed-off-by: dDostalker <dDostalker@foxmail.com>
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jul 3, 2026
@mrobinson mrobinson changed the title Fix gstreamer install error on Windows mach: Add necessary space between command-line arguments windows.py and handle failed installation Jul 3, 2026
@mrobinson mrobinson changed the title mach: Add necessary space between command-line arguments windows.py and handle failed installation mach: Add necessary space between command-line arguments windows.py and handle GStreamer failed installation Jul 3, 2026
@mrobinson
mrobinson enabled auto-merge July 3, 2026 07:21
@mrobinson
mrobinson added this pull request to the merge queue Jul 3, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 3, 2026
@yezhizhen
yezhizhen removed this pull request from the merge queue due to a manual request Jul 3, 2026
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 3, 2026
@yezhizhen
yezhizhen added this pull request to the merge queue Jul 3, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 3, 2026
Merged via the queue into servo:main with commit 99f114d Jul 3, 2026
38 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants