elementaryart team mailing list archive
-
elementaryart team
-
Mailing list archive
-
Message #00805
[Bug 806981] Re: Build Issue with Paths.vala
I also have problems when I try to build it, i get this:
h4k@destructor:~/granite/build$ make
Scanning dependencies of target granite
[ 5%] Generating Widgets/ModeButton.c, Widgets/DatePicker.c, Widgets/Entries.c, Widgets/TimePicker.c, Widgets/CollapsiblePaned.c, Widgets/CompositedWindow.c, Widgets/AppMenu.c, Widgets/Welcome.c, Widgets/ToolButtonWithMenu.c, Services/Settings.c, Services/Logger.c, Services/Paths.c, Services/System.c, AppFactory.c, Application.c, Drawing/Color.c, Drawing/BufferSurface.c, Drawing/Utilities.c, config.vapi, granite.vapi, granite.h, granite_internal.h
/home/h4k/granite/lib/Widgets/DatePicker.vala:81.15-81.18: warning: Argument 5: Cannot pass null to non-null parameter type
null, CURRENT_TIME);
^^^^
/home/h4k/granite/lib/Services/Paths.vala:55.56-55.75: error: duplicating List instance, use unowned variable or explicitly invoke copy method
public static List<File> xdg_data_dir_folders { get; protected owned set; }
^^^^^^^^^^^^^^^^^^^^
** (valac:13671): CRITICAL **: vala_ccode_function_add_assignment: assertion `right != NULL' failed
Compilation failed: 1 error(s), 1 warning(s)
make[2]: *** [lib/Widgets/ModeButton.c] Error 1
make[1]: *** [lib/CMakeFiles/granite.dir/all] Error 2
make: *** [all] Error 2
Im using vala-0.13.1
:/
--
You received this bug notification because you are a member of
elementary desktop team, which is the registrant for Granite.
https://bugs.launchpad.net/bugs/806981
Title:
Build Issue with Paths.vala
Status in Granite Framework:
New
Bug description:
Hi!
I tried to compile granite on natty.
CMake configured correctly but as I tried to build I get this Error of valac:
granite/lib/Services/Paths.vala:55.56-55.75: error: duplicating List instance, use unowned variable or explicitly invoke copy method
public static List<File> xdg_data_dir_folders { get; protected owned set; }
^^^^^^^^^^^^^^^^^^^^
** (valac:8130): CRITICAL **: vala_ccode_function_add_assignment: assertion `right != NULL' failed
Compilation failed: 1 error(s), 1 warning(s)
I don't know if its a bug or not. But as you wrote in the INSTALL file i just opened the bug here.
Hope you will be able to fix this.
Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/granite/+bug/806981/+subscriptions
References