Skip to content
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

[CDT] gdbserver not found #36 #45

Closed
wants to merge 1 commit into from

Conversation

vrubezhny
Copy link
Contributor

@vrubezhny vrubezhny commented Jul 7, 2021

A host /usr/bin folder mounted to /var/run/host/usr/bin is added to the $PATH
in order to enable access to the programs installed on the host and not existing on the sandbox, for example, such as gdbserver

Issue: #36
Signed-off-by: Victor Rubezhny [email protected]

@flathubbot
Copy link
Contributor

Started test build 52803

@flathubbot
Copy link
Contributor

Build 52803 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/50783/org.eclipse.Java.flatpakref

@vrubezhny vrubezhny force-pushed the fixEnableUsrBinAccess branch from 952762a to 739c4b8 Compare July 7, 2021 20:55
@flathubbot
Copy link
Contributor

Started test build 52806

@flathubbot
Copy link
Contributor

Build 52806 failed

@vrubezhny vrubezhny force-pushed the fixEnableUsrBinAccess branch from 739c4b8 to c7fceca Compare July 7, 2021 21:18
@flathubbot
Copy link
Contributor

Started test build 52807

@flathubbot
Copy link
Contributor

Build 52807 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/50787/org.eclipse.Java.flatpakref

@vrubezhny vrubezhny force-pushed the fixEnableUsrBinAccess branch from c7fceca to 7bb4337 Compare July 7, 2021 21:26
@flathubbot
Copy link
Contributor

Started test build 52808

@flathubbot
Copy link
Contributor

Build 52808 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/50788/org.eclipse.Java.flatpakref

@vrubezhny
Copy link
Contributor Author

With build https://flathub.org/builds/#/builders/32/builds/52808 it's possible to start gdbserver (in order to debug a C/C++ app), but but it looks like CDT is still not allowed to communicate with the server.
So,the build does not fixes the issue yet

@vrubezhny vrubezhny force-pushed the fixEnableUsrBinAccess branch from 7bb4337 to c70a030 Compare July 9, 2021 22:29
@flathubbot
Copy link
Contributor

Started test build 53062

@flathubbot
Copy link
Contributor

Build 53062 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/51015/org.eclipse.Java.flatpakref

A host `/usr/bin` folder mounted to `/var/run/host/usr/bin` is added to the `$PATH`
in order to enable access to the programs installed on the host and not existing on the sandbox,
for example, such as `gdbserver`.
PATH is set to include '/var/run/host/usr/bin/'
'gdbinit' and 'gdbinit.d' are mounted to '/etc' to be accessed by gdb
Host's '/etc/hosts' and '/etc/services' are mounted to '/etc' to be accessed by gdb
'--device=all" permission is added to allow access to devices like /dev/pts/* from sandbox

Issue: flathub#36
Signed-off-by: Victor Rubezhny <[email protected]>
@vrubezhny vrubezhny force-pushed the fixEnableUsrBinAccess branch from c70a030 to b4dfe5e Compare August 5, 2021 12:22
@flathubbot
Copy link
Contributor

Started test build 55367

@flathubbot
Copy link
Contributor

Build 55367 failed

@vrubezhny
Copy link
Contributor Author

Closing this PR as the issue is fixed with the following CDT fixes:

No additional changes required org.eclipse.Java project

@vrubezhny vrubezhny closed this Aug 10, 2021
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.

2 participants