-
Notifications
You must be signed in to change notification settings - Fork 5.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
8295111: dpkg appears to have problems resolving symbolically linked native libraries #18844
8295111: dpkg appears to have problems resolving symbolically linked native libraries #18844
Conversation
👋 Welcome back asemenyuk! A progress list of the required criteria for merging this PR into |
@alexeysemenyukoracle 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 1 new commit pushed to the Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
@alexeysemenyukoracle The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
@sashamatveev please review |
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.
Looks good.
/integrate |
@alexeysemenyukoracle Pushed as commit 32946e1. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Mailing list message from Michael Hall on core-libs-dev: I don?t know what flavors you are looking to support but there seems to be somewhat different issues on a Raspberry Pi. I was just trying to use jpackage there. I am getting errors like the command dpkg -S /lib/aarch64-linux-gnu/libXau.so <http://libxau.so/>.6 These actually appear to have entries in /usr/lib/aarch64-linux-gnu Which in turn appear to be symbolic links like? /usr/lib/aarch64-linux-gnu/libXau.so <http://libxau.so/>.6 -> libXau.so <http://libxau.so/>.6.0.0 I am thinking I could try making symbolic links as a workaround myself. -------------- next part -------------- |
Mailing list message from Michael Hall on core-libs-dev: I was apparently at least partly misunderstanding this. I thought I verified a missing file on one exception trace. I installed what appeared to be missing packages and that one no longer shows up. I still get exception traces on some .so files which appear to be reporting errors on dpkg -S commands unable to determine the packages for some files. The files are in fact there. I was seeing these because I was running verbose. Trying some old stuff I still have to see if I could get jpackage to work. Without verbose it runs through indicating no errors. However, running the created deb file doesn?t appear to be creating an app that I can find. Nothing else seems to give me any information on what the actual install is doing. I did notice in the verbose output a lot of libjvm.so <http://libjvm.so/> is missing messages. Anyhow, for my current purposes the code doesn?t have to run as a Pi application. I can command line if I have to. Or I was thinking about modifying some of the application code to run standalone. Thanks anyhow, Mike
-------------- next part -------------- |
Pass a path with resolved symlinks to
dpkg -S
command. If it fails, try the original path if they differ.Testing on Ubuntu 24.04 passed. Successfully created a .deb package from SwingSet2.jar with the not-empty list of dependencies. Before the fix the list of required packages was empty. In jpackage log:
It was looking for a package providing "/lib/x86_64-linux-gnu/libm.so.6" library, but the actual argument to "dpgk -S" command was "/usr/lib/x86_64-linux-gnu/libm.so.6".
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/18844/head:pull/18844
$ git checkout pull/18844
Update a local copy of the PR:
$ git checkout pull/18844
$ git pull https://git.openjdk.org/jdk.git pull/18844/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 18844
View PR using the GUI difftool:
$ git pr show -t 18844
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/18844.diff
Webrev
Link to Webrev Comment