SIGABRT in valac compiling unity-place-files

Bug #707329 reported by Balló György
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Vala
Expired
Medium
unity-lens-files
Invalid
Undecided
Unassigned

Bug Description

I can't build Unity Files Place in Arch Linux due a vala compilation error. (Unity Applications Place was built fine.)
All dependences are installed correctly:
glib2 2.27.91
libzeitgeist 0.3.2
libunity 3.2.14
zeitgeist-extensions 0.0.6
vala 0.10.3 (I've also tried with 0.11.5)

The build log:
make all-recursive
make[1]: Entering directory `/home/ballogy/unity-place-files/src/unity-place-files-0.5.34'
Making all in src
make[2]: Entering directory `/home/ballogy/unity-place-files/src/unity-place-files-0.5.34/src'
  GEN unity_files_daemon.vala.stamp
main.vala:25.10-25.20: error: The type name `Application' could not be found
  static Application? app = null;
         ^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [unity_files_daemon.vala.stamp] Error 1
make[2]: Leaving directory `/home/ballogy/unity-place-files/src/unity-place-files-0.5.34/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ballogy/unity-place-files/src/unity-place-files-0.5.34'
make: *** [all] Error 2

The used PKGBUILD files can be found here: https://github.com/City-busz/Arch-Linux-Repository/tree/master/ubuntu-testing

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote : Re: [Bug 707329] [NEW] cannot build Unity Files Place on Arch Linux

So it appears that something in the stack doesn't support
GApplication... The glib version you have should be good enough, so
perhaps it's the case the Vala version is too old, but I have it
working ok with 0.11.3 and 0.11.5 here and you say that that doesn't
work.

What does the command 'grep Application
/usr/share/vala-0.12/vapi/gio-2.0.vapi' tell you? It oughta print out
something with "public class Application ...".

Second guessing; I think that maybe your 0.11.5 Vala compiler wasn't
correctly picked up at build time, and it used the old 0.10.3 one
instead without that being visible in the build log?

Revision history for this message
Balló György (ballogy) wrote : Re: cannot build Unity Files Place on Arch Linux

Finally I can built them with both 0.11.3 and 0.11.5 version. I have to apply this patch to vala (without them I always get an error): http://bazaar.launchpad.net/~ubuntu-desktop/vala/ubuntu/view/head:/debian/patches/02_dont_sigabrt_on_unknown_instance.patch

And version 0.10.3 is too old for build this package, so required vala version should be increased in configure.ac.

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Ah, awesome György. I'm marking as invalid here since we really need this fix in upstream Vala. I think I submitted that Vala patch upstream a while ago, but maybe it got lost in the nether regions of Gnom's bugzilla :-)

Changed in unity-place-files:
status: New → Invalid
summary: - cannot build Unity Files Place on Arch Linux
+ SIGABRT in valac compiling unity-place-files
Changed in vala:
importance: Unknown → Medium
status: Unknown → New
Changed in vala:
status: New → Incomplete
Changed in vala:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.