KGIII / pino-twitter

Automatically exported from code.google.com/p/pino-twitter
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Pino cannot be build with vala-0.9.7 #309

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Upgrade your vala version to 0.9.7
2. Grab Pino 0.2.11 source code
3. Try to build it.

It stop just after building translation. Here is the log I get :

more_window.vala:31.3-31.6: error: Cannot assign to construct-only properties, 
use Object (property: value) constructor chain up
prefs.vala:298.4-298.27: warning: unhandled error `GLib.Error'
prefs.vala:315.37-315.56: warning: unhandled error `GLib.Error'
prefs.vala:316.14-316.46: warning: unhandled error `GLib.Error'
prefs.vala:440.33-440.36: warning: Argument 2: Cannot pass null to non-null 
parameter type
prefs.vala:440.39-440.42: warning: Argument 3: Cannot pass null to non-null 
parameter type
re_tweet.vala:33.2-33.20: warning: ReTweet.state hides inherited field 
`Gtk.Widget.state'. Use the `new' keyword if hiding was intentional
accounts.vala:100.4-100.27: warning: unhandled error `GLib.Error'
accounts.vala:117.37-117.55: warning: unhandled error `GLib.Error'
accounts.vala:118.14-118.46: warning: unhandled error `GLib.Error'
accounts.vala:174.33-174.36: warning: Argument 2: Cannot pass null to non-null 
parameter type
accounts.vala:174.39-174.42: warning: Argument 3: Cannot pass null to non-null 
parameter type
accounts.vala:256.3-256.14: warning: `null' incompatible with return type 
`Auth.Account`
re_tweet.vala:59.2-59.22: warning: ReTweet.parent hides inherited field 
`Gtk.Widget.parent'. Use the `new' keyword if hiding was intentional
url_short.vala:47.10-47.62: warning: unhandled error `GLib.RegexError'
url_short.vala:93.17-93.100: warning: unhandled error `GLib.RegexError'
url_short.vala:143.19-143.65: warning: unhandled error `GLib.RegexError'
gtk_style.vala:44.13-44.40: warning: deprecated syntax, don't use `new' to 
initialize structs
cache.vala:115.4-115.33: warning: unhandled error `GLib.Error'
cache.vala:40.12-40.56: warning: unhandled error `GLib.RegexError'
cache.vala:72.25-72.57: warning: unhandled error `GLib.RegexError'
cache.vala:100.4-100.70: warning: unhandled error `GLib.Error'
cache.vala:88.4-88.55: warning: unhandled error `GLib.Error'
cache.vala:120.12-120.78: warning: unhandled error `GLib.Error'
cache.vala:123.22-123.39: warning: unhandled error `GLib.Error'
cache.vala:125.4-125.22: warning: unhandled error `GLib.Error'
re_tweet.vala:442.17-442.101: warning: unhandled error `GLib.RegexError'
re_tweet.vala:171.11-171.46: warning: unhandled error `GLib.RegexError'
re_tweet.vala:172.10-172.62: warning: unhandled error `GLib.RegexError'
re_tweet.vala:173.10-173.67: warning: unhandled error `GLib.RegexError'
prefs.vala:194.24-194.57: warning: unhandled error `GLib.RegexError'
prefs.vala:195.21-195.110: warning: unhandled error `GLib.RegexError'
prefs.vala:196.22-196.59: warning: unhandled error `GLib.RegexError'
prefs.vala:198.20-198.72: warning: unhandled error `GLib.RegexError'
prefs.vala:201.19-201.56: warning: unhandled error `GLib.RegexError'
prefs.vala:202.19-202.56: warning: unhandled error `GLib.RegexError'
prefs.vala:205.19-205.57: warning: unhandled error `GLib.RegexError'
prefs.vala:206.19-206.57: warning: unhandled error `GLib.RegexError'
template.vala:451.40-451.54: warning: unhandled error `GLib.Error'
template.vala:455.16-455.46: warning: unhandled error `GLib.Error'
template.vala:68.11-68.60: warning: unhandled error `GLib.RegexError'
template.vala:69.10-69.81: warning: unhandled error `GLib.RegexError'
template.vala:70.12-70.61: warning: unhandled error `GLib.RegexError'
template.vala:71.10-71.94: warning: unhandled error `GLib.RegexError'
template.vala:74.18-74.50: warning: unhandled error `GLib.RegexError'
template.vala:377.14-377.41: warning: unhandled error `GLib.RegexError'
template.vala:378.13-378.48: warning: unhandled error `GLib.RegexError'
template.vala:393.17-393.100: warning: unhandled error `GLib.RegexError'
template.vala:408.12-408.95: warning: unhandled error `GLib.RegexError'
template.vala:410.12-410.101: warning: unhandled error `GLib.RegexError'
template.vala:413.13-413.106: warning: unhandled error `GLib.RegexError'
template.vala:219.34-219.70: warning: unhandled error `GLib.RegexError'
template.vala:298.35-298.71: warning: unhandled error `GLib.RegexError'
template.vala:351.35-351.71: warning: unhandled error `GLib.RegexError'
timeline_list_abstract.vala:62.2-62.24: warning: TimelineListAbstract.parent 
hides inherited field `Gtk.Widget.parent'. Use the `new' keyword if hiding was 
intentional
account_action.vala:41.3-41.6: error: Cannot assign to construct-only 
properties, use Object (property: value) constructor chain up
account_action.vala:46.18-46.57: warning: unhandled error `GLib.Error'
account_action.vala:146.15-146.39: warning: unhandled error `GLib.Error'
tray_icon.vala:52.11-52.26: warning: unhandled error `GLib.Error'
tray_icon.vala:60.17-60.32: warning: unhandled error `GLib.Error'
status_bar_smart.vala:73.31-73.74: warning: unhandled error `GLib.Error'
popups.vala:99.3-99.14: warning: unhandled error `GLib.Error'
popups.vala:86.31-86.63: warning: unhandled error `GLib.Error'
popups.vala:90.3-90.14: warning: unhandled error `GLib.Error'
main_window.vala:73.2-73.22: warning: MainWindow.notify hides inherited field 
`GLib.Object.notify'. Use the `new' keyword if hiding was intentional
favorites_view_dialog.vala:95.33-95.87: warning: unhandled error `GLib.Error'
favorites_view_dialog.vala:41.31-41.85: warning: unhandled error `GLib.Error'
account_widget.vala:34.2-34.22: warning: AccountWidget.parent hides inherited 
field `Gtk.Widget.parent'. Use the `new' keyword if hiding was intentional
edit_account.vala:27.2-27.22: warning: EditAccount.parent hides inherited field 
`Gtk.Widget.parent'. Use the `new' keyword if hiding was intentional
account_widget.vala:155.2-155.26: warning: AccountWidget.delete_event hides 
inherited method `Gtk.Widget.delete_event'. Use the `new' keyword if hiding was 
intentional
pref_dialog.vala:166.5-168.55: warning: unhandled error `GLib.SpawnError'
color_utils.vala:48.14-48.86: warning: unhandled error `GLib.RegexError'
color_utils.vala:49.23-49.52: warning: unhandled error `GLib.RegexError'
color_utils.vala:50.25-50.54: warning: unhandled error `GLib.RegexError'
color_utils.vala:51.24-51.53: warning: unhandled error `GLib.RegexError'
color_utils.vala:52.20-52.49: warning: unhandled error `GLib.RegexError'
main_window.vala:460.29-460.73: warning: unhandled error `GLib.Error'
main_window.vala:474.30-474.70: warning: unhandled error `GLib.Error'
main_window.vala:626.3-626.50: warning: unhandled error `GLib.Error'
main_window.vala:79.10-79.51: warning: unhandled error `GLib.Error'
main_window.vala:80.16-80.63: warning: unhandled error `GLib.Error'
main_window.vala:190.4-190.44: warning: unhandled error `GLib.Error'
main_window.vala:191.4-191.50: warning: unhandled error `GLib.Error'
main_window.vala:197.4-197.44: warning: unhandled error `GLib.Error'
main_window.vala:198.4-198.50: warning: unhandled error `GLib.Error'
main_window.vala:204.4-204.42: warning: unhandled error `GLib.Error'
main_window.vala:205.4-205.48: warning: unhandled error `GLib.Error'
main_window.vala:210.4-210.43: warning: unhandled error `GLib.Error'
status_view_dialog.vala:43.31-43.85: warning: unhandled error `GLib.Error'
timeline_list_abstract.vala:276.4-277.54: warning: unhandled error 
`GLib.SpawnError'
Waf: Leaving directory `/home/fred/download/pino-0.2.10/_build_'
Build failed
 -> task failed (err #1): 
    {task: valac_task rest_api_acc.vala,timeline_list.vala,favorites_view_list.vala,userpic.vala,url_short.vala,tray_icon.vala,prefs.vala,rest_api_re.vala,dm_entry.vala,template.vala,hig_table.vala,rest_api_direct.vala,account_action.vala,status_view_dialog.vala,accounts.vala,favorites_view_dialog.vala,timeline_list_abstract.vala,color_utils.vala,rest_api_timeline.vala,more_window.vala,rest_api_user_info.vala,status_view_list.vala,pref_dialog.vala,gtk_style.vala,time_utils.vala,log_window.vala,rest_api_abstract.vala,rest_urls.vala,main_window.vala,popups.vala,cache.vala,re_tweet.vala,status_bar_smart.vala,main.vala,timeline_direct_list.vala,user_info_list.vala,edit_account.vala,account_widget.vala,timer.vala -> rest_api_acc.c,timeline_list.c,favorites_view_list.c,userpic.c,url_short.c,tray_icon.c,prefs.c,rest_api_re.c,dm_entry.c,template.c,hig_table.c,rest_api_direct.c,account_action.c,status_view_dialog.c,accounts.c,favorites_view_dialog.c,timeline_list_abstract.c,color_utils.c,rest_api_timeline.c,more_window.c,rest_api_user_info.c,status_view_list.c,pref_dialog.c,gtk_style.c,time_utils.c,log_window.c,rest_api_abstract.c,rest_urls.c,main_window.c,popups.c,cache.c,re_tweet.c,status_bar_smart.c,main.c,timeline_direct_list.c,user_info_list.c,edit_account.c,account_widget.c,timer.c}

Vala version :

$ yaourt -Qi vala-devel
Nom                   : vala-devel
Version               : 0.9.7-1
URL                   : http://live.gnome.org/Vala

Original issue reported on code.google.com by fredbez...@gmail.com on 22 Aug 2010 at 8:41

GoogleCodeExporter commented 8 years ago
same problem happens here. Ubuntu 10.04 with latest source code from mercury. I 
used the vala from ppa and download the vala source code and compile it by 
myself. Neither of them works. 

Original comment by lizhenqi...@gmail.com on 29 Aug 2010 at 4:40

GoogleCodeExporter commented 8 years ago
Here's a patch to fix this. It builds, but I didn't check the behavior is still 
correct ;-) It should, though.

Original comment by vincent....@gmail.com on 10 Sep 2010 at 1:53

Attachments:

GoogleCodeExporter commented 8 years ago
It worked for me. Thanks :)

Original comment by dgvalde on 24 Jan 2011 at 4:11

GoogleCodeExporter commented 8 years ago
Even applying the patch it still fails when building against vala-0.10.3 (see 
attached build.log)

Thanks for your help

Original comment by pachora...@gmail.com on 28 Jan 2011 at 7:52

GoogleCodeExporter commented 8 years ago
I can confirm that the patch from September fixes build for me on Ubuntu 10.10 
w/ valac-0.10

Original comment by brion.vi...@gmail.com on 9 Feb 2011 at 10:38

GoogleCodeExporter commented 8 years ago
This second patch adds a fix needed for vala >= 0.10.2.

Both patches are needed.

Original comment by vincent....@gmail.com on 17 Feb 2011 at 7:52

Attachments: