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

valac 0.38.5 error: The name Priority' does not exist in the context of Drt.System.make_directory_with_parents_async' #19

Closed
exadisme opened this issue Jan 28, 2018 · 11 comments
Labels
type: bug Something is not working as expected or the documentation is incorrect.

Comments

@exadisme
Copy link

Can't build this for the life of me on Latest Arch.
Tried from Aur and building direct from Git.
Getting error status 1.
Pastebin: https://pastebin.com/RkRNHyjm

@jiri-janousek
Copy link
Member

Hello @exadisme. Could you attach a complete build log? Thanks.

@jiri-janousek jiri-janousek changed the title Can't build. Can't build. The name Priority' does not exist in the context of Drt.System.make_directory_with_parents_async' Jan 28, 2018
@exadisme
Copy link
Author

exadisme commented Jan 28, 2018

My apologies for not including from the getgo.

diorite-vala-0.38.5.txt

@jiri-janousek
Copy link
Member

Thanks, @exadisme. I have no idea why the build fails. Diorite builds fine with valac 0.38.4. It might be possible that something has changed in valac 0.38.5 and Diorite needs to be ported. In that case, patches are welcome.

There is a diorite package in AUR. I suggest contacting its maintainer to find out whether he can reproduce your issue and how your build environment differs from his.

@jiri-janousek jiri-janousek changed the title Can't build. The name Priority' does not exist in the context of Drt.System.make_directory_with_parents_async' valac 0.38.5 error: The name Priority' does not exist in the context of Drt.System.make_directory_with_parents_async' Jan 30, 2018
@jiri-janousek jiri-janousek added the type: bug Something is not working as expected or the documentation is incorrect. label Jan 30, 2018
@exadisme
Copy link
Author

Thank you, will do.

@exadisme
Copy link
Author

Just an update reverting to vala 0.38.4-1 does the trick.

@jiri-janousek
Copy link
Member

@jiri-janousek
Copy link
Member

@martinkg, it looks like a Vala bug introduced in valac 0.38.5. The failing dioriteglib4.vapi file is generated by valac.

@martinkg
Copy link

Fedora 28 get an update to valac 0.40.0
diorite-4_10_0-build2-f28.log

jiri-janousek added a commit that referenced this issue Mar 18, 2018
Vala seems to fail to add implicit GLib namespace in the case
of default parameters.

Issue: #19

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>
@jiri-janousek
Copy link
Member

Could anyone test commit 7df8c9c?

@jiri-janousek jiri-janousek added the need info Assignee needs more information to work on this ticket. label Mar 18, 2018
@martinkg
Copy link

7df8c9c
fixes the error "The name `Priority' does not exist" Vala error"
but there are other error/warnings
diorite-4_10_0-build3-f28.log

@jiri-janousek
Copy link
Member

That build failed because of failing Diorite DB tests - reticketed as #23.

I suggest disabling the test case temporarily only to get Diorite built and report build errors of Nuvola. Once all issues are resolved, you can push the changes to Fedora's repo.

@jiri-janousek jiri-janousek removed the need info Assignee needs more information to work on this ticket. label Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something is not working as expected or the documentation is incorrect.
Projects
None yet
Development

No branches or pull requests

3 participants