You are not logged in.

#1 2011-01-04 15:14:07

Cerales
Member
Registered: 2011-01-04
Posts: 32

Problem building Synapse - possibily Vala-related?

Hello,

I encounter the following error when attempting to automatically build either Synapse or Synapse-bzr using yaourt:

I've tried it with both vala and vala-devel and the results were the same.

synapse-0.2.3

  Build Environment
    Install Prefix:     /usr
    Zeitgeist support:  yes

  Optional dependencies
    AppIndicator:       no

Now type `make' to compile synapse
make  all-recursive
make[1]: Entering directory `/tmp/yaourt-tmp-dbryan/aur-synapse-bzr/src/synapse-project-build'
Making all in src
make[2]: Entering directory `/tmp/yaourt-tmp-dbryan/aur-synapse-bzr/src/synapse-project-build/src'
Making all in core
make[3]: Entering directory `/tmp/yaourt-tmp-dbryan/aur-synapse-bzr/src/synapse-project-build/src/core'
  VALAC  synapse-core.vala.stamp
warning: D-Bus GLib is deprecated, use GDBus
desktop-file-service.vala:141.41-141.54: warning: string.size is deprecated. Use string.length
            icon_name = icon_name.ndup (icon_name.size () - 4);
                                        ^^^^^^^^^^^^^^
desktop-file-service.vala:419.20-419.64: warning: unhandled error `GLib.RegexError'
        var exec = exec_re.replace_literal (dfi.exec, -1, 0, "").strip ();
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
desktop-file-service.vala:328.31-328.59: warning: unhandled error `GLib.IOError'
        FileMonitor monitor = d.monitor_directory (0, null);
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: Gee.Map.contains is deprecated
warning: Gee.Map.contains is deprecated
config-service.vala:185.7-185.42: warning: unhandled error `GLib.Error'
      generator.to_file (config_file_name);
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
common-actions.vala:123.25-125.46: warning: unhandled error `GLib.Error'
utils.vala:131.17-131.41: warning: GLib.g_content_type_is_unknown has been deprecated since vala-0.12. Use GLib.ContentType.is_unknown
            if (g_content_type_is_unknown (mime_type))
                ^^^^^^^^^^^^^^^^^^^^^^^^^
utils.vala:135.22-135.40: warning: GLib.g_content_type_is_a has been deprecated since vala-0.12. Use GLib.ContentType.is_a
            else if (g_content_type_is_a (mime_type, "audio/*"))
                     ^^^^^^^^^^^^^^^^^^^
utils.vala:139.22-139.40: warning: GLib.g_content_type_is_a has been deprecated since vala-0.12. Use GLib.ContentType.is_a
            else if (g_content_type_is_a (mime_type, "video/*"))
                     ^^^^^^^^^^^^^^^^^^^
utils.vala:143.22-143.40: warning: GLib.g_content_type_is_a has been deprecated since vala-0.12. Use GLib.ContentType.is_a
            else if (g_content_type_is_a (mime_type, "image/*"))
                     ^^^^^^^^^^^^^^^^^^^
utils.vala:147.22-147.40: warning: GLib.g_content_type_is_a has been deprecated since vala-0.12. Use GLib.ContentType.is_a
            else if (g_content_type_is_a (mime_type, "text/*"))
                     ^^^^^^^^^^^^^^^^^^^
utils.vala:152.22-152.40: warning: GLib.g_content_type_is_a has been deprecated since vala-0.12. Use GLib.ContentType.is_a
            else if (g_content_type_is_a (mime_type, "application/*"))
                     ^^^^^^^^^^^^^^^^^^^
utils.vala:53.13-54.54: warning: local variable `fi' declared but never used
config-service.vala:153.24-153.55: error: duplicating Node instance, use unowned variable or explicitly invoke copy method
      Json.Node node = Json.gobject_serialize (cfg_obj);
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

** (valac:6172): CRITICAL **: vala_ccode_assignment_construct: assertion `r != NULL' failed

** (valac:6172): CRITICAL **: vala_ccode_function_add_expression: assertion `expression != NULL' failed
Compilation failed: 1 error(s), 15 warning(s)
make[3]: *** [synapse-core.vala.stamp] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-dbryan/aur-synapse-bzr/src/synapse-project-build/src/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-dbryan/aur-synapse-bzr/src/synapse-project-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-dbryan/aur-synapse-bzr/src/synapse-project-build'
make: *** [all] Error 2
    Aborting...
==> ERROR: Makepkg was unable to build synapse

Additionally, I tried to manually install an older version - 0.2.0 - from the developer's website. It successfully compiled and installed, but as soon as I typed in a query it crashed and the terminal showed a possibly vala-related problem that I unfortunately didn't save.

Any help would be appreciated. This is my first day on my new Arch setup after being a long-time user. With an AUR helper, this is everything I ever wanted the Debian PMS to be, and I'm eager to dive right in, but I'm fixated on my shiny launcher.

Offline

#2 2011-01-11 00:07:24

nburns
Member
Registered: 2011-01-11
Posts: 1

Re: Problem building Synapse - possibily Vala-related?

I'm hitting the same issue.  Has anyone been able to work through this yet?  Coming from debian and have been a huge fan of synapse.

Offline

#3 2011-01-11 13:02:49

bluTaz
Member
Registered: 2011-01-11
Posts: 15

Re: Problem building Synapse - possibily Vala-related?

Same problem here :(. Finally got arch up and running properly and moving on to installing favorite apps, synapse was near the top.

Last edited by bluTaz (2011-01-11 13:03:20)


“Knowledge comes by eyes always open and working hands; and there is no knowledge that is not power.”
                    ~ Ralph Waldo Emerson

Offline

#4 2011-01-15 20:47:54

skaboss
Member
Registered: 2011-01-15
Posts: 7

Re: Problem building Synapse - possibily Vala-related?

I meet this problem too... So sad for my first day on Arch  :-)

Offline

#5 2011-01-18 21:34:10

skaboss
Member
Registered: 2011-01-15
Posts: 7

Re: Problem building Synapse - possibily Vala-related?

I found the solution thanks to foolishgrunt on the synapse AUR page.
All you have to do is :
  install vala-git (it will require to remove vala, but it doesn't seem to be a problem)
  modifying the  PKGBUILD, replacing vala-devel with vala-git

Offline

#6 2011-12-14 14:27:42

hypertyper
Member
Registered: 2011-12-14
Posts: 17

Re: Problem building Synapse - possibily Vala-related?

I've installed vala-git but still can't get synapse to install. The PKGBUILD dosn't contain a vala-devel entry as far as I can see so I don't know what to change. I read in the AUR comments that the PKGBUILD has been changed at some point but it still doesn't work for me.

Any suggestions?

Thanks

Offline

Board footer

Powered by FluxBB