Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681214 - media-gfx/shotwell-0.30.2 - ../shotwell-0.30.2/plugins/shotwell-publishing/PhotosPublishingPane.vala:78.90-78.113: error: The name `SYNC_CREATE' does not exist in the context of `GLib.Binding'
Summary: media-gfx/shotwell-0.30.2 - ../shotwell-0.30.2/plugins/shotwell-publishing/Ph...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nicolas Bock
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gnome-3.32
  Show dependency tree
 
Reported: 2019-03-22 00:29 UTC by Don Burris
Modified: 2019-08-21 06:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
upstream patch (glib-bindingflags-references-fix.patch,1.08 KB, patch)
2019-03-22 00:29 UTC, Don Burris
Details | Diff
emerge --info (emerge-info.txt,6.69 KB, text/plain)
2019-03-22 00:30 UTC, Don Burris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Don Burris 2019-03-22 00:29:25 UTC
Created attachment 570280 [details, diff]
upstream patch

With vala 0.44 and glib-2.60 shotwell-0.30.2 fails with:


../shotwell-0.30.2/plugins/shotwell-publishing/PhotosPublishingPane.vala:78.90-78.113: error: The name `SYNC_CREATE' does not exist in the context of `GLib.Binding'
        existing_album_radio.bind_property("active", existing_albums_combo, "sensitive", GLib.Binding.SYNC_CREATE);
                                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^
../shotwell-0.30.2/plugins/shotwell-publishing/PhotosPublishingPane.vala:79.79-79.102: error: The name `SYNC_CREATE' does not exist in the context of `GLib.Binding'
        new_album_radio.bind_property("active", new_album_entry, "sensitive", GLib.Binding.SYNC_CREATE);
                                                                              ^^^^^^^^^^^^^^^^^^^^^^^^

This was addressed in upstream @a9190d51, the attached patch from that commit allows shotwell to compile successfully.
Comment 1 Don Burris 2019-03-22 00:30:03 UTC
Created attachment 570282 [details]
emerge --info
Comment 2 Mart Raudsepp gentoo-dev 2019-03-24 19:35:32 UTC
Note that we don't have 0.44 in main tree, thus haven't hurried to fix it until I can actually test with 0.44 at some point soon.
If it fails with a 0.44 from somewhere else, one can add a VALA_MAX_API_VERSION="0.42" in shotwell ebuild before the inherits to use only up to vala:0.42, or temporarily uninstall 0.44, so it doesn't get picked for shotwell building.
Comment 3 Mart Raudsepp gentoo-dev 2019-08-21 06:50:01 UTC
Looks like I "fixed" this already a while back before unmasking vala:0.44 in main tree. And 0.30.7 bump (to be committed shortly) will work with 0.44 too.

commit 5830ad4d6ec1993dee650d9d1da68cef047eb8c5
Author: Mart Raudsepp <leio@gentoo.org>
Date:   Sun Jul 28 09:18:47 2019 +0300

    media-gfx/shotwell: restrict to <=vala-0.42
    
    Fails to compile with 0.44