-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
8349751: AIX build failure after upgrade pipewire to 1.3.81 #23543
Conversation
👋 Welcome back azvegint! A progress list of the required criteria for merging this PR into |
@azvegint This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 13 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
#include <spa/utils/endian.h> | ||
#endif |
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.
The ifdef conditional blocks could be merged if I am not mistaken?
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.
Yes, at first I kept it as it was in the original fix.
But after revisiting it, I think that it is belongs in the new spa/utils/endian.h
file.
@MBaesken could you please recheck if it still works for you?
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.
Yes, at first I kept it as it was in the original fix. But after revisiting it, I think that it is belongs in the new
spa/utils/endian.h
file.@MBaesken could you please recheck if it still works for you?
This still works for me on AIX.
The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork: git checkout xwayland/8349751_aix_build_fix
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
@azvegint this pull request can not be integrated into git checkout xwayland/8349751_aix_build_fix
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
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.
FWIW
(1) I do not like JDK changes in upstream files we import
(2) This really needs to be done by the port owners.
(3) I do not like JDK changes in upstream files we import
Yes, I'm repeating that. We do have one case of changes which never made it into upstream in some X11 copied code from xwd because xwd is an app and doesn't care about resource leakage (ie there are upstream unfixed bugs). But I don't think we need to expand that precedent.
This change needs to be up-streamed. I do not want the burden of 'remembering' this.
Let's call this the last time we include this into JDK unless it comes from pipewire.
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 for fixing it! I agree, we should try to get it into the upstream pipewire. For now, fixing the build is urgent.
/integrate |
Going to push as commit 19c0ce4.
Your commit was automatically rebased without conflicts. |
@prrace: I wonder if pipewire should be build on any platform other than linux. Is there any usage on other UNIX systems (AIX/BSD/...)? |
According to https://pipewire.org/ pipewire is a project/lib for Linux . Not sure now much sense this all makes on AIX. As far as I understand , pipewire was imported into OpenJDK for java.awt.Robot support for Wayland, the change was |
Filed as a separate issue to keep the #23426 clean.
Fix is the same as in the
src/java.desktop/unix/native/libpipewire/include/spa/param/audio/raw.h
part of the JDK-8309703Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/23543/head:pull/23543
$ git checkout pull/23543
Update a local copy of the PR:
$ git checkout pull/23543
$ git pull https://git.openjdk.org/jdk.git pull/23543/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 23543
View PR using the GUI difftool:
$ git pr show -t 23543
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/23543.diff
Using Webrev
Link to Webrev Comment