YuanhuiQu / ibus-cloud-pinyin

Automatically exported from code.google.com/p/ibus-cloud-pinyin
GNU General Public License v3.0
1 stars 1 forks source link

编译失败 #77

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
取出版本 148。
==> SVN checkout done or server timeout
==> Starting make...
:: Finding dependencies ...
    lua: 5.1.4
    glib-2.0: 2.26.1
    gthread-2.0: 2.26.1
    gdk-2.0: 2.22.1
    gtk+-2.0: 2.22.1
    ibus-1.0: 1.3.9
    atk: 1.32.0
    gee-1.0: 0.6.1
    dbus-glib-1: 0.92
    libnotify: 0.7.1
    sqlite3: 3.7.5
make[1]: Entering directory 
`/var/abs/local/yaourtbuild/ibus-cloud-pinyin-svn/src/ibus-cloud-pinyin-svn/src'
:: Generating C files for ibus-engine-cloud-pinyin ...
valac `cat valac-flags.txt` --pkg posix --thread --enable-checking --vapidir=. 
--disable-warnings  -C main.vala dbus-binding.vala pinyin-utils.vala 
frontend-utils.vala config.vala database.vala lua-binding.vala ibus-engine.vala
dbus-binding.vala:67.9-67.28: error: only `null' is allowed as default value 
for out parameters
        out int cloud_length = &(DBusBinding.last_cloud_length)) {
        ^^^^^^^^^^^^^^^^^^^^
frontend-utils.vala:42.11-42.61: error: 1 extra arguments for `void 
Notify.Notification.new (string summary, string? body, string? icon)'
        = new Notify.Notification(title, content, icon, null);
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dbus-binding.vala:269.23-269.27: error: Argument 1: Cannot convert from 
`char[]?' to `uint8[]'
          if (fs.read(bytes, size, null) != size) return false;
                      ^^^^^
dbus-binding.vala:293.23-293.27: error: Argument 1: Cannot convert from 
`char[]?' to `uint8[]'
          if (fs.read(bytes, size, null) != size) {
                      ^^^^^
dbus-binding.vala:177.43-177.43: error: Argument 2: Cannot convert from `int' 
to `GLib.Cancellable?'
          fs.read((uint8[])pinyin_header, 4, null);
                                          ^
dbus-binding.vala:280.36-280.36: error: Argument 2: Cannot convert from `int' 
to `GLib.Cancellable?'
        if (fs.read((uint8[])data, 2, null) == 0)
                                   ^
dbus-binding.vala:220.42-220.49: error: Argument 2: Cannot convert from 
`size_t' to `GLib.Cancellable?'
            fs.read((uint8[]) freq_data, freq_len, null);
                                         ^^^^^^^^
lua-binding.vala:52.7-52.32: error: Argument 1: Cannot convert from `int' to 
`string'
      foreach (var i in engines) {
      ^^^^^^^^^^^^^^^^^^^^^^^^^^
lua-binding.vala:53.40-53.44: error: The name `key' does not exist in the 
context of `icp.LuaBinding.CloudEngine'
        content += "\n    %s: ".printf(i.key);
                                       ^^^^^
lua-binding.vala:54.13-54.19: error: The name `value' does not exist in the 
context of `icp.LuaBinding.CloudEngine'
        if (i.value.response_count == 0) content += "N/A";
            ^^^^^^^
lua-binding.vala:56.36-56.42: error: The name `value' does not exist in the 
context of `icp.LuaBinding.CloudEngine'
        content += "%.3f s".printf(i.value.response_time 
                                   ^^^^^^^
lua-binding.vala:61.7-61.32: error: Argument 1: Cannot convert from `int' to 
`string'
      foreach (var i in engines) {
      ^^^^^^^^^^^^^^^^^^^^^^^^^^
lua-binding.vala:62.42-62.46: error: The name `key' does not exist in the 
context of `icp.LuaBinding.CloudEngine'
        content += "\n    %s: %d".printf(i.key, i.value.response_count);
                                         ^^^^^
lua-binding.vala:62.49-62.55: error: The name `value' does not exist in the 
context of `icp.LuaBinding.CloudEngine'
        content += "\n    %s: %d".printf(i.key, i.value.response_count);
                                                ^^^^^^^
lua-binding.vala:658.23-658.65: error: too few type arguments
        thread_pool = new ThreadPool(do_string_internal, 1, true);
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lua-binding.vala:701.9-701.19: error: missing generic type arguments
        thread_pool.push((void*)script_pool.last());
        ^^^^^^^^^^^
ibus-engine.vala:747.7-747.35: error: Private member 
`icp.IBusBinding.CloudPinyinEngine.page_up' cannot be marked as override, 
virtual, or abstract
      private override void page_up() {
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ibus-engine.vala:754.7-754.37: error: Private member 
`icp.IBusBinding.CloudPinyinEngine.page_down' cannot be marked as override, 
virtual, or abstract
      private override void page_down() {
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ibus-engine.vala:770.7-770.45: error: Private member 
`icp.IBusBinding.CloudPinyinEngine.candidate_clicked' cannot be marked as 
override, virtual, or abstract
      private override void candidate_clicked (uint index, uint button,
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pinyin-utils.vala:821.7-821.42: error: Argument 1: Cannot convert from `int' to 
`string'
      foreach (var entry in consonant_ids)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pinyin-utils.vala:822.31-822.41: error: The name `value' does not exist in the 
context of `int'
        consonant_reverse_ids[entry.value] = entry.key;
                              ^^^^^^^^^^^
pinyin-utils.vala:822.46-822.54: error: The name `key' does not exist in the 
context of `int'
        consonant_reverse_ids[entry.value] = entry.key;
                                             ^^^^^^^^^
pinyin-utils.vala:824.7-824.38: error: Argument 1: Cannot convert from `int' to 
`string'
      foreach (var entry in vowel_ids)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pinyin-utils.vala:825.27-825.37: error: The name `value' does not exist in the 
context of `int'
        vowel_reverse_ids[entry.value] = entry.key;
                          ^^^^^^^^^^^
pinyin-utils.vala:825.42-825.50: error: The name `key' does not exist in the 
context of `int'
        vowel_reverse_ids[entry.value] = entry.key;
                                         ^^^^^^^^^
Compilation failed: 25 error(s), 0 warning(s)
make[1]: *** [main.c] 错误 1
make[1]: Leaving directory 
`/var/abs/local/yaourtbuild/ibus-cloud-pinyin-svn/src/ibus-cloud-pinyin-svn/src'
make: *** [src/ibus-engine-cloud-pinyin] 错误 2
==> 错误: 在 build() 中发生一个错误。
    正在放弃...
==> ERROR: Makepkg was unable to build ibus-cloud-pinyin-svn.
==> Restart building ibus-cloud-pinyin-svn ? [y/N]
==> ----------------------------------------------
==> 
==> WARNING: Following packages have not been installed:

Original issue reported on code.google.com by rollingq...@gmail.com on 4 Apr 2011 at 3:03

GoogleCodeExporter commented 8 years ago
I'm using archlinux. And I got the same problem...

Original comment by antiAgainst on 13 Apr 2011 at 1:56

GoogleCodeExporter commented 8 years ago
我也碰到这个情况了。。。。   svn 的版本是 148

Original comment by cosnis@gmail.com on 22 Apr 2011 at 8:46

GoogleCodeExporter commented 8 years ago
the same as archlinux x64

Original comment by Jq0...@gmail.com on 29 Apr 2011 at 3:03