elementary / switchboard-plug-onlineaccounts

Switchboard Online Accounts Plug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compilation failed: The name `error_quark` does not exist in the context of `Camel.Service`

bobby285271 opened this issue · comments

I am trying to package 6.1.0 on NixOS and the compilation failed with:

Full log: https://gist.github.com/bobby285271/8cc47f943f251a1353bcbde69c10411a

../src/Dialogs/Imap/ImapDialog.vala:432.21-432.45: error: The name `error_quark' does not exist in the context of `Camel.Service' (camel-1.2)
                    Camel.Service.error_quark (),
                    ^^^^^^^^^^^^^^^^^^^^^^^^^

I was able to build 6.0.0 on the same environment.

Shall we add a vapi/camel-1.2.vapi file like elementary/mail does? Seems that the problem can be solved by doing this, see my fork for more details.

Related: NixOS/nixpkgs#130380 (comment)

Thanks for reading this :-)

UPD: Just opened a PR for this.

I'm having the same problem on Fedora. Release 6.0.0 built fine, Release 6.1.0 fails. Looks like this PR is the culprit:
#189