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

kirkstone: gtk-sharp3 unable to find revision in branch and Nothing Provides libglade #151

Open
electroScorpion opened this issue Oct 11, 2022 · 5 comments

Comments

@electroScorpion
Copy link

electroScorpion commented Oct 11, 2022

I try to add the recipe gtk-sharp3 into my image and i run into the following two errors.

ERROR: gtk-sharp3-2.99.4-r0 do_fetch: Fetcher failure: Unable to find revision 9a72bb67fff7e4845b7bb430a608282668c3e4da in branch master even from upstream
ERROR: gtk-sharp3-2.99.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/mono/gtk-sharp.git;branch=master')

For this error i observed that the master branch was renamed to main in the gtk-sharp source repository

After I had fixed the first error by changing the branch=master to branch=main statement in gtk-sharp3_2.99.4.bb recipe i've got the following error.

Nothing PROVIDES 'libglade' (but /yocto/sources/meta-mono/recipes-mono/gtk-sharp/gtk-sharp3_2.99.4.bb DEPENDS on or otherwise requires it). Close matches:
  glade
  libgudev
  vblade

I've changed the statements DEPENDS += " gtk+3 atk pango cairo glib-2.0 libglade mono" to DEPENDS += " gtk+3 atk pango cairo glib-2.0 glade mono" inside the gtk-sharp3_2.99.4.bb recipe but this was unbuildable with following error message.

function 'mono_profiler_set_events'; did you mean 'mono_profiler_startup'? [-Wimplicit-function-declaration] 
|    96 |         mono_profiler_set_events (MONO_PROFILE_ENTER_LEAVE); 
|       |         ^~~~~~~~~~~~~~~~~~~~~~~~ 
|       |         mono_profiler_startup 
| ../../../../git/gtk/gui-thread-check/profiler/gui-thread-check.c:96:9: warning: nested extern declaration of 'mono_profiler_set_events' [-Wnested-externs] 
| ../../../../git/gtk/gui-thread-check/profiler/gui-thread-check.c:96:35: error: 'MONO_PROFILE_ENTER_LEAVE' undeclared (first use in this function) 
|    96 |         mono_profiler_set_events (MONO_PROFILE_ENTER_LEAVE); 
|       |                                   ^~~~~~~~~~~~~~~~~~~~~~~~ 
| ../../../../git/gtk/gui-thread-check/profiler/gui-thread-check.c:96:35: note: each undeclared identifier is reported only once for each function it appears in 

Has somebody observed the same issue? Is there currently a solution available for the second error?

If i use gtk-sharp recipe instead of the gtk-sharp3 it builds without of problems. Is gtk-sharp and gtk-sharp3 the same or can somebody explane me the differences please?

If the gtk-sharp3 is buildable i will bring in the patch.

@ajlennon
Copy link
Member

ajlennon commented Apr 3, 2023

Hi @electroScorpion is this still an issue?

@electroScorpion
Copy link
Author

Hi @ajlennon for me not because i am using now the gtk-sharp package but it would be great to understand the background why this happens and how to fix it.

@ajlennon
Copy link
Member

ajlennon commented Apr 3, 2023

Will take a look

@electroScorpion
Copy link
Author

Will take a look

Thank you

@Livius90
Copy link
Contributor

Livius90 commented Jun 4, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants