elementary / switchboard-plug-onlineaccounts

Switchboard Online Accounts Plug
GNU General Public License v3.0
23 stars 16 forks source link

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

Closed bobby285271 closed 3 years ago

bobby285271 commented 3 years ago

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: https://github.com/NixOS/nixpkgs/pull/130380#issuecomment-890344969

Thanks for reading this :-)

UPD: Just opened a PR for this.

decathorpe commented 3 years ago

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: https://github.com/elementary/switchboard-plug-onlineaccounts/pull/189