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

Build: The name does not exist in the current context #13

Open
awissu opened this issue Mar 4, 2018 · 1 comment
Open

Build: The name does not exist in the current context #13

awissu opened this issue Mar 4, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@awissu
Copy link

awissu commented Mar 4, 2018

Hi!
I would like to publish the package for openSUSE, but bumped on problem when building rpm:

[   54s] ../lib/Manager.vala:90.23-90.44: error: The name `first_match' does not exist in the context of `Gee.TreeSet<PantheonSoundControl.Manager.Backend>'
[   54s]         var backend = s_backends.first_match ((b) => {
[   54s]                       ^^^^^^^^^^^^^^^^^^^^^^
[   54s] ../lib/Manager.vala:90.13-92.10: error: var declaration not allowed with non-typed initializer
[   54s] ../lib/Manager.vala:93.13-93.19: error: The name `backend' does not exist in the context of `PantheonSoundControl.Manager.get'
[   54s]         if (backend == null) {
[   54s]             ^^^^^^^
[   54s] ../lib/Manager.vala:94.13-94.19: error: The name `backend' does not exist in the context of `PantheonSoundControl.Manager.get'
[   54s]             backend = new Backend (in_backend);
[   54s]             ^^^^^^^
[   54s] ../lib/Manager.vala:95.29-95.35: error: The name `backend' does not exist in the context of `PantheonSoundControl.Manager.get'
[   54s]             s_backends.add (backend);
[   54s]                             ^^^^^^^
[   54s] ../lib/Manager.vala:98.16-98.22: error: The name `backend' does not exist in the context of `PantheonSoundControl.Manager.get'
[   54s]         return backend.load ();
[   54s]                ^^^^^^^
[   54s] Compilation failed: 6 error(s), 0 warning(s)

More info: https://build.opensuse.org/public/build/home:awissu:branches:X11:Pantheon/openSUSE_Tumbleweed/x86_64/pantheon-sound-control/_log

@awissu
Copy link
Author

awissu commented Mar 6, 2018

[  114s] ../lib/Manager.vala:90.27-90.48: error: The name `first_match' does not exist in the context of `Gee.TreeSet<SukaHottoe.Manager.Backend>'
[  114s]         Backend backend = s_backends.first_match ((b) => {
[  114s]                           ^^^^^^^^^^^^^^^^^^^^^^
[  114s] Compilation failed: 1 error(s), 0 warning(s)

@gandalfn gandalfn reopened this Mar 6, 2018
@gandalfn gandalfn self-assigned this Mar 23, 2018
@gandalfn gandalfn added the bug Something isn't working label Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants