bleakgrey / tootle

GTK-based Mastodon client for Linux
GNU General Public License v3.0
404 stars 62 forks source link

Construct Properties not Supported for Specified Property Type #353

Open harmathy opened 2 years ago

harmathy commented 2 years ago

I maintain the AUR package of tootle. Probably due to changes in vala 0.56.1 the build is broken.

What should happen:

Build without errors.

What happened instead:

Building on current Archlinux fails.

How to reproduce:

Build on current Archlinux.

Screenshots (if applicable):

__

Build context:

Logs:

../src/Widgets/Status.vala:8.43-8.56: error: construct properties not supported for specified property type
    8 |     public API.NotificationType? kind { get; construct set; }
      |                                              ^~~~~~~~~~~~~~  

Here is a complete log: https://gitlab.com/harmathy/aur-tootle/-/jobs/2384153792

Additional info (if needed):

Here is the a log from a week ago building fine: https://gitlab.com/harmathy/aur-tootle/-/jobs/2355508509

harmathy commented 2 years ago

It builds fine with vala 0.52. So this is definitely caused by vala 0.56.1 which was updated on April 22.