ibus-kkc icon indicating copy to clipboard operation
ibus-kkc copied to clipboard

compile error with vala-0.36.1

Open tomcat14d opened this issue 7 years ago • 3 comments

I use PCLinuxOS. One month ago, the vala package updated to 0.36.1 from 0.32.1. Today, I try to make the latest revision of ibus-kkc, but I have a compile error.

make[3]: Entering directory '/home/tomcat/rpm/BUILD/ibus-kkc-git20160811/src'
rm -f ibus_setup_kkc_vala.stamp && echo stamp > ibus_setup_kkc_vala.stamp-t
CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac --target-glib=2.38 --gresources ibus-setup-kkc.gresource.xml --vapidir=. --pkg config --pkg ibus-kkc --pkg gtk+-3.0   -C setup.vala
setup.vala:700.5-703.6: warning: the modifier `static' is not applicable to constants
setup.vala:405.27-405.30: error: Argument 1: Cannot pass value to reference or output parameter
            model.remove (iter);
                          ^^^^
setup.vala:442.48-442.51: error: Argument 1: Cannot pass value to reference or output parameter
                ((Gtk.ListStore)model).remove (iter);
                                               ^^^^
setup.vala:528.48-528.51: error: Argument 1: Cannot pass value to reference or output parameter
                ((Gtk.ListStore)model).remove (iter);
                                               ^^^^
Compilation failed: 3 error(s), 1 warning(s)
Makefile:774: recipe for target 'ibus_setup_kkc_vala.stamp' failed
make[3]: *** [ibus_setup_kkc_vala.stamp] Error 1
make[3]: Leaving directory '/home/tomcat/rpm/BUILD/ibus-kkc-git20160811/src'
make[3]: *** Waiting for unfinished jobs....
make[3]: Entering directory '/home/tomcat/rpm/BUILD/ibus-kkc-git20160811/src'
rm -f ibus_engine_kkc_vala.stamp && echo stamp > ibus_engine_kkc_vala.stamp-t
CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac --vapidir=. --pkg config --pkg ibus-kkc --pkg gtk+-3.0   -C engine.vala
engine.vala:438.5-441.6: warning: the modifier `static' is not applicable to constants
Compilation succeeded - 1 warning(s)
mv -f ibus_engine_kkc_vala.stamp-t ibus_engine_kkc_vala.stamp
make[3]: Leaving directory '/home/tomcat/rpm/BUILD/ibus-kkc-git20160811/src'
Makefile:560: recipe for target 'all' failed
make[2]: *** [all] Error 2
Makefile:486: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:416: recipe for target 'all' failed
make: *** [all] Error 2

tomcat14d avatar May 03 '17 01:05 tomcat14d

Why did you close this? Has the issue gone with the latest vala?

ueno avatar Jun 01 '17 14:06 ueno

I am facing the same issue. Is this issue resolved?

dpk786222 avatar Jul 08 '20 14:07 dpk786222

me too

viikei avatar Dec 30 '20 12:12 viikei