Granite 0.3 fails to compile on openSUSE

Bug #1421925 reported by Matthias Mailänder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Granite
New
Undecided
Unassigned
granite (openSUSE)
New
Undecided
Unassigned

Bug Description

this.notebook.set_action_widget (null, Gtk.PackType.START);
                                 ^^^^
 granite-0.3.0/lib/Widgets/DynamicNotebook.vala:662.19-662.49: error: Return value transfers ownership but method return type hasn't been declared to transfer ownership
             get { return add_button.tooltip_text; }
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 Compilation failed: 1 error(s), 6 warning(s)
 lib/CMakeFiles/granite.dir/build.make:177: recipe for target 'lib/granite_valac.stamp' failed
 make[2]: *** [lib/granite_valac.stamp] Error 1
 CMakeFiles/Makefile2:106: recipe for target 'lib/CMakeFiles/granite.dir/all' failed
 make[1]: *** [lib/CMakeFiles/granite.dir/all] Error 2
 Makefile:137: recipe for target 'all' failed
 make: *** [all] Error 2
 error: Bad exit status from /var/tmp/rpm-tmp.OBiLa6 (%build)

Revision history for this message
Matthias Mailänder (mailaender) wrote :
description: updated
Revision history for this message
Constantine (raven-oscar) wrote :

Patch was taken from Fedora COPR (jknife user) build and it seems to solve the problem for Opensuse.

Revision history for this message
Matthias Mailänder (mailaender) wrote :

Thanks! I can confirm that patch helps resolve that compilation problem. https://build.opensuse.org/request/show/286404

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.